Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#690505: broken usb device breaks direct i/o even to non-usb drives (http://www.linux-archive.org/debian-kernel/712338-bug-690505-broken-usb-device-breaks-direct-i-o-even-non-usb-drives.html)

Jonathan Nieder 10-15-2012 02:03 AM

Bug#690505: broken usb device breaks direct i/o even to non-usb drives
 
reassign 690504 src:linux
forcemerge 690505 690504
quit

Hi Ben,

Ben Hutchings wrote:
> mail user wrote:

>> plugging in a fake (128 that later turned out to be just 2Gb) flashdrive
>> in the usb port, dd it to /dev/null, ctrl-c, dd zeroes to it, ctrl-c,
>> dd unresponsive to ctrl-c
[...]
>> then
>> rmmod -f usb-storage
>>
>> then
>> unplug the flashdrive
[...]
>> [...] BUG: unable to handle kernel paging request at ffffffffa05b9020
[...]
> You cannot expect the kernel to work after forcing module removal.

Agreed, but isn't the initial uninterruptible dd hang a (hardware or
software) bug?

Thanks,
Jonathan


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20121015020314.GB23213@elie.Belkin

Ben Hutchings 10-15-2012 02:22 AM

Bug#690505: broken usb device breaks direct i/o even to non-usb drives
 
On Sun, 2012-10-14 at 19:03 -0700, Jonathan Nieder wrote:
> reassign 690504 src:linux
> forcemerge 690505 690504
> quit
>
> Hi Ben,
>
> Ben Hutchings wrote:
> > mail user wrote:
>
> >> plugging in a fake (128 that later turned out to be just 2Gb) flashdrive
> >> in the usb port, dd it to /dev/null, ctrl-c, dd zeroes to it, ctrl-c,
> >> dd unresponsive to ctrl-c
> [...]
> >> then
> >> rmmod -f usb-storage
> >>
> >> then
> >> unplug the flashdrive
> [...]
> >> [...] BUG: unable to handle kernel paging request at ffffffffa05b9020
> [...]
> > You cannot expect the kernel to work after forcing module removal.
>
> Agreed, but isn't the initial uninterruptible dd hang a (hardware or
> software) bug?

We know the external hardware is (deliberately) broken. Since the
result is not a privilege escalation, I don't see any reason to care
about it.

Ben.

--
Ben Hutchings
The world is coming to an end. Please log off.


All times are GMT. The time now is 12:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.