All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux 2.4.20-pre11
@ 2002-10-15 23:10 Marcelo Tosatti
  2002-10-16  6:53 ` Adrian Bunk
  2002-10-16 10:07 ` Linux 2.4.20-pre11 - UP compile fails Eran Mann
  0 siblings, 2 replies; 4+ messages in thread
From: Marcelo Tosatti @ 2002-10-15 23:10 UTC (permalink / raw)
  To: lkml


Hi,

Here goes -pre11 with a lot of misc fixes.

Users which had problems with pdcraid on 2.4.19, please try this one and
report results.


Summary of changes from v2.4.20-pre10 to v2.4.20-pre11
============================================

<barryn@pobox.com>:
  o 2.4.20-pre10: make PL-2303 hack work again

<cel@citi.umich.edu>:
  o allow nfsroot to mount via TCP

<dhinds@sonic.net>:
  o Fixup PCMCIA thinko introduced by kmalloc failure handling patches

<eyal@eyal.emu.id.au>:
  o Fix brlvger driver compilation problem

<fubar@us.ibm.com>:
  o Prevent EFAULT errors when checking link status, in bonding net driver

<jeb.j.cramer@intel.com>:
  o e1000 net driver minor fixes/cleanups

<johnstul@us.ibm.com>:
  o Cleanup clustered APIC code to allow others to use it

<marcelo@freak.distro.conectiva>:
  o Do not state that 2.4 is under active development on "SubmittingDrivers" documentation file
  o Fix misuse of types in brlvger
  o Do not skip Promise ataraid's: they used to work fine with pdcraid
  o Changed EXTRAVERSION to pre11
  o Add PCI ID for SiS 646
  o Undo DMI updates. Its 2.4.21-pre stuff

<mkp@mkp.net>:
  o forte sound driver updates

<paul.mundt@timesys.com>:
  o SH5 support for shwdt

<rth@are.twiddle.net>:
  o Fix missed variable rename in stxncpy glibc conversion
  o Sync stxncpy with 2.5 changes

<shaggy@shaggy.austin.ibm.com>:
  o JFS: return code from sb_bread was incorrectly checked

<thockin@freakshow.cobalt.com>:
  o drivers/net/natsemi.c: sync with 2.5.x
  o drivers/net/natsemi.c: add dp83816 support
  o drivers/net/natsemi.c: janitorial - whitespace, wrap, and indenting cleanup
  o drivers/net/natsemi.c: stop tx/rx and reinit_ring on a PHY reset
  o drivers/net/natsemi.c: cleanup version string, fix compile error
  o drivers/net/natsemi.c: boost some printk() levels to WARN
  o drivers/net/natsemi.c: fix compile error - s/KERN_WARN/KERN_WARNING/

<wg@malloc.de>:
  o usbfs race while mounting/umounting

<zubarev@us.ibm.com>:
  o IBM PCI Hotplug: small patch

<zwane@linuxpower.ca>:
  o Add ethtool media selection to 3c509 net driver
  o Add ethtool media support to smc91c92_cs net driver

Adrian Bunk <bunk@fs.tum.de>:
  o Configure.help entry for CONFIG_USB_MIDI
  o update address of the emu10k1-devel list

Alan Cox <alan@lxorguk.ukuu.org.uk>:
  o better code for C3
  o small parisc bits
  o Update LNZ credits entry
  o update kernel params docs
  o update submitting drivers
  o 2.5 backport for sleep with lock
  o watchdog updates
  o SIS 646 AGP
  o native power management for AMD 76x
  o dont set leds until keyboard tasklet is running
  o fix out of memory oops in sis_ds
  o another watchdog fix
  o add ali5451 joystick to config doc
  o fix missingchecks in hotplug
  o handle hisax init failure right
  o fix types in mac apm emu
  o fix broken comment, gcc 3.1 warning in video
  o atalk bits are ISA
  o gcc warning fixes for ethernet
  o fix ugly irda hack
  o ibm token ring updates
  o fix warning in cycx_x25
  o fixup Geode slave disconnect
  o 82092 missing license tag
  o fix oops with AHA2840 card
  o dont register missing gameports
  o fix maestro3 bug that broken m3 in earlier pre
  o more USB size fixes
  o update intermezzo
  o update ver_linux
  o update the SiS framebuffer

Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>:
  o [TCP]: Handle passive resets correctly in SYN-RECV

Arnaldo Carvalho de Melo <acme@conectiva.com.br>:
  o hid-input: fix find_next_zero_bit usage

Benjamin Herrenschmidt <benh@kernel.crashing.org>:
  o PPC32: MESH driver SMP fix

dan.zink@hp.com <Dan.Zink@hp.com>:
  o Compaq PCI Hotplug bug fix
  o Compaq PCI Hotplug bug fix 2

Dave Kleikamp <shaggy@kleikamp.austin.ibm.com>:
  o JFS: change name of get_index() to read_index()

David S. Miller <davem@redhat.com>:
  o Fix 2.4.19 mm performance regression due to P4 TLB fix

David Woodhouse <dwmw2@infradead.org>:
  o Deal with VFS calling clear_inode() and read_inode() simultaneously for the same inode

Greg Kroah-Hartman <greg@kroah.com>:
  o IBM PCI Hotplug driver: typo fix for previous patch
  o USB: fix ctsrts handling in pl2303 driver

Harald Welte <laforge@gnumonks.org>:
  o net/ipv6/netfilter/ip6t_LOG.c: Display ipv4 encapsulation properly
  o net/ipv4/netfilter/ip_conntrack_core.c: Fix ip_conntrack_change_expect locking
  o [NETFILTER]: Avoid nesting readlocks in conntrack code
  o net/ipv4/netfilter/ipt_unclean.c: Source port is allowed to be zero

Jeff Garzik <jgarzik@mandrakesoft.com>:
  o [netdrvr] Use ADVERTISE_FULL in mii lib, to clean up duplex check
  o Merge ewrk3 net driver updates from 2.5.x

Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>:
  o ISDN: fix "IP frame delayed" bug
  o ISDN: Update md5sums.asc

Manfred Spraul <manfred@colorfullife.com>:
  o drivers/net/natsemi.c:  create a function for rx refill
  o drivers/net/natsemi.c: combine drain_ring and init_ring
  o drivers/net/natsemi.c: OOM handling
  o drivers/net/natsemi.c: stop abusing netdev_device_{de,a}ttach
  o drivers/net/natsemi.c: write MAC address back to the chip
  o drivers/net/natsemi.c: lengthen EEPROM timeout, and always warn about all timeouts
  o drivers/net/natsemi.c: comments update

Paul Mackerras <paulus@samba.org>:
  o missed drivers/macintosh bits
  o add hypervisor console for ppc64
  o ppc update for Configure.help
  o add Documentation/powerpc/cpu_features.txt

Petr Vandrovec <vandrove@vc.cvut.cz>:
  o Missing ncpfs bigendianness fix



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 2.4.20-pre11
  2002-10-15 23:10 Linux 2.4.20-pre11 Marcelo Tosatti
@ 2002-10-16  6:53 ` Adrian Bunk
  2002-10-16 10:07 ` Linux 2.4.20-pre11 - UP compile fails Eran Mann
  1 sibling, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2002-10-16  6:53 UTC (permalink / raw)
  To: Marcelo Tosatti, Alan Cox; +Cc: lkml

On Tue, 15 Oct 2002, Marcelo Tosatti wrote:

>...
> Summary of changes from v2.4.20-pre10 to v2.4.20-pre11
> ============================================
>...
> Alan Cox <alan@lxorguk.ukuu.org.uk>:
>...
>   o update the SiS framebuffer
>...

This patch broke the compilation of sis_main.c:

<--  snip  -->

...
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.19-full/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6   -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sis_main  -c -o sis_main.o
sis_main.c
In file included from sis_main.c:67:
sis_main.h:348: parse error before `sisvga_engine'
sis_main.h:348: warning: type defaults to `int' in declaration of
`sisvga_engine'
sis_main.h:348: `UNKNOWN_VGA' undeclared here (not in a function)
sis_main.h:348: warning: data definition has no type or storage class
sis_main.h:363: parse error before `sisfbinfo'
sis_main.h:363: warning: type defaults to `int' in declaration of
`sisfbinfo'
sis_main.h:363: warning: data definition has no type or storage class
...
make[4]: *** [sis_main.o] Error 1
make[4]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.19-full/drivers/video/sis'

<--  snip  -->

line 348 in sis_main.h is:

  VGA_ENGINE sisvga_engine = UNKNOWN_VGA;



cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
                                Pearl S. Buck - Dragon Seed



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 2.4.20-pre11 - UP compile fails
  2002-10-15 23:10 Linux 2.4.20-pre11 Marcelo Tosatti
  2002-10-16  6:53 ` Adrian Bunk
@ 2002-10-16 10:07 ` Eran Mann
  2002-10-16 17:40   ` john stultz
  1 sibling, 1 reply; 4+ messages in thread
From: Eran Mann @ 2002-10-16 10:07 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml, johnstul

2.4.20-pre11 compile with CONFIG_X86_LOCAL_APIC but without 
CONFIG_X86_IO_APIC fails in mpparse.c:
gcc -D__KERNEL__ -I/usr/src/2.4.20/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=mpparse  -c -o mpparse.o mpparse.c
mpparse.c:70: `dest_LowestPrio' undeclared here (not in a function)
make[1]: *** [mpparse.o] Error 1
make[1]: Leaving directory `/usr/src/2.4.20/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

The offending line is:
mpparse.c:70:unsigned char int_delivery_mode = dest_LowestPrio;

This fails because mpparse.c compile depends on CONFIG_X86_LOCAL_APIC 
while dest_LowestPrio definition in include/asm-i386/io_apic.h depends 
on CONFIG_X86_IO_APIC.

Marcelo Tosatti wrote:
> Hi,
> 
> Here goes -pre11 with a lot of misc fixes.
> 
....

> <johnstul@us.ibm.com>:
>   o Cleanup clustered APIC code to allow others to use it
This seems to be the ChangeSet that introduced the failing line:
http://linux.bkbits.net:8080/linux-2.4/cset@1.783


> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


-- 
Eran Mann
Senior Software Engineer
MRV International
Tel: 972-4-9936297
Fax: 972-4-9890430
www.mrv.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 2.4.20-pre11 - UP compile fails
  2002-10-16 10:07 ` Linux 2.4.20-pre11 - UP compile fails Eran Mann
@ 2002-10-16 17:40   ` john stultz
  0 siblings, 0 replies; 4+ messages in thread
From: john stultz @ 2002-10-16 17:40 UTC (permalink / raw)
  To: Eran Mann; +Cc: Marcelo Tosatti, lkml

On Wed, 2002-10-16 at 03:07, Eran Mann wrote:
> 2.4.20-pre11 compile with CONFIG_X86_LOCAL_APIC but without 
> CONFIG_X86_IO_APIC fails in mpparse.c:
[snip] 
> The offending line is:
> mpparse.c:70:unsigned char int_delivery_mode = dest_LowestPrio;
> 
> This fails because mpparse.c compile depends on CONFIG_X86_LOCAL_APIC 
> while dest_LowestPrio definition in include/asm-i386/io_apic.h depends 
> on CONFIG_X86_IO_APIC.

wow. Good catch! Sorry about that, obviously my fault. 

Fix attached. 

thanks
-john

===== arch/i386/kernel/io_apic.c 1.18 vs edited =====
--- 1.18/arch/i386/kernel/io_apic.c	Thu Oct 10 13:13:57 2002
+++ edited/arch/i386/kernel/io_apic.c	Wed Oct 16 10:19:39 2002
@@ -40,6 +40,10 @@
 
 static spinlock_t ioapic_lock = SPIN_LOCK_UNLOCKED;
 
+unsigned int int_dest_addr_mode = APIC_DEST_LOGICAL;
+unsigned char int_delivery_mode = dest_LowestPrio;
+
+
 /*
  * # of IRQ routing registers
  */
===== arch/i386/kernel/mpparse.c 1.10 vs edited =====
--- 1.10/arch/i386/kernel/mpparse.c	Thu Oct 10 13:13:57 2002
+++ edited/arch/i386/kernel/mpparse.c	Wed Oct 16 10:19:50 2002
@@ -66,8 +66,6 @@
 /* Bitmask of physically existing CPUs */
 unsigned long phys_cpu_present_map;
 
-unsigned int int_dest_addr_mode = APIC_DEST_LOGICAL;
-unsigned char int_delivery_mode = dest_LowestPrio;
 unsigned char esr_disable = 0;
 
 /*
===== include/asm-i386/smpboot.h 1.2 vs edited =====
--- 1.2/include/asm-i386/smpboot.h	Thu Oct 10 13:13:57 2002
+++ edited/include/asm-i386/smpboot.h	Wed Oct 16 10:36:44 2002
@@ -26,16 +26,20 @@
 	}
 	return cpu_online_map;
 }
+#ifdef CONFIG_X86_IO_APIC
 extern unsigned char int_delivery_mode;
 extern unsigned int int_dest_addr_mode;
 #define	INT_DEST_ADDR_MODE (int_dest_addr_mode)
 #define	INT_DELIVERY_MODE (int_delivery_mode)
-#else
+#endif /* CONFIG_X86_IO_APIC */
+#else /* CONFIG_X86_LOCAL_APIC */
 #define esr_disable (0)
 #define target_cpus() (0x01)
+#ifdef CONFIG_X86_IO_APIC
 #define INT_DEST_ADDR_MODE (APIC_DEST_LOGICAL)	/* logical delivery */
 #define INT_DELIVERY_MODE (dest_LowestPrio)
-#endif
+#endif /* CONFIG_X86_IO_APIC */
+#endif /* CONFIG_X86_LOCAL_APIC */
 
 #define TRAMPOLINE_LOW phys_to_virt((clustered_apic_mode == CLUSTERED_APIC_NUMAQ)?0x8:0x467)
 #define TRAMPOLINE_HIGH phys_to_virt((clustered_apic_mode == CLUSTERED_APIC_NUMAQ)?0xa:0x469)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-16 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15 23:10 Linux 2.4.20-pre11 Marcelo Tosatti
2002-10-16  6:53 ` Adrian Bunk
2002-10-16 10:07 ` Linux 2.4.20-pre11 - UP compile fails Eran Mann
2002-10-16 17:40   ` john stultz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.