Re: panic: kmem_malloc; Should I increase some setting?

From: Ronald Klop (ronald-freebsd7_at_klop.yi.org)
Date: 06/30/04

  • Next message: Doug White: "Re: [kern/68351] bge0 watchdog timeout on 5.2.1 and -current, 5.1 is ok"
    Date: Wed, 30 Jun 2004 02:41:16 +0200
    To: current@freebsd.org
    
    

    I have more info.

    When untarring a bzip2 archive of 30MB the nr of wired mem in top goes up,
    until it reaches 120MB and than it panics. (Normally it is around
    50/60MB.)
    How can I debug this more or can others reproduce this?

    Greetings,

    Ronald.

    On Wed, 30 Jun 2004 02:10:16 +0200, Ronald Klop
    <ronald-freebsd7@klop.yi.org> wrote:

    > Hello,
    >
    > I get the following panics while untarring a 30MB archive on an md device
    > create with:
    > tmpmfs="YES"
    > tmpsize="256m"
    >
    > There is plenty of disk space and plenty of swap on the time of the
    > panic.
    > What info can I provide. The kernel will not make a kernel dump on
    > /dev/ad1s1b, but I don't know why.
    > My dmesg is attached.
    >
    > Greetings, Ronald.
    >
    >
    >
    >
    > panic: kmem_malloc(16384): kmem_map too small: 86233088 total allocated
    >
    > syncing disks, buffers remaining... panic: kmem_malloc(4096): kmem_map
    > too
    > small
    > : 86233088 total allocated
    > Uptime: 4m1s
    > Dumping 255 MB
    > ad1: timeout waiting for write DRQad1: timeout waiting for write DRQ
    >
    > Fatal trap 12: page fault while in kernel mode
    > fault virtual address = 0x0
    > fault code = supervisor read, page not present
    > instruction pointer = 0x8:0xc04a5653
    > stack pointer = 0x10:0xcbb8933c
    > frame pointer = 0x10:0xcbb89358
    > code segment = base 0x0, limit 0xfffff, type 0x1b
    > = DPL 0, pres 1, def32 1, gran 1
    > processor eflags = interrupt enabled, resume, IOPL = 0
    > current process = 44 (syncer)
    > trap number = 12
    > panic: page fault
    > Uptime: 4m2s
    > pfs_vncache_unload(): 1 entries remaining
    > Automatic reboot in 15 seconds - press a key on the console to abort
    > Rebooting...
    >
    >
    >
    >
    > And I just got another one: (This one gives a M_WAITOK)
    >
    > panic: kmem_malloc(4096): kmem_map too small: 86233088 total allocated
    >
    > syncing disks, buffers remaining... panic: malloc(M_WAITOK) returned NULL
    > Uptime: 3m33s
    > Dumping 255 MB
    >
    >
    > Fatal trap 12: page fault while in kernel mode
    > fault virtual address = 0x0
    > fault code = supervisor read, page not present
    > instruction pointer = 0x8:0xc04a5653
    > stack pointer = 0x10:0xcbb893c0
    > frame pointer = 0x10:0xcbb893dc
    > code segment = base 0x0, limit 0xfffff, type 0x1b
    > = DPL 0, pres 1, def32 1, gran 1
    > processor eflags = interrupt enabled, resume, IOPL = 0
    > current process = 44 (syncer)
    > trap number = 12
    > panic: page fault
    > Uptime: 3m34s
    > pfs_vncache_unload(): 1 entries remaining
    > Automatic reboot in 15 seconds - press a key on the console to abort
    > Rebooting...
    >

    -- 
      Ronald Klop
      Amsterdam, The Netherlands
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Doug White: "Re: [kern/68351] bge0 watchdog timeout on 5.2.1 and -current, 5.1 is ok"

    Relevant Pages

    • panics and crash dumps
      ... I'm having problems getting a crash dump on my panics. ... Fatal trap 12: page fault while in kernel mode ...
      (freebsd-questions)
    • panics after updating to RELENG_4 aug 25 from May 17th
      ... panics seem to be in the same location. ... GDB is free software, covered by the GNU General Public License, and you are ... page fault while in kernel mode ...
      (freebsd-stable)
    • Re: 5.3-RELEASE TODO
      ... > Show stopper defects for 5.3-RELEASE ... page fault while in kernel mode ... OTOH ATA on 4.x also gives panics with INVARIANTS when this kind of ...
      (freebsd-current)
    • Its happening again (panic early in boot)
      ... Fatal trap 12: page fault while in kernel mode ... Uptime: 1s ...
      (freebsd-current)
    • RE: 4.9-RELEASE, ACPI and DELL Latitude D600
      ... > Since i need the batterystatus (and the Bios doesnt seem to support APM ... the machine panics when closing the lid, ... page fault while in kernel mode ...
      (freebsd-hackers)