All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list@drzeus.cx>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Page fault in umount
Date: Sat, 22 Jan 2005 02:14:53 +0100	[thread overview]
Message-ID: <41F1A90D.5000809@drzeus.cx> (raw)

When I yank out my MP3 player, the programs trying to umount the disk 
cause the following page fault:

usb 1-5: USB disconnect, address 2
scsi0 (0:0): rejecting I/O to dead device
FAT bread failed in fat_clusters_flush
Unable to handle kernel paging request at virtual address 6b6b6b6b
  printing eip:
e0a0ecaf
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: radeon pcspkr iptable_filter tun parport_pc lp 
parport irport irnet ppp_generic slhc ircomm_tty ircomm irda crc_ccitt 
sd_mod autofs4 hidp rfcomm l2cap bluetooth pcmcia sunrpc ipt_MASQUERADE 
iptable_nat usb_storage scsi_mod ip_conntrack ip_tables microcode 
binfmt_misc nls_iso8859_1 nls_cp437 vfat fat ext3 jbd video button 
battery ac ohci1394 ieee1394 yenta_socket pcmcia_core uhci_hcd ehci_hcd 
i2c_i801 i2c_core snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_pcm_oss 
snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc 8139cp mii
CPU:    0
EIP:    0060:[<e0a0ecaf>]    Not tainted VLI
EFLAGS: 00010296   (2.6.10)
EIP is at scsi_device_put+0xf/0x70 [scsi_mod]
eax: 6b6b6b6b   ebx: d8994150   ecx: 00000000   edx: 00000000
esi: 6b6b6b6b   edi: dfcae46c   ebp: 00000000   esp: ce6b3ee4
ds: 007b   es: 007b   ss: 0068
Process umount (pid: 7190, threadinfo=ce6b2000 task=cbe5c000)
Stack: d883b9f4 d8994150 d883b9f4 e0b38103 6b6b6b6b e0b3a190 d8994150 
e0b386f7
        d8994150 00000000 dc6a1764 dc6a17f8 c0195e56 dc6a17f8 00000000 
dc6a19b8
        c0472680 00000000 00000000 c0195ed0 dc6a1764 c0193acd d89645f8 
e09f6ec0
Call Trace:
  [<e0b38103>] scsi_disk_put+0x33/0x50 [sd_mod]
  [<e0b3a190>] scsi_disk_release+0x0/0x1b0 [sd_mod]
  [<e0b386f7>] sd_release+0x47/0x90 [sd_mod]
  [<c0195e56>] blkdev_put+0xc6/0x170
  [<c0195ed0>] blkdev_put+0x140/0x170
  [<c0193acd>] kill_block_super+0x3d/0x60
  [<c019144c>] deactivate_super+0xac/0x120
  [<c01b4f95>] __mntput+0x25/0x40
  [<c01b5c9f>] sys_umount+0x3f/0xa0
  [<c01746a4>] sys_munmap+0x44/0x70
  [<c0103c59>] sysenter_past_esp+0x52/0x75
Code: 34 24 e8 05 ba 90 df ba fa ff ff ff eb e0 8d b4 26 00 00 00 00 8d 
bc 27 00 00 00 00 83 ec 0c 89 74 24 08 8b 74 24 10 89 5c 24 04 <8b> 06 
8b 80 b4 00 00 00 8b 00 85 c0 74 1f bb 00 e0 ff ff 21 e3

The device is mounted in sync so shouldn't this be safe as long as the 
device isn't busy? This works on other USB devices I have.
A page fault seems severe either way.

Rgds
Pierre

             reply	other threads:[~2005-01-22  1:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-22  1:14 Pierre Ossman [this message]
2005-01-25  0:45 ` Page fault in umount Andrew Morton
2005-01-25 19:37   ` Pierre Ossman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41F1A90D.5000809@drzeus.cx \
    --to=drzeus-list@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.