What you need to look at is the serial output, that will show what happens
earlier. Heres my serial output when I boot from my mmc card. Notice the
line partway thru where it says switching to real root fs. Up until that
point it was running out of the ramfs.
gord u
Instruction Cache is ON
Found gumstix-factory.script on MMC...
## Executing script at a2000000
Booting from mmc/microSD...
Detected: 1984000 blocks of 512 bytes (968MB) SD card.
Vendor: Man 03 OEM SD "SU01G" Date 03/2008
Product: 274559001
Revision: 8.0
reading uimage
1021576 bytes read
reading ramdisk.img
3748009 bytes read
## Booting image at a1000000 ...
Image Name: Angstrom/2.6.21/gumstix-custom-v
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1021512 Bytes = 997.6 kB
Load Address: a0008000
Entry Point: a0008000
OK
## Loading Ramdisk Image at a2000000 ...
Image Name: rootfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3747945 Bytes = 3.6 MB
Load Address: 00000000
Entry Point: 00000000
Starting kernel ...
Linux version 2.6.21 (gurquhart@...) (gcc version 4.1.2) #1 Mon May 5
11:13:47 PDT 2008
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
Machine: The Gumstix Platform
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 416.00MHz (*2.0, active)
Memory clock: 104.00MHz (/2)
System bus clock: 104.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists. Total pages: 16256
Kernel command line: console=ttyS0,115200n8 rootdelay=1 root=/dev/mmcblk0p2
MEDIA=MMC
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 59044KB available (1892K code, 188K data, 72K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: pxa_timer clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Unpacking initramfs... done
Freeing initrd memory: 3660K
JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
loop: loaded (max 8 devices)
Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth)
Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Using static partitions on Gumstix Flash ROM
Creating 3 MTD partitions on "Gumstix Flash ROM":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00f00000 : "RootFS"
0x00f00000-0x01000000 : "Kernel"
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale iWMMXt coprocessor detected.
Freeing init memory: 72K
/init script running...
[*] populating /dev...done
[*] mounting /proc...done
[*] mounting /sys...done
[*] starting udevd...done
[*] Found MEDIA=MMC
[*] loading mmc_block module...done
[*] loading pxamci module...done
mmcblk0: mmc0:e624 SU01G 992000KiB
mmcblk0: p1 p2
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
umount: /mnt/mmc: not mounted
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 936568 71756 817236 8% /media/mmcblk0p2
/dev/mmcblk0p1 40192 4662 35530 12% /media/card
/dev/mmcblk0p1 40192 4662 35530 12% /mnt/mmc
[*] running e2fsck on /dev/mmcblk0p2...Filesystem 1k-blocks
Used Available Use% Mounted on
/dev/mmcblk0p1 40192 4662 35530 12% /media/card
/dev/mmcblk0p1 40192 4662 35530 12% /mnt/mmc
e2fsck 1.38 (30-Jun-2005)
/dev/mmcblk0p2 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mmcblk0p2: 3080/119040 files (0.2% non-contiguous), 21685/237888 blocks
done
[*] mounting /dev/mmcblk0p2 to /rfs...Filesystem 1k-blocks
Used Available Use% Mounted on
/dev/mmcblk0p1 40192 4662 35530 12% /media/card
/dev/mmcblk0p1 40192 4662 35530 12% /mnt/mmc
/dev/mmcblk0p2 936568 71756 817236 8% /rfs
done
[*] Cleaning up...warning: can't open /etc/mtab: No such file or directory
warning: can't open /etc/mtab: No such file or directory
done
[*] Switching to real root fs...
INIT: version 2.86 booting
Starting the hotplug events dispatcher udevd
Synthesizing the initial hotplug events
Remounting root file system...
gumstix_smc91x_init: smc91x chip not found, returning -ENXIO
smc91x: Unknown symbol gumstix_smc91x_load
eth0: LAN9117 (rev 1) at 0xc4852000 IRQ 131
eth0: Ethernet addr: 02:36:d1:ce:4e:50
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Not netCF-vx board: using newer GPIO configuration
CPLD responded with: ff
root: mount: special device /dev/hda1 does not exist
root: mount: special device /dev/sda1 does not exist
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... eth0: link down
eth0 no wireless extensions.
udhcpc (v1.2.1) started
udhcpc[856]: udhcpc (v1.2.1) started
Sending discover...
udhcpc[856]: Sending discover...
eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
Sending discover...
udhcpc[856]: Sending discover...
Sending select for 192.168.1.104...
udhcpc[856]: Sending select for 192.168.1.104...
Lease of 192.168.1.104 obtained, lease time 86400
udhcpc[856]: Lease of 192.168.1.104 obtained, lease time 86400
adding dns 75.154.133.68
adding dns 75.154.133.100
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; No such device.
SIOCGIFFLAGS: No such device
wlan0 No such device
udhcpc (v1.2.1) started
udhcpc[898]: udhcpc (v1.2.1) started
SIOCGIFINDEX failed!: No such device
udhcpc[898]: SIOCGIFINDEX failed!: No such device
done.
Nothing to be done
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
Running ntpdate to synchronize clock.
Starting bonjour:
Starting Asterisk
On Sat, May 17, 2008 at 1:15 PM, Scott Lerman <smlerman@...> wrote:
> On Sat, May 17, 2008 at 2:39 PM, Gord Urquhart <gordurq@...> wrote:
> > Scott can you post the boot messages.It's hard too say where things are
> > going wrong.
> >
> > gordu
>
> Here's all of /var/log/messages up to when I SSH in:
>
> Jan 1 00:01:07 gumstix syslog.info syslogd started: BusyBox v1.1.2
> Jan 1 00:01:07 gumstix daemon.info init: Starting pid 326, console
> /dev/null: '/sbin/klogd'
> Jan 1 00:01:07 gumstix user.notice kernel: klogd started: BusyBox
> v1.1.2 (2006.11.06-19:15+0000)
> Jan 1 00:01:07 gumstix user.notice kernel: Linux version 2.6.18gum
> (craig@...) (gcc version 3.4.5) #1 Mon Nov 6 11:18:37 PST 2006
> Jan 1 00:01:07 gumstix user.warn kernel: CPU: XScale-PXA255
> [69052d06] revision 6 (ARMv5TE), cr=0000397f
> Jan 1 00:01:07 gumstix user.warn kernel: Machine: The Gumstix Platform
> Jan 1 00:01:07 gumstix user.warn kernel: Memory policy: ECC disabled,
> Data cache writeback
> Jan 1 00:01:07 gumstix user.debug kernel: On node 0 totalpages: 16384
> Jan 1 00:01:07 gumstix user.debug kernel: DMA zone: 16384 pages, LIFO
> batch:3
> Jan 1 00:01:07 gumstix user.info kernel: Memory clock: 99.53MHz (*27)
> Jan 1 00:01:07 gumstix user.info kernel: Run Mode clock: 398.13MHz (*4)
> Jan 1 00:01:07 gumstix user.info kernel: Turbo Mode clock: 398.13MHz
> (*1.0, inactive)
> Jan 1 00:01:07 gumstix user.warn kernel: CPU0: D VIVT undefined 5 cache
> Jan 1 00:01:07 gumstix user.warn kernel: CPU0: I cache: 32768 bytes,
> associativity 32, 32 byte lines, 32 sets
> Jan 1 00:01:07 gumstix user.warn kernel: CPU0: D cache: 32768 bytes,
> associativity 32, 32 byte lines, 32 sets
> Jan 1 00:01:07 gumstix user.warn kernel: Built 1 zonelists. Total pages:
> 16384
> Jan 1 00:01:07 gumstix user.notice kernel: Kernel command line:
> root=1f01 rootfstype=jffs2 console=ttyS0,115200n8 reboot=cold,hard
> Jan 1 00:01:07 gumstix user.warn kernel: PID hash table entries: 512
> (order: 9, 2048 bytes)
> Jan 1 00:01:07 gumstix user.warn kernel: start_kernel(): bug:
> interrupts were enabled early
> Jan 1 00:01:07 gumstix user.warn kernel: Dentry cache hash table
> entries: 8192 (order: 3, 32768 bytes)
> Jan 1 00:01:07 gumstix user.warn kernel: Inode-cache hash table
> entries: 4096 (order: 2, 16384 bytes)
> Jan 1 00:01:07 gumstix user.info kernel: Memory: 64MB = 64MB total
> Jan 1 00:01:07 gumstix user.notice kernel: Memory: 63268KB available
> (1292K code, 250K data, 64K init)
> Jan 1 00:01:07 gumstix user.debug kernel: Calibrating delay loop...
> 397.31 BogoMIPS (lpj=1986560)
> Jan 1 00:01:07 gumstix user.warn kernel: Mount-cache hash table entries:
> 512
> Jan 1 00:01:07 gumstix user.info kernel: CPU: Testing write buffer
> coherency: ok
> Jan 1 00:01:07 gumstix user.info kernel: NET: Registered protocol family
> 16
> Jan 1 00:01:07 gumstix user.info kernel: NET: Registered protocol family
> 2
> Jan 1 00:01:07 gumstix user.warn kernel: IP route cache hash table
> entries: 512 (order: -1, 2048 bytes)
> Jan 1 00:01:07 gumstix user.warn kernel: TCP established hash table
> entries: 2048 (order: 1, 8192 bytes)
> Jan 1 00:01:07 gumstix user.warn kernel: TCP bind hash table entries:
> 1024 (order: 0, 4096 bytes)
> Jan 1 00:01:07 gumstix user.info kernel: TCP: Hash tables configured
> (established 2048 bind 1024)
> Jan 1 00:01:07 gumstix user.info kernel: TCP reno registered
> Jan 1 00:01:07 gumstix user.info kernel: JFFS2 version 2.2. (NAND)
> (C) 2001-2006 Red Hat, Inc.
> Jan 1 00:01:07 gumstix user.info kernel: Initializing Cryptographic API
> Jan 1 00:01:07 gumstix user.info kernel: io scheduler noop registered
> (default)
> Jan 1 00:01:07 gumstix user.info kernel: pxa2xx-uart.0: ttyS0 at MMIO
> 0x40100000 (irq = 15) is a FFUART
> Jan 1 00:01:07 gumstix user.info kernel: pxa2xx-uart.1: ttyS1 at MMIO
> 0x40200000 (irq = 14) is a BTUART
> Jan 1 00:01:07 gumstix user.info kernel: pxa2xx-uart.2: ttyS2 at MMIO
> 0x40700000 (irq = 13) is a STUART
> Jan 1 00:01:07 gumstix user.info kernel: pxa2xx-uart.3: ttyS3 at MMIO
> 0x41600000 (irq = 0) is a HWUART
> Jan 1 00:01:07 gumstix user.notice kernel: Probing Gumstix Flash ROM
> at physical address 0x00000000 (16-bit bankwidth)
> Jan 1 00:01:07 gumstix user.info kernel: Gumstix Flash ROM: Found 1
> x16 devices at 0x0 in 16-bit bank
> Jan 1 00:01:07 gumstix daemon.info init: Starting pid 324, console
> /dev/ttyS0: '/sbin/getty'
> Jan 1 00:01:07 gumstix user.debug kernel: Gumstix Flash ROM: Found an
> alias at 0x1000000 for the chip at 0x0
> Jan 1 00:01:07 gumstix user.debug kernel: Gumstix Flash ROM: Found an
> alias at 0x2000000 for the chip at 0x0
> Jan 1 00:01:07 gumstix user.debug kernel: Gumstix Flash ROM: Found an
> alias at 0x3000000 for the chip at 0x0
> Jan 1 00:01:07 gumstix user.warn kernel: Intel/Sharp Extended Query
> Table at 0x0031
> Jan 1 00:01:07 gumstix user.info kernel: Using buffer write method
> Jan 1 00:01:07 gumstix user.notice kernel: cfi_cmdset_0001: Erase
> suspend on write enabled
> Jan 1 00:01:07 gumstix user.debug kernel: erase region 0:
> offset=0x0,size=0x20000,blocks=128
> Jan 1 00:01:07 gumstix user.warn kernel: Using static partitions on
> Gumstix Flash ROM
> Jan 1 00:01:07 gumstix user.notice kernel: Creating 2 MTD partitions
> on "Gumstix Flash ROM":
> Jan 1 00:01:07 gumstix user.notice kernel: 0x00000000-0x00040000 :
> "Bootloader"
> Jan 1 00:01:07 gumstix user.notice kernel: 0x00040000-0x01000000 :
> "RootFS"
> Jan 1 00:01:07 gumstix user.info kernel: TCP bic registered
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a54: 0x0201 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a58: 0x0605 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a5c: 0x0a09 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a60: 0x0e0d instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a64: 0x1211 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a68: 0x1615 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a6c: 0x1a19 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a70: 0x1e1d instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a74: 0x2221 instead
> Jan 1 00:01:07 gumstix user.notice kernel: jffs2_scan_eraseblock():
> Magic bitmask 0x1985 not found at 0x00322a78: 0x2625 instead
> Jan 1 00:01:07 gumstix user.notice kernel: Further such events for
> this erase block will not be printed
> Jan 1 00:01:07 gumstix user.warn kernel: VFS: Mounted root (jffs2
> filesystem).
> Jan 1 00:01:07 gumstix user.info kernel: Freeing init memory: 64K
> Jan 1 00:01:07 gumstix user.info kernel: NET: Registered protocol family
> 1
> Jan 1 00:01:07 gumstix user.warn kernel: smc91x.c: v1.1, sep 22 2004
> by Nicolas Pitre <nico@...>
> Jan 1 00:01:07 gumstix user.warn kernel: eth0: SMC91C11xFD (rev 2) at
> c4850300 IRQ 59 DMA 8 [nowait]
> Jan 1 00:01:07 gumstix user.warn kernel: eth0: Ethernet addr:
> 16:11:04:5a:bf:91
> Jan 1 00:01:07 gumstix user.debug kernel: eth0: PHY LAN83C183
> (LAN91C111 Internal)
> Jan 1 00:01:07 gumstix user.warn kernel: CPLD responded with: 00
> Jan 1 00:01:07 gumstix user.info kernel: Set (AF1,out,clear) via
> /proc/gpio/GPIO12
> Jan 1 00:01:07 gumstix user.notice kernel: pccard: PCMCIA card
> inserted into slot 0
> Jan 1 00:01:07 gumstix user.notice kernel: stering new device pcmcia0.0
> Jan 1 00:01:07 gumstix user.info kernel: Uniform Multi-Platform E-IDE
> driver Revision: 7.00alpha2
> Jan 1 00:01:07 gumstix user.info kernel: ide: Assuming 50MHz system
> bus speed for PIO modes; override with idebus=xx
> Jan 1 00:01:07 gumstix user.warn kernel: pcmcia: request for
> exclusive IRQ could not be fulfilled.
> Jan 1 00:01:07 gumstix user.warn kernel: pcmcia: the driver needs
> updating to supported shared IRQ lines.
> Jan 1 00:01:07 gumstix user.debug kernel: Probing IDE interface ide0...
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,clear) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,set) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.warn kernel: hda: SanDisk SDCFB-512, CFA DISK
> drive
> Jan 1 00:01:07 gumstix user.warn kernel: ide0 at
> 0xc4860000-0xc4860007,0xc486000e on irq 49
> Jan 1 00:01:07 gumstix user.info kernel: ide-cs: hda: Vpp = 0.0
> Jan 1 00:01:07 gumstix user.info kernel: hda: max request size: 128KiB
> Jan 1 00:01:07 gumstix user.info kernel: hda: 1000944 sectors (512
> MB) w/1KiB Cache, CHS=993/16/63
> Jan 1 00:01:07 gumstix user.info kernel: hda: hda1 hda2
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,clear) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,set) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,clear) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,set) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,clear) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: Set (GPIO,out,set) via
> /proc/gpio/GPIO7
> Jan 1 00:01:07 gumstix user.info kernel: pxa2xx_udc: version 4-May-2005
> Jan 1 00:01:07 gumstix user.info kernel: usb0: Ethernet Gadget,
> version: May Day 2005
> Jan 1 00:01:07 gumstix user.info kernel: usb0: using pxa2xx_udc, OUT
> ep2out-bulk IN ep1in-bulk STATUS ep6in-bulk
> Jan 1 00:01:07 gumstix user.info kernel: usb0: MAC 16:11:04:5a:bf:a1
> Jan 1 00:01:07 gumstix user.info kernel: usb0: HOST MAC 16:11:04:5a:bf:a2
> Jan 1 00:01:07 gumstix user.info kernel: usb0: RNDIS ready
> Jan 1 00:01:07 gumstix user.info kernel: NET: Registered protocol family
> 17
> Jan 1 00:01:07 gumstix user.info kernel: eth0: link down
> Jan 1 00:01:07 gumstix user.warn kernel: cfio: module license
> 'unspecified' taints kernel.
> Jan 1 00:01:07 gumstix user.warn kernel: Before register driver
> Jan 1 00:01:07 gumstix user.warn kernel: After register driver
> Jan 1 00:01:08 gumstix user.info kernel: eth0: link up, 100Mbps,
> full-duplex, lpa 0xCDE1
>
> --
> Scott Lerman
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
|