Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default buldworld

    Hi all,

    Yesterday evening I've runned a make buildworld, after a cvsup.
    Unfortunately my system hang totally tomorrow. That is when the problems began.
    When I'm booting, the system reboots every time.
    I think I know why it hangs. It is because of vmmon_up.ko When I load
    that ko with kldload in single user mode, the system hangs again.
    So let's delete the file i thought, but it gives: (Logged in as root of course;)
    rm: /boot/kernel/vmmon_up.ko: Read-only file system
    ls -l gives:
    -r-xr-xr-x 1 root wheel 38529 Feb 20 11:48 /boot/kernel/vmmon_up.ko
    I've tried to fix it with chmod: chmod a+w vmmon_up.ko but it doesn't help.
    Do you guys have any idea how to fix it?
    Thanks
    Wouter van Rooij
    Wouter van Rooij Guest

  2. #2

    Default Re: buldworld

    Wouter van Rooij wrote:
    >Hi all,
    >
    >Yesterday evening I've runned a make buildworld, after a cvsup.
    >Unfortunately my system hang totally tomorrow. That is when the problems began.
    >When I'm booting, the system reboots every time.
    >I think I know why it hangs. It is because of vmmon_up.ko When I load
    >that ko with kldload in single user mode, the system hangs again.
    >So let's delete the file i thought, but it gives: (Logged in as root of course;)
    >rm: /boot/kernel/vmmon_up.ko: Read-only file system
    >ls -l gives:
    >-r-xr-xr-x 1 root wheel 38529 Feb 20 11:48 /boot/kernel/vmmon_up.ko
    >I've tried to fix it with chmod: chmod a+w vmmon_up.ko but it doesn't help.
    >Do you guys have any idea how to fix it?
    >Thanks
    >Wouter van Rooij
    >
    >
    Single-user mode mount the root partition "read-only" and
    does not mount any other partitions. At the command prompt,
    run "fsck"; if everything is clean, run "mount -a". Then you will
    have all your /etc/fstab filesystems mounted normally, and
    can perform this operation.

    I might recommend some action besides "rm" on a kernel
    module, though (mv?).

    Kevin Kinsey
    Kevin Kinsey Guest

  3. #3

    Default Re: buldworld

    Kevin Kinsey <kdk@daleco.biz> writes:
    > Wouter van Rooij wrote:
    >
    > >Hi all,
    > >
    > >Yesterday evening I've runned a make buildworld, after a cvsup.
    > >Unfortunately my system hang totally tomorrow. That is when the problems began.
    > >When I'm booting, the system reboots every time.
    > >I think I know why it hangs. It is because of vmmon_up.ko When I load
    > >that ko with kldload in single user mode, the system hangs again.
    > >So let's delete the file i thought, but it gives: (Logged in as root of course;)
    > >rm: /boot/kernel/vmmon_up.ko: Read-only file system
    > >ls -l gives:
    > >-r-xr-xr-x 1 root wheel 38529 Feb 20 11:48 /boot/kernel/vmmon_up.ko
    > >I've tried to fix it with chmod: chmod a+w vmmon_up.ko but it doesn't help.
    > >Do you guys have any idea how to fix it?
    > >Thanks
    > >Wouter van Rooij
    > >
    >
    > Single-user mode mount the root partition "read-only" and
    > does not mount any other partitions. At the command prompt,
    > run "fsck"; if everything is clean, run "mount -a". Then you will
    > have all your /etc/fstab filesystems mounted normally, and
    > can perform this operation.
    [Or any other rescue operation...]
    > I might recommend some action besides "rm" on a kernel
    > module, though (mv?).
    Even better, change the loader configuration (loader.conf) to not load
    the module.

    That module is from vmware, and probably wasn't rebuilt when the base
    system was, so loading it could cause any variety of problems.
    Lowell Gilbert Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139