The attached patch fixes compile errors in imm.c in 2.5.1pre6. At boot it will detect the drive however if a disk is in the drive I get an oops (see oops1.log). If there is no disk it will boot just fine. When I run 'eject /dev/sda' after I insert a disk in the drive I get an oops (see oops2.log). Please give me some feedback on what can be done to fix these problems. I can also do other tests and provide more information if need. Thanks, Rich