[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] mount errors after loading compiled SG580	imagefrom
From:       Greg Ungerer <gerg () snapgear ! com>
Date:       2007-01-30 0:15:30
Message-ID: 45BE8E22.1010107 () snapgear ! com
[Download RAW message or body]

Hi Richard,

Richard and Suzanne McCarthy wrote:
> Thanks Greg, after changing to the 2.6 kernel, most of the problems went
> away including the sysfs issue. The Intel ixp400 libraries also loaded ok.
> 
> I still get a small error with /bin/firewall failing because it does not
> exist. What program uses this executable?

There is a couple, if you grep in the romfs directory you will
pick them up pretty quickly.

/bin/init knows to call /bin/firewall if so configured, and
that is likely the one you are seeing.

Regards
Greg



> -----Original Message-----
> From: uclinux-dev-bounces@uclinux.org
> [mailto:uclinux-dev-bounces@uclinux.org] On Behalf Of Greg Ungerer
> Sent: Monday, 29 January 2007 5:18 PM
> To: uClinux development list
> Subject: Re: [uClinux-dev] mount errors after loading compiled SG580
> imagefrom snapgear source
> 
> Hi Richard,
> 
> Richard and Suzanne McCarthy wrote:
>> Hello, after completing a build of an image for an SG580 from the 
>> Snapgear source files, I'm getting some mount errors upon booting of the 
>> device. The following is the output from console along with a copy of 
>> the /etc/rc file.
>>
> [snip]
>> /etc/rc processing ...
>> Starting watchdog ...
>> snapdog: user servicing enabled (short=60,long=300).
>>
>> Mounting Filesystems ...
>> mount: Mounting none on /sys failed: No such file or directory
> 
> This start is setup for a 2.6 kernel that has the sysfs filesystem enabled.
> 
> 
>> Setting system clock ...
>> Clock: old time 1970/01/01 - 00:00:01
>> Clock: new time 2007/01/25 - 09:32:15
>> Processing Config Filesystem ...
>> flatfsd: restore fs- from partition 0, tstamp=55
>> flatfsd: Nonexistent or bad flatfs (0), creating new one...
>> flatfsd: saving fs to partition 1, tstamp=56
>> flatfsd: Wrote 186 bytes to flash in 2 seconds
>> flatfsd: Created 6 configuration files (0 bytes)
> 
> You will probably only see this once. After this rebuild of
> the config filesystem subsequent reboots should be clean here.
> Not sure why you would have a bad of non-existant configfs
> though to start with.
> 
> 
>> Loading network drivers.
>> Using /lib/modules/2.4.32-uc0/kernel/ixp425/ixp400-1.4/ixp400.o
>> Module init.
>> /etc/rc: /dev/ixNpe: No such device
> 
> This is expecting IXP modules 2.0 or higher, you are using 1.4.
> 
> 
>> modprobe: module ixp400_eth not found.
>> modprobe: failed to load module ixp400_eth
>> SIOCSIFHWADDR: No such device
>> Set eth0 to MAC address 00:d0:cf:06:85:83
>> SIOCSIFHWADDR: No such device
>> Set eth1 to MAC address 00:d0:cf:06:85:84
>> modprobe: module ixp4xx not found.
>> modprobe: failed to load module ixp4xx
> 
> All related to the CSR modules version.
> 
> 
>> /etc/rc complete.
>>
>> init: exec rc failed
>>
>> init: /bin/firewall failed!/etc/config/start: /etc/config/start: No such 
>> file or directory
> 
> You need to extract these from a real firmware image.
> 
> Regards
> Greg
> 
> 
> 
> ------------------------------------------------------------------------
> Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@snapgear.com
> SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
> 825 Stanley St,                             FAX:         +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@snapgear.com
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic