how to set dumpdev

2005-04-28 Thread Danny Braniss
hi, i can't use dumpon, since the kernel is panicking on boot, so tried in loader.conf: dumpdev=/dev/ar0s1b but getting: db call doadump Cannot dump. No dump device defined. 0x25 i need this is for current 6.0 thanks, danny ___

Re: Multithreaded program crashes on SMP (HT enabled) machine

2005-04-28 Thread Adi Pircalabu
On Wed, 27 Apr 2005 15:09:33 -0700 Kris Kennaway [EMAIL PROTECTED] wrote: I have a multithreaded application ported on FreeBSD 5.3 which crashes in a minute or less if hyperthreading in enabled. Without HT there is no problem. How and where should I start to investigate the problem?

Re: how to set dumpdev

2005-04-28 Thread Danny Braniss
On Thu, 28 Apr 2005, Danny Braniss wrote: i can't use dumpon, since the kernel is panicking on boot, so tried in loader.conf: dumpdev=/dev/ar0s1b but getting: db call doadump Cannot dump. No dump device defined. 0x25 i need this is for current 6.0 thanks,

Re: how to set dumpdev

2005-04-28 Thread Andre Guibert de Bruet
On Thu, 28 Apr 2005, Danny Braniss wrote: i can't use dumpon, since the kernel is panicking on boot, so tried in loader.conf: dumpdev=/dev/ar0s1b but getting: db call doadump Cannot dump. No dump device defined. 0x25 i need this is for current 6.0 thanks, danny That

Re: how to set dumpdev

2005-04-28 Thread Brian Candler
On Thu, Apr 28, 2005 at 05:37:16AM -0400, Andre Guibert de Bruet wrote: i can't use dumpon, since the kernel is panicking on boot, so tried in loader.conf: dumpdev=/dev/ar0s1b but getting: db call doadump Cannot dump. No dump device defined. 0x25 i need this is for current 6.0

Very low disk performance Highpoint 1820a

2005-04-28 Thread Steven Hartland
I've just finished putting together a new server box spec: Dual AMD 244, 2GB ram, 5 * Seagate SATA 400GB on a Highpoint 1820a RAID 5 array. The machine is currently running 5.4-STABLE ( from the weekend ) After install I did some basic tests and the disk is return very poor performance low in fact

Re: Very low disk performance Highpoint 1820a

2005-04-28 Thread Steven Hartland
Sorry wanted to send to performance not current :) Steve - Original Message - I've just finished putting together a new server box spec: Dual AMD 244, 2GB ram, 5 * Seagate SATA 400GB on a Highpoint 1820a RAID 5 array. The machine is currently running 5.4-STABLE ( from the weekend )

Re: EFI network boot loader for ia32?

2005-04-28 Thread Doug Rabson
On 27 Apr 2005, at 20:10, Fred Clift wrote: This might better belong on -questions, this isn't the most technical question, but it is obscure... I've recently been loaned an eval server indirectly from intel. It is an SR-2400. We've been using SR-2300s for a while now and have been doing

PCI Programming

2005-04-28 Thread Cole
Hey Im currently trying to port some linux pci driver to FreeBSD code. But im running into a problem. Its using a function that I cant seem to find the equivalent of for FreeBSD. Heres the function up to the point where im getting stuck. int FindDevice( void ) { static struct pci_dev

Re: PCI Programming

2005-04-28 Thread Bruce M Simpson
On Thu, Apr 28, 2005 at 07:39:33PM +0200, Cole wrote: If anyone has any sample code or anything that I could read to proceed any further, it would be greatly appreciated. Have a look at the man page in section 9 for pci. You should be able to find most of what you need there. You should

Re: Trouble with ataraid (was: 250G SATA drive?)

2005-04-28 Thread João Carlos Mendes Luís
Followup to my message with more news. It is not a problem with mount_ntfs. Indeed, it seems to be a problem with the ataraid code. Today I booted from 5.3RC4 install CD, and mounted NO partition on the problem disk. But this was enough to corrupt the partition again. How can I know if the

URGENT for 5.4-R: ATA meister, read this now - 64/32 bits errorfound - Trouble with ataraid

2005-04-28 Thread João Carlos Mendes Luís
I think I may have found the problem!!! Looking at the source code for arstrategy, we can find this: - static void arstrategy(struct bio *bp) { struct ar_softc *rdp = bp-bio_disk-d_drv1; int blkno, count, chunk, lba, lbs, tmplba; int drv = 0, change = 0;

Re: PCI Programming

2005-04-28 Thread Scott Long
Cole wrote: Hey Im currently trying to port some linux pci driver to FreeBSD code. But im running into a problem. Its using a function that I cant seem to find the equivalent of for FreeBSD. Heres the function up to the point where im getting stuck. int FindDevice( void ) { static struct

Re: URGENT for 5.4-R: ATA meister, read this now - 64/32 bits error found - Trouble with ataraid

2005-04-28 Thread Søren Schmidt
João Carlos Mendes Luís wrote: I think I may have found the problem!!! Looking at the source code for arstrategy, we can find this: - static void arstrategy(struct bio *bp) { struct ar_softc *rdp = bp-bio_disk-d_drv1; int blkno, count, chunk, lba, lbs, tmplba;

Re: URGENT for 5.4-R: ATA meister, read this now - 64/32 bits error found - Trouble with ataraid

2005-04-28 Thread João Carlos Mendes Luís
With a 250G disk you are not even close to using 32bits of LBA space, so Sorry if I am mistaken here. I know that 250G is not above 32 bits, but it is above 28, so lba48 domain should be used. Isn't it possible that this domain change is causing some trouble? That why I went probing

Re: PCI Programming

2005-04-28 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Cole [EMAIL PROTECTED] writes: : now the function im getting stuck at, is the tmp_addr = : pci_resource_start(pciptr, 4). I was wondering if anyone knows of an : equivalent under FreeBSD. Or if there is a way to obtain that value : with some other method

Re: Very low disk performance Highpoint 1820a

2005-04-28 Thread Eric Anderson
Peter Losher wrote: Steven Hartland wrote: 5.4-STABLE Highpoint 1820a RAID 5 ( 5 disk ) dd if=/dev/da0 of=/dev/null bs=64k count=1 1+0 records in 1+0 records out 65536 bytes transferred in 13.348032 secs (49097875 bytes/sec) Have you tried the driver supplied by Highpoint as a