[PATCH] block device oopses on shutdown in 2.5.x
The partition code registers a generic device for disks which have a dev->driver non-NULL but whose dev->driver->remove points into outer space. So when reboot happens --> OOPS in drivers/base/power.c:device_shutdown() Ok, amusingly in my case dev->driver == &scsi_done(), hehe :-) Two cases of uninitialized memory spotted, here is the patch.
Showing
Please register or sign in to comment