I can't boot with the kernel in kernel-2.4.21.2mdk-1-1mdk.i586.rpm.  I've also 
tried compiling from the source, and have the same result (surprise).  I also 
tried removing the EFI partition support; then it bombs out 
msdos_partition().

There's a kernel panic during the partition check.

I can boot the kernel in kernel-2.4.21.0.18mdk-1-1mdk.i586.rpm, and the 
original 9.1 kernel (linux-2.4.21-0.13mdk), and a stock 2.4.21 kernel I've 
built with source from kernel.org.

I've attached two files, one with a trace from the bad boot, and the other 
with a trace from a successful boot with 2.4.21.0.18mdk.

Is this a bug, or am I doing something wrong?

Thanks.
Linux version 2.4.21-2mdk ([EMAIL PROTECTED]) (gcc version 3.3 (Mandrake Linux 9.2 
3.3-2mdk)) #1 Tue Jul 1 02:47:42 CEST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff8000 (ACPI data)
 BIOS-e820: 0000000007ff8000 - 0000000008000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=2421-2 ro root=341 devfs=mount acpi=off 
console=ttyS1,9600 console=tty0
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 1300.042 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2595.22 BogoMIPS
Memory: 122080k/131008k available (1437k kernel code, 8540k reserved, 1151k data, 140k 
init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1299.9916 MHz.
..... host bus clock speed is 199.9987 MHz.
cpu: 0, clocks: 1999987, slice: 999993
CPU0<T0:1999984,T1:999984,D:7,S:999993,C:1999987>
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030522
ACPI: Disabled via command line (acpi=off)
PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3074] at 00:11.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x1
vesafb: framebuffer at 0xd0000000, mapped to 0xc8800000, size 1875k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:c1a0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ 
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:pio
hda: ST310212A, ATA DISK drive
hdb: ST310211A, ATA DISK drive
blk: queue c07d6c60, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c07d6d9c, I/O limit 4095Mb (mask 0xffffffff)
hdc: CDU5211, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 20005650 sectors (10243 MB) w/512KiB Cache, CHS=1245/255/63, UDMA(66)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 19541088 sectors (10005 MB) w/512KiB Cache, CHS=1216/255/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target0/lun0:<1>Unable to handle kernel NULL pointer dereference 
at virtual address 000000b0
 printing eip:
c013c549
*pde = 00000000
Oops: 0000
 
CPU:    0
EIP:    0010:[<c013c549>]    Not tainted
EFLAGS: 00010202
EIP is at delta_nr_cache_pages+0x19/0x60 [kernel]
eax: 000000c7   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: 00000001   edi: c7fa82d8   ebp: c7f8f2e8   esp: c117bd00
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=c117b000)
Stack: c115e1dc c7fa82d8 c0135861 c117bd14 00000001 c115e1dc c0136178 c115e1dc 
       c115e1dc c01390a8 c115e1dc c7f8f2e8 00000000 c7fa82d8 c0149700 00000000 
       c7f8f2e8 00000000 c01385d9 c7f8f2e8 00000000 c0149700 00000000 00000008 
Call Trace:
 [<c0135861>] add_page_to_hash_queue+0x41/0x50 [kernel]
 [<c0136178>] add_to_page_cache_unique+0x68/0x80 [kernel]
 [<c01390a8>] __read_cache_page+0x88/0xd0 [kernel]
 [<c0149700>] blkdev_readpage+0x0/0x20 [kernel]
 [<c01385d9>] read_cache_page+0x49/0x90 [kernel]
 [<c0149700>] blkdev_readpage+0x0/0x20 [kernel]
 [<c0167463>] read_dev_sector+0x33/0xb0 [kernel]
 [<c0149700>] blkdev_readpage+0x0/0x20 [kernel]
 [<c016a8a6>] read_lba+0xb6/0x160 [kernel]
 [<c016aa5f>] alloc_read_gpt_header+0x5f/0x80 [kernel]
 [<c016aad4>] is_gpt_valid+0x54/0x180 [kernel]
 [<c016b045>] find_valid_gpt+0x95/0x3b0 [kernel]
 [<c016b3ab>] add_gpt_partitions+0x4b/0x2a0 [kernel]
 [<c0135c79>] truncate_inode_pages+0x59/0x70 [kernel]
 [<c01494a0>] kill_bdev+0x20/0x30 [kernel]
 [<c01495b9>] set_blocksize+0x109/0x120 [kernel]
 [<c016b66e>] efi_partition+0x6e/0x130 [kernel]
 [<c0166e4a>] check_partition+0x11a/0x1e0 [kernel]
 [<c011c6b2>] __call_console_drivers+0x42/0x60 [kernel]
 [<c016739b>] grok_partitions+0x8b/0x120 [kernel]
 [<c01e08bd>] ide_geninit+0x8d/0xa0 [kernel]
 [<c0105000>] stext+0x0/0x30 [kernel]
 [<c0105040>] init+0x10/0x140 [kernel]
 [<c0105000>] stext+0x0/0x30 [kernel]
 [<c01073a3>] arch_kernel_thread+0x23/0x30 [kernel]
 [<c0105030>] init+0x0/0x140 [kernel]

Code: 8b 8b b0 00 00 00 8b 81 64 03 00 00 8d 04 40 89 c2 c1 e2 04 
 spurious 8259A interrupt: IRQ7.
Kernel panic: Attempted to kill init!
 
Linux version 2.4.21-0.18mdk ([EMAIL PROTECTED]) (gcc version 3.2.2 (Mandrake Linux 
9.1 3.2.2-3mdk)) #1 Wed Jun 4 12:38:37 MDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff8000 (ACPI data)
 BIOS-e820: 0000000007ff8000 - 0000000008000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=2421-18 ro root=341 devfs=mount acpi=off 
console=ttyS1,9600 console=tty0
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 1300.042 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2595.22 BogoMIPS
Memory: 121828k/131008k available (1427k kernel code, 8792k reserved, 1125k data, 136k 
init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1299.9915 MHz.
..... host bus clock speed is 199.9987 MHz.
cpu: 0, clocks: 1999987, slice: 999993
CPU0<T0:1999984,T1:999984,D:7,S:999993,C:1999987>
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030122
ACPI: Disabled via command line (acpi=off)
PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3074] at 00:11.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x1
vesafb: framebuffer at 0xd0000000, mapped to 0xc8800000, size 7500k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:c1a0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Looking for splash picture... no good signature found.
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ 
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:pio
hda: ST310212A, ATA DISK drive
hdb: ST310211A, ATA DISK drive
blk: queue c07cd8a0, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c07cd9dc, I/O limit 4095Mb (mask 0xffffffff)
hdc: CDU5211, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 20005650 sectors (10243 MB) w/512KiB Cache, CHS=1245/255/63, UDMA(66)
hdb: host protected area => 1
hdb: 19541088 sectors (10005 MB) w/512KiB Cache, CHS=1216/255/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 >
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 284k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
SGI XFS snapshot 2.4.20-2003-01-14_00:43_UTC with quota, no debug enabled
XFS mounting filesystem ide0(3,65)
Mounted devfs on /dev
Freeing unused kernel memory: 136k freed

Reply via email to