How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Hi all,

It is possible to configure OS for rebooting when kernel panic?
--
WBR, Andrey V. Elsukov

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 11:04:17AM +0400, Andrey V. Elsukov wrote:
 Hi all,
 
 It is possible to configure OS for rebooting when kernel panic?

That should be the default condition as long as you don't specify
debugger support (or do and use DDB_UNATTENDED)

Kris

pgpzKShPybVZI.pgp
Description: PGP signature


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Kris Kennaway wrote:

That should be the default condition as long as you don't specify
debugger support (or do and use DDB_UNATTENDED)

Thanks.
I have RELENG_5 server with ATA RAID promise controller and 4 ATA disks 
in two RAID0 stripes.
Today one RAID0 has BROKEN (ar0). I have tried umount -f /dev/ar0s1d 
and currently have unreacheble system.. (i have only remote access to 
this machine) :(

How to umount broken raid without system hold?
--
WBR, Andrey V. Elsukov

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


Re: Loss of serial ports after upgrade.

2005-06-10 Thread Igor Robul

[EMAIL PROTECTED] wrote:


Thank you Kevin.  That solved the problem.  I'm not sure how the
di(sable) for sio0/1 was written into the kernel.conf.  It has been a
little while.  Maybe my mind is a little hazy.  Maybe I had a reason at
the  time to disable the serial ports.  I am wondering why, when I booted
the 4.6 kernel, the serial devices were recognized?

 


Maybe because 4.6 kernel config does not have options  UCONSOLE?

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


man 4 ar on 5.4

2005-06-10 Thread Artem Kuchin
See 


man 4 ar

I think it is fully outdated, bease ar is an RAID storage
device, as i see when i use Promise TX2000

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


Re: man 4 ar on 5.4

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

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


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

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


Re: man 4 ar on 5.4

2005-06-10 Thread Andrey V. Elsukov

Artem Kuchin wrote:

See
man 4 ar

I think it is fully outdated, bease ar is an RAID storage
device, as i see when i use Promise TX2000


On 5.4-STABLE this manual is not for ATA RAID. In ata(4) manual i have 
not found anything interesting..

My question was how to unmount FS at broken RAID0 without kernel panic?
--
WBR, Andrey V. Elsukov
The Branch of JSC SO-CDO UES Kirov RDO
System Administrator, +7 (8332) 57-47-88

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrey V. Elsukov

Andrew McNaughton wrote:

You can't unmount your root file system.


Because of this it's possibly a good idea to have as minimal a root 
partition system as possible, off the raid system, and very rarely 
changed, so it's unlikely to get screwed up.


Yes, i know. Root FS, and othser system FS's is on the other disk. RAID 
stripe have only public data.

--
WBR, Andrey V. Elsukov

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


changes to src/sys/kern/uipc_socket2.c

2005-06-10 Thread Goran Gajic


Latest change to uipc_socket2.c fixed my problem with start of apache2 in
chroot enviroment. Whenever I reboot 5.4 I was forced to manualy do:

chroot /CHROOT/APACHE /usr/local/apache2/bin/httpd -D SSL

no matter I already had that line in rc.local. Now that problem is also 
gone.


Regards,
gg.

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


Re: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Simon L. Nielsen
On 2005.06.10 03:06:46 -0400, Kris Kennaway wrote:
 On Fri, Jun 10, 2005 at 11:04:17AM +0400, Andrey V. Elsukov wrote:
  Hi all,
  
  It is possible to configure OS for rebooting when kernel panic?
 
 That should be the default condition as long as you don't specify
 debugger support (or do and use DDB_UNATTENDED)

BTW. note that DDB_UNATTENDED was been broken for a while (so it still
went into the DDB) - it should be fixed now at least in -CURRENT, but
I'm not sure if that change made it back to 5-STABLE/5.4-RELEASE.

-- 
Simon L. Nielsen


pgpcKkwG7pidi.pgp
Description: PGP signature


5.4 Resolver bug?

2005-06-10 Thread Steven Hartland

When doing:
nslookup 85.236.100.78
nslookup: couldn't get address for '88~ë¿¿À': not found

I tracked down the cause to this was the fact that resolv.conf
had localhost in it which named wasn't binding to. But surely
I shouldn't get back this corruption?

   Steve 





This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.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: How to configure FreeBSD for rebooting when kernel panic

2005-06-10 Thread Andrew McNaughton



On Fri, 10 Jun 2005, Andrey V. Elsukov wrote:


Andrew McNaughton wrote:

You can't unmount your root file system.


Because of this it's possibly a good idea to have as minimal a root 
partition system as possible, off the raid system, and very rarely changed, 
so it's unlikely to get screwed up.


Yes, i know. Root FS, and othser system FS's is on the other disk. RAID 
stripe have only public data.


You want a system where if the mounts (other than the root fs) fail, the 
system will still be adminsterable.  To maintain remote access, you'd need 
to make sure that all your basic login tools are on the root disk.  eg 
sshd, root's default shell, etc.


Should be doable, but would be nice if it didn't involve as much custom 
tinkering as I expect it would.


Andrew




--
Life is a process of becoming, a combination of states we have to 
go through. Where people fail is that they wish to elect a state 
and remain in it. This is a kind of death.  -- Anais Nin


---
Andrew McNaughton   http://www.scoop.co.nz/
[EMAIL PROTECTED]  Mobile: +61 422 753 792

--
pgp encrypted mail welcome
keyid: 70F6C32D  keyserver: pgp.mit.edu
5688 2396 AA81 036A EBAC 2DD4 1BEA 7975 A84F 6686
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 Resolver bug?

2005-06-10 Thread Gunnar Flygt
On Fri, Jun 10, 2005 at 10:58:42AM +0100, Steven Hartland wrote:
 When doing:
 nslookup 85.236.100.78
 nslookup: couldn't get address for '88~ë¿¿À': not found
 
 I tracked down the cause to this was the fact that resolv.conf
 had localhost in it which named wasn't binding to. But surely
 I shouldn't get back this corruption?

This is what I get on a machine that also has 127.0.0.1 in the
resolv.conf

$ nslookup 85.236.100.78
Server:  localhost.sr.se
Address:  127.0.0.1

*** localhost.sr.se can't find 85.236.100.78: Non-existent host/domain

 
Steve 
 
 
 
 
 This e.mail is private and confidential between Multiplay (UK) Ltd. and the 
 person or entity to whom it is addressed. In the event of misdirection, the 
 recipient is prohibited from using, copying, printing or otherwise 
 disseminating it or any information contained in it. 
 In the event of misdirection, illegible or incomplete transmission please 
 telephone (023) 8024 3137
 or return the E.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]

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

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


Re: 5.4 Resolver bug?

2005-06-10 Thread Steven Hartland
- Original Message - 
From: Gunnar Flygt [EMAIL PROTECTED]


This is what I get on a machine that also has 127.0.0.1 in the
resolv.conf

$ nslookup 85.236.100.78
Server:  localhost.sr.se
Address:  127.0.0.1

*** localhost.sr.se can't find 85.236.100.78: Non-existent host/domain


Clearly I needed a cup on coffee this morning, some muppet had
actually put the following in resolv.conf:
nameserver localhost
So although there is an issue there ( invalid entry should have just been
ignored ) its safe say its not a major issue :)

   Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.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: FreeBSD 5.4: Is it generally unstable?

2005-06-10 Thread Marc Olzheim
On Wed, Jun 08, 2005 at 10:44:07PM -0500, Vulpes Velox wrote:
  Personnally, when upgrading from 4.x to 5.x, we ran into the
  following 3 issues that are still not fixed in 5.4:
  
  kern/80617:
  Hangup writing large blocks to NFS mounted FS(Patches available)
  Not exremely important: just don't do that.
  
  kern/79208:
  i387 libm's floorf(), ceilf() and truncf()   (Fixed in RELENG_5)
  PITA when running threaded calculations.
  
  kern/78824
  socketpair()/close() race condition  (Fixed in CURRENT)
  Patch will be MFC'd to RELENG_5 soon.
  
  Anyway: you won't catch me running an unpatched 5.4 system... I'd
  say stick with RELENG_5 for the time being.
 
 Given the choice, I can't see any reason not to run a system that is
 not using the current stable.

Which is exactly what I recommended (current stable == RELENG_5) :-)

Marc


pgp8aJetGF8zB.pgp
Description: PGP signature


Re: FreeBSD 5.4: Is it generally unstable?GCC broken for amd64 ? (was Re: FreeBSD 5.4: Is it generally unstable?)

2005-06-10 Thread Julian H. Stacey
Kris Kennaway wrote:
 On Thu, Jun 09, 2005 at 12:22:41PM -0700, Kevin Oberman wrote:
  You can't make the archive search, but Google Groups can (and does) very
  well. I search the mail list archives far more frequently with Google (or
  Google Groups) than with the archive search tool.
 Sure you can..there's a message ID search right there on the search
 page!  I already posted a link to this.

Kris wrote  http://www.freebsd.org/search/search.html
I tried http://www.freebsd.org/search/
clicked to  http://www.freebsd.org/search/#mailinglists
clicked to  amd64
moused in the original message ID I had quoted
[EMAIL PROTECTED]
 got the posting by David O'Brien

http://www.freebsd.org/cgi/getmsg.cgi?fetch=218610+56+/usr/local/www/db/text/2005/freebsd-amd64/20050605.freebsd-amd64

It wasn't a search by key field of Message-ID, just a search
for arbitrary text, content being the MessageID. But it worked. 
( I had vaguely assumed the search box on front of
http://www.freebsd.org
 search after clicking mailing lists on  front page, leading to

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

probably would have been unified searches,, but not so, I guess one
search comes standard with ports/mail/mailman,  the other is special
to freebsd.org site.
-
Julian StaceyNet  Sys Eng Consultant, Munich   http://berklix.com
Mail in Ascii (Html=Spam).  Ihr Rauch = mein allergischer Kopfschmerz.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changes to src/sys/kern/uipc_socket2.c

2005-06-10 Thread Marc Olzheim
On Fri, Jun 10, 2005 at 11:32:14AM +0200, Goran Gajic wrote:
 Latest change to uipc_socket2.c fixed my problem with start of apache2 in
 chroot enviroment. Whenever I reboot 5.4 I was forced to manualy do:
 
 chroot /CHROOT/APACHE /usr/local/apache2/bin/httpd -D SSL
 
 no matter I already had that line in rc.local. Now that problem is also 
 gone.

Great to know I wasn't the only one having problems because of it. ;-)
And thanks again Robert, for fixing this!

Marc


pgpJjGozQP5C2.pgp
Description: PGP signature


Re: kern/78824: race condition close()ing and read()ing the same socketpair on SMP.

2005-06-10 Thread Marc Olzheim
On Mon, May 30, 2005 at 11:21:37AM +0100, Robert Watson wrote:
 Great.  I'll MFC this in a week or so assuming that there are no reports 
 of problems with the patch in HEAD.  Thanks for the clear and concise bug 
 report, and sorry about taking so long to get this fixed!

Haven't had any problems with this in the last two weekson RELENG_5.
So the issue only remains in RELENG_5_4 now.

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


autofs

2005-06-10 Thread Dmitriy Kirhlarov
Hi, list.

Why autofs was exclude from FreeBSD?

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


Microsoft USB Wireless Mouse not working

2005-06-10 Thread Michal Vanco
Hi,

I'm running 5.4-STABLE and I'm not able to get my MS USB Wireless mouse
working.
After plugging the mouse I see this in my dmesg:
uhid0: Microsoft Microsoft USB Wireless Mouse, rev 2.00/0.17, addr 2,
iclass 3/1

But there is no ums device. I have device ums in kernel.

Is there any patch available to get this working?

thanks in advance
michal

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


panics on 5.4-RELEASE-p1

2005-06-10 Thread Philippe PEGON

Hi,

we have a FreeBSD server which regularly panics (almost everyday). 
Moreover the console on serial port (booting with -h option) lockups the 
server when it panics, I took a screenshot with a camera and manually 
recopied it...


config file and dmesg output attached.

Fatal trap 12: page fault while in kernel mode
cpuid = 1: apic id = 06
fault wirtual address   = 0x1c
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc062c6e3
stack pointer   = 0x10:0xe926c9bc
frame pointer   = 0x10:0xe926c9c8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 99772 (expect)
[thread pid 99772 tid 100159 ]
Stopped at  knote+0x27: lock cmpxchgl   %ecx,0x1c(%edx)

db where
Tracing pid 99772 tid 100159 td 0xc394cd80
knote(c3b04080,0,0,c3b04010,c3b04000) at knote+0x27
ttwakeup(c3b04000,c3b04000,c3b04000,c3fd8800,e926ca14) at ttwakeup+0x55
ttymodem(c3b04000,1) at ttymodem+0x170
ptcopen(c3fd8800,8003,2000,c394cd80,c08c5fa0) at ptcopen+0x63
spec_open(e926ca80,e926cb3c,c06a68ed,e926ca80,180) at spec_open+0x2b6
spec_vnoperate(e926ca80) at spec_vnoperate+0x13
vn_open_cred(e926cbe4,e926cce4,9a5,c574c700,3) at vn_open_cred+0x419
vn_open(e926cbe4,e926cce4,9a5,3,c060ae07) at vn_open+0x1e
kern_open(c394cd80,8060dc7,0,8003,805ebb7) at kern_open+0xeb
open(c394cd80,e926cd14,3,2,296) at open+0x18
syscall(2f,2f,2f,3,) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x2819f6bb, esp = 0xbfbfe5cc, 
ebp = 0xbfbfe5f8 ---


thanks in advance
--
Philippe PEGON
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p1 #2: Thu Jun  9 12:59:40 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CRC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3600.14-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 2147430400 (2047 MB)
avail memory = 2095968256 (1998 MB)
ACPI APIC Table: HP 0083
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6
ioapic1: Changing APIC ID to 9
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
ioapic3 Version 2.0 irqs 72-95 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: HP P52 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x908-0x90b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci13: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 4.0 on pci0
pci6: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 0.0 on pci6
pci7: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 0.2 on pci6
pci10: ACPI PCI bus on pcib4
ciss0: HP Smart Array 642 port 0x5000-0x50ff mem 
0xfdf8-0xfdfb,0xfdff-0xfdff1fff irq 72 at device 1.0 on pci10
pcib5: ACPI PCI-PCI bridge at device 6.0 on pci0
pci3: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib6
ciss1: HP Smart Array 6i port 0x4000-0x40ff mem 
0xfde8-0xfdeb,0xfdef-0xfdef1fff irq 24 at device 1.0 on pci2
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 
0xfde7-0xfde7 irq 25 at device 2.0 on pci2
miibus0: MII bus on bge0
brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:12:79:3c:3d:5b
bge1: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100 mem 
0xfde6-0xfde6 irq 26 at device 2.1 on pci2
miibus1: MII bus on bge1
brgphy1: BCM5704 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:12:79:3c:3d:5a
pcib7: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib7
pci1: display, VGA at device 3.0 (no driver attached)
pci1: base peripheral at device 4.0 (no driver attached)
pci1: base peripheral at device 4.2 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel 6300ESB UDMA100 controller port 
0x500-0x50f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on 

Re: Microsoft USB Wireless Mouse not working

2005-06-10 Thread Ronald Klop

On Fri, 10 Jun 2005 15:38:42 +0200, Michal Vanco [EMAIL PROTECTED] wrote:


Hi,

I'm running 5.4-STABLE and I'm not able to get my MS USB Wireless mouse
working.
After plugging the mouse I see this in my dmesg:
uhid0: Microsoft Microsoft USB Wireless Mouse, rev 2.00/0.17, addr 2,
iclass 3/1

But there is no ums device. I have device ums in kernel.

Is there any patch available to get this working?


Do you also have 'uhid' in your kernel or loaded as a module? Maybe it
attaches before ums. If yes, try removing it from your kernel and boot
again. This is just a thought, so maybe it doesn't work.

Ronald.



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


Re: Microsoft USB Wireless Mouse not working

2005-06-10 Thread Michal Vanco
Ronald Klop wrote:

 On Fri, 10 Jun 2005 15:38:42 +0200, Michal Vanco [EMAIL PROTECTED] wrote:

 Hi,

 I'm running 5.4-STABLE and I'm not able to get my MS USB Wireless mouse
 working.
 After plugging the mouse I see this in my dmesg:
 uhid0: Microsoft Microsoft USB Wireless Mouse, rev 2.00/0.17, addr 2,
 iclass 3/1

 But there is no ums device. I have device ums in kernel.

 Is there any patch available to get this working?


 Do you also have 'uhid' in your kernel or loaded as a module? Maybe it
 attaches before ums. If yes, try removing it from your kernel and boot
 again. This is just a thought, so maybe it doesn't work.

hmm ... but for other USB mices (wired) it works normaly. doesn't ums
depend on uhid?

michal


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


RE: autofs

2005-06-10 Thread Kipp Holger

Dmitriy Kirhlarov wrote on Fri 10.06.2005 14:34

 Why autofs was exclude from FreeBSD?

google says:

http://lists.freebsd.org/pipermail/freebsd-fs/2004-September/000737.html

http://freebsdaddicts.org/forum/viewtopic.php?pid=1042

--- 8  snip ---
markm   2004-11-10 19:54:18 UTC

  FreeBSD src repository

  Modified files:
sys/conf files 
sys/modules  Makefile 
  Removed files:
sys/modules/autofs   Makefile 
sys/fs/autofsautofs.h autofs_util.c autofs_vfsops.c 
 autofs_vnops.c 
  Log:
  Remove at request of author, perhaps to be re-added later.
--

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


Re: UFS2 partition with negative used space

2005-06-10 Thread Julien Gabel
Hello,

 Hi, Julien,

 在 2005-06-10五的 07:09 +0200,Julien Gabel写道:
 Hi,

 Filesystem SizeUsed   Avail Capacity
 Mounted on
 /dev/ad0s1e989M-46M956M-5%
 /var/tmp

 Any hints?

 I had to run fsck(8) on /tmp, which was in the same state as shown here,
 three time in the last five months.

 You may want to have mount -f -u -ordonly /tmp before running fsck in
 foreground, and then mount -u /tmp to restore its mount options.

I had use 'mount -u -o ro /tmp' (don't know that the -f option may help
in this case before you write it :), but since the problem appears on a
desktop, i was able to switch to single user to umount/fsck/mount the
corresponding file system.

Thank for the -f tip anyway!

-- 
-jpeg.

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


Re: UFS2 partition with negative used space

2005-06-10 Thread Suleiman Souhlal

Hi,

On Jun 9, 2005, at 11:50 PM, Xin LI wrote:


Hi, Suleiman,

 2005-06-09 23:35 -0400Suleiman Souhlal


Hi,


[...]


It used to be recomputed by the kernel at mount time if the
filesystem was dirty, but delphij changed it so that background fsck
recomputes it instead. For some reason, in this case, this wasn't
enough to synchronize the superblock's cg summary with the actual
summary stored in the cgs. I'll have to investigate some more.



Will setting vfs.ffs.compute_summary_at_mount=1 before mounting the
volume help the situation?


Unfortunately, we didn't try that (well, we actually did, but I  
forgot to tell Jean-Yves to make sure his volume was dirty before  
mounting it).


--
Suleiman Souhlal | [EMAIL PROTECTED]
The FreeBSD Project  | [EMAIL PROTECTED]

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


Problems with Serial ATA - Tyan Tiger i7320 motherboard

2005-06-10 Thread Alan Jay


I just got a machine Tyan Tiger i7320 motherboard with a 250Gb Serial ATA
Hitachi drive.
 
When I try to boot FreeBSD 5.4 Release it says:
 
ATA0 ATAPI IDENTITY_TIMEOUT several times
And
ATA1 IDENTIFY_TIMEOUT
 
Before the install starts - RedHat Liunx correctly sees the drive. :(

Does this mean FreeBSD does not support this or have I got the wrong BIOS
settings.  Any help gratefully received.

It is an Adaptec AIC-8110 SATA I controller I think.  In the startup of
FreeBSD it says Intel 6300ESB UDMA100 controller (atapci0 atapci1)

Thanks
ALan





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4 not running HTT

2005-06-10 Thread kama

I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
using the HTT virtal CPU's. This have been going on for a while. the
oldest is dated 20050519 and the latest is yesterday.

Is there something that I have missed? Been using same configs for 5.3
without any problems.

/Bjorn

Little outputs from yesterdays build:

# ps aux | grep idle
root 12 99.0  0.0 0 8  ??  RL3:12PM  12:28.60 [idle: cpu0]
root 11  0.0  0.0 0 8  ??  RL3:12PM   0:00.00 [idle: cpu1]

# ps aux | grep acpi
root  7  0.0  0.0 0 8  ??  IL3:12PM   0:00.00 [acpi_task0]
root  8  0.0  0.0 0 8  ??  IL3:12PM   0:00.00 [acpi_task1]
root  9  0.0  0.0 0 8  ??  IL3:12PM   0:00.00 [acpi_task2]
root 20  0.0  0.0 0 8  ??  WL3:12PM   0:00.00 [irq9:
acpi0]
root 84  0.0  0.0 0 8  ??  WL3:12PM   0:00.00 [swi6:
acpitaskq]
root 87  0.0  0.0 0 8  ??  DL3:12PM   0:00.02
[acpi_thermal]


acpi is loaded

# kldstat
Id Refs AddressSize Name
 14 0xc040 3266f0   kernel
 2   14 0xc0727000 56270acpi.ko
 31 0xc23e9000 24000usb.ko

SMP and apic is in the kernelconfig.

# To make an SMP kernel, the next line is needed
options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC



# sysctl -a | grep cpu
kern.threads.virtual_cpu: 2
kern.sched.ipiwakeup.onecpu: 0
kern.ccpu: 1948
kern.smp.maxcpus: 16
kern.smp.cpus: 2
debug.kdb.stop_cpus: 1
debug.PMAP1changedcpu: 0
hw.ncpu: 2
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 2
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 2
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0


Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #1: Fri Jun 10 15:03:54 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/games
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3047.90-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS
E2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073717248 (1023 MB)
avail memory = 1045368832 (996 MB)
ACPI APIC Table: COMPAQ 0083
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  6
 cpu1 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-15 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic2 Version 1.1 irqs 32-47 on motherboard
ioapic3 Version 1.1 irqs 48-63 on motherboard
npx0: math processor on motherboard
...
...
...
da0 at ciss0 bus 0 target 0 lun 0
da0: COMPAQ RAID 1  VOLUME OK Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 17359MB (35553120 512 byte sectors: 255H 32S/T 4357C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a

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


Re: 5.4 not running HTT

2005-06-10 Thread Karl Pielorz



--On 10 June 2005 17:35 +0200 kama [EMAIL PROTECTED] wrote:



I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
using the HTT virtal CPU's. This have been going on for a while. the
oldest is dated 20050519 and the latest is yesterday.

Is there something that I have missed? Been using same configs for 5.3
without any problems.


Perhaps,

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc

:)

-Karl

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


Re: 5.4 not running HTT

2005-06-10 Thread Steven Hartland

Have a read /usr/src/UPDATING it explains.

   Steve / K
- Original Message - 
From: kama [EMAIL PROTECTED]



I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
using the HTT virtal CPU's. This have been going on for a while. the
oldest is dated 20050519 and the latest is yesterday.

Is there something that I have missed? Been using same configs for 5.3
without any problems.





This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.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]


FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Steve Roome
We're using mostly:

  5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 6 12:22:18 BST 2005

This is on a Dell PowerEdge 2850. (2 * 2.8 GHz Xeons, 4GB ram, disks),
we've been keeping up with stable because supposedly all these new
fixes to threading will help us out here.

We're trying to get FreeBSD to perform reasonably well, in comparison
to Linux, or even what we should expect to see. We're getting about
half the performance we get from gentoo on the same application
(mysql).

The discussion on the 'freebsd-threads' mailing list about a year ago 
seems to match our experiences nowadays pretty well:

http://lists.freebsd.org/pipermail/freebsd-threads/2004-May/002002.html

Nothing much seems to have changed, although lots of people claim that
FreeBSD 5.x is now fine, it doesn't seem to be.

Here's a rough breakdown of the sort of performance we're seeing, this
is the default select-key super-smack but setup for innodb rather than
myisam.

 Using the simple 'select-key.smack' Super-Smack benchmark (50 clients 
 with 1000 runs each):
 
 OS  CPUsBuild   ThreadingKqueries/sec
 -
 FreeBSD  1  Pro KSE  10.6
 FreeBSD  1  Pro libthr   10.6
 FreeBSD  2  Pro libthr   14.4
 FreeBSD  2  Source  libthr   14.5
 FreeBSD  2  Source  KSE/P (static)   15.7
 FreeBSD  2  Source  KSE/P (dynamic)  15.8
 FreeBSD  2  Source  KSE/S (dynamic)  15.8
 FreeBSD  2  Pro KSE  15.9
 FreeBSD  2  Source  LinuxThreads 17.7
 Gentoo   2  Source  NPTL 34.0  !!
 
 (KSE/P = KSE with Process Scope Threading, KSE/S = KSE with System 
 Scope Threading)

And, here's the full set of results :

 # FreeBSD 5.4-STABLE SMP, MySQL Pro 4.1.12, libkse
 [EMAIL PROTECTED] 27 0 % foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  2   0   15978.35
 select_index10  3   0   15908.00
 select_index10  6   0   15852.89
 select_index10  6   0   15888.05
 select_index10  5   0   15868.09
 
 # FreeBSD 5.4-STABLE NON-SMP, MySQL Pro 4.1.12, libkse
 [EMAIL PROTECTED] 9 0 %  foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  11  0   11846.17
 select_index10  7   0   10544.36
 select_index10  4   0   10615.13
 select_index10  5   0   10607.55
 select_index10  4   0   10640.58
 
 # FreeBSD 5.4-STABLE SMP, MySQL Pro 4.1.12, libthr
 [EMAIL PROTECTED] 33 130 % foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 Select_index10  19  3   14412.10
 select_index10  11  3   14529.83
 select_index10  11  3   14489.03
 select_index10  12  3   14488.09
 select_index10  15  3   14495.77
 
 # FreeBSD 5.4-STABLE NON-SMP, MySQL Pro 4.1.12, libthr
 [EMAIL PROTECTED] 11 0 %  foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  7   0   10531.75
 select_index10  5   0   10673.64
 select_index10  24  2   11179.66
 select_index10  28  4   10675.24
 select_index10  27  4   10191.25
 
 # FreeBSD 5.4-STABLE SMP, Hand-built 4.1.12, libthr (dynamic)
 [EMAIL PROTECTED] 4 0 % foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  13  3   14487.99
 select_index10  16  3   14460.64
 select_index10  11  3   14397.79
 select_index10  15  3   14503.39
 select_index10  11  3   14502.58
 
 # FreeBSD 5.4-STABLE SMP, Hand-built 4.1.12, libkse process scope (dynamic)
 [EMAIL PROTECTED] 7 0 % foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  16  2   15813.88
 select_index10  14  1   15901.01
 select_index10  3   0   15870.71
 select_index10  14  0   15917.34
 select_index10  6   0   15357.74
 
 # FreeBSD 5.4-STABLE SMP, Hand-built 4.1.12, libkse process scope (static)
 [EMAIL PROTECTED] 7 130 % foreach f (1 2 3 4 5) 
 {/data/supersmack-1.3/bin/super-smack select-key.smack 50 1000|grep 
 select_index}
 select_index10  19  3   15836.35
 select_index10  22  2   15807.58
 select_index10  20  3   15782.74
 select_index10  21  3   15790.82
 

Re: FreeBSD 5.4: Is it generally unstable?GCC broken for amd64 ? (was Re: FreeBSD 5.4: Is it generally unstable?)

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 02:13:57PM +0200, Julian H. Stacey wrote:
 Kris Kennaway wrote:
  On Thu, Jun 09, 2005 at 12:22:41PM -0700, Kevin Oberman wrote:
   You can't make the archive search, but Google Groups can (and does) very
   well. I search the mail list archives far more frequently with Google (or
   Google Groups) than with the archive search tool.
  Sure you can..there's a message ID search right there on the search
  page!  I already posted a link to this.
 
 Kris wrotehttp://www.freebsd.org/search/search.html
 I tried   http://www.freebsd.org/search/
 clicked tohttp://www.freebsd.org/search/#mailinglists
 clicked toamd64
 moused in the original message ID I had quoted
   [EMAIL PROTECTED]
  got the posting by David O'Brien
   
 http://www.freebsd.org/cgi/getmsg.cgi?fetch=218610+56+/usr/local/www/db/text/2005/freebsd-amd64/20050605.freebsd-amd64
 
 It wasn't a search by key field of Message-ID, just a search
 for arbitrary text, content being the MessageID. But it worked. 

And what was wrong with casting your eye one line down, clicking on
Message-ID and entering it in the search box at

  http://www.freebsd.org/search/search-mid.html

Is it really rendered in an invisible font for several people not to
have seen it?

Kris


pgpXcWwdYD8qC.pgp
Description: PGP signature


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 06:05:37PM +0100, Steve Roome wrote:
 We're using mostly:
 
   5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 6 12:22:18 BST 2005

Show your kernel config etc.

Kris

pgpfXpy1EB8Ez.pgp
Description: PGP signature


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Tom Gidden

Hi Kris,

On 10 Jun 2005, at 18:17, Kris Kennaway wrote:


Show your kernel config etc.


I've been working with Steve on this project.  We've been playing  
with various tuning factors, including kernel changes, different  
stripe sizes on the RAID, my.cnf tuning, libmap.conf, and although  
we can gain a bit here and there, we can't account for the doubling  
of performance with Gentoo.  Anyway, I've included the dmesg and  
kernel config.


The Gentoo install was pretty vanilla-flavoured, as neither Steve or  
I had installed Gentoo before, and both of us are pretty rusty on any  
form of Linux.


Incidentally, this does not seem to be I/O-bound.  The data is big  
enough to stay in the table cache anyway.


I just noticed these particular tests were done on FreeBSD without  
HTT, whereas the Gentoo test was.  However, I can tell you that in  
earlier runs, the difference between HTT and non-HTT on FreeBSD for  
this benchmark was negligible.


Regards,
Tom

--- [snip] ---

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD 5.4-STABLE #0: Thu Jun  9 09:13:03 BST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/PE2850_i386_4
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

real memory  = 3489398784 (3327 MB)
avail memory = 3418517504 (3260 MB)
ACPI APIC Table: DELL   PE BKC  
ioapic0: Changing APIC ID to 7
ioapic1: Changing APIC ID to 8
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 9
ioapic2: WARNING: intbase 64 != expected base 56
ioapic3: Changing APIC ID to 10
ioapic3: WARNING: intbase 96 != expected base 88
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
ioapic3 Version 2.0 irqs 96-119 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
amr0: LSILogic MegaRAID 1.51 mem 0xdfec-0xdfef, 
0xd80f-0xd80f irq 46 at device 14.0 on pci2

amr0: LSILogic PERC 4e/Di Firmware 513O, BIOS H418, 256MB RAM
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib6
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6

em0: Ethernet address: 00:11:43:ec:b1:7f
em0:  Speed:N/A  Duplex:N/A
pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5
pci7: ACPI PCI bus on pcib7
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port  
0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7

em1: Ethernet address: 00:11:43:ec:b1:80
em1:  Speed:N/A  Duplex:N/A
pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 0.0 on pci8
pci9: ACPI PCI bus on pcib9
pcib10: ACPI PCI-PCI bridge at device 0.2 on pci8
pci10: ACPI PCI bus on pcib10
pcib11: ACPI PCI-PCI bridge at device 30.0 on pci0
pci11: ACPI PCI bus on pcib11
pci11: display, VGA at device 13.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f, 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10  
on acpi0

sio0: type 16550A
orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xcafff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on  
isa0

sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter TSC frequency 2793011648 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM SAMSUNG CD-ROM SN-124/N104 at ata0-master PIO4
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 

Re: SSHD and FTPD, can't connect

2005-06-10 Thread Igor Pokrovsky
On Mon, Jun 06, 2005 at 10:25:17PM +0100, Danny Cooper wrote:
 Do you see any traffic when you run 'tcpdump port 22' on the server?
 Or if you just try telnet server.ip 22 do you get anything back?
 
 I know I am stating basic's but its caught me out a few times before where a
 firewall has caught the packets.
 
 DC
 
 -Original Message-
 From: Matt Smith [mailto:[EMAIL PROTECTED] 
 Sent: 06 June 2005 22:02
 To: 'Danny Cooper'
 Subject: RE: SSHD and FTPD, can't connect
 
 Yep, timeout before auth.
 
   Matt
 
 -Original Message-
 From: Danny Cooper [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 06, 2005 4:43 PM
 To: 'Matt Smith'
 Subject: RE: SSHD and FTPD, can't connect
 
 Have you checked 
 
 /var/log/auth.log for any error messages with sshd
 
 -Original Message-
 From: Matt Smith [mailto:[EMAIL PROTECTED] 
 Sent: 06 June 2005 20:56
 To: 'Danny Cooper'; freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Did that, to no avail.  It was fine then it started doing this.  Any
 other suggestions?
 
   Matt
 
 -Original Message-
 From: Danny Cooper [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 06, 2005 3:28 PM
 To: 'Matt Smith'; freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Have you opened up the /etc/hosts.allow file to allow connections for
 the
 home lan?
 
 e.g.
 
 ALL : localhost : allow
 ALL : 127.0.0.1 : allow
 ALL : 192.68.0.0/255.255.255.255 : allow
 sshd : all : allow
 ftpd : all : allow
 ALL : ALL : deny
 
 Danny C
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Smith
 Sent: 06 June 2005 19:20
 To: freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Hello,
 you may remember the problems that my friends were having with
 ssh/ftp timeouts.  Well now I have the same issue with my FBSD 4.10
 install.  I can ping the box and use the Apache and telnet daemons, but
 not the SSHD or FTPD.  I tried to upgrade the SSHD to no avail and I CAN
 connect to the daemons from the loopback address, but not across my home
 LAN.  Any suggestions?
 
  Matt 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

/Tied of top-postings - adding the following to my procmail config

* ^X-Mailer: Microsoft
/dev/null

-ip

-- 
Never put all your eggs in your pocket.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


LSI SATA-150-6 Raid support

2005-06-10 Thread Goran Gajic



Can anyone tell me what is status of support of drivers for LSI Logic
SATA 150-6 RAID controllers? I have seen news from May,11 that LSI will
support FreeBSD 5.4 but I was not able to find drivers for 5.4R on their 
site. I'm trying to install 5.4R on Fujitsu Siemens RX200S2 which has this

SATA but 5.4R sees disks ad4 and ad6 although I have configured controller
to use raid 1.

Regards.
gg.

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


RE: SSHD and FTPD, can't connect

2005-06-10 Thread Matt Smith
It was the DNS problem.  Thank you to all

 Matt

-Original Message-
From: Igor Pokrovsky [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 10, 2005 1:52 PM
To: Danny Cooper
Cc: 'Matt Smith'; freebsd-stable@freebsd.org
Subject: Re: SSHD and FTPD, can't connect

On Mon, Jun 06, 2005 at 10:25:17PM +0100, Danny Cooper wrote:
 Do you see any traffic when you run 'tcpdump port 22' on the server?
 Or if you just try telnet server.ip 22 do you get anything back?
 
 I know I am stating basic's but its caught me out a few times before
where a
 firewall has caught the packets.
 
 DC
 
 -Original Message-
 From: Matt Smith [mailto:[EMAIL PROTECTED] 
 Sent: 06 June 2005 22:02
 To: 'Danny Cooper'
 Subject: RE: SSHD and FTPD, can't connect
 
 Yep, timeout before auth.
 
   Matt
 
 -Original Message-
 From: Danny Cooper [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 06, 2005 4:43 PM
 To: 'Matt Smith'
 Subject: RE: SSHD and FTPD, can't connect
 
 Have you checked 
 
 /var/log/auth.log for any error messages with sshd
 
 -Original Message-
 From: Matt Smith [mailto:[EMAIL PROTECTED] 
 Sent: 06 June 2005 20:56
 To: 'Danny Cooper'; freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Did that, to no avail.  It was fine then it started doing this.  Any
 other suggestions?
 
   Matt
 
 -Original Message-
 From: Danny Cooper [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 06, 2005 3:28 PM
 To: 'Matt Smith'; freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Have you opened up the /etc/hosts.allow file to allow connections for
 the
 home lan?
 
 e.g.
 
 ALL : localhost : allow
 ALL : 127.0.0.1 : allow
 ALL : 192.68.0.0/255.255.255.255 : allow
 sshd : all : allow
 ftpd : all : allow
 ALL : ALL : deny
 
 Danny C
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Smith
 Sent: 06 June 2005 19:20
 To: freebsd-stable@freebsd.org
 Subject: RE: SSHD and FTPD, can't connect
 
 Hello,
 you may remember the problems that my friends were having with
 ssh/ftp timeouts.  Well now I have the same issue with my FBSD 4.10
 install.  I can ping the box and use the Apache and telnet daemons,
but
 not the SSHD or FTPD.  I tried to upgrade the SSHD to no avail and I
CAN
 connect to the daemons from the loopback address, but not across my
home
 LAN.  Any suggestions?
 
  Matt 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

/Tied of top-postings - adding the following to my procmail config

* ^X-Mailer: Microsoft
/dev/null

-ip

-- 
Never put all your eggs in your pocket.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Thomas Hurst
* Steve Roome ([EMAIL PROTECTED]) wrote:

 We're trying to get FreeBSD to perform reasonably well, in comparison
 to Linux, or even what we should expect to see. We're getting about
 half the performance we get from gentoo on the same application
 (mysql).

Fancy giving CURRENT a try?

For the record, we run FreeBSD 5.3 in production as our master database
server without problems, so long as we keep the few heavy queries we do
off it:

Uptime: 6044357  Threads: 146  Questions: 1963912006  Slow queries: 1842
Opens: 182277  Flush tables: 3733  Open tables: 357  Queries per second
avg: 324.917

But it would be nice not to fall back on Linux for our slaves to do the
heavy lifting.  Maybe FreeBSD 6 will be less disappointing in this
regard.

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


Re: 5.4 not running HTT

2005-06-10 Thread Stephen Montgomery-Smith

Steven Hartland wrote:

Have a read /usr/src/UPDATING it explains.



It should be in /usr/src/UPDATING, but I don't see it there myself.

I got bitten by the same problem.  The other guy who gave
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc
provided the right answer, but it should be also mentioned in UPDATING.




I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
using the HTT virtal CPU's. This have been going on for a while. the
oldest is dated 20050519 and the latest is yesterday.

Is there something that I have missed? Been using same configs for 5.3
without any problems.






This e.mail is private and confidential between Multiplay (UK) Ltd. and 
the person or entity to whom it is addressed. In the event of 
misdirection, the recipient is prohibited from using, copying, printing 
or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission 
please telephone (023) 8024 3137

or return the E.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]




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


Re: LSI SATA-150-6 Raid support

2005-06-10 Thread [EMAIL PROTECTED]

Goran Gajic wrote:




Can anyone tell me what is status of support of drivers for LSI Logic
SATA 150-6 RAID controllers? I have seen news from May,11 that LSI will
support FreeBSD 5.4 but I was not able to find drivers for 5.4R on 
their site. I'm trying to install 5.4R on Fujitsu Siemens RX200S2 
which has this
SATA but 5.4R sees disks ad4 and ad6 although I have configured 
controller

to use raid 1.

Regards.
gg.

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



hi - it is fully supported by os - check hardware notes 
http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK and news 
section.

next time do not post on two lists please
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: patching a file with blanks in the name

2005-06-10 Thread Mikhail Teterin
  --- foo bar/meow~   Fri Mar 11 09:00:49 2005
  +++ foo bar/meowFri Jun 10 12:17:22 2005
  -   a = 0;
  +   a = 1;
 
  With the above example patch searches only for `foo', then gives up and
  asks for help. I tried quoting the entire file name and escaping the
  blanks with backslashes -- neither method works... Any ideas? Thanks!

 There was a discussion and maybe even a fix proposed for this issue on one
 of the GNU lists, probably [EMAIL PROTECTED]?  Anyway, I don't think
 the current release version of patch will handle paths containing spaces...

Strange... I can't imagine the fix being that complex... Instead of cutting 
the file-name on the first blank, I'd cut it on the last tab. People with 
tabs in the filenames would have to append one more tab at the end.

Regular, diff-generated patches (vast majority of them all) would not be 
affected at all, as they always have timestamps (after a tab).

I could do the coding -- would anyone be interested in comitting it? Some of 
the port-ed software (like the blasted java/eclipse) has blanks in directory 
names :-(

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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Guy Helmer

Steve Roome wrote:


We're using mostly:

 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 6 12:22:18 BST 2005

This is on a Dell PowerEdge 2850. (2 * 2.8 GHz Xeons, 4GB ram, disks),
we've been keeping up with stable because supposedly all these new
fixes to threading will help us out here.

We're trying to get FreeBSD to perform reasonably well, in comparison
to Linux, or even what we should expect to see. We're getting about
half the performance we get from gentoo on the same application
(mysql).

The discussion on the 'freebsd-threads' mailing list about a year ago 
seems to match our experiences nowadays pretty well:


http://lists.freebsd.org/pipermail/freebsd-threads/2004-May/002002.html

Nothing much seems to have changed, although lots of people claim that
FreeBSD 5.x is now fine, it doesn't seem to be.

Here's a rough breakdown of the sort of performance we're seeing, this
is the default select-key super-smack but setup for innodb rather than
myisam.

 

Using the simple 'select-key.smack' Super-Smack benchmark (50 clients 
with 1000 runs each):


OS  CPUsBuild   ThreadingKqueries/sec
-
FreeBSD  1  Pro KSE  10.6
FreeBSD  1  Pro libthr   10.6
FreeBSD  2  Pro libthr   14.4
FreeBSD  2  Source  libthr   14.5
FreeBSD  2  Source  KSE/P (static)   15.7
FreeBSD  2  Source  KSE/P (dynamic)  15.8
FreeBSD  2  Source  KSE/S (dynamic)  15.8
FreeBSD  2  Pro KSE  15.9
FreeBSD  2  Source  LinuxThreads 17.7
Gentoo   2  Source  NPTL 34.0  !!

(KSE/P = KSE with Process Scope Threading, KSE/S = KSE with System 
Scope Threading)
   




Quick ideas:

Have you tried a kernel with PREEMPTION enabled?  I haven't quantified 
the effect, but it's improved performance in some situations.


Have you tried increasing vfs.read_max?

Guy

--
Guy Helmer, Ph.D., Principal System Architect, Palisade Systems, Inc.
[EMAIL PROTECTED]
http://www.palisadesys.com/~ghelmer

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


Strange error

2005-06-10 Thread Jack Raats
This day I've a very strange error when trying to connect to my FreeBSD machine 
(4.11-STABLE)
I got the following error:
ssh_exchange_identification: Connection closed by remote host


Can anyone give me any clue what's wrong?

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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Tom Gidden

Hi Guy,

On 10 Jun 2005, at 21:37, Guy Helmer wrote:


Have you tried a kernel with PREEMPTION enabled?  I haven't  
quantified the effect, but it's improved performance in some  
situations.

Have you tried increasing vfs.read_max?


Thanks for your suggestions... I've given them a go, and it looks  
like there's no discernible difference in performance for either/ 
both, on KSE, libthr or LinuxThreads.  =(


Regards,
Tom

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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 10:04:23PM +0100, Tom Gidden wrote:
 Hi Guy,
 
 On 10 Jun 2005, at 21:37, Guy Helmer wrote:
 
 Have you tried a kernel with PREEMPTION enabled?  I haven't  
 quantified the effect, but it's improved performance in some  
 situations.
 Have you tried increasing vfs.read_max?
 
 Thanks for your suggestions... I've given them a go, and it looks  
 like there's no discernible difference in performance for either/ 
 both, on KSE, libthr or LinuxThreads.  =(

Did you retry with HTT yet?  Note that it's disabled by default in
FreeBSD, so if you see no performance improvement when you only turn
it on in the BIOS, that could be why.

Kris

pgpw0r7vHc0k3.pgp
Description: PGP signature


Re: 5.4 not running HTT

2005-06-10 Thread Erik Trulsson
On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote:
 Steven Hartland wrote:
 Have a read /usr/src/UPDATING it explains.
 
 
 It should be in /usr/src/UPDATING, but I don't see it there myself.

It depends on which version you are looking at the source of. 
In the release/security branches (RELENG_5_4, etc.) all security
patches (like this one) are noted in UPDATING.  For the development
branches (RELENG_5 , -CURRENT) security patches usually don't get
mentioned.

I.e. if you are looking at the source for RELENG_5_4 there is a notice
in UPDATING, if you are looking at the source for RELENG_5 there is
not.  In this particular case there probably should have been a note
added to UPDATING for both -STABLE and -CURRENT, but there wasn't.

 
 I got bitten by the same problem.  The other guy who gave
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc
 provided the right answer, but it should be also mentioned in UPDATING.


-- 
Insert your favourite quote here.
Erik Trulsson
[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: 5.4 not running HTT

2005-06-10 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 11:14:25PM +0200, Erik Trulsson wrote:
 On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote:
  Steven Hartland wrote:
  Have a read /usr/src/UPDATING it explains.
  
  
  It should be in /usr/src/UPDATING, but I don't see it there myself.
 
 It depends on which version you are looking at the source of. 
 In the release/security branches (RELENG_5_4, etc.) all security
 patches (like this one) are noted in UPDATING.  For the development
 branches (RELENG_5 , -CURRENT) security patches usually don't get
 mentioned.
 
 I.e. if you are looking at the source for RELENG_5_4 there is a notice
 in UPDATING, if you are looking at the source for RELENG_5 there is
 not.  In this particular case there probably should have been a note
 added to UPDATING for both -STABLE and -CURRENT, but there wasn't.

send-pr with the patch and/or talk to the security team.

Kris


pgpJOmoBhOVsT.pgp
Description: PGP signature


Re: LSI SATA-150-6 Raid support

2005-06-10 Thread Goran Gajic




On Fri, 10 Jun 2005, [EMAIL PROTECTED] wrote:


Goran Gajic wrote:




Can anyone tell me what is status of support of drivers for LSI Logic
SATA 150-6 RAID controllers? I have seen news from May,11 that LSI will
support FreeBSD 5.4 but I was not able to find drivers for 5.4R on their 
site. I'm trying to install 5.4R on Fujitsu Siemens RX200S2 which has this

SATA but 5.4R sees disks ad4 and ad6 although I have configured controller
to use raid 1.

Regards.
gg.

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



hi - it is fully supported by os - check hardware notes 
http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK and news 
section.

next time do not post on two lists please



Sorry, I was little bit confused. Fujitsu Siemens RX100 S2 has some LSI 
SATA software raid controller. I suppose that is reason why it is not 
registered as amrd. It is also not listed in pciconf -lv.


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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Daniel Eischen
On Fri, 10 Jun 2005, Kris Kennaway wrote:

 On Fri, Jun 10, 2005 at 10:04:23PM +0100, Tom Gidden wrote:
  Hi Guy,
 
  On 10 Jun 2005, at 21:37, Guy Helmer wrote:
  
  Have you tried a kernel with PREEMPTION enabled?  I haven't
  quantified the effect, but it's improved performance in some
  situations.
  Have you tried increasing vfs.read_max?
 
  Thanks for your suggestions... I've given them a go, and it looks
  like there's no discernible difference in performance for either/
  both, on KSE, libthr or LinuxThreads.  =(

 Did you retry with HTT yet?  Note that it's disabled by default in
 FreeBSD, so if you see no performance improvement when you only turn
 it on in the BIOS, that could be why.

Or repeat the Linux tests without HTT enabled.

-- 
DE

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


ACL not supported on 5.4?

2005-06-10 Thread Brandon Fosdick
I have a 5.4 install that I'm trying to use to experiment with ACL (and 
extended attributes). Handbook section 14.12.1 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/fs-acl.html) has a 
few sample commands that I tried running. But I get operation not supported, 
like so:

17:02 [EMAIL PROTECTED]touch test
17:03 [EMAIL PROTECTED]ll test
-rw-r--r--  1 bfoz  user  0 Jun 10 17:03 test
17:03 [EMAIL PROTECTED]getfacl test
#file:test
#owner:1001
#group:1001
user::rw-
group::r--
other::r--
17:03 [EMAIL PROTECTED]setfacl -k test
setfacl: acl_get_file() failed: Operation not supported
17:03 [EMAIL PROTECTED]setfacl -b test
setfacl: acl_get_file() failed: Operation not supported



I tried doing the above as root, but the result was the same. I'm pretty sure 
this was a fresh install of 5.4 (its been awhile since I made this box) so it 
should have UFS2 by default and the kernel does in fact have UFS_ACL compiled 
in. What else do I need to do? How do I check to see if I really do have UFS2?

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


Re: 5.4 not running HTT

2005-06-10 Thread Colin Percival
Erik Trulsson wrote:
 It depends on which version you are looking at the source of. 
 In the release/security branches (RELENG_5_4, etc.) all security
 patches (like this one) are noted in UPDATING.  For the development
 branches (RELENG_5 , -CURRENT) security patches usually don't get
 mentioned.
 
 I.e. if you are looking at the source for RELENG_5_4 there is a notice
 in UPDATING, if you are looking at the source for RELENG_5 there is
 not.  In this particular case there probably should have been a note
 added to UPDATING for both -STABLE and -CURRENT, but there wasn't.

Quite right -- we fell into the trap of just following our standard
procedures, instead of thinking about whether this met the test for
being documented in UPDATING (which it certainly does, since it is a
potentially astonishing user-visible change).

I've added it to the stable branches, but not to -current, since
hyper-threading is still enabled by default in HEAD.

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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Jon Dama
Try linking mysql with ptmalloc2 (instead of the system malloc obviously).

Doing this has the side-benefit of ensuring that you don't need to mess
with MAXDSIZ.

Try linking mysql with david xu's threading library.

-Jon


On Fri, 10 Jun 2005, Tom Gidden wrote:

 Hi Kris,

 On 10 Jun 2005, at 18:17, Kris Kennaway wrote:

  Show your kernel config etc.

 I've been working with Steve on this project.  We've been playing
 with various tuning factors, including kernel changes, different
 stripe sizes on the RAID, my.cnf tuning, libmap.conf, and although
 we can gain a bit here and there, we can't account for the doubling
 of performance with Gentoo.  Anyway, I've included the dmesg and
 kernel config.

 The Gentoo install was pretty vanilla-flavoured, as neither Steve or
 I had installed Gentoo before, and both of us are pretty rusty on any
 form of Linux.

 Incidentally, this does not seem to be I/O-bound.  The data is big
 enough to stay in the table cache anyway.

 I just noticed these particular tests were done on FreeBSD without
 HTT, whereas the Gentoo test was.  However, I can tell you that in
 earlier runs, the difference between HTT and non-HTT on FreeBSD for
 this benchmark was negligible.

 Regards,
 Tom

 --- [snip] ---

 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights
 reserved.
 FreeBSD 5.4-STABLE #0: Thu Jun  9 09:13:03 BST 2005
  [EMAIL PROTECTED]:/usr/src/sys/i386/compile/PE2850_i386_4
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0xf41  Stepping = 1

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 real memory  = 3489398784 (3327 MB)
 avail memory = 3418517504 (3260 MB)
 ACPI APIC Table: DELL   PE BKC  
 ioapic0: Changing APIC ID to 7
 ioapic1: Changing APIC ID to 8
 ioapic1: WARNING: intbase 32 != expected base 24
 ioapic2: Changing APIC ID to 9
 ioapic2: WARNING: intbase 64 != expected base 56
 ioapic3: Changing APIC ID to 10
 ioapic3: WARNING: intbase 96 != expected base 88
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 ioapic1 Version 2.0 irqs 32-55 on motherboard
 ioapic2 Version 2.0 irqs 64-87 on motherboard
 ioapic3 Version 2.0 irqs 96-119 on motherboard
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: DELL PE BKC on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
 cpu0: ACPI CPU on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
 pci2: ACPI PCI bus on pcib2
 amr0: LSILogic MegaRAID 1.51 mem 0xdfec-0xdfef,
 0xd80f-0xd80f irq 46 at device 14.0 on pci2
 amr0: LSILogic PERC 4e/Di Firmware 513O, BIOS H418, 256MB RAM
 pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
 pci3: ACPI PCI bus on pcib3
 pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
 pci4: ACPI PCI bus on pcib4
 pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
 pci5: ACPI PCI bus on pcib5
 pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
 pci6: ACPI PCI bus on pcib6
 em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
 0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6
 em0: Ethernet address: 00:11:43:ec:b1:7f
 em0:  Speed:N/A  Duplex:N/A
 pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5
 pci7: ACPI PCI bus on pcib7
 em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
 0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7
 em1: Ethernet address: 00:11:43:ec:b1:80
 em1:  Speed:N/A  Duplex:N/A
 pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0
 pci8: ACPI PCI bus on pcib8
 pcib9: ACPI PCI-PCI bridge at device 0.0 on pci8
 pci9: ACPI PCI bus on pcib9
 pcib10: ACPI PCI-PCI bridge at device 0.2 on pci8
 pci10: ACPI PCI bus on pcib10
 pcib11: ACPI PCI-PCI bridge at device 30.0 on pci0
 pci11: ACPI PCI bus on pcib11
 pci11: display, VGA at device 13.0 (no driver attached)
 isab0: PCI-ISA bridge at device 31.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f,
 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10
 on acpi0
 sio0: type 16550A
 orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xcafff on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 vga0: Generic ISA VGA at port 0x3c0-0x3df 

Re: 5.4 not running HTT

2005-06-10 Thread kama


On Fri, 10 Jun 2005, Karl Pielorz wrote:



 --On 10 June 2005 17:35 +0200 kama [EMAIL PROTECTED] wrote:

 
  I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
  using the HTT virtal CPU's. This have been going on for a while. the
  oldest is dated 20050519 and the latest is yesterday.
 
  Is there something that I have missed? Been using same configs for 5.3
  without any problems.

 Perhaps,

  ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc


Thank you! =)

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


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Greg 'groggy' Lehey
On Friday, 10 June 2005 at 18:05:37 +0100, Steve Roome wrote:
 We're using mostly:

   5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 6 12:22:18 BST 2005

 This is on a Dell PowerEdge 2850. (2 * 2.8 GHz Xeons, 4GB ram, disks),
 we've been keeping up with stable because supposedly all these new
 fixes to threading will help us out here.

What's the current malloc config for 5.4?  Last time I saw this kind
of comparison, it proved to be due to malloc debugging.  That was on
-CURRENT, though.  See http://www.lemis.com/grog/diary-dec2004.html#14
for more details.

Greg
--
The virus contained in this message was not detected.

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpoodi3zh8lJ.pgp
Description: PGP signature


freebsd-stable@freebsd.org

2005-06-10 Thread nan feng
freebsd-stable@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: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Xin LI
Hi, Greg,

 2005-06-11 13:49 +0930Greg 'groggy' Lehey
 On Friday, 10 June 2005 at 18:05:37 +0100, Steve Roome wrote:
  We're using mostly:
 
5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 6 12:22:18 BST 2005
 
  This is on a Dell PowerEdge 2850. (2 * 2.8 GHz Xeons, 4GB ram, disks),
  we've been keeping up with stable because supposedly all these new
  fixes to threading will help us out here.
 
 What's the current malloc config for 5.4?  Last time I saw this kind
 of comparison, it proved to be due to malloc debugging.  That was on
 -CURRENT, though.  See http://www.lemis.com/grog/diary-dec2004.html#14
 for more details.

The malloc config for 5.4 is aj IIRC.  Maybe we should do a gprof'ed
build of mysql as well as ktrace dump of a mysql daemon to figure out
what was happening?  Actually the test team at my company has found the
exact problem within a recent FreeBSD (5.4-R) vs CentOS (4.0) benchmark
test, but they have not arranged the same hardware for me yet to figure
out why.

Cheers,
-- 
Xin LI delphij delphij net  http://www.delphij.net/


signature.asc
Description: This is a digitally signed message part


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-10 Thread Xin LI
 2005-06-10 19:05 -0400Daniel Eischen
 On Fri, 10 Jun 2005, Kris Kennaway wrote:
[snip]
 Or repeat the Linux tests without HTT enabled.

The test team at my company have did a similar test with similar result,
with HTT disabled so I'd say that HTT does not benefit MySQL that
much :-/

Cheers,
-- 
Xin LI delphij delphij net  http://www.delphij.net/


signature.asc
Description: This is a digitally signed message part


Re: ACL not supported on 5.4?

2005-06-10 Thread Björn König

Hello Brandon,

I get the same error messages if ACL are not enabled. I just want to 
make sure that you didn't overlook the part of the handbook where it 
says that you have to enable it.


Well, is ACL support enabled on the file system, i.e. does 'mount' show 
acls in the list of options?


  /dev/da0s1g on /home (ufs, local, soft-updates, acls)

If not then you should add 'acls' it in /etc/fstab

  /dev/da0s1g /home ufs rw,acls 2 2

or prefer

  tunefs -a enable /dev/da0s1g


By the way, the option -k won't work on non-directories at all, see also 
the manpage of setfacl.


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