On Wed Mar 28 04:54:47 EDT 2007, [EMAIL PROTECTED] wrote:
> hello
> 
> i'm still trying to get this notebook work. (ibm z60t)
> 
> Any ideas why the 9pcf kernel provided with the install cdrom is able
> to boot the system while a local compiled version (with the sources
> from the cdrom and the configuration untouched) hangs after the memory
> line is printed (1015M memory: 256 kernel data, 758 user, 1383 swap) ?

/386/9pc* are not regenerated each time a change is made to
the kernel sources.  with the date of 9pc from the cd in hand
and sources, you should be able to work out what changed.

one possibility is that it's an interrupt coming when a device
is partially configured and the old kernel also had the bug,
but it was hidden.  sdata.c is somewhat notorious for this.

> i added to pci.c the id 8086/2641 of the intel southbridge ich6 mobile
>  (with the original kernels, the one that boots, and the one that
> doesn't boot, both, prints the line about not finding southbridge).
> And added too the sdata disk id to the dma switch as commented on a
> recent thread.
> 
> The modified kernel also does not boot and hangs in the same point.

i think you'll have better luck first isolating exactly the 
function/functions and line numbers where you're stuck.  are you
sure you're getting ata interrupts?

the standard kernel prints are a very inexact way of determining 
what has happeend and what hasn't.  sometimes the best
way is to do a binary search with print statements.
 
> i added debug codes in sdata.c but i've to much output to see
> anything, i saw the last command returns a timeout (i suppose was a
> probe command and is not an error).

unfortunately, i don't know of a usb console.

> this notebook has no serial and no network (broadcom 57x, rtl8139
> card), should i give up?

heck, no.  you're doing the right things and it seems like you are
making quite a bit of progress.  

since you can boot from the cd, you have a lot of options.  you
could try rebuilding from sources history on the day the kernel
on the cd was built and adding newer bits until it breaks.
(kernel work is so unglamorous.)  also, if you have a fileserver, 
you can try compiling a kernel without sd in the configuration. 

- erik

Reply via email to