ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] Old uImage Won't Boot


From: seh
Subject: RE: [Ltib] Old uImage Won't Boot
Date: Mon, 8 Nov 2010 11:43:54 -0500
User-agent: SquirrelMail/1.4.19

Hi Carolyn,

Look on the nfsserver in /var/log/messages (or ??) to see if it has
anything helpful in there.

Also, try on another machine (not the target) to nfs mount that directory
and then as root try creating a file.  This should prove whether or not
the nfs export is working as it should.

Regards, Stuart


> Hi Stuart:
> My host /etc/exports file is:
> /tftpboot/ltib 192.168.1.100(rw,no_root_squash,sync)
>
> /tftpboot/ltib is a link to the root file system
> /tftpboot/ltib -> /home/vrams/mpc8536ds/ltib/rootfs
>
> I also changed /home/vrams/mpc8536ds/ltib/rootfs/etc/exports file to:
> /tftpboot/ltib 192.168.1.100(rw,no_root_squash,sync)
>
> But that didn't help
> ******************************************************************
> Here's another clue:
> When I don't explicitly define console & null in my rootfs/dev, it gives
> up immediately. Can't open console?
> IP-Config: Complete:
>      device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,
>      host=mpc8536ds, domain=, nis-domain=(none),
>      bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
> Looking up port of RPC 100003/2 on 192.168.1.1
> PHY: address@hidden:01 - Link is Up - 1000/Full
> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> Looking up port of RPC 100005/1 on 192.168.1.1
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 188k init
> Warning: unable to open an initial console. <-------This is different
> init has generated signal 4 but has no handler for it
> Kernel panic - not syncing: Attempted to kill init!
> Rebooting in 180 seconds..<7>eth0: no IPv6 routers present
> *****************************************************************
> When I explicitly define console & null in my rootfs/dev, it tries to
> mount devices but can't:
> Cd /home/vrams/mpc8536ds/ltib/rootfs/dev
> mknod -m 660 console c 5 1
> mknod -m 660 null c 1 3
>
> IP-Config: Complete:
>      device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,
>      host=mpc8536ds, domain=, nis-domain=(none),
>      bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
> Looking up port of RPC 100003/2 on 192.168.1.1
> PHY: address@hidden:01 - Link is Up - 1000/Full
> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> Looking up port of RPC 100005/1 on 192.168.1.1
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 188k init
> Mounting /proc and /sys                   <-------This is different
> mount: permission denied. (are you root?)
> mount: permission denied. (are you root?)
> /etc/rc.d/init.d/udev: line 11: /proc/sys/kernel/hotplug: No such file or
> directory
> mount: permission denied. (are you root?)
> mknod: `/dev/console': File exists
> mknod: `/dev/null': File exists
> Starting the hotplug events dispatcher udevd
> udevd[1181]: main: error disabling OOM: No such file or directory
> Synthesizing initial hotplug events
> mkdir: cannot create directory `/dev/pts': File exists
> mount: permission denied. (are you root?)
> mkdir: cannot create directory `/dev/shm': File exists
> Setting the hostname to mpc8536ds
> Mounting filesystems
> mount: permission denied. (are you root?)
> mount: permission denied. (are you root?)
> mount: permission denied. (are you root?)
> cat: /proc/cmdline: No such file or directory
> ln: creating symbolic link `/etc/mtab': File exists
> mount: permission denied. (are you root?)
> Starting syslogd and klogd
> Running sysctl
> Setting up networking on loopback device:
> Setting up networking on eth0:
> Adding static route for default gateway to 192.168.1.1:
> SIOCADDRT: File exists
> Setting nameserver to 192.168.1.1 in /etc/resolv.conf:
> Setting up networking on eth1:
> ADDRCONF(NETDEV_UP): eth1: link is not ready
> Adding static route for default gateway to 192.168.1.1:
> Setting nameserver to 192.168.1.1 in /etc/resolv.conf:
> Starting inetd:
> Starting the port mapper:
> Setting time from ntp server:
> /bin/ntpclient: option requires an argument -- 'h'
> Usage: /bin/ntpclient [-c count] [-d] [-g goodness] -h hostname [-i
> interval]
>         [-l] [-p port] [-r] [-s]
> cat: /proc/devices: No such file or directory
>
> Carolyn Reer
>
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden
> Sent: Sunday, November 07, 2010 6:27 AM
> To: Reer, Carolyn (SA-1)
> Cc: address@hidden
> Subject: Re: [Ltib] Old uImage Won't Boot
>
> Hi Carolyn,
>
> Make sure you have the right export permissions on your NFS server.  For
> example, make sure you have no_root_squash listed in the options.
>
> You can verify this independently by mounting the rootfs on some other
> machine and trying to touch a file somewhere on that filesystem.
>
> Regards, Stuart
>
>
>
> Reer, Carolyn (SA-1) wrote:
>> I am trying to boot my baseline uImage & dtb built (dated 22-Jul-2010)
>> using
>>
>> LTIB dated 13-Mar-2009 for
>>
>> Freescale MPC8536DS
>>
>> Linux 2.6.28 for PPC
>>
>>
>>
>> I have attached the log from the bootloader.
>>
>>
>>
>> It won’t boot any more. Wondering if I messed up the file system
>> somehow.
>>
>>
>>
>> During the boot process every mount fails after NFS filesystem mounted:
>>
>> mount: permission denied. (are you root?)
>>
>>
>>
>> All files are at the user level, not root.
>>
>> Could I have copied the directory incorrectly?
>>
>> How do I fix?
>>
>>
>>
>> Thanks. This is my baseline and it doesn’t work!
>>
>>
>>
>> *Carolyn Reer*
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]