lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 May 2008 09:14:24 -0400 (EDT)
From:	abhiruchi.g@...ltinfo.com
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"kernel-testers" <kernel-testers@...r.kernel.org>,
	"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>
Subject: MIPS toolchain : should I choose shared library option for Alchemy DB1200

hi,
   To build cross toolchain for MIPS, should I choose shared library option. My kernel hangs after :

Warning: unable to open an initial console.
/sbin/init


The function is in init/main.c.


static int noinline init_post(void)
{
        ..
        ..
        ..

        if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
                printk(KERN_WARNING "Warning: unable to open an initial console.
\n");

        (void) sys_dup(0);
        (void) sys_dup(0);

        if (ramdisk_execute_command) {
                run_init_process(ramdisk_execute_command);
                printk(KERN_WARNING "Failed to execute %s\n",
                                ramdisk_execute_command);
        }

        ..
        ..
        printk(KERN_WARNING "-- ag. sbin init\n");
        run_init_process("/sbin/init");
        printk(KERN_WARNING "-- ag. etc init\n");
        run_init_process("/etc/init");
        printk(KERN_WARNING "-- ag. bin init\n");
        run_init_process("/bin/init");
        printk(KERN_WARNING "-- ag. bin sh\n");
        run_init_process("/bin/sh");

        panic("No init found.  Try passing init= option to kernel.");

 }           
                                         

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ