public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: gmc@metro.cx
To: linux-mtd@lists.infradead.org
Subject: More mtd problems: scheduling while atomic
Date: Mon, 6 Dec 2004 14:57:03 +0100	[thread overview]
Message-ID: <20041206135703.GA2899@metro.cx> (raw)

Hi All,

Another problem with the mtd driver it seems. This time i'm looking at
cfi_cmdset_0002.c, and it seems there's more horrible bug stuff in there
(see the dump below). 

I'm at this point clueless at what to do with this. It is causing me
trouble however.. Is this a known issue?? Any hints whatsoever??

It's with 2.6.10-rc2-bk17 btw..

Koen

----- Forwarded message from Koen Martens <Koen.Martens@tomtom.com> -----

   scheduling while atomic: sh/0x00000001/44
   [<c01d2400>]        (schedule+0x0/0x680)       from       [<c014f078>]
   (do_write_oneword+0x610/0xc4c)
   [<c014ea68>]     (do_write_oneword+0x0/0xc4c)     from    [<c014fb54>]
   (cfi_amdstd_write_words+0x4a0/0x850)
   [<c014f6b4>]   (cfi_amdstd_write_words+0x0/0x850)   from  [<c00eb9b0>]
   (ngffs_write+0x64/0xcc)
   [<c00eb94c>]       (ngffs_write+0x0/0xcc)       from      [<c00e8314>]
   (ngffs_put_chunk+0x60/0x80)
    r7 = C1E07D5C  r6 = 00000001  r5 = C1E07688  r4 = C167F2B8
   [<c00e82b4>]      (ngffs_put_chunk+0x0/0x80)     from     [<c00e92ec>]
   (ngffs_create+0x3e8/0x530)
    r8 = C1E07688  r7 = C18A2040  r6 = 0001002A  r5 = C18A21F8
    r4 = 00000000
   [<c00e8f04>]      (ngffs_create+0x0/0x530)      from      [<c009f0ec>]
   (vfs_create+0x90/0xb8)
   [<c009f05c>]       (vfs_create+0x0/0xb8)       from       [<c009f498>]
   (open_namei+0x1b0/0x734)
    r8 = C0020A64  r7 = C1883F34  r6 = 00000241  r5 = C1E0627C
    r4 = C1E061D0
   [<c009f2e8>]       (open_namei+0x0/0x734)       from      [<c0087934>]
   (filp_open+0x30/0x4c)
   [<c0087904>]        (filp_open+0x0/0x4c)       from       [<c0088184>]
   (sys_open+0x48/0x8c)
    r4 = 000001B6
   [<c008813c>]        (sys_open+0x0/0x8c)        from       [<c00208e0>]
   (ret_fast_syscall+0x0/0x2c)
    r7 = 00000005  r6 = 00050CB0  r5 = 00050D08  r4 = FFFFFFFF
   ngffs: ngffs_create: about to invalidate at oldofs
   ngffs: ngffs_write: write at ofs 65582l, len=1l
   scheduling while atomic: sh/0x00000001/44
   [<c01d2400>]        (schedule+0x0/0x680)       from       [<c014f078>]
   (do_write_oneword+0x610/0xc4c)
   [<c014ea68>]     (do_write_oneword+0x0/0xc4c)     from    [<c014feb4>]
   (cfi_amdstd_write_words+0x800/0x850)
   [<c014f6b4>]   (cfi_amdstd_write_words+0x0/0x850)   from  [<c00eb9b0>]
   (ngffs_write+0x64/0xcc)
   [<c00eb94c>]       (ngffs_write+0x0/0xcc)       from      [<c00e8744>]
   (ngffs_invalidate_chunk+0x30/0x5c)
    r7 = C18A2040  r6 = 0001002A  r5 = C18A21F8  r4 = 00000000
   [<c00e8714>]   (ngffs_invalidate_chunk+0x0/0x5c)   from   [<c00e9328>]
   (ngffs_create+0x424/0x530)
   [<c00e8f04>]      (ngffs_create+0x0/0x530)      from      [<c009f0ec>]
   (vfs_create+0x90/0xb8)
   [<c009f05c>]       (vfs_create+0x0/0xb8)       from       [<c009f498>]
   (open_namei+0x1b0/0x734)
    r8 = C0020A64  r7 = C1883F34  r6 = 00000241  r5 = C1E0627C
    r4 = C1E061D0
   [<c009f2e8>]       (open_namei+0x0/0x734)       from      [<c0087934>]
   (filp_open+0x30/0x4c)
   [<c0087904>]        (filp_open+0x0/0x4c)       from       [<c0088184>]
   (sys_open+0x48/0x8c)
    r4 = 000001B6
   [<c008813c>]        (sys_open+0x0/0x8c)        from       [<c00208e0>]
   (ret_fast_syscall+0x0/0x2c)
    r7 = 00000005  r6 = 00050CB0  r5 = 00050D08  r4 = FFFFFFFF

----- End forwarded message -----

-- 
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, embedded systems, unix expertise, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

                 reply	other threads:[~2004-12-06 13:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20041206135703.GA2899@metro.cx \
    --to=gmc@metro.cx \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox