Port-prep archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PCI expansion card working?



Hi! Tim,


From: Tim Rightnour <root%garbled.net@localhost>
Date: Wed, 16 Jan 2008 11:38:03 -0700 (MST)

> Ok..this is a bit more complex than I originally hoped.  But if you are 
> willing
> to do a little debugging, we might be able to figure it out.   It will be
> easier for you to debug this on -current, if thats OK. (me too, since I'm
> beginning to forget how 4.0 interrupts worked)

I have -current tree only.


> First, since siop is usually the one that hangs the system, can you disable
> siop in the config file and see if the machine still hangs?  (perhaps mount
> root on nfs if you needed siop to boot)
> 
> Second, in powerpc/pic/intr.c:pic_handle_intr(), there is a section where we
> loop through all the handlers for an interrupt.
> 
> find this:
> (*ih->ih_fun)(ih->ih_arg);
> 
> and change it to something like this:
> 
> printf("calling handler\n");
> foo = (*ih->ih_fun)(ih->ih_arg);
> printf("returned %d\n", foo);

I think that I am necessary also in pic_do_pending_int() on that.  In
addition, may I disable RESIDUAL_DATA_DUMP?


I booted the kernel without preparing NFS this morning.  However, pcn(4)
looked not to work correctly.  (I forgot logging  X-<
I will prepare the environment of NFS at  tonight, and execute it again.

Thanks,
--
kiyohara



Home | Main Index | Thread Index | Old Index