Subject: Re: Several Newcomer Questions
To: None <port-cobalt@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cobalt
Date: 09/16/2003 23:59:18
In article <200309150732.h8F7WMQ04030@mailgate5.cinetic.de>
andreas.mock@web.de wrote:

> The first thing I was wondering was that I couldn't
> find any of the default sound configuring entries
> in the GENERIC file. Is sound not supported at all?
> If yes, why?

In the perfect world, all MI device drivers _should_ work on all ports,
but some (most?) devices are not tested on machines other than i386,
and config entries should be added after someone confirms them.

> But while booting I got the following message:
> ...
> eso0: reset timeout  
> ...
> 
> Does anybody have a hint why this could happen?

It seems "lost interrupt." The device is not configured correctly.
With quick glance at debug messages by options PCI_CONFIG_DUMP
on my RaQ2, cobalts' firmware does not setup PCI memory spece properly.
Furtheremore, I'm afraid most PCI audio drivers don't handle
DMA-cache coherency. (i.e. few audio drivers call bus_dmamap_sync().)
Anyway, you should enable options PCI_CONFIG_DUMP and debug printfs
in sys/dev/pci/eso.c etc. to get more info.

> 2) While looking at the /dev/MAKEDEV script I
> wondered why there are no entries for the device
> special files for audio, mixer and so on.
> Is audio definitly not supported? When yes, why?

Again, maybe just no one tried it.

> Does anybody know the major/minor numbers of the
> relevant audio device driver special files?

There is no entry for audio device in
sys/arch/cobalt/conf/majors.cobalt.
You have to add the entry first.

> 3) For somethiing different I downloaded mit-pthreads
> and tried to compile it. I got the error, that this
> is not supported by this architecture. As I'm new
> to MIPS, can anyone proof this? Why is it not
> supported? It there an article to get more information?

According to pkgsrc/devel/mit-pthreads/Makefile,
it does not support MIPS. I'm not familiar with pthread,
but you could use GNU-pth or native libpthread in -current.

> 4) With the original OS of the QUBE you get a message
> on the LCD that you can power down safely after shutting
> down the system. Could this also be achieved with
> netbed? And how?

You could use /dev/panel to control it,
but it seems there is no manual page for the device.
Maybe we have to read sys/arch/cobalt/dev/panel.c for details.
(we could use it by open(2) and write(2) syscalls?)

> 5) I would be interested which PCI devices work in that
> sprare PCI slot. Can you tell me?

As noted above, all MI PCI drivers _should_ work (but..).

> 6) Has anybody experiences with making the Qube more
> quite? At the moment mine is very loud.

No idea. (replacing fan?)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp