PROBLEM: Using initrd loaded from syslinux causes oops during boot

PROBLEM: Using initrd loaded from syslinux causes oops during boot

Post by Mark Robso » Mon, 07 Oct 2002 18:30:08



[1.]  Booting from floppy with syslinux and loading a ramdisk image causes an
oops during boot
[2.]
I'm testing kernel 2.5.40 for a single floppy mini-distro which uses initrd.

I get an oops happening on boot, just after
RAMDISK: Compressed image found at block 0

[3.] ramdisk initrd syslinux

[4.] stock kernel version 2.5.40 (cannot boot the system to cat /proc/version)

[5.] Output of Oops.. message

I can't copy the entire oops message here because it's a lot of typing.
Needless to say, the message is

Unable to handle NULL pointer deference at address 00000000

eip = c0107b8d <__down+5d/e0>

call stack
c0113210 <default_wake_function+0/40>
c0107d5c <__down_failed+8/c>
c016a7cd <.text.lock.util+7d/90>
c0157ffe <devfs_remove_partitions+8e/a0>
c015841d <del_gendisk+1d/40>
c0195149 <initrd_release+19/50>
c013632b <__fput+2b/e0>
c0108c37 <syscall_call+7/b>
c0134dfd <filp_close+4d/60>
c0134e55 <sys_close+45/60>
c0108c37 <syscall_call+7/b>
c0105341 <prepare_namespace+b1/130>
c0105030 <init+0/160>
c0105056 etc
c0105030 etc
c0107025 etc

I've resolved most of the symbols so I hope it's clear where the error is
occuring (I'm not an expert at kernel debugging)

[6.] A small shell script or example program which triggers the problem:

Booting triggers the problem.

The syslinux config is:

KERNEL linux
APPEND initrd=rdimage vga=1 rw

[7.1.] Software (add the output of the ver_linux script here)
Can't boot to run ver_linux

syslinux 1.63 if that makes a difference.

[7.2.] Processor information (from /proc/cpuinfo):
Can't boot to cat /proc/cpuinfo (could go back to an old kernel, I know).
It's a Pentium-classic 133Mhz

[7.3.] Module information (from /proc/modules):
Modules not enabled in the kernel config

I hope this offers sufficient information to be useful.

Regards,
        Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. [2.5.59{,-mm6}] [modules] Inserting modules during boot causes oops

The last kernel I tried was 2.5.56 which works fine. This oops occurs in 2.5.59
and 2.5.59-mm6.

Using modutils 0.9.8 from Debian sid.

Unable to handle kernel paging request at virtual address eb80c025
 printing eip:
c01279a1
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0060:[<c01279a1>]    Not tainted
EFLAGS: 00010093
EIP is at __find_symbol+0x3d/0x78
eax: c024bce2   ebx: c8ccef07   ecx: 00000000   edx: c02d4e80
esi: eb80c025   edi: c8ccef07   ebp: 000005a5   esp: c77f5ec8
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 50, threadinfo=c77f4000 task=c13ef2a0)
Stack: c77f4000 c8cccfe4 c8cd0420 c8cb066c c012837b c8ccef07 c77f5ef4 00000001
       c8ccc2e4 c8cccfe4 000001b8 00000046 c01285ad c8cb066c 0000001c c8cccfe4
       c8ccef07 c8cd0420 0000001e c8ca0000 c8cb066c c8cd0420 00000000 00000288
Call Trace:
 [<c012837b>] resolve_symbol+0x2b/0x68
 [<c01285ad>] simplify_symbols+0x81/0xe4
 [<c0128e34>] load_module+0x5cc/0x7f4
 [<c01290bb>] sys_init_module+0x5f/0x1a4
 [<c0108a43>] syscall_call+0x7/0xb

Code: ac ae 75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 75 0e
 <6>note: modprobe[50] exited with preempt_count 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. pppd routing.......

3. syslinux+2.2.19pre9 "oops at Kernel Boot time"

4. IPV6 ICMP and Raw socket queries

5. PROBLEM: Oops during high ide io loads.

6. many link warnings

7. Can't load root disk using SYSLINUX and 2.4.5 kernel

8. ping -f on slow link

9. Loading and executing kernel from a non-standard address using SYSLINUX

10. What is the script file Linux used to load device dirver during boot time?

11. initrd and /boot/vmLinuz: is the /boot kernel used?

12. 2.5.68 oops booting with initrd

13. 2.4.14 Oops during boot (KT133A Problem?)