Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 16:58:34 +0530
From:      Ravindra <ravindra.kulkarni@globaledgesoft.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: freebsd-arm Digest, Vol 226, Issue 3
Message-ID:  <4C5165E2.3000205@globaledgesoft.com>
In-Reply-To: <20100728120015.13EBF1065670@hub.freebsd.org>
References:  <20100728120015.13EBF1065670@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I am getting following error when booting in S32410, can anybody help.



a NFS from server 172.16.5.62; our IP address is 172.16.5.150
Filename '/tftpboot/kernel.boot'.
Load address: 0x31000000
Loading: #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        ####
done
Bytes transferred = 7674827 (751bcb hex)
NORMANDY # bootm 3100000000
## Booting image at 00000000 ...
Bad Magic Number
NORMANDY # bootm 31000000
## Booting image at 31000000 ...
  Image Name:   FreeBSD
  Created:      2010-07-28  23:09:40 UTC
  Image Type:   ARM Unknown OS Kernel Image (uncompressed)
  Data Size:    7674763 Bytes =  7.3 MB
  Load Address: 30408000
  Entry Point:  304080e0
  Verifying Checksum ... OK
OK

Starting kernel ...

KDB: debugger backends: ddb
KDB: current backend: ddb
control in init_main.c/mi_strtup()
Control in restart: label GESL Edited
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #44: Thu Jul 29 14:00:54 UTC 2010
   
root@freebsd.ges.com:/usr/obj/arm.arm/usr/home/user/project/head/sys/LN2410SBC 
arm
WARNING: WITNESS option enabled, expect reduced performance.
CPU: ARM920T rev 0 (ARM9TDMI core)
 DC enabled IC enabled WB enabled LABT
 16KB/32B 64-way Instruction cache
 16KB/32B 64-way write-back-locking-A Data cache
real memory  = 67108864 (64 MB)
avail memory = 52064256 (49 MB)
In proc0_init GESL Edited
Creating Process 0 GESL Edited
s3c24x00 on motherboard
s3c24x00: Found S3C2410A CPU (Chip ID: 0x32410002)
s3c24x00: fclk 202 MHz hclk 101 MHz pclk 50 MHz
timer0: <s3c24x0 timer> on s3c24x00
ohci0: <S3C24x0 integrated OHCI controller> on s3c24x00
ohci0: [ITHREAD]
usbus0 on ohci0
uart0: <s3c2410 class> on s3c24x00
uart0: [FILTER]
uart1: <s3c2410 class> on s3c24x00
uart1: [FILTER]
uart1: console (115200,n,8,1)
uart2: <s3c2410 class> on s3c24x00
uart2: [FILTER]
clock: hz=100 PCLK=50700000 prescaler=2 tc=15843
timer0: [FILTER]
Timecounter "s3c24x0 timer" frequency 1584375 Hz quality 1000
Timecounters tick every 10.000 msec
usbus0: 12Mbps Full Speed USB v1.0
ugen0.1: <Samsung> at usbus0
uhub0: <Samsung OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus0
uhub0: 2 ports with 2 removable, self powered
GESL in vfs_mount file rootmountprepare
before getenv :GESL
GESL :options value: (null)
Trying to mount root from ufs:/dev/md0
ROOT MOUNT ERROR:
If you have invalid mount options, reboot, and first try the following from
the loader prompt:

    set vfs.root.mountfrom.options=rw

and then remove invalid mount options from /etc/fstab.
*
Trying to mount root from ufs:da0s1
ROOT MOUNT ERROR: *
If you have invalid mount options, reboot, and first try the following from
the loader prompt:

    set vfs.root.mountfrom.options=rw

freebsd-arm-request@freebsd.org wrote:
> Send freebsd-arm mailing list submissions to
> 	freebsd-arm@freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> or, via email, send a message with subject or body 'help' to
> 	freebsd-arm-request@freebsd.org
>
> You can reach the person managing the list at
> 	freebsd-arm-owner@freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-arm digest..."
>
>
> Today's Topics:
>
>    1. Sheevaplug SD Card Reader (Joe Holden)
>    2. Unable to mount root file system-NFS (Ravindra)
>    3. Re: Unable to mount root file system-NFS (Bernd Walter)
>    4. Re: Unable to mount root file system-NFS (Andrew Turner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Jul 2010 15:36:35 +0100 (BST)
> From: Joe Holden <joe@rewt.org.uk>
> Subject: Sheevaplug SD Card Reader
> To: freebsd-arm@freebsd.org
> Message-ID: <alpine.BSF.2.00.1007271535460.2992@una.stf.rewt.org.uk>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> Hi,
>
> Are there any updates on the status of working SD/MMC support for SD(HC) 
> cards on the Sheevaplug yet?
>
> TIA,
> J
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 28 Jul 2010 09:51:42 +0530
> From: Ravindra <ravindra.kulkarni@globaledgesoft.com>
> Subject: Unable to mount root file system-NFS
> To: freebsd-arm@freebsd.org
> Message-ID: <4C4FB056.1020802@globaledgesoft.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi ,
>
> I am unable to mount the root file system, please find the boot agrs and 
> kernel boot messages.
> Can anybody give me solution on this.I am using the Uboot. I am loading 
> the kernel through NFS.
>
> set bootargs root=/dev/nfs rw nfsroot=172.16.5.61:/tftpboot/usr 
> ip=172.16.5.150:172.16.5.61 console=ttySA1, 115200
>  
>
> NORMANDY # bootm 31000000
> ## Booting image at 31000000 ...
>   Image Name:   FreeBSD
>   Created:      2010-07-22   2:08:04 UTC
>   Image Type:   ARM Unknown OS Kernel Image (uncompressed)
>   Data Size:    7687685 Bytes =  7.3 MB
>   Load Address: 30408000
>   Entry Point:  304080e0
>   Verifying Checksum ... OK
> OK
>
> Starting kernel ...
>
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2010 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>        The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 9.0-CURRENT #39: Thu Jul 22 19:26:40 UTC 2010
>    
> root@freebsd.ges.com:/usr/obj/arm.arm/usr/home/user/project/head/sys/LN2410SBC 
> arm
> WARNING: WITNESS option enabled, expect reduced performance.
> CPU: ARM920T rev 0 (ARM9TDMI core)
>  DC enabled IC enabled WB enabled LABT
>  16KB/32B 64-way Instruction cache
>  16KB/32B 64-way write-back-locking-A Data cache
> real memory  = 67108864 (64 MB)
> avail memory = 52047872 (49 MB)
> s3c24x00 on motherboard
> s3c24x00: Found S3C2410A CPU (Chip ID: 0x32410002)
> s3c24x00: fclk 202 MHz hclk 101 MHz pclk 50 MHz
> timer0: <s3c24x0 timer> on s3c24x00
> ohci0: <S3C24x0 integrated OHCI controller> on s3c24x00
> ohci0: [ITHREAD]
> usbus0 on ohci0
> uart0: <s3c2410 class> on s3c24x00
> uart0: [FILTER]
> uart1: <s3c2410 class> on s3c24x00
> uart1: [FILTER]
> uart1: console (115200,n,8,1)
> uart2: <s3c2410 class> on s3c24x00
> uart2: [FILTER]
> clock: hz=100 PCLK=50700000 prescaler=2 tc=15843
> timer0: [FILTER]
> Timecounter "s3c24x0 timer" frequency 1584375 Hz quality 1000
> Timecounters tick every 10.000 msec
> usbus0: 12Mbps Full Speed USB v1.0
> ugen0.1: <Samsung> at usbus0
> uhub0: <Samsung OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> panic: bootpc_init: no eligible interfaces
> KDB: enter: panic
> [ thread pid 0 tid 100000 ]
> Stopped at      kdb_enter+0x44: ldrb    r15, [r15, r15, ror r15]!
> db>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 28 Jul 2010 09:06:27 +0200
> From: Bernd Walter <ticso@cicely7.cicely.de>
> Subject: Re: Unable to mount root file system-NFS
> To: Ravindra <ravindra.kulkarni@globaledgesoft.com>
> Cc: freebsd-arm@freebsd.org
> Message-ID: <20100728070626.GA77280@cicely7.cicely.de>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Jul 28, 2010 at 09:51:42AM +0530, Ravindra wrote:
>   
>> Hi ,
>>
>> I am unable to mount the root file system, please find the boot agrs and 
>> kernel boot messages.
>> Can anybody give me solution on this.I am using the Uboot. I am loading 
>> the kernel through NFS.
>>
>> set bootargs root=/dev/nfs rw nfsroot=172.16.5.61:/tftpboot/usr 
>> ip=172.16.5.150:172.16.5.61 console=ttySA1, 115200
>>
>>
>> NORMANDY # bootm 31000000
>> ## Booting image at 31000000 ...
>>  Image Name:   FreeBSD
>>  Created:      2010-07-22   2:08:04 UTC
>>  Image Type:   ARM Unknown OS Kernel Image (uncompressed)
>>  Data Size:    7687685 Bytes =  7.3 MB
>>  Load Address: 30408000
>>  Entry Point:  304080e0
>>  Verifying Checksum ... OK
>> OK
>>
>> Starting kernel ...
>>
>> KDB: debugger backends: ddb
>> KDB: current backend: ddb
>> Copyright (c) 1992-2010 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>       The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 9.0-CURRENT #39: Thu Jul 22 19:26:40 UTC 2010
>>   
>> root@freebsd.ges.com:/usr/obj/arm.arm/usr/home/user/project/head/sys/LN2410SBC 
>> arm
>> WARNING: WITNESS option enabled, expect reduced performance.
>> CPU: ARM920T rev 0 (ARM9TDMI core)
>> DC enabled IC enabled WB enabled LABT
>> 16KB/32B 64-way Instruction cache
>> 16KB/32B 64-way write-back-locking-A Data cache
>> real memory  = 67108864 (64 MB)
>> avail memory = 52047872 (49 MB)
>> s3c24x00 on motherboard
>> s3c24x00: Found S3C2410A CPU (Chip ID: 0x32410002)
>> s3c24x00: fclk 202 MHz hclk 101 MHz pclk 50 MHz
>> timer0: <s3c24x0 timer> on s3c24x00
>> ohci0: <S3C24x0 integrated OHCI controller> on s3c24x00
>> ohci0: [ITHREAD]
>> usbus0 on ohci0
>> uart0: <s3c2410 class> on s3c24x00
>> uart0: [FILTER]
>> uart1: <s3c2410 class> on s3c24x00
>> uart1: [FILTER]
>> uart1: console (115200,n,8,1)
>> uart2: <s3c2410 class> on s3c24x00
>> uart2: [FILTER]
>> clock: hz=100 PCLK=50700000 prescaler=2 tc=15843
>> timer0: [FILTER]
>> Timecounter "s3c24x0 timer" frequency 1584375 Hz quality 1000
>> Timecounters tick every 10.000 msec
>> usbus0: 12Mbps Full Speed USB v1.0
>> ugen0.1: <Samsung> at usbus0
>> uhub0: <Samsung OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>> panic: bootpc_init: no eligible interfaces
>>     
>
> This message complains that you have no network interface and you
> requested networked root filesystem.
> You should check your kernel config about NIC drivers.
>
>   
>> KDB: enter: panic
>> [ thread pid 0 tid 100000 ]
>> Stopped at      kdb_enter+0x44: ldrb    r15, [r15, r15, ror r15]!
>> db>
>>     
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C5165E2.3000205>