Comment 15 for bug 914319

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 914319] Re: NULL pointer dereference at sd_revalidate_disk+0x30/0x2a0

On Wed, Feb 29, 2012 at 10:07 PM, Chris J Arges
<email address hidden> wrote:
> This bug hit me yesterday on 3.2.0-17.27 on my Lenovo T420. Will try the test kernel when I have time today.
> Not sure how reliable the reproducer is, seems to happen occasionally when pulling out a USB stick.

I can reproduce it with continuous unplugging/plugging usb disk after starting
the below script. And looks the upstream patch can fix the issue
on my pandaboard.

#!/bin/sh
umount /media/*
while [ 1 ]
do
        fdisk -l /dev/sdb # suppose /dev/sdb is the usb disk
        sleep 0.05
done

thanks
--
Ming Lei