2002-10-04 23:22:12

by [email protected]

[permalink] [raw]
Subject: 2.5.40 (several issues): kernel BUG! at slab.c:1292, imm/ppa IOMega ZIP drivers modules ".o" not found, XFS won't link, depmod complains on

--- dmesg.2.5.40.first 2002-10-05 01:15:24.000000000 +0200
+++ dmesg.2.5.40.second 2002-10-05 01:15:32.000000000 +0200
@@ -27,7 +27,7 @@
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
-Detected 750.033 MHz processor.
+Detected 750.191 MHz processor.
Console: colour VGA+ 80x50
Calibrating delay loop... 1474.56 BogoMIPS
Memory: 384368k/393136k available (2170k kernel code, 8380k reserved, 1045k data, 116k init, 0k highmem)
@@ -53,10 +53,10 @@
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
-..... CPU clock speed is 749.0879 MHz.
-..... host bus clock speed is 199.0967 MHz.
-cpu: 0, clocks: 199967, slice: 99983
-CPU0<T0:199952,T1:99968,D:1,S:99983,C:199967>
+..... CPU clock speed is 749.0925 MHz.
+..... host bus clock speed is 199.0980 MHz.
+cpu: 0, clocks: 199980, slice: 99990
+CPU0<T0:199968,T1:99968,D:10,S:99990,C:199980>
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
@@ -308,13 +308,13 @@
EIP: 0060:[<c0133f6e>] Not tainted
EFLAGS: 00010002
EIP is at kmalloc+0x18a/0x214
-eax: d756efff ebx: d7feb6a0 ecx: 00000001 edx: 00000001
-esi: d756ee00 edi: 00000000 ebp: 00012800 esp: d7949e54
+eax: d7626fff ebx: d7feb6a0 ecx: 00000001 edx: 00000001
+esi: d7626e00 edi: 00000000 ebp: 00012800 esp: d705be54
ds: 0068 es: 0068 ss: 0068
-Process klogd (pid: 198, threadinfo=d7948000 task=d78af580)
+Process klogd (pid: 188, threadinfo=d705a000 task=d78ae880)
Stack: d7bd8314 c04b2ac0 000001d0 00000000 00000200 00000000 00000246 c02ccf42
- 00000120 000001d0 ffffffe0 d7948000 00000032 c02cc4b4 00000080 000001d0
- d792e200 d719a1e4 d792e084 d7949f04 d7949f5c 00000037 00000000 c02cc640
+ 00000120 000001d0 ffffffe0 d705a000 00000032 c02cc4b4 00000080 000001d0
+ d792f200 d72001e4 d792f084 d705bf04 d705bf5c 00000037 00000000 c02cc640
Call Trace:
[<c02ccf42>]alloc_skb+0xd2/0x19c
[<c02cc4b4>]sock_alloc_send_pskb+0x6c/0x1dc


Attachments:
dmesg.2.5.40.first (15.00 kB)
dmesg.2.5.40.diff (2.03 kB)
Download all attachments

2002-10-05 01:12:53

by Petr Vandrovec

[permalink] [raw]
Subject: Re: 2.5.40 (several issues): kernel BUG! at slab.c:1292, imm/ppa IOMega ZIP drivers modules ".o" not found, XFS won't link, depmod complains on

On Sat, Oct 05, 2002 at 01:27:30AM +0200, [email protected] wrote:
> I just downloaded the linux-2.5.40 tarball.
> FAT: Using codepage cp437
> FAT: Using IO charset iso8859-1
> FAT: Using codepage cp437
> FAT: Using IO charset iso8859-1
> FAT: Using codepage cp437
> FAT: Using IO charset iso8859-1
> Adding 262136k swap on /swapfile. Priority:-2 extents:519
> ------------[ cut here ]------------
> kernel BUG at slab.c:1292!
> invalid operand: 0000

It is probably time to send it to Linus once more...
Petr Vandrovec

diff -urdN linux/fs/fat/inode.c linux/fs/fat/inode.c
--- linux/fs/fat/inode.c 2002-10-05 00:55:46.000000000 +0200
+++ linux/fs/fat/inode.c 2002-10-05 01:00:15.000000000 +0200
@@ -228,8 +228,6 @@
save = 0;
savep = NULL;
while ((this_char = strsep(&options,",")) != NULL) {
- if (!*this_char)
- continue;
if ((value = strchr(this_char,'=')) != NULL) {
save = *value;
savep = value;
@@ -351,7 +349,7 @@
strncpy(cvf_options,value,100);
}

- if (this_char != options) *(this_char-1) = ',';
+ if (options) *(options-1) = ',';
if (value) *savep = save;
if (ret == 0)
break;
diff -urdN linux/fs/vfat/namei.c linux/fs/vfat/namei.c
--- linux/fs/vfat/namei.c 2002-10-05 00:56:02.000000000 +0200
+++ linux/fs/vfat/namei.c 2002-10-05 01:00:15.000000000 +0200
@@ -117,8 +117,6 @@
savep = NULL;
ret = 1;
while ((this_char = strsep(&options,",")) != NULL) {
- if (!*this_char)
- continue;
if ((value = strchr(this_char,'=')) != NULL) {
save = *value;
savep = value;
@@ -154,8 +152,8 @@
else
ret = 0;
}
- if (this_char != options)
- *(this_char-1) = ',';
+ if (options)
+ *(options-1) = ',';
if (value) {
*savep = save;
}

2002-10-05 09:40:53

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.5.40 (several issues): kernel BUG! at slab.c:1292, imm/ppa IOMegaZIP drivers modules ".o" not found, XFS won't link, depmod complains on

On Sat, 5 Oct 2002, [email protected] wrote:

> I just downloaded the linux-2.5.40 tarball.
>
> The kernel was built and tested on a box running Debian Unstable (refreshed today).
> I had four (five if you include ALSA breaking make menuconfig) issues.
>
> - the kernel wouldn't link with XFS enabled due to some
> unreferenced symbols ("run_task_queue", etc).

AFAIR fixed in Linus' BK tree.

> - configuring for the SCSI IOMega Parallel port drivers as modules,
> make modules_install fails as the 'imm.o' and 'ppa.o' files
> are missing. (i just 'touch'ed these files to get
> "make modules_install" to continue)
>
> - make modules_install runs depmod which fails with
> depmod: cannot read ELF header from /lib/modules/2.5.40/kernel/drivers/scsi/imm.o
> depmod: cannot read ELF header from /lib/modules/2.5.40/kernel/drivers/scsi/ppa.o

The problem that was causing it is that "make modules" didn't stop when
the compilation of imm.c and ppa.c failed. The bug in the build system and
the compilation of these two files are fixed in Linus' BK tree.

> depmod: *** Unresolved symbols in
> /lib/modules/2.5.40/kernel/drivers/usb/input/usbkbd.o
> depmod: usb_kbd_free_buffers
>...

Already fixed in Linus' BK tree.


Please wait for 2.5.41 and check whether any problems will be present in
this kernel.


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