FreeBSD freezing at random

2008-03-31 Thread Mikkel Skærris
My system is a IBM T40 laptop, and i has been running FreeBSD for more
than two years without ANY problems at all. But a couple of days ago
my 7.0 intallation began freezing at random, without any log messages
or anything. Same thing happens on a fresh installation of 6.3. Often
the screen flickers, and blacks out, as if the screen conection was
loose or something, but it isnt. And I cant seem to pinpoint the
problem, to any certain area. Though the windows installtion (dual
boot) works completely fine.

Any suggestions welcome?

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


Re: Panic with usb serial

2008-03-31 Thread Vince Hoffman
Marcin Cieslak wrote:
 Vince wrote:
 Jeremy Chadwick wrote:
 
 Regarding the USB serial adapter, I was supplied it though work a while
 back. I believe from my rather fuzzy memory we got it though these guys
 http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html
 Although I wouldn't swear to it. I'll have an ask if anyone remembers on
 monday.
 
 Can you post a fragment of dmesg output? I am interested whether you
 attach it to the ohci or uhci controller.
 
 --Marcin
 

Sure,
Please not this is now a different usb adapter as I left mine at home :(
but I just tested and it exhibits the same behavior, (only difference I
can see is this says its FIDI while my one says its FTDI, possibly a typo?)

[EMAIL PROTECTED] | grep uhub
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
uhub3: 2 ports with 2 removable, self powered
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
uhub4: 8 ports with 8 removable, self powered
umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev
2.00/0.01, addr 2 on uhub4
ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2
on uhub2
ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on
uhub2

And for what its worth:
[EMAIL PROTECTED] /var/crash/info.14
Dump header from device /dev/ad0s3b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 154411008B (147 MB)
  Blocksize: 512
  Dumptime: Mon Mar 31 09:25:54 2008
  Hostname: prawn.unsane.co.uk
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008
[EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE
  Panic String: page fault
  Dump Parity: 1302845723
  Bounds: 14
  Dump Status: good

Happy to provide more information but I'm not a programmer so you'll
probably have to ask me slowly and in words of one syllable ;)


Vince





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

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


Re: nscd 6 backport mirror

2008-03-31 Thread Anton - Valqk
Just for the record - the backport patch works like a charm on 6_3 
stable branch!

Thanks a lot Denis!!!

cheers,
valqk.


Anton - Valqk wrote:

Here is the mirror of the backport for 6 that Denis sent me:

http://valqk.ath.cx/nscd_fbsd_6/

Adam McDougall wrote:

According to Denis Barov [EMAIL PROTECTED]:

Gzipped patch avialable at
http://www.dindin.ru/wiki/FreeBSD?action=AttachFiledo=gettarget=nscd_backport.gz 


(78Kb)

Mon, Dec 24, 2007 at 12:15 +0300 Denis Barov:
 

Hi, Michael!
In attachment patch for backporing nscd from RELENG_7 to RELENG_6. 
Tested on


FreeBSD sepulca.yandex.ru 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: 
Thu Dec

23 22:06:36 MSK 2007
[EMAIL PROTECTED]:/usr/obj/usr/RELENG_6_ncsd/src/sys/GENERIC  
amd64


and works fine.

Must I prepare pr?

P.S. Don't forget to mkdir -p src/usr.sbin/nscd/agents before 
patching  ;)   





On Wed, Jan 23, 2008 at 11:52:21AM +0200, Anton - Valqk wrote:

  Is there nscd/cached for STABLE 6 branch or it's only implemented 
in 7.X?

Adam McDougall wrote:
   I wanted to say Thanks!!! for this example, because before this 
point
   I was under the impression that nscd/cached was of no use for NIS 
clients,
   only LDAP or maybe other directory systems that I don't use.  I 
tried
   cache compat as below for passwd and group and it works!  Our 
NISentries at work are big enough that without the cache, top 
takes 7+ seconds to
   open, ssh login takes a few seconds, and samba logins were 
concerningly
   slow.  I did not try samba connections, but the other methods are 
muchfaster now on the second run.  Wanted to post this for the 
archive too.

  
   On Sat, Jan 19, 2008 at 02:17:11PM +0300, Michael Bushkov wrote:
  
 Hi Denis,
 Several things:
 1. You definitely can't use cache for *_compat sources. I mean 
lines like  group_compat: cache nis aren't supported.
 2. Cache should work ok with the configuration you've mentioned 
in your  first example, i.e.: group: cache compat. Just 
checking - why do you  think that cache isn't working? The 
correct way to determine it is to  perform the same query twice. 
During the first pass (when query is not  cached), the request 
will be processed by NIS module and you'll have all  the 
NIS-related stuff in the logs. On the second pass the request should 
be  handled by scd module - and you shouldn't see any activity 
in NIS logs. It  would be great to see the debug log (with nscd 
log turned on) separately -  for the first and the second pass. 
It would help to find the error in nscd,  if there is one.

  With best regards,
 Michael Bushkov
  On Jan 17, 2008, at 9:55 PM, Denis Barov wrote:
 Hello!
  
   I found some strange behaviour of NIS/nscd when NIS in compat 
mode. In

   /etc/nsswitch.conf I have:
  
   netgroup: cache compat
   passwd:   cache compat
   group:cache compat
___
   freebsd-stable@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-stable
   To unsubscribe, send any mail to 
[EMAIL PROTECTED]

  
   --   This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
  






--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Azureus + 7-STABLE == Slow download + No Upload

2008-03-31 Thread Joakim Fogelberg
On Mon, Mar 31, 2008 at 2:59 AM, Marc G. Fournier [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1


  Is anyone running Azureus on 7-STABLE and getting decent performance from it?

  I just upgraded to 7-STABLE, installed /usr/ports/java/jdk15 (instead of
  diablo) so that it uses libthr (checked with ldd), and now I'm barely able to
  get one downloaded, let alone multiple, and almost nothing uploaded ...

  I've added:

  -Djava.net.preferIPv4Stack=true

  to /usr/local/bin/azureus, but, from reading the jdk15 makefile, IPv6 is only
  enabled if/when you do WITH_IPV6, and I don't have that in my make.conf file,
  therefore this shouldn't affect anything ...

  I have nothing in my /etc/libmap.conf file ...

  So, if there a problem, or am I missing something?


  - --
  Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
  Email . [EMAIL PROTECTED]  MSN . [EMAIL 
 PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v2.0.4 (FreeBSD)

  iD8DBQFH8Ddc4QvfyHIvDvMRApPKAKCU1c+VVRqKK9mGpbuTnSlL9+i1SwCggocA
  szQk1lVKoHLT9D2P7uAF7Zw=
  =q1vl
  -END PGP SIGNATURE-

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


I believe I had the same problem with 7.0-prerelease + Azureus +
jdk15. If I remember correct, I could only download from other Azureus
clients. I had no time to even try to find out why. I simply installed
deluge instead.

-- 

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


Re: Panic with usb serial

2008-03-31 Thread Kostik Belousov
On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote:
 Marcin Cieslak wrote:
  Vince wrote:
  Jeremy Chadwick wrote:
  
  Regarding the USB serial adapter, I was supplied it though work a while
  back. I believe from my rather fuzzy memory we got it though these guys
  http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html
  Although I wouldn't swear to it. I'll have an ask if anyone remembers on
  monday.
  
  Can you post a fragment of dmesg output? I am interested whether you
  attach it to the ohci or uhci controller.
  
  --Marcin
  
 
 Sure,
 Please not this is now a different usb adapter as I left mine at home :(
 but I just tested and it exhibits the same behavior, (only difference I
 can see is this says its FIDI while my one says its FTDI, possibly a typo?)
 
 [EMAIL PROTECTED] | grep uhub
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
 uhub1: 2 ports with 2 removable, self powered
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
 uhub2: 2 ports with 2 removable, self powered
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
 uhub4: 8 ports with 8 removable, self powered
 umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev
 2.00/0.01, addr 2 on uhub4
 ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2
 on uhub2
 ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on
 uhub2
 
 And for what its worth:
 [EMAIL PROTECTED] /var/crash/info.14
 Dump header from device /dev/ad0s3b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 154411008B (147 MB)
   Blocksize: 512
   Dumptime: Mon Mar 31 09:25:54 2008
   Hostname: prawn.unsane.co.uk
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008
 [EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE
   Panic String: page fault
   Dump Parity: 1302845723
   Bounds: 14
   Dump Status: good
 
 Happy to provide more information but I'm not a programmer so you'll
 probably have to ask me slowly and in words of one syllable ;)

I need two things:
1. The revision of the sys/kern/kern_conf.c file; in particular,
   I need to know whether you have rev. 1.208.2.1 or 1.208.2.2.
2. Regardless of the outcome of the question 1, please show the output
   of the bt full from the kgdb loaded with your kernel and crash
   dump. See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
   for details on how to obtain useful information from the crash dump.


pgpT26sjC6Ilq.pgp
Description: PGP signature


Don't recognizing SMP...

2008-03-31 Thread 한원희
I installed FreeBSD 7.0 on HP DL 380.

This is a mptable result.


 # mptable
 Processors: APIC ID Version State   Family  Model   StepFlags
  0   0x14BSP, usable 6   2   1   
 0x0381
  6   0x14AP, usable  15  2   9   
 0xbfebfbff


2 way cpus are same as 3.0GHz Xeon CPU. But they have different
Family, Step, and Flags.

I used kernel compiling with SMP option.
but, this is a sysctl result.


 # sysctl -kern.smp
 kern.smp.forward_roundrobin_enabled: 1
 kern.smp.forward_signal_enabled: 1
 kern.smp.cpus: 1
 kern.smp.disabled: 0
 kern.smp.active: 0
 kern.smp.maxcpus: 16


As you saw this result, it is not recognized as 2 CPUs. it recognized
Only one CPU...

plz. help me, i want it to recognize as 2 CPUs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Don't recognizing SMP...

2008-03-31 Thread Claus Guttesen
 I installed FreeBSD 7.0 on HP DL 380.

  As you saw this result, it is not recognized as 2 CPUs. it recognized
  Only one CPU...

If this is a DL380 G2 you may have to enable smp by choosing either
windows, solaris or linux as os from bios before you get both cpu's.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


Re: Panic with usb serial

2008-03-31 Thread Vince Hoffman
Kostik Belousov wrote:
 On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote:
 Marcin Cieslak wrote:
 Vince wrote:
 Jeremy Chadwick wrote:
 Regarding the USB serial adapter, I was supplied it though work a while
 back. I believe from my rather fuzzy memory we got it though these guys
 http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html
 Although I wouldn't swear to it. I'll have an ask if anyone remembers on
 monday.
 Can you post a fragment of dmesg output? I am interested whether you
 attach it to the ohci or uhci controller.

 --Marcin

 Sure,
 Please not this is now a different usb adapter as I left mine at home :(
 but I just tested and it exhibits the same behavior, (only difference I
 can see is this says its FIDI while my one says its FTDI, possibly a typo?)

 [EMAIL PROTECTED] | grep uhub
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
 uhub1: 2 ports with 2 removable, self powered
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
 uhub2: 2 ports with 2 removable, self powered
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
 uhub4: 8 ports with 8 removable, self powered
 umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev
 2.00/0.01, addr 2 on uhub4
 ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2
 on uhub2
 ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on
 uhub2

 And for what its worth:
 [EMAIL PROTECTED] /var/crash/info.14
 Dump header from device /dev/ad0s3b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 154411008B (147 MB)
   Blocksize: 512
   Dumptime: Mon Mar 31 09:25:54 2008
   Hostname: prawn.unsane.co.uk
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008
 [EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE
   Panic String: page fault
   Dump Parity: 1302845723
   Bounds: 14
   Dump Status: good

 Happy to provide more information but I'm not a programmer so you'll
 probably have to ask me slowly and in words of one syllable ;)
 
 I need two things:
 1. The revision of the sys/kern/kern_conf.c file; in particular,
I need to know whether you have rev. 1.208.2.1 or 1.208.2.2.
 2. Regardless of the outcome of the question 1, please show the output
of the bt full from the kgdb loaded with your kernel and crash
dump. See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
for details on how to obtain useful information from the crash dump.

1)
[EMAIL PROTECTED] kern_conf.c sys/kern/kern_conf.c
__FBSDID($FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24
13:09:55 kib Exp $);

2)
[/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33)
[EMAIL PROTECTED] kernel.debug /var/crash/vmcore.14
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
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.
There is no member named pathname.
(kgdb) bt full
#0  doadump () at pcpu.h:195
No locals.
#1  0xc05ae391 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
_giantcnt = Variable _giantcnt is not available.
(kgdb)


This isnt what I was expecting from the article referenced. Would it be
helpful me to update to the latest stable then reproduce (assuming i
still can.)



Vince

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


Re: Panic with usb serial

2008-03-31 Thread Kostik Belousov
On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote:
 Kostik Belousov wrote:
  On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote:
  Marcin Cieslak wrote:
  Vince wrote:
  Jeremy Chadwick wrote:
  Regarding the USB serial adapter, I was supplied it though work a while
  back. I believe from my rather fuzzy memory we got it though these guys
  http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html
  Although I wouldn't swear to it. I'll have an ask if anyone remembers on
  monday.
  Can you post a fragment of dmesg output? I am interested whether you
  attach it to the ohci or uhci controller.
 
  --Marcin
 
  Sure,
  Please not this is now a different usb adapter as I left mine at home :(
  but I just tested and it exhibits the same behavior, (only difference I
  can see is this says its FIDI while my one says its FTDI, possibly a typo?)
 
  [EMAIL PROTECTED] | grep uhub
  uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
  uhub0: 2 ports with 2 removable, self powered
  uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
  uhub1: 2 ports with 2 removable, self powered
  uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
  uhub2: 2 ports with 2 removable, self powered
  uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
  uhub3: 2 ports with 2 removable, self powered
  uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
  uhub4: 8 ports with 8 removable, self powered
  umass0: DATAST0R Technology Corp SATA8000 FW1.0, class 0/0, rev
  2.00/0.01, addr 2 on uhub4
  ums0: Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 2
  on uhub2
  ucom0: FIDI usb serial converter, class 0/0, rev 1.10/4.00, addr 3 on
  uhub2
 
  And for what its worth:
  [EMAIL PROTECTED] /var/crash/info.14
  Dump header from device /dev/ad0s3b
Architecture: i386
Architecture Version: 2
Dump Length: 154411008B (147 MB)
Blocksize: 512
Dumptime: Mon Mar 31 09:25:54 2008
Hostname: prawn.unsane.co.uk
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008
  [EMAIL PROTECTED]:/usr/local/obj/usr/src/sys/PRAWN7ULE
Panic String: page fault
Dump Parity: 1302845723
Bounds: 14
Dump Status: good
 
  Happy to provide more information but I'm not a programmer so you'll
  probably have to ask me slowly and in words of one syllable ;)
  
  I need two things:
  1. The revision of the sys/kern/kern_conf.c file; in particular,
 I need to know whether you have rev. 1.208.2.1 or 1.208.2.2.
  2. Regardless of the outcome of the question 1, please show the output
 of the bt full from the kgdb loaded with your kernel and crash
 dump. See
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
 for details on how to obtain useful information from the crash dump.
 
 1)
 [EMAIL PROTECTED] kern_conf.c sys/kern/kern_conf.c
 __FBSDID($FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24
 13:09:55 kib Exp $);
 
 2)
 [/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33)
 [EMAIL PROTECTED] kernel.debug /var/crash/vmcore.14
 [GDB will not be able to debug user-mode threads:
 /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
 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.
 There is no member named pathname.
 (kgdb) bt full
 #0  doadump () at pcpu.h:195
 No locals.
 #1  0xc05ae391 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
 _giantcnt = Variable _giantcnt is not available.
 (kgdb)
 
 
 This isnt what I was expecting from the article referenced. Would it be
 helpful me to update to the latest stable then reproduce (assuming i
 still can.)

Compile the ddb into the kernel (instructions are provided at the same
web page) and post the output of the console on the panic.


pgp0w9dxRUlcL.pgp
Description: PGP signature


Re: USB support + Supermicro IPMI KVM = no keyboard

2008-03-31 Thread Niki Denev
On Tue, Jan 29, 2008 at 9:59 PM, Steven Hartland
[EMAIL PROTECTED] wrote:

  - Original Message -
  From: Erik Stian Tefre [EMAIL PROTECTED]


   Steven Hartland wrote:
   When booting a default kernel e.g. standard install cd the KVM over LAN
   keyboard on Supermicro's IPMI modules refuse to function. Once installed
   if we build a kernel without USB all is good.
  
   So two questions:-
   1. Can usb support be disabled from the loader?
   2. Anyone got any ideas why USB would break the IPMI keyboard?
  
   The IPMI keyboard is a USB keyboard. It seems to work OK on a box
   running 7.0:
  
   port 6 addr 2: high speed, self powered, config 1, Multidevice(0x0002),
   Peppercon AG(0x14dd), rev 0.01
  
   ukbd0: Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2 on 
 uhub3
  
   The same box running 6.2 did not connect the device as a usb keyboard.

  Thanks Eric unfortunately we had the same issue with 7.0-RC1 and 7.0-PREREL
  I'll look at dropping usb back into our kernel we're running atm and
  see if it detects the above as that might well help diagnose the issue.


 Regards
 Steve


We've had the same problem, and changing USB Mouse Type
from Windows = 2000, Mac OS X to Other Operating System
made the keyboard available again.

P.S. : The setting is located under the KVM Settings-Keyboard/Mouse menu
on the IPMI web interface.


-- 
Nikolay Denev ICDSoft Ltd.
System Administrator http://www.icdsoft.com/
m: 359-888-952-352
p: 1-617-544-3022
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD freezing at random

2008-03-31 Thread Torfinn Ingolfsen
On Mon, 31 Mar 2008 09:35:51 +0200
Mikkel Skærris [EMAIL PROTECTED] wrote:

 Any suggestions welcome?

The usual one: please verify (with memtest86 or similar) that the
hardware isn't going bad on you - before doing anything else.
-- 
Regards,
Torfinn Ingolfsen

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


Re: FreeBSD freezing at random

2008-03-31 Thread Marian Hettwer
Hi there,

On Mon, 31 Mar 2008 09:35:51 +0200, Mikkel Skærris [EMAIL PROTECTED]
wrote:
 My system is a IBM T40 laptop, and i has been running FreeBSD for more
 than two years without ANY problems at all. But a couple of days ago
The most obvious one would be bad hardware.

 my 7.0 intallation began freezing at random, without any log messages
 or anything. Same thing happens on a fresh installation of 6.3. Often
 the screen flickers, and blacks out, as if the screen conection was
 loose or something, but it isnt. And I cant seem to pinpoint the
 problem, to any certain area. Though the windows installtion (dual
 boot) works completely fine.

When you say it freezes is the machine still ping'able from another
machine in your network?
You could start a script like vmstat 1  /tmp/vmstat.log or similar
which runs all the time to get one of the latest log entries.
/var/log/messages is really empty when your box freezes?
Is X running while this is happening?

regards,
Marian

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


Re: FreeBSD freezing at random

2008-03-31 Thread Oliver Brandmueller
Hello,

On Mon, Mar 31, 2008 at 04:38:30PM +0200, Torfinn Ingolfsen wrote:
  Any suggestions welcome?
 
 The usual one: please verify (with memtest86 or similar) that the
 hardware isn't going bad on you - before doing anything else.

If you got the chance, replace all RAM by another set. I had several 
cases, where all the memtesting software was happy over days, but 
nevertheless the crashes of the machine(s) in question stopped right 
after replacing the RAM.

- Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany   D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|   Ich bin das Internet. Sowahr ich Gott helfe.   |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


vm_page_unwire: invalid wire count: 0

2008-03-31 Thread Volodymyr Kostyrko
Got a coredump each time when playing FLAC files through xmms2 with 
pulseaudio output plugin.


cairn# kgdb /boot/kernel.old/kernel vmcore.9
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
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.
There is no member named pathname.
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0513f47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc05141d3 in panic (fmt=Variable fmt is not available.) at 
/usr/src/sys/kern/kern_shutdown.c:563
#3  0xc068c742 in vm_page_unwire (m=0xc151e2d0, activate=0) at 
/usr/src/sys/vm/vm_page.c:1410
#4  0xc056d4da in vfs_vmio_release (bp=0xccec9228) at 
/usr/src/sys/kern/vfs_bio.c:1539

#5  0xc056db96 in brelse (bp=0xccec9228) at /usr/src/sys/kern/vfs_bio.c:1331
#6  0xc0582c59 in vtruncbuf (vp=0xc3d09dd0, cred=0x0, td=0xc3496000, 
length=0, blksize=16384) at /usr/src/sys/kern/vfs_subr.c:1257
#7  0xc0651ec7 in ffs_truncate (vp=0xc3d09dd0, length=0, flags=Variable 
flags is not available.) at /usr/src/sys/ufs/ffs/ffs_inode.c:405
#8  0xc066df0b in ufs_inactive (ap=0xd642cbbc) at 
/usr/src/sys/ufs/ufs/ufs_inode.c:132
#9  0xc06cdcfe in VOP_INACTIVE_APV (vop=0xc0735120, a=0xd642cbbc) at 
vnode_if.c:1513

#10 0xc057d449 in vinactive (vp=0xc3d09dd0, td=0xc3496000) at vnode_if.h:796
#11 0xc0580593 in vput (vp=0xc3d09dd0) at /usr/src/sys/kern/vfs_subr.c:2224
#12 0xc0586256 in kern_unlink (td=0xc3496000, path=0xbf7fbd7c Address 
0xbf7fbd7c out of bounds, pathseg=UIO_USERSPACE) at 
/usr/src/sys/kern/vfs_syscalls.c:1713
#13 0xc05862d2 in unlink (td=0xc3496000, uap=0xd642ccfc) at 
/usr/src/sys/kern/vfs_syscalls.c:1649
#14 0xc06c3e0e in syscall (frame=0xd642cd38) at 
/usr/src/sys/i386/i386/trap.c:1035
#15 0xc06ad830 in Xint0x80_syscall () at 
/usr/src/sys/i386/i386/exception.s:196

#16 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

uname -a:
FreeBSD cairn.ints.net 7.0-STABLE FreeBSD 7.0-STABLE #77: Fri Mar 28 
09:32:43 EET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CAIRN  i386


--
Sphinx of black quartz judge my vow.

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


Re: vm_page_unwire: invalid wire count: 0

2008-03-31 Thread Vlad GALU
On Mon, Mar 31, 2008 at 7:47 PM, Volodymyr Kostyrko [EMAIL PROTECTED] wrote:
 Got a coredump each time when playing FLAC files through xmms2 with
  pulseaudio output plugin.

  cairn# kgdb /boot/kernel.old/kernel vmcore.9
  [GDB will not be able to debug user-mode threads:
  /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
  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.
  There is no member named pathname.
  (kgdb) bt
  #0  doadump () at pcpu.h:195
  #1  0xc0513f47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
  #2  0xc05141d3 in panic (fmt=Variable fmt is not available.) at
  /usr/src/sys/kern/kern_shutdown.c:563
  #3  0xc068c742 in vm_page_unwire (m=0xc151e2d0, activate=0) at
  /usr/src/sys/vm/vm_page.c:1410
  #4  0xc056d4da in vfs_vmio_release (bp=0xccec9228) at
  /usr/src/sys/kern/vfs_bio.c:1539
  #5  0xc056db96 in brelse (bp=0xccec9228) at /usr/src/sys/kern/vfs_bio.c:1331
  #6  0xc0582c59 in vtruncbuf (vp=0xc3d09dd0, cred=0x0, td=0xc3496000,
  length=0, blksize=16384) at /usr/src/sys/kern/vfs_subr.c:1257
  #7  0xc0651ec7 in ffs_truncate (vp=0xc3d09dd0, length=0, flags=Variable
  flags is not available.) at /usr/src/sys/ufs/ffs/ffs_inode.c:405
  #8  0xc066df0b in ufs_inactive (ap=0xd642cbbc) at
  /usr/src/sys/ufs/ufs/ufs_inode.c:132
  #9  0xc06cdcfe in VOP_INACTIVE_APV (vop=0xc0735120, a=0xd642cbbc) at
  vnode_if.c:1513
  #10 0xc057d449 in vinactive (vp=0xc3d09dd0, td=0xc3496000) at vnode_if.h:796
  #11 0xc0580593 in vput (vp=0xc3d09dd0) at /usr/src/sys/kern/vfs_subr.c:2224
  #12 0xc0586256 in kern_unlink (td=0xc3496000, path=0xbf7fbd7c Address
  0xbf7fbd7c out of bounds, pathseg=UIO_USERSPACE) at
  /usr/src/sys/kern/vfs_syscalls.c:1713
  #13 0xc05862d2 in unlink (td=0xc3496000, uap=0xd642ccfc) at
  /usr/src/sys/kern/vfs_syscalls.c:1649
  #14 0xc06c3e0e in syscall (frame=0xd642cd38) at
  /usr/src/sys/i386/i386/trap.c:1035
  #15 0xc06ad830 in Xint0x80_syscall () at
  /usr/src/sys/i386/i386/exception.s:196
  #16 0x0033 in ?? ()
  Previous frame inner to this frame (corrupt stack?)

  uname -a:
  FreeBSD cairn.ints.net 7.0-STABLE FreeBSD 7.0-STABLE #77: Fri Mar 28
  09:32:43 EET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CAIRN  i386

  --
  Sphinx of black quartz judge my vow.

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


   Just a wild guess: do you have ZERO_COPY_SOCKETS in your kernel
config file? If so, remove  retry.

-- 
~/.signature: no such file or directory
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD freezing at random

2008-03-31 Thread Marcin Cieslak
Mikkel Skærris wrote:
 My system is a IBM T40 laptop, and i has been running FreeBSD for more
 than two years without ANY problems at all. But a couple of days ago
 my 7.0 intallation began freezing at random, without any log messages
 or anything. Same thing happens on a fresh installation of 6.3. Often
 the screen flickers, and blacks out, as if the screen conection was
 loose or something, but it isnt. And I cant seem to pinpoint the
 problem, to any certain area. Though the windows installtion (dual
 boot) works completely fine.

Did you upgrade anything? The base system, X server and/or drivers?

I have upgraded my VAIO SZ5MN recently from 7.0-PRERELEASE to 7.0-STABLE
 around 24th of March and it started to show strange symptoms during
work in X11 (usually with the seamonkey browser).

The human interface got frozen and the only thing that worked was the
power-off button (then the machine started to power down orderly,
showing strange things on display sometimes).

I was thinking this was some ACPI issue but then I figured out that the
system was ok when using Intel video card (instead of NVidia - this
system has two cards switchable).

I have upgraded xorg-server, nvidia and intel drivers to the latest
and now it works fine.

--Marcin

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


Access Problems with 7.0

2008-03-31 Thread Doug Hardie
I recently upgraded 3 of my 5 servers to 7.0.  Two of them are on new  
hardware and one is on hardware that used to run 6.2.  Since then, 2  
of my thousands of users are unable to access the servers running  
7.0.  They can access the server running 6.2 just fine.  What happens  
is the server receives the SYN packet from the client properly and  
then responds with the SYN packet.  Nothing more is heard from the  
client.  The server sends a few duplicates of the SYN and then drops  
the connection.


At this point I am not able to verify that the client receives the  
SYN.  Neither of them has a clue about tcpdump.  The packets look fine  
on this end (included later).  Both are using Windows, including XP  
and Vista.  I suspect they are receiving it and not accepting it for  
some reason.  However, I don't really see anything that would cause  
that behavior in the packets.  I can't reproduce the problem here.   
Every computer I can try works just fine.


Here is one of the packet traces:

11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco)  00:a0:cc:3e:87:9e (oui  
Unknown), ethertype IPv4 (0x0800), length 66:  
cpe-76-169-78-119.socal.res.rr.com.59025  zool.lafn.org.8000: S  
2779920420:2779920420(0) win 8192 mss 1460,nop,wscale 2,nop,nop,sackOK


11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown)  00:00:0c:38:6f:e1  
(oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000   
cpe-76-169-78-119.socal.res.rr.com.59025: S
2480373222:2480373222(0) ack 2779920421 win 65535 mss 1460,nop,wscale  
3,sackOK,eol


11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco)  00:a0:cc:3e:87:9e (oui  
Unknown), ethertype IPv4 (0x0800), length 66:  
cpe-76-169-78-119.socal.res.rr.com.59025  zool.lafn.org.8000: S  
2779920420:2779920420(0) win 8192 mss 1460,nop,wscale 2,nop,nop,sackOK


11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown)  00:00:0c:38:6f:e1  
(oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000   
cpe-76-169-78-119.socal.res.rr.com.59025: S 2480373222:2480373222(0)  
ack 2779920421 win 65535 mss 1460,nop,wscale 3,sackOK,eol


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


Access Problems with 7.0

2008-03-31 Thread Doug Hardie
I recently upgraded 3 of my 5 servers to 7.0.  Two of them are on  
new hardware and one is on hardware that used to run 6.2.  Since  
then, 2 of my thousands of users are unable to access the servers  
running 7.0.  They can access the server running 6.2 just fine.   
What happens is the server receives the SYN packet from the client  
properly and then responds with the SYN packet.  Nothing more is  
heard from the client.  The server sends a few duplicates of the SYN  
and then drops the connection.


At this point I am not able to verify that the client receives the  
SYN.  Neither of them has a clue about tcpdump.  The packets look  
fine on this end (included later).  Both are using Windows,  
including XP and Vista.  I suspect they are receiving it and not  
accepting it for some reason.  However, I don't really see anything  
that would cause that behavior in the packets.  I can't reproduce  
the problem here.  Every computer I can try works just fine.


Here is one of the packet traces:

11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco)  00:a0:cc:3e:87:9e  
(oui Unknown), ethertype IPv4 (0x0800), length 66:  
cpe-76-169-78-119.socal.res.rr.com.59025  zool.lafn.org.8000: S  
2779920420:2779920420(0) win 8192 mss 1460,nop,wscale  
2,nop,nop,sackOK


11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown)  00:00:0c:38:6f:e1  
(oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000  
 cpe-76-169-78-119.socal.res.rr.com.59025: S
2480373222:2480373222(0) ack 2779920421 win 65535 mss  
1460,nop,wscale 3,sackOK,eol


11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco)  00:a0:cc:3e:87:9e  
(oui Unknown), ethertype IPv4 (0x0800), length 66:  
cpe-76-169-78-119.socal.res.rr.com.59025  zool.lafn.org.8000: S  
2779920420:2779920420(0) win 8192 mss 1460,nop,wscale  
2,nop,nop,sackOK


11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown)  00:00:0c:38:6f:e1  
(oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000  
 cpe-76-169-78-119.socal.res.rr.com.59025: S  
2480373222:2480373222(0) ack 2779920421 win 65535 mss  
1460,nop,wscale 3,sackOK,eol




Checking with the 6.2 server I see there are some differences in the  
TCP options.  7.0 includes wscale 3 where 6.2 does not.  Is there a  
way to disable that feature using sysctl to see if thats the issue?

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


FreeBSD 7 and multiple IP (mijail-patch in 6.x)

2008-03-31 Thread Johan Ström

Hello

I got a machine running 6.2 right now, which is being replaced. And  
since SMP performance is much better on 7.x I'd like to go with 7.0  
(and many ppl have indeed verified that it works good on this box, HP  
DL360 G5)...
But, now when I start to setup the machine, I recalled that i've  
patched the 6.2 box with the freebsd mijail patch (http://www.digitaldaemon.com/FreeBSD/FreeBSD/FreeBSD_6.2-STABLE-mijail.patch 
).
However, I cannot find anywhere about FreeBSD 7 and a similar patch. A  
quick look at the patch vs the 7.x source tells me it won't apply  
cleanly, but from what I've seen quickly, it could maybe be done. The  
differences I've seen doesn't look too advanced, but then again, I'm   
not a kernel developer...


So, I'd like to know if anyone considered this on 7.x, or if anyone  
can tell me immediately that this wont work or will be LOTS of work,  
or just some patch line adjusting? Ie, how big are the changes from  
6.x to 7.x in these sections?


Thank you for any answers or pointers.

--
Johan Ström
Stromnet
[EMAIL PROTECTED]
http://www.stromnet.se/


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


Re: Azureus + 7-STABLE == Slow download + No Upload

2008-03-31 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, March 31, 2008 10:31:12 +0200 Joakim Fogelberg 
[EMAIL PROTECTED] wrote:


 I believe I had the same problem with 7.0-prerelease + Azureus +
 jdk15. If I remember correct, I could only download from other Azureus
 clients. I had no time to even try to find out why. I simply installed
 deluge instead.

Yowch, this is like the difference between night-n-day ... thanks for the 
pointer ...

- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFH8Xdd4QvfyHIvDvMRAuOIAJ4zNC+c8w5iu13CiN1q/nw0V1/M0gCeNk+3
ioBkLAVolNRSd5VUwbWbPHA=
=YpFb
-END PGP SIGNATURE-

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


Re: Texas Instruments Card Reader.

2008-03-31 Thread Da Rock

On Sun, 2008-03-30 at 09:18 -0300, Carlos A. M. dos Santos wrote:
 On Sun, Mar 30, 2008 at 3:58 AM, M. Warner Losh [EMAIL PROTECTED] wrote:
  In message: [EMAIL PROTECTED]
  Da Rock [EMAIL PROTECTED] writes:
   : Did anyone end up getting this to work? I'm suffering the same woes...
 
   Which device is this, specifically?
 
   Warner
 
 It is an SD, MS/Pro, MMC, SM and XD card reader. It is recognized by
 the Linux sdhci driver. There was an email thread some time ago
 discussing an homonymous driver for FreeBSD:
 
 http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000243.html
 http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000248.html
 

Thats right- I believe you were working with a ricoh card reader though.
Is there any update to this project? A todo journal maybe?

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


Kernel.org machines from Fedora Core 5 to FreeBSD 7.0

2008-03-31 Thread Pablo Mora
http://lkml.org/lkml/2008/3/31/373


-- 

PGP KeyID: 0xC730A079
Key fingerprint = F626 3C47 02F5 E43C 6620 8A1B E7A8 533B C730 A079
gpg --keyserver pgp.mit.edu --recv-keys C730A079


 ASCII Ribbon Campaign
 Against HTML e-mail  Microsoft Attachments
FreeBSD Since 4.x  unixbsd.blogspot.com maintainer

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