2001-12-18 21:43:43

by Marcelo Tosatti

[permalink] [raw]
Subject: Linux 2.4.17-rc2


Hi,

So here it goes 2.4.17-rc2... as expected, bugfixes only.

rc2:

- Fix potential oops with via-rhine (Andrew Morton)
- sysvfs: mark inodes as bad in case of read
failure (Christoph Hellwig)
- NTFS bugfixes (Anton Altaparmakov)
- Fix Netfilter oops (Edward Killips)
- Direct IO error handling fix (Masaroni Goto)
- Fix loop device deadlock (Andrea Arcangeli)
- Make some erroneously global spinlocks
static (David C. Hansen)
- Avoid i810 driver from oopsing with 830ME (Robert Love)
- Reiserfs fixes (Oleg Drokin/Chris Mason)
- Fix VM "not-swapping" issue with lowmem
machines (Rik van Riel)
- Make kernel try a bit harder to shrink caches
instead swapping out (me)
- Make NCR5380 compile builtin (Erik Andersen)
- More __devexit_p fixes (Daniel T. Chen)
- devfs bugfixes (Richard Gooch)

rc1:

- Finish MODULE_LICENSE fixups for fs/nls (Mark Hymers)
- Console race fix (Andrew Morton/Robert Love)
- Configure.help update (Eric S. Raymond)
- Correctly fix Direct IO bug (Linus Benedict Torvalds)
- Turn off aacraid debugging (Alan Cox)
- Added missing spinlocking in do_loopback() (Alexander Viro)
- Added missing __devexit_p() in i82092
pcmcia driver (Keith Owens)
- ns83820 zerocopy bugfix (Benjamin LaHaise)
- Fix VM problems where cache/buffers didn't get
freed (me)

pre8:

- ext3 quota fix (Neil Brown)
- Add __devexit_p() to ISDN driver (Kai Germaschewski)
- Declare missing function on fdomain.h (Eyal Lebedinsky)
- Add Sony Vaio PCG-Z600NE to broken APM
reporting blacklist (Kai Germaschewski)
- ns83820 driver update (Benjamin LaHaise)
- pas16 driver cleanup (Alan Cox)
- disable console flush on secondary CPUs on
IA64 (Andrew Morton)
- fix typo on parport's ChangeLog (Tim Waugh)
- fix use count for multiple queued requests on
closed fd (Douglas Gilbert)
- Check return value of get_user() on
set_vesa_blanking (Jeff Garzik)
- Remove asm/segment.h include from nbd (Jeff Garzik)
- Guard sysrq.h against multiple inclusion (Jeff Garzik)
- Minor PCI skeleton changes (Jeff Garzik)
- Add via rhine MMIO to Configure.help (Jeff Garzik)
- Jeff Garzik is not the via82cxxx driver
maintainer anymore: "No time, no hardware". (Jeff Garzik)
- Remove old tulip documentation (Jeff Garzik)
- Avoid direct IO's "misunderstanding" of which
block device it should use (Masanori Goto)
- Remove mcheck_init() call from processor
dependant code and put it in unified codepath (Dave Jones)
- Netfilter bugfixes (Harald Welte)


pre7:

- More USB updates (Greg KH)
- Add missing checks on shmat() (Christoph Rohland)
- ymfpci update (Pete Zaitcev)
- Add aacraid driver (Alan Cox)
- Actually apply some of the Alan's changes
which were on pre6 changelog. (silly me)
- Clean up t128 SCSI driver (Alan Cox)
- Clean up dtc SCSI driver (Alan Cox)
- Undo lcall patch from -pre6 (me)
- More ISDN updates (Kai Germaschewski)

pre6:

- ISDN fixes (Kai Germaschewski)
- Eicon driver updates (Kai Germaschewski)
- ymfpci update (Pete Zaitcev)
- Fix multithread coredump deadlock (Manfred Spraul)
- Support /dev/kmem access to vmalloc space (Marc Boucher)
- ext3 fixes/enhancements (Andrew Morton)
- Add IT8172G driver to Config.in/Makefile (Giacomo Catenazzi)
- Configure.help update (Eric S. Raymond)
- Create __devexit_p() function and use that on
drivers which need it to make it possible to
use newer binutils (Keith Owens)
- Make PCMCIA compile without PCI support (Paul Mackerras)
- Use copy_user_highpage instead copy_highpage
on COW path. (David S. Miller)
- Cacheline align some more performance
critical spinlocks (Anton Blanchard)
- sonypi driver update (Michael C.B. Ashley/Bob Donnelly)
- direct render for some SiS cards (Torsten Duwe/Alan Cox)
- full handling of the NFSv3 'jukebox' feature (Trond Myklebust)
- NFS performance improvements (Trond Myklebust)
- More parport fixes (Tim Waugh)
- Fix lots of core NCR5380 bugs (Alan Cox)
- NCR5380/PAS driver update (Alan Cox)
- Add aacraid to the SCSI list (Alan Cox)
- fdomain driver fixes (Alan Cox)

pre5:

- 8139too fixes (Andreas Dilger)
- sym53c8xx_2 update (Gerard Roudier)
- loopback deadlock bugfix (Jan Kara)
- Yet another devfs update (Richard Gooch)
- Enable K7 SSE (John Clemens)
- Make grab_cache_page return NULL instead
ERR_PTR: callers expect NULL on failure (Christoph Hellwig)
- Make ide-{disk-floppy} compile without
PROCFS support (Robert Love)
- Another ymfpci update (Pete Zaitcev)
- indent NCR5380.{c,h}, g_NCR5380.{c,h}, plus
NCR5380 fix (Alan Cox)
- SPARC32/64 update (David S. Miller)
- Fix atyfb warnings (David S. Miller)
- Make bootmem init code correctly align
bootmem data (David S. Miller)
- Networking updates (David S. Miller)
- Fix scanning luns > 7 on SCSI-3 devices (Michael Clark)
- Add sparse lun hint for Chaparral G8324
Fibre-SCSI controller (Michael Clark)
- Really apply sg changes (me)
- Parport updates (Tim Waugh)
- ReiserFS updates (Vladimir V. Saveliev)
- Make AGP code scan all kinds of devices:
they are not always video ones (Alan Cox)
- EXPORT_NO_SYMBOLS in floppy.c (Alan Cox)
- Pentium IV Hyperthreading support (Alan Cox)

pre4:

- Added missing tcp_diag.c and tcp_diag.h (me)

pre3:

- Enable ppro errata workaround (Dave Jones)
- Update tmpfs documentation (Christoph Rohland)
- Fritz!PCIv2 ISDN card support (Kai Germaschewski)
- Really apply ymfpci changes (Pete Zaitcev)
- USB update (Greg KH)
- Adds detection of more eepro100 cards (Troy A. Griffitts)
- Make ftruncate64() compliant with SuS (Andrew Morton)
- ATI64 fb driver update (Geert Uytterhoeven)
- Coda fixes (Jan Harkes)
- devfs update (Richard Gooch)
- Fix ad1848 breakage in -pre2 (Alan Cox)
- Network updates (David S. Miller)
- Add cramfs locking (Christoph Hellwig)
- Move locking of page_table_lock on expand_stack
before accessing any vma field (Manfred Spraul)
- Make time monotonous with gettimeofday (Andi Kleen)
- Add MODULE_LICENSE(GPL) to ide-tape.c (Mikael Pettersson)
- Minor cs46xx ioctl fix (Thomas Woller)

pre2:

- Remove userland header from bonding driver (David S. Miller)
- Create a SLAB for page tables on i386 (Christoph Hellwig)
- Unregister devices at shaper unload time (David S. Miller)
- Remove several unused variables from various
places in the kernel (David S. Miller)
- Fix slab code to not blindly trust cc_data():
it may be not valid on some platforms (David S. Miller)
- Fix RTC driver bug (David S. Miller)
- SPARC 32/64 update (David S. Miller)
- W9966 V4L driver update (Jakob Jemi)
- ad1848 driver fixes (Alan Cox/Daniel T. Cobra)
- PCMCIA update (David Hinds)
- Fix PCMCIA problem with multiple PCI busses (Paul Mackerras)
- Correctly free per-process signal struct (Dave McCracken)
- IA64 PAL/signal headers cleanup (Nathan Myers)
- ymfpci driver cleanup (Pete Zaitcev)
- Change NLS "licenses" to be "GPL/BSD" instead
only BSD. (Robert Love)
- Fix serial module use count (Russell King)
- Update sg to 3.1.22 (Douglas Gilbert)
- ieee1394 update (Ben Collins)
- ReiserFS fixes (Nikita Danilov)
- Update ACPI documentantion (Patrick Mochel)
- Smarter atime update (Andrew Morton)
- Correctly mark ext2 sb as dirty and sync it (Andrew Morton)
- IrDA update (Jean Tourrilhes)
- Count locked buffers at
balance_dirty_state(): Helps interactivity under
heavy IO workloads (Andrew Morton)
- USB update (Greg KH)
- ide-scsi locking fix (Christoph Hellwig)

pre1:

- Change USB maintainer (Greg Kroah-Hartman)
- Speeling fix for rd.c (From Ralf Baechle's tree)
- Updated URL for bigphysmem patch in v4l docs (Adrian Bunk)
- Add buggy 440GX to broken pirq blacklist (Arjan Van de Ven)
- Add new entry to Sound blaster ISAPNP list (Arjan Van de Ven)
- Remove crap character from Configure.help (Niels Kristian Bech Jensen)
- Backout erroneous change to lookup_exec_domain (Christoph Hellwig)
- Update osst sound driver to 1.65 (Willem Riede)
- Fix i810 sound driver problems (Andris Pavenis)
- Add AF_LLC define in network headers (Arnaldo Carvalho de Melo)
- block_size cleanup on some SCSI drivers (Erik Andersen)
- Added missing MODULE_LICENSE("GPL") in some (Andreas Krennmair)
modules
- Add ->show_options() to super_ops and
implement NFS method (Alexander Viro)
- Updated i8k driver (Massimo Dal Zoto)
- devfs update (Richard Gooch)



2001-12-19 14:09:08

by Masaru Kawashima

[permalink] [raw]
Subject: reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hi,

On Tue, 18 Dec 2001 18:26:03 -0200 (BRST)
Marcelo Tosatti <[email protected]> wrote:

> - Reiserfs fixes (Oleg Drokin/Chris Mason)

There is still reiserfs remount problem with 2.4.17-rc2.

ksymoops 2.4.1 on i686 2.4.17-rc2. Options used
-V (default)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.4.17-rc2/ (default)
-m /usr/src/linux/System.map (default)

No modules in ksyms, skipping objects
No ksyms, skipping lsmod
CPU: 0
EIP: 0010:[<c0159f54>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: 00000003 ebx: 00000003 ecx: 00000000 edx: 00000000
esi: df81b048 edi: df81b000 ebp: 00001000 esp: df829b08
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 119, stackpage=df829000)
Stack: 00000006 df6468c0 df829d3c 00000000 c17e2b80 c0122223 08056c54 dfb80440
00000001 df97bf20 c01222d9 dfb80440 dfef8c00 dfef8c00 00000003 00000000
00000000 c17e0680 00000001 00000000 00000002 00000000 00000000 df829bb4
Call Trace: [<c0122223>] [<c01222d9>] [<c015a2dd>] [<c015a0ba>] [<c0132b15>]
[<c0124566>] [<c0133206>] [<c015a0a4>] [<c015c2db>] [<c015a0a4>] [<c015c3c8>]
[<c0163b2e>] [<c016191b>] [<c01621b5>] [<c0135372>] [<c01440d5>] [<c0144365>]
[<c0144224>] [<c0144444>] [<c0106d73>]
Code: 0f 0b 83 7c 24 58 00 75 13 8b 46 08 89 44 24 48 c7 44 24 4c

>>EIP; c0159f54 <_get_block_create_0+748/85c> <=====
Trace; c0122223 <do_no_page+137/190>
Trace; c01222d9 <handle_mm_fault+5d/c0>
Trace; c015a2dd <reiserfs_get_block+10d/eac>
Trace; c015a0ba <reiserfs_get_block_create_0+16/1c>
Trace; c0132b15 <__block_prepare_write+f5/23c>
Trace; c0124566 <find_or_create_page+c6/dc>
Trace; c0133206 <block_prepare_write+22/5c>
Trace; c015a0a4 <reiserfs_get_block_create_0+0/1c>
Trace; c015c2db <grab_tail_page+8b/128>
Trace; c015a0a4 <reiserfs_get_block_create_0+0/1c>
Trace; c015c3c8 <reiserfs_truncate_file+50/1b0>
Trace; c0163b2e <reiserfs_warning+1e/24>
Trace; c016191b <finish_unfinished+25b/2e4>
Trace; c01621b5 <reiserfs_remount+141/150>
Trace; c0135372 <do_remount_sb+a6/d4>
Trace; c01440d5 <do_remount+75/a0>
Trace; c0144365 <do_mount+f1/14c>
Trace; c0144224 <copy_mount_options+50/a0>
Trace; c0144444 <sys_mount+84/c4>
Trace; c0106d73 <system_call+33/38>
Code; c0159f54 <_get_block_create_0+748/85c>
00000000 <_EIP>:
Code; c0159f54 <_get_block_create_0+748/85c> <=====
0: 0f 0b ud2a <=====
Code; c0159f56 <_get_block_create_0+74a/85c>
2: 83 7c 24 58 00 cmpl $0x0,0x58(%esp,1)
Code; c0159f5b <_get_block_create_0+74f/85c>
7: 75 13 jne 1c <_EIP+0x1c> c0159f70 <_get_block_create_0+764/85c>
Code; c0159f5d <_get_block_create_0+751/85c>
9: 8b 46 08 mov 0x8(%esi),%eax
Code; c0159f60 <_get_block_create_0+754/85c>
c: 89 44 24 48 mov %eax,0x48(%esp,1)
Code; c0159f64 <_get_block_create_0+758/85c>
10: c7 44 24 4c 00 00 00 movl $0x0,0x4c(%esp,1)
Code; c0159f6b <_get_block_create_0+75f/85c>
17: 00

Thanks.
--
Masaru Kawashima <[email protected]>

2001-12-19 14:27:09

by Oleg Drokin

[permalink] [raw]
Subject: Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hello!

On Wed, Dec 19, 2001 at 11:08:12PM +0900, Masaru Kawashima wrote:

> > - Reiserfs fixes (Oleg Drokin/Chris Mason)

> There is still reiserfs remount problem with 2.4.17-rc2.
Hmmm.
Few things needs to be verified:
Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version
Try to boot of different media (rescue disk/CD) and run resiserfsck on your root partition,
is there any errors? If yes - then fix them (with reiserfsck --rebuild-tree probably),
and try to boot off your root disk again.
Remember to read FAQ entry on reiserfsck --rebuild-tree on namesys.com web site.

> >>EIP; c0159f54 <_get_block_create_0+748/85c> <=====
> 00000000 <_EIP>:
> Code; c0159f54 <_get_block_create_0+748/85c> <=====
> 0: 0f 0b ud2a <=====
Ok, so it is this code in _get_block_create_0:
if (!is_direct_le_ih (ih)) {
BUG ();
}
Hm.
Is your root partition big?
I want to look at it is that's possible.
At least at the metadata (reiserfsutils contains tools to extract metadata from disk drive,
if you'd extract such metadata and send it to me before you run reiserfsck - that would be great)

Thank you.

Bye,
Oleg

2001-12-19 14:52:42

by Masaru Kawashima

[permalink] [raw]
Subject: Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hi,

On Wed, 19 Dec 2001 17:26:44 +0300
Oleg Drokin <[email protected]> wrote:

> Hello!
>
> On Wed, Dec 19, 2001 at 11:08:12PM +0900, Masaru Kawashima wrote:
>
> > > - Reiserfs fixes (Oleg Drokin/Chris Mason)
>
> > There is still reiserfs remount problem with 2.4.17-rc2.
> Hmmm.
> Few things needs to be verified:
> Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version

It's 3.6 format.

# cat /proc/fs/reiserfs/version
ReiserFS version 3.6.25 [built into kernel]
# cat /proc/fs/reiserfs/*/version
new format with checks off
new format with checks off
new format with checks off
new format with checks off
new format with checks off

> Try to boot of different media (rescue disk/CD) and run resiserfsck on your root partition,
> is there any errors?

I've tried reiserfsck with booting from spare root partition
formatted with ext3. But there was no errors.

> Is your root partition big?

Yes. It's 85GB. And it's on a software raid (raid0) partition.

> I want to look at it is that's possible.
> At least at the metadata (reiserfsutils contains tools to extract metadata from disk drive,
> if you'd extract such metadata and send it to me before you run reiserfsck - that would be great)

--
Masaru Kawashima <[email protected]>

2001-12-19 15:01:32

by Oleg Drokin

[permalink] [raw]
Subject: Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hello!

On Wed, Dec 19, 2001 at 11:52:03PM +0900, Masaru Kawashima wrote:

> > > > - Reiserfs fixes (Oleg Drokin/Chris Mason)
> > > There is still reiserfs remount problem with 2.4.17-rc2.
> > Hmmm.
> > Few things needs to be verified:
> > Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version
> It's 3.6 format.
> # cat /proc/fs/reiserfs/*/version
> new format with checks off
Hm. You said you are running 2.4.17-rc2, this is output from older kernel.
Or do you mean it is only 2.4.17-rc2 that cannot remount root read-write?

> I've tried reiserfsck with booting from spare root partition
> formatted with ext3. But there was no errors.
Hm.

> > Is your root partition big?
> Yes. It's 85GB. And it's on a software raid (raid0) partition.
Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
and tell me you reiserfsutils version.

Also were there any reiserfs specific error messages prior to the oops?

Bye,
Oleg

2001-12-19 15:21:56

by Masaru Kawashima

[permalink] [raw]
Subject: Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hi,

> > # cat /proc/fs/reiserfs/*/version
> > new format with checks off
> Hm. You said you are running 2.4.17-rc2, this is output from older kernel.
> Or do you mean it is only 2.4.17-rc2 that cannot remount root read-write?

Yes, the cat output was from 2.4.16. Kernels before -rc1 can remount
this root partition without errors.

> Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
> and tell me you reiserfsutils version.

Ok, I'll try that tomorrow.
(In Japan, it's midnight. I want to go to sleep now.)

> Also were there any reiserfs specific error messages prior to the oops?

There was no error message from reiserfs.

Thank you.

--
Masaru Kawashima <[email protected]>

2001-12-19 15:26:37

by Oleg Drokin

[permalink] [raw]
Subject: Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)

Hello!

On Thu, Dec 20, 2001 at 12:21:17AM +0900, Masaru Kawashima wrote:

> > Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
> > and tell me you reiserfsutils version.
> Ok, I'll try that tomorrow.
> (In Japan, it's midnight. I want to go to sleep now.)
Good night, then.

> > Also were there any reiserfs specific error messages prior to the oops?
> There was no error message from reiserfs.
This is suspicious, because there is reiserfs_warning call in call trace you've sent us.

Bye,
Oleg

2001-12-19 16:00:52

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2



On Tue, 18 Dec 2001, Jeff Garzik wrote:

> Marcelo Tosatti wrote:
> > - Make some erroneously global spinlocks
> > static (David C. Hansen)
>
> This is a release-candidate patch??? Looks like cleanup to me.

Jeff,

This patch is obviously correct and it cant break anything.

> > - More __devexit_p fixes (Daniel T. Chen)
>
> This patch is 100% wrong. The hardware is question is not hotplug
> hardware, so therefore should not be marked with __devexit. I strongly
> urge that you revert this patch... none of the affected drivers could
> be called popular at any rate.

Agreed. I'll remove it.


2001-12-19 17:57:42

by Matthias Andree

[permalink] [raw]
Subject: Linux 2.4.17-rc2: highmem breaks loop, affs

On Tue, 18 Dec 2001, Marcelo Tosatti wrote:

> So here it goes 2.4.17-rc2... as expected, bugfixes only.

A Highmem (4G) enabled kernel breaks loop and affs, without Highmem, it
is ok (SMP enabled kernel, 1 GB RAM):

depmod: *** Unresolved symbols in /lib/modules/2.4.17-rc2/kernel/drivers/block/loop.o
depmod: kunmap_high
depmod: create_bounce
depmod: highmem_start_page
depmod: kmap_high
depmod: *** Unresolved symbols in /lib/modules/2.4.17-rc2/kernel/fs/affs/affs.o
depmod: kunmap_high
depmod: highmem_start_page
depmod: kmap_high

I can provide a .config if needed.

2001-12-20 10:58:34

by Rasmus Andersen

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2

On Tue, Dec 18, 2001 at 06:26:03PM -0200, Marcelo Tosatti wrote:
>
> Hi,
>
> So here it goes 2.4.17-rc2... as expected, bugfixes only.


Hi.

Due to the (hideous) construct of multiple drivers in drivers/scsi
doing #include "NCR5380.c", we need the following patch to make
NCR5380_timer_fn static.

--- linux-2417r2/drivers/scsi/NCR5380.c.old Thu Dec 20 11:50:43 2001
+++ linux-2417r2/drivers/scsi/NCR5380.c Thu Dec 20 11:45:48 2001
@@ -612,7 +612,7 @@
* Locks: disables irqs, takes and frees io_request_lock
*/

-void NCR5380_timer_fn(unsigned long unused)
+static void NCR5380_timer_fn(unsigned long unused)
{
struct Scsi_Host *instance;


--
Rasmus([email protected])

If at first you don't succeed, chainsaw juggling is not for you.
-- Anonymous

2001-12-20 12:45:00

by Rasmus Andersen

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2

Ugh. Forgot l-k.

----- Forwarded message from Rasmus Andersen <[email protected]> -----

On Tue, Dec 18, 2001 at 06:26:03PM -0200, Marcelo Tosatti wrote:
>
> Hi,
>
> So here it goes 2.4.17-rc2... as expected, bugfixes only.

Hi again.

Compiling rc2 I get the following:

make[1]: Leaving directory `/home/rasmus/kernel/linux-2417r2/arch/i386/math-emu'
gcc -D__KERNEL__ -I/home/rasmus/kernel/linux-2417r2/include -e stext arch/i386/vmlinux.lds.S -o arch/i386/vmlinux.lds
/tmp/ccJtVuFa.s: Assembler messages:
/tmp/ccJtVuFa.s:2: Error: invalid character '_' in mnemonic
/tmp/ccJtVuFa.s:3: Error: invalid character '_' in mnemonic
/tmp/ccJtVuFa.s:4: Error: no such instruction: `sections'
/tmp/ccJtVuFa.s:5: Error: Rest of line ignored. First ignored character is `{'.
/tmp/ccJtVuFa.s:8: Fatal error: Symbol .text already defined.
make: *** [arch/i386/vmlinux.lds] Error 1

gcc is 2.96-85 from RH. as is 2.10.90. config is largish (and I
am clueless wrt. particular sections of interest) so it can
be gotten at http://www.jaquet.dk/kernel/2417rc2-config

--
Regards,
Rasmus([email protected])

Even if you're on the right track, you'll get run over if you just sit there.
-- Will Rogers

----- End forwarded message -----

2001-12-20 14:15:31

by Keith Owens

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2

On Thu, 20 Dec 2001 13:44:33 +0100,
Rasmus Andersen <[email protected]> wrote:
>Compiling rc2 I get the following:
>
>make[1]: Leaving directory `/home/rasmus/kernel/linux-2417r2/arch/i386/math-emu'
>gcc -D__KERNEL__ -I/home/rasmus/kernel/linux-2417r2/include -e stext arch/i386/vmlinux.lds.S -o arch/i386/vmlinux.lds

-rc2 does not have arch/i386/vmlinux.lds.S, only arch/i386/vmlinux.lds.
You have picked up vmlinux.lds.S from somewhere and it is confusing
make.

2001-12-20 18:33:29

by Maciek Nowacki

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2 -- unresolved symbols

Hi,

Compiling everything as modules yields some unresolved symbols (UP):

depmod: *** Unresolved symbols in modules/kernel/drivers/net/wan/comx.o
depmod: *** Unresolved symbols in modules/kernel/fs/binfmt_elf.o

(binfmt_elf compiled as module since Christian Koenig's multiboot patches
theoretically allow this.. but I can't really test :-( )

More info (.config, ...?) available upon request.

Maciek

2001-12-20 21:30:20

by Rasmus Andersen

[permalink] [raw]
Subject: Re: Linux 2.4.17-rc2

On Tue, Dec 18, 2001 at 06:26:03PM -0200, Marcelo Tosatti wrote:
>
> Hi,
>
> So here it goes 2.4.17-rc2... as expected, bugfixes only.

Hi.

I get the following error during kernel linking when compiling
with CONFIG_SERIAL=m and CONFIG_SERIAL_ACPI=y (at least, thats
my guess. .config snippet below).

drivers/char/char.o: In function `setup_serial_acpi':
drivers/char/char.o(.text.init+0x10fb): undefined reference to `early_serial_setup'
gmake: *** [vmlinux] Error 1


I would provide a patch but can't :)


#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
CONFIG_SERIAL_ACPI=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
CONFIG_SERIAL_SHARE_IRQ=y
CONFIG_SERIAL_DETECT_IRQ=y
CONFIG_SERIAL_MULTIPORT=y
CONFIG_HUB6=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_COMPUTONE=m

--
Regards,
Rasmus([email protected])