[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

New kernel ignores boot arguments

Hi guys,

I've just finally built myself a new kernel (2.4.31 from linux-mips) and it actually boots. The problem is (and I dont know if anyone has encoutered this before): I see CoLo loading, then the kernel loads BUT it ignores the "execute root=/dev/hda4 console=ttyS0,115200" line from my /boot/default.colo file. If I switch back to my 2.4.27-r5k-cobalt kernel it works (it uses the default.colo arguments). I even tried setting the kernel command line hardcoded into the kernel, and it still does the same thing. One more thing, this box was just freshly installed 2 days ago with Sarge (since then I'm having a headache figuring out the new kernel issue because the current one has network connectivity issues)

here is a copy/paste of the boot sequence from my Raq2 from CoLo to the kernel panic

[ "CoLo" v1.19 ]
stage2: 87fa0000-88000000
cpu: clock 250.000MHz
pci: unit type <RaQ2>
tulip: #0 device 21143
tulip: {00:10:e0:00:2e:db}
ide: resetting
boot: running boot menu
1> lcd 'Booting...'
1> mount
ide: {WDC WD800JB-00FMA0}
ide: LBA 156301488
ide: supports PIO mode 4
ide: mode 4 timing
ide: partition 1
ext2: revision 0
1> lcd 'Booting...' /dev/{mounted-volume}
1> -load /boot/default.colo
ext2: {boot/default.colo} --> {./default.colo}
000000c4 196t
1> -script
2> mount hda1
ext2: revision 0
2> load /boot/vmlinux
ext2: {boot/vmlinux} --> {./vmlinux}
ext2: {vmlinux} --> {boot/vmlinux-2.4.31}
ext2: {boot/vmlinux-2.4.31} --> {./vmlinux-2.4.31}
0024000e 2359310t
2> lcd "Booting Debian"
2> var cons_opts ''
2> -var cons_opts console=ttyS0,{console-speed}
2> execute root=/dev/hda4 {cons_opts}
elf32: 00080000 - 0026b96f (80210040) (ffffffff.80000000)
elf32: 80080000 (80080000) 1851392t + 162160t
CPU revision is: 000028a0
FPU revision is: 000028a0
Primary instruction cache 32kB, physically tagged, 2-way, linesize 32 bytes.
Primary data cache 32kB, 2-way, linesize 32 bytes.
Linux version 2.4.31 (root@flexo) (gcc version 3.3.4 (Debian 1:3.3.4-13)) #2 Mon Aug 1 00:49:29 EDT 2005
Determined physical RAM map:
memory: 08000003 @ 00000000 (usable)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.

Kernel command line: console=ttyS0,115200 root=/dev/hda1

^^^^ see how it ignores what was mentionned earlier? btw, blank lines were intentional here

Calibrating delay loop... 249.85 BogoMIPS
Memory: 127172k/131072k available (1586k kernel code, 3900k reserved, 108k data, 92k 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: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Cobalt Board ID: 6
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Cobalt LCD Driver v2.10
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ÿttyS00 at 0xc800000 (irq = 7) is a ST16650V2
rtc: SRM (post-2000) epoch (2000) detected
Real Time Clock Driver v1.10f
loop: loaded (max 8 devices)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 00:07.0 (0045 -> 0047)
tulip0:  MII transceiver #1 config 1000 status 782d advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at 0x100000, 00:10:E0:00:2E:DB, IRQ 4.
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:09.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 vt82c586a (rev 27) IDE UDMA33 controller on pci00:09.1
   ide0: BM-DMA at 0xcc00-0xcc07, BIOS settings: hda:pio, hdb:pio
   ide1: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD800JB-00FMA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63
Partition check:
hda: [PTBL] [9729/255/63] hda1 hda2 hda3 hda4
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 92k freed
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.
Cobalt Microserver Diagnostics - 'We serve it, you surf it'

And FYI, it does that too if I dont specify /dev/hda4 as root with my 2.4.27-r5k-cobalt kernel, but since it uses the default.colo arguments its not a problem with that one.

Anyone has an idea what the problem could be? I've been on this for 2 days now and still haven't figured out the damn thing >:[



Reply to: