Re: Sili/achi and Silicon Image 3512 chip

2009-07-02 Thread Matthew Dillon

:HI!
:
:I am considering to do another update to 2.3-DEV soon after Matt done
:with achi/sili tests and HAMMER V2 marked as stable.
:
:My 320Gb Seagate ST3300831AS 3.01 SATA drive is connected via:
:atapci0:  port
:0xdf90-0xdf9f,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0xdff7
:mem 0xfeaffc00-0xfeaffdff irq 6 at device 12.0 on pci2
:
:Are there any possibility to benefit from switching to achi or sili
:driver for it?
:Is it supported by any of these drivers?

I think only by the old NATA driver.  I believe the 3512 emulates an
IDE controller for the most part.  It isn't compatible with our 3132
Sili driver.

:Is it ok to change access mode in BIOS from compatibility to ACHI?
:Will I need any re-partitioning of drive or something?
:
:-- 
:Dennis Melentyev

If you have an AHCI controller then including the ahci driver in the
kernel build or loading it as a module will cause it to probe the
controller before NATA.  Disks recognized by the AHCI driver will
be named da0, da1, etc... and not ad0, ad1, etc.

So if the AHCI driver recognizes the disk you have to fix up /etc/fstab
and possibly /etc/rc.conf w/ the new names.   You do not have to
repartition the drive or anything like that.

It's easy to get stuck here.  If you do a full world & kernel build
and install the boot loader will have a menu option to disable the
AHCI driver.  You would want to first boot with it enabled (the default)
to see if it recognizes the device.  It would then pop into a mountroot>
menu since the normal root mount will not be found.  You can then
reboot and use the menu option to disable the AHCI driver so you boot
with the old NATA driver, login, and adjust /etc/fstab and /etc/rc.conf
appropriately to reference the AHCI driver designation (da0, da1, etc)
instead of the NATA driver designation.

-Matt
Matthew Dillon 



Re: Call for help with firefox 3.5

2009-07-02 Thread Matthew Dillon

:In videos there are sync problems (audio is about second behind the 
:picture) and it crashes often while seeking or if video just finishes 
:playing.
:
:My guess is that it's related OSS backend because nobody actually uses it 
:in the upstream (I don't think that any OS relevant today except FreeBSD 
:and DragonFly use OSS by default at all). There are several commits into 
:other backends to solve sync problems, but none into OSS code. Therefore 
:call for help - if you can and understand what OSS is (I don't ;), please 
:look at it.
:
:-- 
:Hasso Tepper

I'm kinda lost in this sea of source code.  Do you have any idea where
this OSS source is relative to the pkgsrc work dirs?

I also need a way to incrementally rebuild and reinstall firefox to test
changes since clearly I don't want to rebuild the whole thing from
scratch every time I mess with the source a little.

-Matt
Matthew Dillon 



Sili/achi and Silicon Image 3512 chip

2009-07-02 Thread Dennis Melentyev
HI!

I am considering to do another update to 2.3-DEV soon after Matt done
with achi/sili tests and HAMMER V2 marked as stable.

My 320Gb Seagate ST3300831AS 3.01 SATA drive is connected via:
atapci0:  port
0xdf90-0xdf9f,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0xdff7
mem 0xfeaffc00-0xfeaffdff irq 6 at device 12.0 on pci2

Are there any possibility to benefit from switching to achi or sili
driver for it?
Is it supported by any of these drivers?
Is it ok to change access mode in BIOS from compatibility to ACHI?
Will I need any re-partitioning of drive or something?

-- 
Dennis Melentyev


Re: Call for help with firefox 3.5

2009-07-02 Thread Hasso Tepper
Matthew Dillon wrote:
> Where is the wip/firefox?  I've been using:
>
> cvs -d anon...@anoncvs.netbsd.org:/cvsroot update -Pd pkgsrc
>
> But it doesn't seem to have that wip.

http://pkgsrc-wip.sourceforge.net


-- 
Hasso Tepper


Re: Call for help with firefox 3.5

2009-07-02 Thread Joerg Sonnenberger
On Thu, Jul 02, 2009 at 11:08:38AM -0700, Matthew Dillon wrote:
> Where is the wip/firefox?  I've been using:
> 
> cvs -d anon...@anoncvs.netbsd.org:/cvsroot update -Pd pkgsrc

Externally on pkgsrc-wip.sf.net.

Joerg


Re: Call for help with firefox 3.5

2009-07-02 Thread Matthew Dillon
Where is the wip/firefox?  I've been using:

cvs -d anon...@anoncvs.netbsd.org:/cvsroot update -Pd pkgsrc

But it doesn't seem to have that wip.

-Matt


AHCI driver heads-up

2009-07-02 Thread Matthew Dillon
I corrected a really stupid programming error yesterday that I had
made in the AHCI driver.   Logical block addresses were not being
translated properly for non-NCQ I/O, resulting in disk corruption for
disks larger then 250G.  Generally only disks behind a port multiplier
are affected.

The bug has been fixed.  Everyone using the new AHCI driver, and
particularly anyone using it with a port multiplier enclosure, should
update.

The SILI driver had the same bug (also fixed) but since it can run NCQ
commands to targets behind a PM it is unlikely that anyone was affected.
Still, people using the new SILI driver should also update.

--

The SILI driver passed its 10-TB test.  The AHCI driver is undergoing
a 10-TB test now and has passed so far.  The test still has 3+ days
of run time to go.

-Matt
Matthew Dillon 



Re: Call for help with firefox 3.5

2009-07-02 Thread Hasso Tepper
Joerg Sonnenberger wrote:
> NetBSD and OpenBSD use either the SunOS interface or OSS compatibility.
> I think the situation for Solaris is somewhat similar... In other
> words: only Mac OS X, Windows and Linux use something other than OSS :)

At least in Firefox 3.5 OSS backend isn't compiled on Solaris at all. Both 
NetBSD and OpenBSD do the same (in the ports) - only sunaudio backend is 
compiled. Therefore I doubt that OSS is received any real testing at 
all ;).


-- 
Hasso Tepper


Re: Call for help with firefox 3.5

2009-07-02 Thread Joerg Sonnenberger
On Thu, Jul 02, 2009 at 12:23:51PM +0300, Hasso Tepper wrote:
> My guess is that it's related OSS backend because nobody actually uses it 
> in the upstream (I don't think that any OS relevant today except FreeBSD 
> and DragonFly use OSS by default at all). There are several commits into 
> other backends to solve sync problems, but none into OSS code. Therefore 
> call for help - if you can and understand what OSS is (I don't ;), please 
> look at it.

NetBSD and OpenBSD use either the SunOS interface or OSS compatibility.
I think the situation for Solaris is somewhat similar... In other words:
only Mac OS X, Windows and Linux use something other than OSS :)

Joerg


Re: Master release schedule changes, major feature list - September 2009

2009-07-02 Thread elekktretterr
If all of this makes it to 2.4, then I think this will be the biggest
release since 1.0A!

Petr



Call for help with firefox 3.5

2009-07-02 Thread Hasso Tepper
I made Firefox 3.5 (wip/firefox in the pkgsrc) work on DragonFly. Thanks 
to Matt who implemented shared POSIX semaphores in 10 minutes HTML5 
video/audio tags are working now as well (you need a very recent master 
for that). There is still problems though.

In videos there are sync problems (audio is about second behind the 
picture) and it crashes often while seeking or if video just finishes 
playing.

My guess is that it's related OSS backend because nobody actually uses it 
in the upstream (I don't think that any OS relevant today except FreeBSD 
and DragonFly use OSS by default at all). There are several commits into 
other backends to solve sync problems, but none into OSS code. Therefore 
call for help - if you can and understand what OSS is (I don't ;), please 
look at it.


-- 
Hasso Tepper