[haiku-bugs] Re: [Haiku] #4608: Removing USB stick without unmounting causes trip to kernel debug land

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Wed, 10 Mar 2010 23:57:08 -0000

#4608: Removing USB stick without unmounting causes trip to kernel debug land
-------------------------+--------------------------------------------------
 Reporter:  peterm1561   |       Owner:  mmlr     
     Type:  bug          |      Status:  new      
 Priority:  normal       |   Milestone:  R1       
Component:  Drivers/USB  |     Version:  R1/alpha1
 Keywords:               |   Blockedby:           
 Platform:  All          |    Blocking:           
-------------------------+--------------------------------------------------

Old description:

> When I remove an usb stick without unmounting it first (I know it's rude)
> Haiku crashes with the message:
> PANIC: vm_page_fault:unhandled page fault in kernel space at 0x8382228c,
> ip 0x8382228c
>
> Welcome to Kernel Debugging land...
> Thread 282 "device event" running on CPU 0.
>
> This happens on both my haiku laptops with several sticks.
>
> It seems that this causes an unhandled exception.

New description:

 When I remove an usb stick without unmounting it first (I know it's rude)
 Haiku crashes with the message:

 {{{
 PANIC: vm_page_fault:unhandled page fault in kernel space at 0x8382228c,
 ip 0x8382228c

 Welcome to Kernel Debugging land...
 Thread 282 "device event" running on CPU 0.
 }}}

 This happens on both my haiku laptops with several sticks.

 It seems that this causes an unhandled exception.

--

Comment(by mmlr):

 Unplugging a mounted USB stick getting you to KDL is not too unexpected,
 although it shouldn't actually crash, but panic stating that something
 couldn't be written back (i.e. indicating data loss). If you can still
 reproduce this unhandled page fault, then please run the "bt" command in
 KDL and attach the output here.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4608#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: