On Wed, 20 Aug 2003, John Lumby wrote:

> Thanks for the recent replies.
Oh, movement.. :)

> Robert said:
> >
> > Your best bet would be to download the kernel.config from Toms website
> > get the kernel source and toms patches. You then compile your own kernel
> > by minimising the drivers that are compiled directly into the kernel:
> >
> >   NO ethernet drivers -- make the one the thinkpad uses a module.
> >   NO SCSI, turn the entire SCSI subsystem into modules.
> >   Remove anything else that isn't needed right now.
> >     -- I think this includes the floppy for 2.0.103, 'cause the
> >        ramdisk is loaded by lilo.
> >
>
> Can you please give me an url for  "the kernel.config from Toms website" and "toms 
> patches".
> Also which version of the kernel is in 2.0.103? - I can't tell.
> (At least, it tells me a number I can't relate to regular versions I recognize).
> I assume it is best to use the exact same kernel version as is on there now.
> I did take a peek around on
>  http://not.toms.net/tomsrtbt-sources/
> and found all kinds of interesting stuff but I don't know what specifically relates
> to what I have on my 2.0.103.

I haven't looked closely in that sources directory but you'll be looking
for a kernel .config file; a quick search of the mailing list archive
shows the kernel version is 2.2.20 and the patches are:

ftp://ftp.kernel.org/pub/linux/kernel/people/sct/ext3/v2.2
tomsrtbt-sources ... rb/v2/in-rb-src/bz2.diff

I would say you should either use that 2.2.20 kernel version (with
patches) or upgrade to a 2.4.X version with no patches and lose the
bzip2 compression of the floppy.

> Also where you said "I think this includes the floppy for 2.0.103,'cause the ramdisk 
> is loaded by lilo"
> dumb question - wouldn't I need floppy support to be able to mount /dev/fd0u1722?

If you want to _do_ anything with the floppy then yes you will need the
linux driver as either a built in or a module. BUT lilo does NOT use the
floppy driver to load either the kernel or the initial ramdisk into
memory, it uses the BIOS routines. So if all you are doing is booting
off the floppy with lilo then linux doesn't need a floppy driver.

> Lastly - umm - probably also pretty dumb - how will doing all of this fix my hang?
> Are you saying that by turning off any references to SCSI_PPA in the kernel config, 
> that will
> suppress the auto-detect probe for the ppa's?    I guess that makes sense but from 
> looking at boot messages
> it seems to me that this auto-probing happens before modules got loaded - i.e. was 
> controlled by something else?

I'm saying you don't actually know which probe is causing the hang, all
you know is that it _looks_like_ it _might_be_ a scsi driver, there are
several and it's not clear the order that they are probed. What you do
know is that it's not a module, its one of the drivers that's built into
the kernel so I'm suggesting you remove as many drivers as you can from
the kernel, that way the auto-detects will not run.

If you put them into modules, where you don't _have_to_ load them, the
overall size of the kernel+modules will increase and the auto-detect
happens when the module is loaded.

-- 
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                       <http://www.cix.co.uk/~mayday>
Google Homepage:   http://www.google.com/search?btnI&q=Robert+de+Bath


Reply via email to