Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2003 17:46:43 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Jimmie Houchin <jhouchin@texoma.net>, amd64 freebsd <freebsd-amd64@freebsd.org>
Subject:   Re: kernel compile failure
Message-ID:  <200312141746.43327.peter@wemm.org>
In-Reply-To: <3FD92A43.5080205@texoma.net>
References:  <3FD92A43.5080205@texoma.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 11 December 2003 06:38 pm, Jimmie Houchin wrote:
> Hello,
>
> I just did a fresh install.
>
> I edited a configuration for my kernel.
> When attempting to compile this kernel I get this error.
> I could have very well done something wrong in my configuration to cause
> this.
>
> /usr/src/sys/dev/pst/pst-iop.c: In function 'iop_intr':
> /usr/src/sys/dev/pst/pst-iop.c:196 warning: cast to pointer from integer
> of different size
> /usr/src/sys/dev/pst/pst-iop.c: In function 'iop_done':
> /usr/src/sys/dev/pst/pst-iop.c:417 warning: cast to pointer from integer
> of different size
> /usr/src/sys/dev/pst/pst-iop.c: In function 'iop_queue_wait_msg':
> /usr/src/sys/dev/pst/pst-iop.c:434 warning: cast to pointer from integer
> of different size
> ***Error code 1
> Stop...
> Stop...
> Stop...
> #

The pst (promise supertrak) driver is utterly not 64 bit clean.  It uses a 32 
bit space in the I2O control blocks to point to the freebsd driver data 
structures.  Since the freebsd kernel lives at the top of the 64 bit address 
space, this does not work too well.

> Also...
> When reading the NOTES for configuring a kernel it speaks about a ULE
> scheduler for SMP systems.
>
> It says that the BSD scheduler isn't very good for SMP systems. But I
> don't find an option for the ULE scheduler. Is it not ready for
> primetime on the AMD64?
>
> Is it still okay to use the BSD scheduler for SMP?

Yes.

>
> And...
> In the RAID configuration (I think) it had a Promise SX6000 support.
> I have the Promise onboard SATA RAID controller.
> I didn't see explicit Promise SATA support but I know it is somewhere
> because I and FreeBSD are using it. Is the support coming from the
> SX6000 kernel option?

The SX6000 is the pst driver above.  It might not be *that* hard to update it, 
but if you ask Soren (sos@freebsd.org) very nicely, he might take a shot at 
it.

> Any help and information greatly appreciated.
>
> Thanks.
>
> Jimmie Houchin

Cheers,
-Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312141746.43327.peter>