mplayer + bktr

2005-11-13 Thread Daniel O'Connor
Hi,
I'm trying to use mplayer to watch TV and while it does work it has a few 
problems.

The first is that when you force it to capture audio (so mute and volume 
control work, or you can use mencoder) it does about 0.25 fps :( It doesn't 
appear to be using heaps of CPU or anything so I am not sure what the problem 
is.

The other is that it hitches when playing TV - it doesn't do this when viewing 
movies.

Has anyone else used mplayer for this? Do you see these problems? Anyone have 
any suggestions or solutions?

The PC is running 5.4 and is an 900Mhz Athlon. The TV card is some generic 
bktr card with no EEPROM.

I have the following in .mplayer/config if anyone is interested.

tv=driver=bsdbt848:input=1:norm=PAL:chanlist=australia:channels=2-ABC,7-SAS7,9-NINE,10-TEN,28-SBS

It would be nice to iron out this stuff because applying the mplayer post 
processing filters to TV makes it look much nicer :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpqofb6Y5ZrA.pgp
Description: PGP signature


can someone please let me know what this crash means?

2005-11-13 Thread Jason
Just had my server drop into debugger this morning after running for 78 days..
and heres what the trace said..

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n 
Compiled on Dec  4 2004, 19:14:15.

Press CTRL-A Z for help on special keys
  
  
db AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0  
No such command   
db trace 
Tracing pid 608 tid 100103 td 0xc2688480
kdb_enter(c07ec00d) at kdb_enter+0x2b
panic(c07e8435,c07eb5f7,c07eb390,366,c299b434) at panic+0x127
mtx_destroy(c812457c,0) at mtx_destroy+0x5c
in_pcbdetach(c81244ec,c616e6f0,c616e6f0,14,e830db44) at in_pcbdetach+0x1b4
tcp_close(c616e6f0,1,0,14,c616e6f0) at tcp_close+0x94
tcp_input(c3e3b200,14,6da8d318,0,0) at tcp_input+0x16df
ip_input(c3e3b200) at ip_input+0x50d
div_output(c2728288,c3e3b200,c263b620,0,e830dc0c) at div_output+0x1f7
div_send(c2728288,0,c3e3b200,c263b620,0) at div_send+0x3f
sosend(c2728288,c263b620,e830dc40,c3e3b200,0) at sosend+0x5e7
kern_sendit(c2688480,3,e830dcbc,0,0) at kern_sendit+0x104
sendit(c2688480,3,e830dcbc,0,bfbeed98) at sendit+0x161
sendto(c2688480,e830dd04,6,6888be,292) at sendto+0x4d
syscall(2f,bfbf002f,e830002f,1,28) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x280d31cf, esp = 0xbfbeecdc, 
ebp = 
0xbfbfed88 ---
db 

monsterjam jason $ uname -a
FreeBSD monsterjam.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Aug 26 15:15:59 
EDT 2005 
monsterjam.org:/usr/src/sys/i386/compile/FREEBIE  i386


thanks/regards,
Jason

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


Re: mplayer + bktr

2005-11-13 Thread Miguel Mendez
Hi there,

 The first is that when you force it to capture audio (so mute and volume
 control work, or you can use mencoder) it does about 0.25 fps :( It doesn't
 appear to be using heaps of CPU or anything so I am not sure what the problem
 is.

I haven't tried this yet but can give it a go.

 The other is that it hitches when playing TV - it doesn't do this when viewing
 movies.

After trying to figure out why tv support wasn't there I've added the
 --enable-tv-bsdbt848 to the configure args and it's warking
flawlessly on my AMD64 box. This is 0.99.7_6. The output is crystal
clear here.

 Has anyone else used mplayer for this? Do you see these problems? Anyone
 have any suggestions or solutions?

Have you tried with xawtv and fxtv? Does the problem only show with
mplayer? What other build options did you enable when building the
software?

tv=driver=bsdbt848:input=1:norm=PAL:chanlist=australia:channels=2-ABC,7-SAS7,9-NINE,10-TEN,28-SBS

I have a similar config except set for Europe.

 It would be nice to iron out this stuff because applying the mplayer post
 processing filters to TV makes it look much nicer :)

Yes, it rocks. I've been using xawtv for a month and mplayer is so
much better. :)

Cheers,
--
Miguel Mendez [EMAIL PROTECTED]
http://energyhq.blogspot.com
PGP Key: 0xDC8514F1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can someone please let me know what this crash means?

2005-11-13 Thread Robert Watson


On Sun, 13 Nov 2005, Jason wrote:


Just had my server drop into debugger this morning after running for 78 days..
and heres what the trace said..

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Dec  4 2004, 19:14:15.

Press CTRL-A Z for help on special keys


If you have a scroll-back it would be helpful to see the output 
immediately above this -- specifically, the panic message.


Also, is the date of the kernel (aug 26) approximately synchronized with 
the source code it's built from, or is it earlier source?


If not, could you tell me the revisions of netinet/{tcp*,in_pcb}.c?

Thanks,

Robert N M Watson



db AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
No such command
db trace
Tracing pid 608 tid 100103 td 0xc2688480
kdb_enter(c07ec00d) at kdb_enter+0x2b
panic(c07e8435,c07eb5f7,c07eb390,366,c299b434) at panic+0x127
mtx_destroy(c812457c,0) at mtx_destroy+0x5c
in_pcbdetach(c81244ec,c616e6f0,c616e6f0,14,e830db44) at in_pcbdetach+0x1b4
tcp_close(c616e6f0,1,0,14,c616e6f0) at tcp_close+0x94
tcp_input(c3e3b200,14,6da8d318,0,0) at tcp_input+0x16df
ip_input(c3e3b200) at ip_input+0x50d
div_output(c2728288,c3e3b200,c263b620,0,e830dc0c) at div_output+0x1f7
div_send(c2728288,0,c3e3b200,c263b620,0) at div_send+0x3f
sosend(c2728288,c263b620,e830dc40,c3e3b200,0) at sosend+0x5e7
kern_sendit(c2688480,3,e830dcbc,0,0) at kern_sendit+0x104
sendit(c2688480,3,e830dcbc,0,bfbeed98) at sendit+0x161
sendto(c2688480,e830dd04,6,6888be,292) at sendto+0x4d
syscall(2f,bfbf002f,e830002f,1,28) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x280d31cf, esp = 0xbfbeecdc, 
ebp =
0xbfbfed88 ---
db

monsterjam jason $ uname -a
FreeBSD monsterjam.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Aug 26 15:15:59 
EDT 2005
monsterjam.org:/usr/src/sys/i386/compile/FREEBIE  i386


thanks/regards,
Jason

___
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: can someone please let me know what this crash means?

2005-11-13 Thread Jason
 If you have a scroll-back it would be helpful to see the output 
 immediately above this -- specifically, the panic message.

I did not have the terminal connected at the time of the panic so 
unfortunately, I dont have it..

 
 Also, is the date of the kernel (aug 26) approximately synchronized with 
 the source code it's built from, or is it earlier source?
yes, I believe thats the source code my kernel was built from.

 
 If not, could you tell me the revisions of netinet/{tcp*,in_pcb}.c?

[EMAIL PROTECTED] netinet $ pwd
/usr/src/sys/netinet
[EMAIL PROTECTED] netinet $ grep FreeBSD tcp*.c
tcp_debug.c: * $FreeBSD: src/sys/netinet/tcp_debug.c,v 1.25.2.1 2005/01/31 
23:26:36 imp Exp $
tcp_hostcache.c: * $FreeBSD: src/sys/netinet/tcp_hostcache.c,v 1.7.2.2 
2005/02/13 18:18:33 rwatson Exp $
tcp_input.c: * $FreeBSD: src/sys/netinet/tcp_input.c,v 1.252.2.21 2005/07/05 
19:25:42 ps Exp $
tcp_output.c: * $FreeBSD: src/sys/netinet/tcp_output.c,v 1.100.2.7 2005/05/04 
13:59:26 andre Exp $
tcp_sack.c: * $FreeBSD: src/sys/netinet/tcp_sack.c,v 1.3.2.9 2005/04/19 
18:37:26 ps Exp $
tcp_subr.c: * $FreeBSD: src/sys/netinet/tcp_subr.c,v 1.201.2.21 2005/06/14 
11:59:46 rwatson Exp $
tcp_syncache.c: * This software was developed for the FreeBSD Project by 
Jonathan Lemon
tcp_syncache.c: * $FreeBSD: src/sys/netinet/tcp_syncache.c,v 1.66.2.2 
2005/02/12 16:02:59 rwatson Exp $
tcp_timer.c: * $FreeBSD: src/sys/netinet/tcp_timer.c,v 1.66.2.6 2005/01/31 
23:26:37 imp Exp $
tcp_usrreq.c: * $FreeBSD: src/sys/netinet/tcp_usrreq.c,v 1.107.2.6 2005/06/14 
12:01:03 rwatson Exp $
[EMAIL PROTECTED] netinet $ grep FreeBSD in_pcb.c 
 * $FreeBSD: src/sys/netinet/in_pcb.c,v 1.153.2.10 2005/06/14 11:57:06 rwatson 
Exp $
[EMAIL PROTECTED] netinet $ 

thank you.

Jason

 
 Thanks,
 
 Robert N M Watson
 
 
 db AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
 No such command
 db trace
 Tracing pid 608 tid 100103 td 0xc2688480
 kdb_enter(c07ec00d) at kdb_enter+0x2b
 panic(c07e8435,c07eb5f7,c07eb390,366,c299b434) at panic+0x127
 mtx_destroy(c812457c,0) at mtx_destroy+0x5c
 in_pcbdetach(c81244ec,c616e6f0,c616e6f0,14,e830db44) at in_pcbdetach+0x1b4
 tcp_close(c616e6f0,1,0,14,c616e6f0) at tcp_close+0x94
 tcp_input(c3e3b200,14,6da8d318,0,0) at tcp_input+0x16df
 ip_input(c3e3b200) at ip_input+0x50d
 div_output(c2728288,c3e3b200,c263b620,0,e830dc0c) at div_output+0x1f7
 div_send(c2728288,0,c3e3b200,c263b620,0) at div_send+0x3f
 sosend(c2728288,c263b620,e830dc40,c3e3b200,0) at sosend+0x5e7
 kern_sendit(c2688480,3,e830dcbc,0,0) at kern_sendit+0x104
 sendit(c2688480,3,e830dcbc,0,bfbeed98) at sendit+0x161
 sendto(c2688480,e830dd04,6,6888be,292) at sendto+0x4d
 syscall(2f,bfbf002f,e830002f,1,28) at syscall+0x227
 Xint0x80_syscall() at Xint0x80_syscall+0x1f
 --- syscall (133, FreeBSD ELF32, sendto), eip = 0x280d31cf, esp = 
 0xbfbeecdc, ebp =
 0xbfbfed88 ---
 db
 
 monsterjam jason $ uname -a
 FreeBSD monsterjam.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Aug 26 
 15:15:59 EDT 2005
 monsterjam.org:/usr/src/sys/i386/compile/FREEBIE  i386
 
 
 thanks/regards,
 Jason
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 

|Jason Welsh   [EMAIL PROTECTED]|
| http://monsterjam.orgDSS PGP: 0x5E30CC98 |
|gpg key: http://monsterjam.org/gpg/   |


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


Re: Install freeze while or immediately after finish copying the ports-collection

2005-11-13 Thread Timm Florian Gloger

* On 11/12/2005 9:55 PM  Roland Smith wrote:


Have you verified the checksum of the ISO image after you downloaded it?

What happens if you don't install ports? (you can always do it later).



Yep. Checksums are ok.
If i just install a minimal system as Brandon suggested, the 
installation process works properly (except that disk geometry allegedly 
wrong, but the system-guessed values are correct for LBA mode).




How do you know that the network card doesn't work? If you go to the
emergency shell (alt-F4, IIRC) and type 'ifconfig', does it show a
network interface with 'media: Ethernet'?



Yes. The card is detected and also configured while the install process, 
but every try to connect to a ftp server fails.


Sadly, another problem occured after rebooting. The slave harddisk had 
debian on it  before the installation of BSD with grub written into the 
MBR. The problem is, i seems that bsd writes its own bootloader into th 
MBR of the slave harddisk. So grub is still in the master's MBR but the 
config files are of course not addressable.


So is it possible to instruct the sysinstall to write its bootloader to 
the mbr of the master harddisk and detect and conigure winxp for dual boot?


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


Re: Install freeze while or immediately after finish copying the ports-collection

2005-11-13 Thread Roland Smith
On Sun, Nov 13, 2005 at 05:22:34PM +0100, Timm Florian Gloger wrote:
 If i just install a minimal system as Brandon suggested, the 
 installation process works properly (except that disk geometry allegedly 
 wrong, but the system-guessed values are correct for LBA mode).

Well, that's something.

 How do you know that the network card doesn't work? If you go to the
 emergency shell (alt-F4, IIRC) and type 'ifconfig', does it show a
 network interface with 'media: Ethernet'?
 
 
 Yes. The card is detected and also configured while the install process, 
 but every try to connect to a ftp server fails.

Do you have a router and/or firewall? If so, is it configured correctly
to let ftp from this machine through?

snip
 So is it possible to instruct the sysinstall to write its bootloader to 
 the mbr of the master harddisk and detect and conigure winxp for dual boot?

I think this is covered in the Handbook.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpB9tYcLov75.pgp
Description: PGP signature


Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Pierre-Luc Drouin
Last friday I did a cvsup 
src/buildworld/buildkernel/installkernel/installworld/mergemaster on my 
laptop from 6.0-RELEASE to 6.0-STABLE and since the performance of my 
laptop (Dell Precision M70 with a Pentium M 2GHz) is not good. It 
behaves like if the bus was saturated. I noticed that sound skips when I 
play a mp3 with xmms and it also skips when I play dvds (with mplayer, 
ogle or vlc). I have tried to recompile a kernel with apic disabled 
since I had some performance issues with this enabled before 6.0-stable, 
but it didn't fix anything. Does somebody have an idea of what change in 
the FreeBSD sources could be causing this?


Thanks!

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


Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Pierre-Luc Drouin
I wanted also to add that my mouse pointer hangs on X since the upgrade. 
So the computer behaves as if it was under heavy load even if the CPU 
usage is almost 0%


Pierre-Luc Drouin wrote:

Last friday I did a cvsup 
src/buildworld/buildkernel/installkernel/installworld/mergemaster on 
my laptop from 6.0-RELEASE to 6.0-STABLE and since the performance of 
my laptop (Dell Precision M70 with a Pentium M 2GHz) is not good. It 
behaves like if the bus was saturated. I noticed that sound skips when 
I play a mp3 with xmms and it also skips when I play dvds (with 
mplayer, ogle or vlc). I have tried to recompile a kernel with apic 
disabled since I had some performance issues with this enabled before 
6.0-stable, but it didn't fix anything. Does somebody have an idea of 
what change in the FreeBSD sources could be causing this?


Thanks!

Pierre-Luc Drouin
___
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: mplayer + bktr

2005-11-13 Thread Daniel O'Connor
On Mon, 14 Nov 2005 01:00, Miguel Mendez wrote:
  The first is that when you force it to capture audio (so mute and volume
  control work, or you can use mencoder) it does about 0.25 fps :( It
  doesn't appear to be using heaps of CPU or anything so I am not sure what
  the problem is.

 I haven't tried this yet but can give it a go.

If you add immediatemode=0 to the tv args it will do it.

  The other is that it hitches when playing TV - it doesn't do this when
  viewing movies.

 After trying to figure out why tv support wasn't there I've added the
  --enable-tv-bsdbt848 to the configure args and it's warking
 flawlessly on my AMD64 box. This is 0.99.7_6. The output is crystal
 clear here.

Hmm, I didn't think I needed to do that, but I am not 100% sure.

  Has anyone else used mplayer for this? Do you see these problems? Anyone
  have any suggestions or solutions?

 Have you tried with xawtv and fxtv? Does the problem only show with
 mplayer? What other build options did you enable when building the
 software?

I don't use either of those, but a small program I wrote which captures YUV 
frames and uses the Xv extension doesn't show the problem.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpXgveysSNAc.pgp
Description: PGP signature


Re: can someone please let me know what this crash means?

2005-11-13 Thread Robert Watson


On Sun, 13 Nov 2005, Jason wrote:


If not, could you tell me the revisions of netinet/{tcp*,in_pcb}.c?


[EMAIL PROTECTED] netinet $ pwd
/usr/src/sys/netinet
[EMAIL PROTECTED] netinet $ grep FreeBSD tcp*.c
tcp_debug.c: * $FreeBSD: src/sys/netinet/tcp_debug.c,v 1.25.2.1 2005/01/31 
23:26:36 imp Exp $
tcp_hostcache.c: * $FreeBSD: src/sys/netinet/tcp_hostcache.c,v 1.7.2.2 
2005/02/13 18:18:33 rwatson Exp $
tcp_input.c: * $FreeBSD: src/sys/netinet/tcp_input.c,v 1.252.2.21 2005/07/05 
19:25:42 ps Exp $
tcp_output.c: * $FreeBSD: src/sys/netinet/tcp_output.c,v 1.100.2.7 2005/05/04 
13:59:26 andre Exp $
tcp_sack.c: * $FreeBSD: src/sys/netinet/tcp_sack.c,v 1.3.2.9 2005/04/19 
18:37:26 ps Exp $
tcp_subr.c: * $FreeBSD: src/sys/netinet/tcp_subr.c,v 1.201.2.21 2005/06/14 
11:59:46 rwatson Exp $
tcp_syncache.c: * This software was developed for the FreeBSD Project by 
Jonathan Lemon
tcp_syncache.c: * $FreeBSD: src/sys/netinet/tcp_syncache.c,v 1.66.2.2 
2005/02/12 16:02:59 rwatson Exp $
tcp_timer.c: * $FreeBSD: src/sys/netinet/tcp_timer.c,v 1.66.2.6 2005/01/31 
23:26:37 imp Exp $
tcp_usrreq.c: * $FreeBSD: src/sys/netinet/tcp_usrreq.c,v 1.107.2.6 2005/06/14 
12:01:03 rwatson Exp $
[EMAIL PROTECTED] netinet $ grep FreeBSD in_pcb.c
* $FreeBSD: src/sys/netinet/in_pcb.c,v 1.153.2.10 2005/06/14 11:57:06 rwatson 
Exp $
[EMAIL PROTECTED] netinet $


Do you use IPv6 on this box, and in particular, TCP over IPv6?  Do you use 
tcpdrop(8) to kill TCP connections?


There appears to be one bug fix since the revision you're using relating 
to tcpdrop(8) on TCP connections in the TIMEWAIT state that might result 
in a panic like the one you're seeing.  The panic and trace look familiar, 
but without the panic message it's hard to confirm.  If the machine has 
not already been reset, you might try showing the message buffer in DDB, 
which would have the effect of printing out the ring buffer that likely 
contains the panic message.


There have also been a number of fixes relating to raw sockets which may 
also apply to ipdivert related configurations, but I'm not sure they could 
lead to this particular panic easily.  This strikes me a a pcb/tcp race of 
some sort.


Thanks,

Robert N M Watson



thank you.

Jason



Thanks,

Robert N M Watson



db AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
No such command
db trace
Tracing pid 608 tid 100103 td 0xc2688480
kdb_enter(c07ec00d) at kdb_enter+0x2b
panic(c07e8435,c07eb5f7,c07eb390,366,c299b434) at panic+0x127
mtx_destroy(c812457c,0) at mtx_destroy+0x5c
in_pcbdetach(c81244ec,c616e6f0,c616e6f0,14,e830db44) at in_pcbdetach+0x1b4
tcp_close(c616e6f0,1,0,14,c616e6f0) at tcp_close+0x94
tcp_input(c3e3b200,14,6da8d318,0,0) at tcp_input+0x16df
ip_input(c3e3b200) at ip_input+0x50d
div_output(c2728288,c3e3b200,c263b620,0,e830dc0c) at div_output+0x1f7
div_send(c2728288,0,c3e3b200,c263b620,0) at div_send+0x3f
sosend(c2728288,c263b620,e830dc40,c3e3b200,0) at sosend+0x5e7
kern_sendit(c2688480,3,e830dcbc,0,0) at kern_sendit+0x104
sendit(c2688480,3,e830dcbc,0,bfbeed98) at sendit+0x161
sendto(c2688480,e830dd04,6,6888be,292) at sendto+0x4d
syscall(2f,bfbf002f,e830002f,1,28) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x280d31cf, esp =
0xbfbeecdc, ebp =
0xbfbfed88 ---
db

monsterjam jason $ uname -a
FreeBSD monsterjam.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Aug 26
15:15:59 EDT 2005
monsterjam.org:/usr/src/sys/i386/compile/FREEBIE  i386


thanks/regards,
Jason

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



--

|Jason Welsh   [EMAIL PROTECTED]|
| http://monsterjam.orgDSS PGP: 0x5E30CC98 |
|gpg key: http://monsterjam.org/gpg/   |




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


Re: Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Oliver Brandmueller
Hi.

On Sun, Nov 13, 2005 at 12:40:53PM -0500, Pierre-Luc Drouin wrote:
 I wanted also to add that my mouse pointer hangs on X since the upgrade. 
 So the computer behaves as if it was under heavy load even if the CPU 
 usage is almost 0%

cpufreq/powerd? Did you check, your laptop runs at reasonable speed?

- Olli

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


Second SATA drive not detected on 6.0-Release and 6.0-Stable.

2005-11-13 Thread Richard Lee
I have two SATA drives (ad4 and ad6 with static id), but the second one is
simply not detected in 6.0.

==

Before, I was running RELENG_5.4 and was getting:

Nov  5 13:57:51 minawa kernel: atapci0: SiS 964 UDMA133 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
Nov  5 13:57:51 minawa kernel: ata0: channel #0 on atapci0
Nov  5 13:57:51 minawa kernel: ata1: channel #1 on atapci0
Nov  5 13:57:51 minawa kernel: atapci1: SiS 964 SATA150 controller port 
0xb800-0xb80f,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa807 irq 17 at 
device 5.0 on pci0
Nov  5 13:57:51 minawa kernel: ata2: channel #0 on atapci1
Nov  5 13:57:51 minawa kernel: ata3: channel #1 on atapci1
Nov  5 13:57:51 minawa kernel: acd0: DVDR NEC DVD RW ND-3540A/1.6W at 
ata0-master UDMA33
Nov  5 13:57:51 minawa kernel: ad4: 76318MB ST380817AS/3.42 [155058/16/63] at 
ata2-master SATA150
Nov  5 13:57:51 minawa kernel: ad6: 152627MB ST3160827AS/3.42 [310101/16/63] 
at ata3-master SATA150
Nov  5 13:57:51 minawa kernel: cd0 at ata0 bus 0 target 0 lun 0

After the upgrade, I get:

Nov 13 05:17:14 minawa kernel: atapci0: SiS 964 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 2.5 on pci0
Nov 13 05:17:14 minawa kernel: ata0: ATA channel 0 on atapci0
Nov 13 05:17:14 minawa kernel: ata1: ATA channel 1 on atapci0
Nov 13 05:17:14 minawa kernel: atapci1: SiS 180 SATA150 controller port 
0xa800-0xa807,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xb800-0xb80f,0xbc00-0xbc7f
 irq 17 at device 5.0 on pci0
Nov 13 05:17:14 minawa kernel: ata2: ATA channel 0 on atapci1
Nov 13 05:17:14 minawa kernel: ata3: ATA channel 1 on atapci1
Nov 13 05:17:14 minawa kernel: acd0: DVDR NEC DVD RW ND-3540A/1.6W at 
ata0-master UDMA33
Nov 13 05:17:14 minawa kernel: ad4: 76318MB Seagate ST380817AS 3.42 at 
ata2-master SATA150
Nov 13 05:17:14 minawa kernel: cd0 at ata0 bus 0 target 0 lun 0

# atacontrol info ata2
Master:  ad4 ST380817AS/3.42 Serial ATA v1.0
Slave:   no device present

# atacontrol info ata3
Master:  no device present = SHOULD BE HERE!
Slave:   no device present

==

When I swapped the drive connections, it still only detected whatever is
connected to ata2, but not to ata3.  Windows sees both just fine, so does
the 5.4-Release CD-ROM.  I'm sure there's nothing wrong with the hardware.

I even downloaded 6.0R ISO image and booted, and there too, the second disk is
not detected.  I tried disabling ATA_STATIC_ID, which causes ad4 to become
ad0, but no other effect.  I have no IDE hard drives, only two SATA drives.  I
don't consider this set up to be anything unusual: Giga-Byte GA-K8S760M
(SIS760/964) with 2GB memory, Sempron64 1.8GHz 256kL2.  No RAID (BIOS setting
for RAID/Non-RAID didn't make any difference, either).

I also tried 6.0-Stable (2005-11-12) and it's the same problem.

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


Re: Reduced hard disk perfomance on 5.4 with SMP

2005-11-13 Thread Tarasov Alexey

Kris Kennaway wrote:


VFS was Giant-locked on 5.4, and there is contention between multiple
processes (e.g. tar and bufdaemon).  Try 6.0 instead.
  

I've updated server to RELENG_6_0. Results of hard disk test:


/usr/local/bin/bonnie
File './Bonnie.37454', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential Input-- 
--Random--
  -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  
/sec %CPU
  100  3733  3.8  3112  1.0  2691  1.5 105299 99.9 1451514 
100.0 61287.7 180.5



Compare with my home computer results:


bonnie
File './Bonnie.36180', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential Input-- 
--Random--
  -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  
/sec %CPU
  100 47381 32.2 48026  9.2 44852  8.7 83843 68.5 1184280 78.9 
84180.4 82.5


--
Best regards,
Tarasov Alexey.

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


Re: can someone please let me know what this crash means?

2005-11-13 Thread Jason
 Do you use IPv6 on this box, and in particular, TCP over IPv6?  Do you use 
 tcpdrop(8) to kill TCP connections?
no ipv6 at all.. and no, I havent used tcpdrop that I know of..

 
 There appears to be one bug fix since the revision you're using relating 
 to tcpdrop(8) on TCP connections in the TIMEWAIT state that might result 
 in a panic like the one you're seeing.  The panic and trace look familiar, 
 but without the panic message it's hard to confirm.  If the machine has 
 not already been reset, you might try showing the message buffer in DDB, 
 which would have the effect of printing out the ring buffer that likely 
 contains the panic message.
sorry, I had to reboot already.. ;)
 
 There have also been a number of fixes relating to raw sockets which may 
 also apply to ipdivert related configurations, but I'm not sure they could 
 lead to this particular panic easily.  This strikes me a a pcb/tcp race of 
 some sort.

I am running ipfw on this box and do have 
$fwcmd add divert natd all from any to any via fxp0


hmm, I guess its time to upgrade to 6.0?

Jason


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


Re: can someone please let me know what this crash means?

2005-11-13 Thread Robert Watson


On Sun, 13 Nov 2005, Jason wrote:

There have also been a number of fixes relating to raw sockets which 
may also apply to ipdivert related configurations, but I'm not sure 
they could lead to this particular panic easily.  This strikes me a a 
pcb/tcp race of some sort.


I am running ipfw on this box and do have $fwcmd add divert natd all 
from any to any via fxp0


hmm, I guess its time to upgrade to 6.0?


While it looks like a familiar stack trace and I've fixed bugs that sound 
a lot like this, I'm not entirely fixed that this specific bug has been 
fixed.  Unfortunately, I'm not sure how easily we can debug it without 
more information.  I spent a bit of time this evening reviewing all the 
diffs between the revisions you're running and current revisions, and 
other than IPv6-related and tcpdrop-related changes, I don't see anything 
obvious.  I'll spent some more time looking at the stack trace tonight. 
Updating to 6.x probably is a good idea, as there are some bugs fixed in 
6.x that cannot easily be fixed in 5.x, but I don't promise it will fix 
this particular problem.  On the other hand, it apparently took months to 
trigger and has not been seen by anyone else, so the changes are low it 
will recur before we do find and fix it :-).  I'll do some more reading 
over the next few days and see if I see anything.


What's interesting about the ipdivert input path is that it generates 
parallelism in the IP input code, which is actually somewhat unusual 
unless running with net.isr.direct=1, so if a bug is hiding somewhere 
here, that's probably why it's not been triggered by anyone else.


Thanks for the report -- it might not hurt to file a PR with all the 
details you have (including the file revisions) and drop me the PR number 
so I can grab it and make sure it doesn't fall off my todo list.


Thanks again!

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


Re: can someone please let me know what this crash means?

2005-11-13 Thread Robert Watson


On Sun, 13 Nov 2005, Jason wrote:

I am running ipfw on this box and do have $fwcmd add divert natd all 
from any to any via fxp0


hmm, I guess its time to upgrade to 6.0?


The attached untested patch will most likely prevent the bug from 
recurring by eliminating parallelism between the ip_input() call from the 
divert socket and other ip_input() processing in the netisr, as it defers 
that processing to the netisr.  However, it won't fix the underlying bug, 
which I'll keep looking for, and needs to be fixed in order to support 
net.isr.direct and various other future plans for network stack behavior. 
I'll see if I can dig someone up to test ipdivert changes, since I'm not 
set up to test them here easily currently.


Thanks,

Robert N M Watson

Index: ip_divert.c
===
RCS file: /home/ncvs/src/sys/netinet/ip_divert.c,v
retrieving revision 1.113
diff -u -r1.113 ip_divert.c
--- ip_divert.c 13 May 2005 11:44:37 -  1.113
+++ ip_divert.c 13 Nov 2005 19:27:32 -
@@ -61,6 +61,7 @@
 #include vm/uma.h

 #include net/if.h
+#include net/netisr.h
 #include net/route.h

 #include netinet/in.h
@@ -378,7 +379,7 @@
SOCK_UNLOCK(so);
 #endif
/* Send packet to input processing */
-   ip_input(m);
+   netisr_queue(NETISR_IP, m);
}

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


Re: Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Pierre-Luc Drouin

Oliver Brandmueller wrote:


Hi.

On Sun, Nov 13, 2005 at 12:40:53PM -0500, Pierre-Luc Drouin wrote:
 

I wanted also to add that my mouse pointer hangs on X since the upgrade. 
So the computer behaves as if it was under heavy load even if the CPU 
usage is almost 0%
   



cpufreq/powerd? Did you check, your laptop runs at reasonable speed?

- Olli

 


I am using the highest frequency all the time
dev.cpu.0.freq: 1997
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Kris Kennaway
On Sun, Nov 13, 2005 at 02:35:23PM -0500, Pierre-Luc Drouin wrote:
 Oliver Brandmueller wrote:
 
 Hi.
 
 On Sun, Nov 13, 2005 at 12:40:53PM -0500, Pierre-Luc Drouin wrote:
  
 
 I wanted also to add that my mouse pointer hangs on X since the upgrade. 
 So the computer behaves as if it was under heavy load even if the CPU 
 usage is almost 0%

 
 
 cpufreq/powerd? Did you check, your laptop runs at reasonable speed?
 
 - Olli
 
  
 
 I am using the highest frequency all the time
 dev.cpu.0.freq: 1997

Check for high interrupt rates with vmstat -i.

Kris


pgpFH1Sw9cbHO.pgp
Description: PGP signature


Re: mplayer + bktr

2005-11-13 Thread Miguel Mendez
Hi there,

On 11/13/05, Daniel O'Connor [EMAIL PROTECTED] wrote:
 On Mon, 14 Nov 2005 01:00, Miguel Mendez wrote:
   The first is that when you force it to capture audio (so mute and volume
   control work, or you can use mencoder) it does about 0.25 fps :( It
   doesn't appear to be using heaps of CPU or anything so I am not sure what
   the problem is.
 
  I haven't tried this yet but can give it a go.

 If you add immediatemode=0 to the tv args it will do it.

I've just tried that and the speed drops to something like 5-6 fps.
Interesting problem.

  After trying to figure out why tv support wasn't there I've added the
   --enable-tv-bsdbt848 to the configure args and it's warking
  flawlessly on my AMD64 box. This is 0.99.7_6. The output is crystal
  clear here.

 Hmm, I didn't think I needed to do that, but I am not 100% sure.

The reason I did that was because before doing so mplayer complained
about the bsdbt848 driver not being there. I don't think it's related
to your problem.

  Have you tried with xawtv and fxtv? Does the problem only show with
  mplayer? What other build options did you enable when building the
  software?

 I don't use either of those, but a small program I wrote which captures YUV
 frames and uses the Xv extension doesn't show the problem.

Since this bug is reproducible next step would be building a mplayer
binary with -g and try to find out what's going on. Maybe you could
try the mplayer lists to see if this problem appears on other systems.
I'll try to do some research as well.

Cheers,
--
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install freeze while or immediately after finish copying the ports-collection

2005-11-13 Thread Timm Florian Gloger

Thanks for all your help.

After installing the bootloader correctly, 6.0 boots well and fast.
Also network is runnig now. Seems sysinstall did not bring it up after 
configuring, so i didi this manualy on the holo shell.


I noticed a mistake i made during the diagnostic of the freezes. They 
may not be just the result of the atapi devices.


After booting for a several times now i got 2 more freezes in not 
coherent periods of time after logging in.


i am able to access the fs through the other os so i checked the message 
and other logfiles, but i cannot find any panic or other bad logentries.


Any ideas/ suggestions?

(Will post this as a new thread)
Thanks a lot again

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


6.0 freezes shortly after logging in.

2005-11-13 Thread Timm Florian Gloger

Hi list,

I get some strange freezes with my fresh 6.0 installation.

After booting for a several times now i got 2 more freezes in not
coherent periods of time after logging in.

It is a complete freeze as far as i can explore, neither any keyboard 
nor mouse input is noticed and keyboard hangs also (no numblock/ 
shiftlock switching possible).


I am able to access the fs through the other os so i checked the message
and other logfiles, but i cannot find any panic or other bad logentries.


Any ideas/ suggestions?

(Will post this as a new thread)
Thanks a lot again

Timm

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


Re: 6.0 freezes shortly after logging in.

2005-11-13 Thread Roland Smith
On Sun, Nov 13, 2005 at 10:50:29PM +0100, Timm Florian Gloger wrote:

 After booting for a several times now i got 2 more freezes in not
 coherent periods of time after logging in.

If it's freezing unpredictably, I'd suspect hardware trouble. Bad RAM
(try memtest86) or a powersupply that can't cope.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpmOHjvtXQWx.pgp
Description: PGP signature


Re: 6.0 freezes shortly after logging in.

2005-11-13 Thread Timm Florian Gloger

* On 11/13/2005 10:54 PM  Roland Smith wrote:

On Sun, Nov 13, 2005 at 10:50:29PM +0100, Timm Florian Gloger wrote:



After booting for a several times now i got 2 more freezes in not
coherent periods of time after logging in.



If it's freezing unpredictably, I'd suspect hardware trouble. Bad RAM
(try memtest86) or a powersupply that can't cope.

Roland


Well it may be that the time the machine was up the other times was not 
long enough to make the freeze occure. Powersupply can be excluded, it 
is a 350W enermax. never had any problems with it and winxp is still 
running rock solid. There was also no heavy cpu usage or heat when the 
system froze.

will run memtest86 and see what it comes up with.

is there any other chance to get some information of the time shortly 
before the freeze out of the system other than the standard logfies?

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


Re: 6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

2005-11-13 Thread Doug White
Adjusted cc: to remove private list.

On Wed, 9 Nov 2005, Lev Serebryakov wrote:

 Hello freebsd-stable,

   FreeBSD 6.0 on VMWare 5.0 prints such messages every 3-4 minute.
   Also, messages like

 calcru: runtime went backwards from 40644816 to 40005944 usec for pid 3 (g_up)

   is shown routinely.

Get used to it. VMWare does evil, evil things with the virtual machine
clocks. We have problems with massive clock drift with Linux as the host
and guest OSen.

Comment out the printf and rebuild your kernel :-)

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0 freezes shortly after logging in.

2005-11-13 Thread Roland Smith
On Sun, Nov 13, 2005 at 11:11:49PM +0100, Timm Florian Gloger wrote:

 is there any other chance to get some information of the time shortly 
 before the freeze out of the system other than the standard logfies?

Syslog is programmed to fsync(2) after writing messages from the kernel,
unless you put a '-' in front of the destination filename. So if you
don't see anything in the logfiles, that probably because there wasn't
anything.

However, it is possible to divert the syslog output to another machine
(that's also running syslogd). See the syslog.conf manpage.

Have you enabled crashdumps? If there is a kernel panic instead of a
hard hang, you might get some info from a crashdump.

If you feel up to it, read chapter 10 (kernel debugging) in the FreeBSD
Developers' Handbook. It is possible to debug a system remotely via a
serial line.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpGp7gdw8DWs.pgp
Description: PGP signature


RE: Adaptec SATA 1210SA+ Freebsd 6.0

2005-11-13 Thread Doug White
On Thu, 10 Nov 2005, Filip Wuytack wrote:

 Hi,

 I also tried to create the label via the command line (following the
 handbook).

 web2# dd if=/dev/zero of=/dev/ar0 count=2
 2+0 records in
 2+0 records out
 1024 bytes transferred in 0.000757 secs (1352746 bytes/sec)
 web2# disklabel /dev/ar0 | disklabel -B -R -r ar0 /dev/stdin
 disklabel: /dev/ar0: no valid label found

 And the system freezes and shows 'ata2: DISCONNECT requested'

I'd take a first guess that the disk attached to ata2 is having issues.
Reseat and perhaps replace the cables. If that doesn't work then download
and run the manufacturer's diagnostic tool and see if you can get that to
error out.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Consistent 6.0-STABLE Hang

2005-11-13 Thread Doug White
On Thu, 10 Nov 2005, Cy Schubert wrote:

 Running the Citrix ICA wfcmgr (from ports) to change settings, e.g.
 password, for connection to a Windows terminal server hangs FreeBSD 6.0 (as
 of Nov 4) quite consistently. I've tried this on one of my 6.0 systems at
 home and a 6.0 system here at work. I suspect it may have something to do
 with Linux emulation however until I dig into this more I won't know for
 sure.

 The only way to unhang the system is to press the reset switch.

For fun, try updating to RELENG_6. I committed a fix recently for a hang
thats caused by doing 'ls /dev' in the linuxulator.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crashing after umounting unavailable filesystems

2005-11-13 Thread Doug White
On Thu, 10 Nov 2005, William Denton wrote:

 On 10 November 2005, Michael C. Shultz wrote:

  Opps, I crashed the machine. When I moved it, I unplugged the
  USB DVD-RW and I had mounted one of the dist discs on there.
  When I did a umount it paniced. My bad.

 That happened to me the other day too.  I'd mounted a USB flash drive,
 unplugged the USB hub, replugged it, remounted the drive, and then of
 course I couldn't umount the first mount.  I did a umount -f and the
 machine crashed instantly.

 Is this the sort of thing that's really hard to handle, or might it be
 safer one day?  I don't know how serious it is to do bad things to mounted
 file systems, but I'm curious.

Its Hard To Handle.

:-)

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hyperthreading issues.

2005-11-13 Thread Doug White
On Fri, 11 Nov 2005, kama wrote:

 Just upgraded from 5.4 to 6.0 and hyperthreading stoped working.
 Everything looks ok, but it doesn't use two of the logical CPU's.

This is disabled by default due to a information-leak vulnerability across
the hyperthreaded cores. The details from the release notes:

Because of an information disclosure vulnerability on processors using
Hyper-Threading Technology (HTT), the machdep.hyperthreading_allowed
sysctl variable has been added. It defaults to 1 (HTT enabled) on FreeBSD
CURRENT, and 0 (HTT disabled) on the 4-STABLE and 5-STABLE development
branches and supported security fix branches. More information can be
found in security advisory FreeBSD-SA-05:09.htt. [MERGED]

If you don't care about this, add

machdep.hyperthreading_allowed=1

to /boot/loader.conf and reboot.

 One other thing is when I try to switch off hyperthreading in BIOS, it
 will hang at bootup when it are settling the scsi drives. After awhile it
 will give me scsi timeouts. This only happens when I have two cpu enabled
 and hyperthreading off. If I disable one cpu w ht off it will boot wo
 problems, or two cpus w ht. But booting with ht + two cpu's gives me the
 other problem.

Sounds like the BIOS is not rerouting the interrupts correctly. Check for
a BIOS update.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0 freezes shortly after logging in.

2005-11-13 Thread Doug White
On Sun, 13 Nov 2005, Timm Florian Gloger wrote:

 Hi list,

 I get some strange freezes with my fresh 6.0 installation.

 After booting for a several times now i got 2 more freezes in not
 coherent periods of time after logging in.

 It is a complete freeze as far as i can explore, neither any keyboard
 nor mouse input is noticed and keyboard hangs also (no numblock/
 shiftlock switching possible).

 I am able to access the fs through the other os so i checked the message
 and other logfiles, but i cannot find any panic or other bad logentries.

Try turning off background fsck by adding this to your rc.conf and
rebooting:

background_fsck=NO

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Performance problem since updating from 6.0-RELEASE to 6.0-STABLE last friday

2005-11-13 Thread Pierre-Luc Drouin

Kris Kennaway wrote:


On Sun, Nov 13, 2005 at 02:35:23PM -0500, Pierre-Luc Drouin wrote:
 


Oliver Brandmueller wrote:

   


Hi.

On Sun, Nov 13, 2005 at 12:40:53PM -0500, Pierre-Luc Drouin wrote:


 

I wanted also to add that my mouse pointer hangs on X since the upgrade. 
So the computer behaves as if it was under heavy load even if the CPU 
usage is almost 0%
 

   


cpufreq/powerd? Did you check, your laptop runs at reasonable speed?

- Olli



 


I am using the highest frequency all the time
dev.cpu.0.freq: 1997
   



Check for high interrupt rates with vmstat -i.

Kris
 


vmstat -i
interrupt  total   rate
irq0: clk 342175953
irq1: atkbd0 832  2
irq4: sio0 1  0
irq7:  3  0
stray irq7 3  0
irq8: rtc  43826122
irq9: iwi0 uhci1++   124  0
irq11: nvidia0 pcm+18037 50
irq12: psm0 4164 11
irq13: npx01  0
irq14: ata0 5209 14
irq15: ata1   82  0
Total 414457   1154

I have noticed this error message on the console when I run X, I don't 
know if it can be related to the problem:

Error in ictl (sockfd): Device not configured
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer + bktr

2005-11-13 Thread Daniel O'Connor
On Mon, 14 Nov 2005 07:13, Miguel Mendez wrote:
  If you add immediatemode=0 to the tv args it will do it.

 I've just tried that and the speed drops to something like 5-6 fps.
 Interesting problem.

Yeah, I suspect there is something wrong with the audio sampling, but I 
haven't looked at it properly.

  I don't use either of those, but a small program I wrote which captures
  YUV frames and uses the Xv extension doesn't show the problem.

 Since this bug is reproducible next step would be building a mplayer
 binary with -g and try to find out what's going on. Maybe you could
 try the mplayer lists to see if this problem appears on other systems.
 I'll try to do some research as well.

Yeah, the long haul :(
I was hoping for a magic wand ;)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpo0lxpDCjXP.pgp
Description: PGP signature


Re: mplayer + bktr

2005-11-13 Thread Danny Pansters
On Monday 14 November 2005 01:02, Daniel O'Connor wrote:
 On Mon, 14 Nov 2005 07:13, Miguel Mendez wrote:
   If you add immediatemode=0 to the tv args it will do it.
 
  I've just tried that and the speed drops to something like 5-6 fps.
  Interesting problem.

 Yeah, I suspect there is something wrong with the audio sampling, but I
 haven't looked at it properly.

I myself am not really doing anything with capturing, but some ideas that may 
be helpful:

FWIW, from what I know in ring capture mode the video gets synch'd by the 
audio by having enough frames per audio sample. So if audio sample size or 
expected speed or expected kHz is somehow wrong...

Also the code for ring capture mode (as opposed to immediate which does not do 
audio but does give a video one could capture at 25 fps) has its own timing 
(perhaps it uses rtc down the line, I dunno, is rtc.ko alright?). You may get 
into a worst-worst-worst-even worst scenario where the software timer 
degrades on and on possibly.

Maybe capturing only works well if you use immediate (case 2 in bktr(4) IIRC) 
and you should capture audio seperately and later merge them to frames.

   I don't use either of those, but a small program I wrote which captures
   YUV frames and uses the Xv extension doesn't show the problem.
 

Capturing only pictures at 25 fps (with mplayer vo) can be handled easily.

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


DHCP client error: domain_not_set.invalid

2005-11-13 Thread Mark Space

Hi all,

I just set up the latest 6.0 release, and I'm getting errors with the 
DHCP client.  Trying to pull a network address during start up, I get:


Bogus domain search list 15: domain_not_set.invalid

This repeats several times before giving up.  Google tells me that this 
problem was report by two users on the bsd-current list.  No one ever 
replied to their inquiries (at least on the list), so I thought to try 
once more to see if there's any interest in addressing this issue. 


More info was in the original post:
http://lists.freebsd.org/pipermail/freebsd-current/2005-October/057034.html

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


a few problems with 6.0-RELEASE on IBM T41p

2005-11-13 Thread Petr Holub
Hi,

since I've upgraded from 6.0-BETA4 to 6.0-RELEASE (using binary
upgrade on contrary to 6.0-BETA4, which was binary from BETA2, which
was clean install ;-) ), I'm experiencing multiple problems which were
not present on BETA4:
1) when rebooting, the system freezes on message
   Shutting down ACPI
   and looks like intending to never reboot
2) I get rather regular freezes in X when running GL with drm acceleration;
   I've rebuilt both xorg-server-snap and dri-devel from sources
   but it freezes still after couple of seconds of glxgears (while
   it worked fine on BETA4 achieving slightly above 2100 fps)
3) psm0: unable to allocate IRQ
   when both psm and acpi_ibm are present in the kernel; this is also
   described also in one of my recent posts:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=607372+0+archive/2005/freebsd-stabl
e/20051113.freebsd-stable
4) ipw (with internal 2100B card) can freeze the machine under load
   on rather rare occasions

There are also other problems with ipw, as it sometimes ceases to
work under heavier load (without freezing the system). But that was
also occuring on BETA2 - BETA4.

Alas none of those situations produces kernel panic, so there is no
dump to send :( Any ideas? Looks to me like there is some significant
problem with ACPI... (should I cross-post this to acpi@ ?)

Thanks,
Petr


Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [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: a few problems with 6.0-RELEASE on IBM T41p

2005-11-13 Thread Kris Kennaway
On Mon, Nov 14, 2005 at 05:39:52AM +0100, Petr Holub wrote:
 Hi,
 
 since I've upgraded from 6.0-BETA4 to 6.0-RELEASE (using binary
 upgrade on contrary to 6.0-BETA4, which was binary from BETA2, which
 was clean install ;-) ), I'm experiencing multiple problems which were
 not present on BETA4:
 1) when rebooting, the system freezes on message
Shutting down ACPI
and looks like intending to never reboot
 2) I get rather regular freezes in X when running GL with drm acceleration;
I've rebuilt both xorg-server-snap and dri-devel from sources
but it freezes still after couple of seconds of glxgears (while
it worked fine on BETA4 achieving slightly above 2100 fps)

Did you remember to rebuild any modules you are using when you
upgraded?

Kris


pgpmSlQ1COmxU.pgp
Description: PGP signature


RE: a few problems with 6.0-RELEASE on IBM T41p

2005-11-13 Thread Petr Holub
 Did you remember to rebuild any modules you are using when you
 upgraded?

cd /sys/i386/conf/
config KLOBOUCEK
cd ../compile/KLOBOUCEK
make cleandepend; make depend  make  make install
as usual. I assume that's sufficient.

The only thing I'm not sure of now is the linux emulation...

Thanks,
Petr


Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [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: a few problems with 6.0-RELEASE on IBM T41p

2005-11-13 Thread Petr Holub
  2) I get rather regular freezes in X when running GL with drm acceleration;
 I've rebuilt both xorg-server-snap and dri-devel from sources
 but it freezes still after couple of seconds of glxgears (while
 it worked fine on BETA4 achieving slightly above 2100 fps)
 
 Did you remember to rebuild any modules you are using when you
 upgraded?

I've checked that linux.ko has been rebuilt as well, I have no modules
in /boot/modules and also at the time of freezing X with glxgears, only
kernel+acpi.ko+linux.ko are loaded.

Petr

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


5.4, linux-pango and libfontconfig

2005-11-13 Thread Bruce Burden


   Hi gang,

   Okay, several weeks ago, I told portupgrade to upgrade
  everything. Then flashplugin stopped working, because it could
  not find libfontconfig.so.1.

On thing leads to another, and I am trying to get things
  working again. The problem is that linux apps are not using
  the linux-libfontconfig shared library:

===   linux-pango-1.2.1_3 depends on file: 
/compat/linux/usr/X11R6/lib/libXrender.so.1 -
found
===   Generating temporary packing list
pango-1.2.1-3.i386.rpm
/compat/linux/usr/bin/pango-querymodules: error while loading shared libraries: 
/usr/X11R6
/lib/libfontconfig.so.1: ELF file OS ABI invalid
*** Error code 127

Stop in /usr/ports/x11-toolkits/linux-pango.
*** Error code 1

Stop in /usr/ports/x11-toolkits/linux-pango.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade92806.19 
make -DFORCE
_PKG_REGISTER reinstall
---  Restoring the old version
** Fix the installation problem and try again.

I have tried:

put /usr/X11R6/lib

into /compat/linux/etc/ld.so.conf

and run:

/compat/linux/sbin/ldconfig

to no avail. First, /usr/X11R6/lib was already in the
   ld.so.conf file. And ldconfig does not want to add a ld-elf.so.hints
   file, at least that I can tell.

Suggstions? The linux base is 8.8, btw.

Thanks,
Bruce
-- 

  I like bad! Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

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


Re: a few problems with 6.0-RELEASE on IBM T41p

2005-11-13 Thread Kris Kennaway
On Mon, Nov 14, 2005 at 06:02:35AM +0100, Petr Holub wrote:
  Did you remember to rebuild any modules you are using when you
  upgraded?
 
 cd /sys/i386/conf/
 config KLOBOUCEK
 cd ../compile/KLOBOUCEK
 make cleandepend; make depend  make  make install
 as usual. I assume that's sufficient.

Not if you're using any third party modules.

What does 'kldstat' tell you?

Kris


pgpTJqtiV70Rq.pgp
Description: PGP signature