2002-07-09 00:44:20

by Dave Jones

[permalink] [raw]
Subject: Linux 2.5.25-dj1

Resync against latest Linus release, and start folding in some of
the bits that have accumulated whilst I've been at conferences.
I dropped the input layer changes, as the ones in my tree already
are known to be 'almost good'. They should just fall out over time
in the same way as the framebuffer changes.

As usual,..

Patch against 2.5.25 vanilla is available from:
ftp://ftp.kernel.org/pub/linux/kernel/people/davej/patches/2.5/

Merged patch archive: http://www.codemonkey.org.uk/patches/merged/

Check http://www.codemonkey.org.uk/Linux-2.5.html before reporting
known bugs that are also in mainline.

-- Davej.

2.5.25-dj1
o Fix negative memcpy issue in orinoco driver. (Russell King)
o Improvements to i386 machine check handler. (Andi Kleen)
o Fix various bitops to use unsigned long's. (Geert Uytterhoeven)
o Various network driver init_etherdev cleanups. (Crutcher Dunnavant)
o Improved list handling in dcache.c (Matthew Wilcox)
o Convert various i2c drivers to new interface. (Frank Davis,
Albert Cranford)
o Consistent usage of static in keyboard maps. (Keith Owens)
o Various typo fixes in ipsysctl docs. (Edward J. Huff)
o Region handling cleanup in boardergo isdn. (William Stinson)
o Region handling cleanup in baycom hamradio driver. (William Stinson)
o PCI DMA update for roadrunner HIPPI driver. (Francois Romieu)
o RPC recieve cleanup. (Trond Myklebust)
o Fix potential O_DIRECT oops. (Andrew Morton)
o Fix module creation off-by-one's. (Peter Oberparleiter)
o airo, aztcd & sonycd compile fixes. (Martin Dalecki)
o Fix misleading tlb flush comment. (Manik Raina)
o PCI DMA update for tlan (and misc cleanup) (Francois Romieu)
o Cleanup suspend code not to need prototypes. (Pavel Machek)
o Numerous pci_enable_device() cleanups. (Michael G. Janicki)
o Fix garbage in /proc/partitions. (Peter Chubb)
o agpgart compile fix. (Manfred Spraul)
o fatfs crapectomy. (Christoph Hellwig)
o Don't advise to make dep when not needed. (Christoph Hellwig)

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs


2002-07-09 09:38:10

by Duncan Sands

[permalink] [raw]
Subject: Re: Linux 2.5.25-dj1

fs/fs.o: In function `proc_pid_stat':
fs/fs.o(.text+0x1fb72): undefined reference to `__udivdi3'
fs/fs.o: In function `kstat_read_proc':
fs/fs.o(.text+0x20b42): undefined reference to `__udivdi3'
fs/fs.o(.text+0x20bd0): undefined reference to `__udivdi3'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.25-dj1'
make: *** [stamp-build] Error 2

2002-07-09 15:30:42

by Scott M. Hoffman

[permalink] [raw]
Subject: Re: Linux 2.5.25-dj1

On Tue, 9 Jul 2002 at 11:40 +0200 Duncan Sands wrote:

> fs/fs.o: In function `proc_pid_stat':
> fs/fs.o(.text+0x1fb72): undefined reference to `__udivdi3'
> fs/fs.o: In function `kstat_read_proc':
> fs/fs.o(.text+0x20b42): undefined reference to `__udivdi3'
> fs/fs.o(.text+0x20bd0): undefined reference to `__udivdi3'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.5.25-dj1'
> make: *** [stamp-build] Error 2
>


I'm also getting this error. Looking it up on Google points to earlier
problems than 2.5.25, both with binutils and gcc. I've tried binutils
2.11, 2.12 and gcc 2.95.3, 2.96(RH 7.3), and 3.1. No combination seems
to work.


--
Scott M. Hoffman
[email protected]
Running Linux 2.4.18-3smp, up 0 days 17 hours 7 minutes

2002-07-09 15:50:53

by Dave Jones

[permalink] [raw]
Subject: Re: Linux 2.5.25-dj1

On Tue, Jul 09, 2002 at 10:29:59AM -0500, Scott M. Hoffman wrote:

> > fs/fs.o: In function `proc_pid_stat':
> > fs/fs.o(.text+0x1fb72): undefined reference to `__udivdi3'
> > fs/fs.o: In function `kstat_read_proc':
> > fs/fs.o(.text+0x20b42): undefined reference to `__udivdi3'
> > fs/fs.o(.text+0x20bd0): undefined reference to `__udivdi3'
> I'm also getting this error. Looking it up on Google points to earlier
> problems than 2.5.25, both with binutils and gcc. I've tried binutils
> 2.11, 2.12 and gcc 2.95.3, 2.96(RH 7.3), and 3.1. No combination seems
> to work.

It's a clash with the jiffies_to_clock_t stuff that went into 2.5.25,
and the >497 day uptime wrap fix that went into my tree.
I'll put up a -dj2 later today fixing this.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-07-10 06:29:22

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux 2.5.25-dj1



The -dj patch changes three occurances of minor in ixj.c to minor_no:


<-- snip -->

...
- printk("phone%d ioctl, cmd: 0x%x, arg: 0x%lx\n", minor, cmd, arg);
- if (minor >= IXJMAX) {
- clear_bit(board, &j->busyflags);
+ printk("phone%d ioctl, cmd: 0x%x, arg: 0x%lx\n", minor_no, cmd, arg);
+ if (minor_no >= IXJMAX) {
+ clear_bit(board, j->busyflags);
...
- printk("phone%d ioctl end, cmd: 0x%x, arg: 0x%lx\n", minor, cmd, arg);
- clear_bit(board, &j->busyflags);
+ printk("phone%d ioctl end, cmd: 0x%x, arg: 0x%lx\n", minor_no, cmd, arg);
+ clear_bit(board, j->busyflags);
...

<-- snip -->


This causes the following compile error:


<-- snip -->

...
gcc -Wp,-MD,./.phonedev.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.25-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=phonedev -c -o phonedev.o phonedev.c
gcc -Wp,-MD,./.ixj.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.25-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=ixj -c -o ixj.o ixj.c
ixj.c: In function `ixj_ioctl':
ixj.c:6220: `minor_no' undeclared (first use in this function)
ixj.c:6220: (Each undeclared identifier is reported only once
ixj.c:6220: for each function it appears in.)
ixj.c:6204: warning: unused variable `minor'
ixj.c: At top level:
ixj.c:794: warning: `ixj_register' defined but not used
ixj.c:849: warning: `ixj_unregister' defined but not used
make[2]: *** [ixj.o] Error 1
make[2]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.25-full/drivers/telephony'

<-- snip -->


After changing the three minor_no back to minor it compiles.


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox