problems with setting kern.maxdsiz in /boot/loader.conf

From: Alan Jay (alan_at_cyclopsvision.co.uk)
Date: 05/06/05

  • Next message: Christophe Yayon: "Re: pthreads and nagios issue"
    To: <freebsd-stable@freebsd.org>
    Date: Fri, 6 May 2005 19:14:43 +0100
    
    

    I am running 5.4 RC4 and rebooted today after changing one of the boot-time
    variables (maximum data size) in /boot/loader.conf. I took it from 512MB to
    2GB of RAM in order to improve the MySQL performance on the server.

    However, upon reboot, the following error comes up:

    Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id
    = 00
    instruction pointer = 0x58:0x8bc
    stack pointer = 0x10:0xf80
    frame pointer = 0x10:0x0
    code segment = base 0xc00f0000, limit 0xffff, type 0x1b
                            = DPL 0, pres 1, def32 0, gran 0
    processor eflags = interrupt enabled, resume, IOPL = 0
    current process = 0 (swapper)
    trap number = 9
    panic: general protection fault
    cpuid = 0
    Uptime: 1s

    I tried resetting kern.maxdsiz backto 512MB by pressing 6 at the boot menu and
    doing:
            unset kern.maxdsiz
            set kern.maxdsiz=536870912
            show kern.maxdsiz
        - this did not have any effect - exactly the same thing happened again.

    Is the kern.maxdsiz now being reset or being reset by /boot/loader.conf after
    changing things in the loader does anyone have any ideas.

    Nothing else has changed on the server which is being prepared for use at the
    moment and was updated to 5.4 RC4 just a few days ago but which has been
    running fine and rebooting fine since then until this change.

    Any ideas?

    Thanks in advance

    Alan

    PS I assume the only way to remove /boot/loader.conf is to use the 2nd CD set
    in fixit mode and remove / edit the file after mounting the root partition.

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Christophe Yayon: "Re: pthreads and nagios issue"

    Relevant Pages

    • Re: Make mac reboot on error??
      ... I need to reset it. ... Any way to make it reboot on a crash? ... I think OS X server has this option available in the Energy Saver preference panel. ...
      (comp.sys.mac.system)
    • Pagefile problems
      ... I've replaced an existing server with a new one with a little more breathing room. ... When I brought the new server on line, I renamed it to the same name as the previous server and reset all the authorizations so the change would be transparent throughout our network. ... Two days ago, following a reboot, the system reported that the pagefile had been lost and the system had reset it to 20MB and would need my attention to reset it. ...
      (microsoft.public.win2000.setup)
    • Re: Server Performance Report question
      ... A reboot of the server would probably fix that. ... > In my daily server performance report I get a System Up Time error ... > If not then how can I reset the whole log so it starts as new again? ...
      (microsoft.public.windows.server.sbs)
    • Re: fedo3 GNOME BIG-ASS cursors gone
      ... You can reset the X server without ... > having to reboot the whole computer. ... I restarted the x server, but that wasn't a solution for me. ... Sounds like a hold-over bug from the early days of the display mouse ...
      (alt.os.linux.redhat)
    • Why myserver be locked ?
      ... The server was working without problem. ... I don't believe in any hardware error. ... I have to push the reset button to reboot it. ... When I rebooted by the reset button, the machine has not given me any error message in dmesg and /var/log/messages. ...
      (freebsd-questions)