This page is intended to help all those (if any exist) who wish to install NetBSD on their Sony Vaio R505JS. From what I can tell, this should also work on the Sony Vaio R505JL as it is almost identical to the R505JS.
I used to run OpenBSD on my Vaio R505JS, but after a year when the cardbus (pcmcia slot) still didn't work, I decided to give NetBSD a try.
The problem was that OpenBSD couldn't assign an interrupt to the cardbus. After spending a long time mucking around with the PCI interrupt code, I finally gave up. This is a good thing, because it seems that the interrupt needed to be mapped through the ACPI subsystem, which is not supported by OpenBSD (yet).
First of all, you need to install NetBSD-current, as it has (experimental) ACPI support. At the time i am writing this, I just upgraded to NetBSD 1.6N from NetBSD 1.6M, both of which work great. From what I can tell, the next major release, NetBSD 2.0, should have ACPI support.
Once you install NetBSD-current you will note that the cardbus is still not working. This is because ACPI support is not enabled in the generic kernel (yet...), so you must do this with the option "options ACPI_PCI_FIXUP". Besides that you need to set the options "options RBUS_IO_BASE=0x500" and "options RBUS_IO_SIZE=0x800" (thanks to google and the NetBSD mailing lists). Time to build your own kernel.
You can use my NetBSD 1.6N kernel configuration file which also has support for spic (the sony jog dial) as a mouse wheel, as well as support for a usb mouse if it happens to be present.
Note that the mouse wheel wsmouse device has ONLY support for the mouse wheel and not for any of the other buttons on the mouse. This greatly confused me for a moment, but after reading a few man pages i discovered that you set your PS/2 mouse as the "CorePointer" and the mouse wheel as an additional mouse with "SendCoreEvents" enabled and everything should work just fine.
Here is my XF86Config file.
And for any one interested here is my dmesg.
hope this helps someone,