Messages in this thread | | | From | (Ramneek S Randhawa) | Subject | Linux kernel 1.3.83 boot problem more info. | Date | Sun, 7 Apr 1996 10:28:02 -0500 (CDT) |
| |
To: Linux Gurus
From: Ramneek Singh Randhawa
Subj: linux kernel 1.3.83 boot problem more Info.
Hello, Somebody please help me. Below is information about my system and the problem I had installing linux kernel 1.3.83.
1. System Info.
1.1 CPU : 486DX2 1.2 Memory : 32MB 1.3 Linux Version : 1.3.9 1.4 Gcc Version : 2.7.2 1.5 IDE Disk : Western Digital Caviar 2100 1.0GB 1.6 Disk Controller : Adaptec AVA2825VL SCSI and IDE Controller.
2. Linux kernel 1.3.83 boot problem
2.1 System is able to boot successfully with kernel 1.3.9 with Hardware mention in Item 1.
2.2 Compiled the new kernel 1.3.83 without any errors. Make config was selected for every thing as module except ext2 file system and IDE controller. Installed the new kernel using lilo. Started boot with 1.3.83 all the hardware is detected boot kept going upto point where the console displayed the line given below and it hangs up.
VFS: Mounted root (ext2 filesystem) readonly.
Booted from rescue floppy and installed the kernel 1.3.9 back and booted with success.
2.3 Compiled the new kernel 1.3.83 without any errors. Make config was selected for minimum kernel no modules. Installed the new kernel using lilo. Started boot with 1.3.83 all the hardware is detected boot kept going upto point where the console displayed the line given below and it hangs up.
VFS: Mounted root (ext2 filesystem) readonly.
Booted from rescue flopyy and installed the kernel 1.3.9 back and booted with success.
2.4 Did some investigation by placing some printk lines in the init/main.c and found out that the kernel goes into a infinite loop in the function static int init(void * unused) in the code given below:
while (1) { pid = kernel_thread(do_shell, execute_command ? execute_command : "/bin/sh", SIGCHLD); if (pid < 0) { printf("Fork failed in init\n\r"); continue; } while (1) if (pid == wait(&i)) break; printf("\n\rchild %d died with code %04x\n\r",pid,i); sync(); }
2.5 At this point I do not know how to proceed with more testing.
3. Please let me know if this is known or unknown bug and if there is fix for this problem.
Regards, Ramneek ------------------------------------------------------------------------------- Ramneek Singh Randhawa MSGID : RSRT, E-Mail : ramneek@ti.com Software Systems Engineer GROUP-ID : UNIX UNIX Systems and Services PHONE : 214 997-2548, GROUP : N/A Semi Conductor Group & Intl. A-Pager : 214 598-0313, Fax : 214 997-2420 Texas Instruments M/S : 8366 8330 LBJ Fwy. Dallas Tx. 75243 PC Drop : N/A -------------------------------------------------------------------------------
| |