[pxc] smp 2.4.x oops

Chanop Silpa-Anan chanop@syseng.anu.edu.au
Wed, 12 Sep 2001 16:44:03 +1000


Hi everybody,

More info on 2.4.x smp and the driver.

On Wed, Sep 12, 2001 at 01:46:46AM +0200, Alessandro Rubini wrote:
> 
> > I've got the following opps from serial console duing "insmod ./pxc.o"
> 
> Ok, it's reproducible with SMP kernel on UP computer. Not an oops
> but rather a lock.

With pxc200F on 2 different boxes, one is ABit VP6 with via apollo
chipset and the other is Gigabyte GA6BXD with BX chipset. I've got oops
on VP6 but a plain lockup on GA6BXD.

With pxc200L, after applying the following patch

> The fix: add
>         spin_lock_init(&ptr->lock);
> after
>         init_waitqueue_head(&ptr->seq_queue);
> (after allocation, before using the lock)

The driver works on both motherboards, however, I have to set the BIOS
to MPS 1.1 instead of MPS 1.4 to get the interrupt to happen. e.g. pxc
driver reports interupt 10 while /proc/pci reports interupt 19 etc....
, hence, could be the source of the problem I experienced.

FYI, MPS 1.4 will allow virtual interupt, IIRC.


With pxc200L reading /dev/pxc0[H]pgm is fine. /dev/pxc0[H]ppm give a
swap blue/red bands?? /dev/pxc0{rgb,bgr} are still problems for me.
I've to change my code a bit to use the current interface. Those demo-*
are working fine though.

Is there any hint on hacking this pxc200F?



cheers,


Chanop
-- 
,-----------------------------------------------------------------------------.
| Chanop Silpa-Anan                 <Chanop.Silpa-Anan@syseng.anu.edu.au>     |
| Australian National University                                              |
| Tel. +61 2 6125 8826 (office hour)                                          |
|      +61 2 6249 5240 (home +voice mail)                                     |
| Fax. +61 2 6125 8660                                                        |
|           Debian GNU/BSD            ICQ uin 11366301                        |
`-----------------------------------------------------------------------------'