1. 10 8月, 2010 20 次提交
  2. 07 8月, 2010 3 次提交
    • J
      console: Fix compilation regression · 9261ec1a
      Jason Wessel 提交于
      A regression of building without CONFIG_HW_CONSOLE was introduced with
      commit b45cfba4 (vt,console,kdb:
      implement atomic console enter/leave functions).
      
      ERROR: "con_debug_enter" [drivers/serial/kgdboc.ko] undefined!
      ERROR: "vc_cons" [drivers/serial/kgdboc.ko] undefined!
      ERROR: "fg_console" [drivers/serial/kgdboc.ko] undefined!
      ERROR: "con_debug_leave" [drivers/serial/kgdboc.ko] undefined!
      
      When there is no HW console the con_debug_enter and con_debug_leave
      functions should have no code.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      CC: Jesse Barnes <jbarnes@virtuousgeek.org>
      Reported-by: NRandy Dunlap <randy.dunlap@oracle.com>
      9261ec1a
    • B
      NFS: Fix /proc/mount for legacy binary interface · d5eff1a3
      Bryan Schumaker 提交于
      Add a flag so we know if we mounted the NFS server using the legacy
      binary interface.  If we used the legacy interface, then we should not
      show the mountd options.
      Signed-off-by: NBryan Schumaker <bjschuma@netapp.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      d5eff1a3
    • D
      Fix init ordering of /dev/console vs callers of modprobe · 31d1d48e
      David Howells 提交于
      Make /dev/console get initialised before any initialisation routine that
      invokes modprobe because if modprobe fails, it's going to want to open
      /dev/console, presumably to write an error message to.
      
      The problem with that is that if the /dev/console driver is not yet
      initialised, the chardev handler will call request_module() to invoke
      modprobe, which will fail, because we never compile /dev/console as a
      module.
      
      This will lead to a modprobe loop, showing the following in the kernel
      log:
      
      	request_module: runaway loop modprobe char-major-5-1
      	request_module: runaway loop modprobe char-major-5-1
      	request_module: runaway loop modprobe char-major-5-1
      	request_module: runaway loop modprobe char-major-5-1
      	request_module: runaway loop modprobe char-major-5-1
      
      This can happen, for example, when the built in md5 module can't find
      the built in cryptomgr module (because the latter fails to initialise).
      The md5 module comes before the call to tty_init(), presumably because
      'crypto' comes before 'drivers' alphabetically.
      
      Fix this by calling tty_init() from chrdev_init().
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      31d1d48e
  3. 06 8月, 2010 7 次提交
  4. 05 8月, 2010 10 次提交