1. 31 Dec, 2003 16 commits
  2. 30 Dec, 2003 24 commits
    • David Mosberger's avatar
      ia64: Fix a ptrace-bug that caused "strace -f" to crash the inferior · 45f4d49a
      David Mosberger authored
            process.  The root-cause of the problem was that ptrace() tried
            to copy the portion of the register backing store that landed on
            the kernel stack back to users-space, but the resulting state
            was inconsistent if the inferior process was in the middle of a
            system-call (as would always be the case for strace).
      
            The solution is to avoid all needless copying and to instead
            ensure that when accessing a memory location that may belong to
            a thread's register-backing store, we attach to that particular
            thread, rather than the thread identified by the PID argument.
            If the thread happens to be unattachable, we fall back to using
            the thread identified by the PID argument.  This should have the
            desired effect if the thread has terminated already and if the
            thread is running while ptrace() is trying to access its state,
            all bets are off anyhow and there are no coherency guarantees.
            In other words, this should be doing the right thing under all
            circumstances.
      
            The patch also fixes the case where PT_AR_BSP and/or PT_CFM are
            written while the inferior process is in the middle of a system
            call.  This makes arguments passed to GDB inferior calls come
            out right.
      
            The patch was tested with strace -f and the GDB testsuite, which
            showed no regressions compared to the previous version of the
            kernel.
      45f4d49a
    • Linus Torvalds's avatar
      a077e99d
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.6 · 4992a7ce
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/sparc-2.6
      4992a7ce
    • David S. Miller's avatar
      [SPARC64]: Update defconfig. · 768d7861
      David S. Miller authored
      768d7861
    • David S. Miller's avatar
      [MEDIA]: ttusb_dec.c needs linux/init.h · 2e9862e3
      David S. Miller authored
      2e9862e3
    • Linus Torvalds's avatar
      Linux 2.6.1-rc1 · f6fb237b
      Linus Torvalds authored
      f6fb237b
    • Linus Torvalds's avatar
      Make IDE DRQ and READY timeouts longer · f921eab8
      Linus Torvalds authored
      The old 50ms / 30ms timeouts apparently weren't sufficient
      with some disks.
      f921eab8
    • David S. Miller's avatar
      Merge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.6 · faa3b867
      David S. Miller authored
      into nuts.ninka.net:/disk1/davem/BK/sparc-2.6
      faa3b867
    • Andrew Morton's avatar
      [PATCH] call_usermodehelper retval fix · be907e49
      Andrew Morton authored
      The reworked firmware loader in the DVB patches needs the fix to the
      call_usermodehelper() return value. 
      
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      MODULE_ALIAS_BLOCK() and MODULE_ALIAS_CHAR() define aliases of form
      "XXX-<major>-<minor>", so we should probe for modules using this form.
      Unfortunately in 2.4, block aliases were "XXX-<major>" and char aliases
      were of both forms.
      
      Ideally, all modules would now be using MODULE_ALIAS() macros to define
      their aliases, and the old configuration files wouldn't matter as much. 
      Unfortunately, this hasn't happened, so we make request_module() return the
      exit status of modprobe, and then do fallback when probing for char and
      block devices.
      
      (Kudos to Chris Wright, I stole his kernel_thread flags).
      be907e49
    • Andrew Morton's avatar
      [PATCH] strip out PCI cruft from i82365 driver · 6a429be8
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      This removes dead PCI-related code from the i82365 driver.
      6a429be8
    • Andrew Morton's avatar
      [PATCH] reduce kernel stack usage in PCMCIA CIS parsing · d3444889
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      This changes the PCMCIA CIS parsing code to use kmalloc() rather than
      allocating some data structures on the kernel stack.
      d3444889
    • Andrew Morton's avatar
      [PATCH] fix for 16-bit PCMCIA interrupt selection · 75c71254
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      This fixes interrupt allocation for 16-bit PCMCIA cards, so that on systems
      supporting ISA bus interrupts, if all ISA interrupts are unavailable, we'll
      fall back on sharing the bridge PCI interrupt.
      75c71254
    • Andrew Morton's avatar
      [PATCH] pcnet_cs driver bug fix / update · 9a639403
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      This fixes half/full duplex selection for certain NE2000 compatible PCMCIA
      cards.
      9a639403
    • Andrew Morton's avatar
      [PATCH] fix yenta printk logging levels · 59326357
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      This just sets missing logging levels for printk's in yenta_socket.
      59326357
    • Andrew Morton's avatar
      [PATCH] dhinds is not 2.6 PCMCIA maintainer · b06c2bc5
      Andrew Morton authored
      From: David Hinds <dhinds@sonic.net>
      
      I have not been actively maintaining PCMCIA for 2.6; I tried asking the
      more active developers to see if someone would step into the job but they
      were not willing to do so at this time.  I'll still submit patches from
      time to time.
      
      (David has a ./CREDITS entry, of course).
      
      We should really put in Russell King here, but I'll let him do that
      himself.
      b06c2bc5
    • Andrew Morton's avatar
      [PATCH] PPC32: Fix the mkprep util to work correctly on Solaris 8 · 856b46ae
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
            Peter Wahl <PeterWahl@web.de>
      
      PPC32: Fix the mkprep util to work correctly on Solaris 8.
      
      - There is a very odd problem with the alignment of dword_t values
        which causes this program to not work correctly when compiled on
        Solaris 8.  The workaround is not use a pointer and to memcpy the
        values instead.
      856b46ae
    • Andrew Morton's avatar
      [PATCH] PPC32: Fix compilation of ppc_ksyms.c on !CONFIG_PPC_STD_MMU · c2192641
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      Fix compilation of arch/ppc/kernel/ppc_ksyms.c on !CONFIG_PPC_STD_MMU
      
      'mol_trampoline' is only defined on CONFIG_PPC_STD_MMU.  Therefore this file
      will not compile on !CONFIG_PPC_STD_MMU without this change.
      c2192641
    • Andrew Morton's avatar
      [PATCH] ppc: netboot build fixes · 710d2b9d
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      The following patch fixes the 'znetboot' and 'znetbootrd' targets so that
      they work again.
      
      - Update the comments to reflect how things work with the correct
        usages now.
      
      - Fix the znetboot / znetbootrd targets.  We now always set end-y,
        and use this to figure out what image will be tftpboot'ed.
      710d2b9d
    • Andrew Morton's avatar
      [PATCH] Fix booting on a number of Motorola PPC32 machines · 6bac5cc7
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      Currently a number of Motorola PPC32 machine will not boot, as the final
      zImage isn't built correctly for them.
      6bac5cc7
    • Linus Torvalds's avatar
      Merge bk://firebox.phunnypharm.org:4040 · e378d578
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      e378d578
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · d027a95f
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      d027a95f
    • Ben Collins's avatar
      Merge http://linux.bkbits.net/linux-2.5 · cf3f977a
      Ben Collins authored
      into debian.org:/usr/src/kernel/linux-2.6
      cf3f977a
    • Linus Torvalds's avatar
      Merge home.osdl.org:/home/torvalds/v2.5/linux · b2e95563
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/akpm
      b2e95563
    • Andrew Morton's avatar
      [PATCH] parisc /proc/interrupts uninitialised var · 1d0990ac
      Andrew Morton authored
      From: James Bottomley <James.Bottomley@SteelEye.com>
      
      The compiler justly complains in this:
      
      	        unsigned int regnr = *(loff_t *) v, i;
      
      	        if (regnr == 0) {
      	                seq_puts(p, "     ");
      	#ifdef CONFIG_SMP
      	                for (i = 0; i < NR_CPUS; i++)
      	#endif
      	                        seq_printf(p, "      CPU%02d ", i);
      
      That i is uninitialised if CONFIG_SMP is not set.
      1d0990ac