Re: Patrick's Test9 suspend code.

From: Pavel Machek (pavel_at_ucw.cz)
Date: 11/18/03

  • Next message: Ben Collins: "Re: kernel.bkbits.net off the air"
    Date:	Tue, 18 Nov 2003 19:22:16 +0100
    To: Rob Landley <rob@landley.net>
    
    

    Hi!

    > It then saved happily but didn't resume because I hadn't told it the default
    > resume partition was /dev/hda2. (I don't have to specify which partition to
    > save to, why do I have to specify which one to resume from? Oh
    > well...)

    Think again. How is kernel expected to find out partition which it
    should resume from? Try all of them?

    You did swapon before suspend, that's where you specified "which
    partition". You need to tell it what to resume from...

    > Unable to handle kernel paging request at virtual address cc044120
    > printing eip:
    > c0131bf3
    > *pde = 01276067
    > *pte = 00000000
    > Oops: 0002 [#1]
    > CPU: 0
    > EIP: 0060:[<c0131bf3>] Not tainted
    > EFLAGS: 00010246
    > EIP is at module_unload_init+0xe/0x52
    > eax: cc044120 ebx: cc036df0 ecx: cc043c20 edx: 00000000
    > esi: cc039cef edi: cc0436ff ebp: c4e1ff28 esp: c4e1ff28
    > ds: 007b es: 007b ss: 0068
    > Process modprobe (pid: 920, threadinfo=c4e1e000 task=c4ba7310)
    > Stack: c4e1ff9c c0133364 cc043c20 00000000 000003e8 cb015da0 cc013000 00000000
    > cc043c20 00000000 00000000 00000000 00000000 00000000 00000008 00000012
    > 00000010 0000000c 00000000 00000000 00000018 00000017 00000019 cc0393e0
    > Call Trace:
    > [<c0133364>] load_module+0x4d8/0x7f7
    > [<c01336fa>] sys_init_module+0x77/0x234
    > [<c0108f85>] sysenter_past_esp+0x52/0x71
    >
    > Code: 89 81 00 05 00 00 89 81 04 05 00 00 89 c8 42 c7 80 00 01 00
    > Stopping tasks: ============================
    > stopping tasks failed (1 tasks remaining)
    > Restarting tasks...<6> Strange, modprobe not stopped
    > done

    Strange, it looks like you tried suspending in the middle of module
    being [un]loaded?
                                                                    Pavel

    -- 
    When do you have a heart between your knees?
    [Johanka's followup: and *two* hearts?]
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Ben Collins: "Re: kernel.bkbits.net off the air"

    Relevant Pages

    • Re: [linux-usb-devel] Re: OHCI problems with suspend/resume
      ... writing to a swap partition... ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Patricks Test9 suspend code.
      ... like a resume partition would actually be more robust in that case. ... The objection's largely to having it hardwired into the kernel, ... specify resume isn't noticeably worse... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFD] FAT robustness
      ... > and just reading quickly a file (a standard use of removeable devices). ... > Basically, to read you would not need to mount the partition, just ... > mount read-only at each file opening. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: removable media revalidation - udev vs. devfs or static /dev
      ... > natural reaction above) but please consider beyond the immediate hack. ... /dev/hda/0 partition 0 ... > directory containing multiple executables for various platforms. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Inserting into partion view - values were not supplied for all columns
      ... Wayne Snyder, MCDBA, SQL Server MVP ... "Glyn Walters" wrote in message ... > When I try to insert into a partition view with specified ... If I specify all the columns ...
      (microsoft.public.sqlserver.server)