Re: 2.1.111: IDE DMA disabled...BLAH...BLAH...

Mike Jagdis (mike@roan.co.uk)
Wed, 29 Jul 1998 17:16:04 +0100 (GMT/BST)


Incidentally, before 2.2 we should have some way of preventing the
mixing of UP and SMP kernel/modules. Currently loading an SMP
compiled module against a UP compiled kernel usually fails because
symbols involved in locking are missing. The killer is that UP
compiled modules usually load against an SMP compiled kernel
quite happily - but lack necessary locking or have wrong ideas
about structs (task_struct changes size with NR_CPUS...).

A UP iBCS will load against an SMP kernel but seg fault everything
because of the task_struct size change. A UP raid1 module will
load against an SMP kernel, even appear to work (although I'd
hate to stress it), but you can't mdstop the device once it is
running...

No, this is not the source of my crashes - we use iBCS far too
heavily not to notice something wrong within seconds. I would
hate to think what it could do to others though :-).

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html