RE: [iPAQ] Error on booting

From: AFASA Reinier Mostert <Reinier.a.t.afa.co.za>
Date: Fri Mar 01 2002 - 06:24:30 EST

OK, more info!

I started to install nvrd, and changed the boot.params file (incorrectly
- I left out the bit about "set linuxargs ") to give the kernel less
memory, but didn't continue. Then, the ipaq was rebooted. Now it
doesn't boot - the last thing it says is that it attempted to kill init.

I've changed the linuxargs settings on the bootloader back to what it
was, and also tried to to boot into /bin/sh, with the same results. It
seems to start the getty, and then gets a kernel panic - don't know if
this is memory related. I don't think that I have modified linuxrc to
load the nvrd module yet, but can't remember for sure. However, that
should not be a problem when trying to init into the shell.

I don't know if this is fixable, and if I should just reflash from
scratch. I'd rather fix it, but will reflash if necessary.

Here is the full error report:
-----------------------------------------------------------------
boot> boot
booting jffs2...
booting boot/zImage from partition >root<

loaded file of size = 0x0008FCEC at location 0xC0008000

kernel partition base C0008000
kernel_magic=E1A00000
kernel_region_words[9]=016F2818
Linux ELF flash_imgstart=50040000 size=01F80000 dest=C0000000
offset=00008000

MMU Control=C19F4071
MMU PIDVAM=00000000
Skipping kernel copy by request.
C0008000: E1A00000
C0008004: E1A00000
C0008008: E1A00000
C000800C: E1A00000
C0008010: E1A00000
C0008014: E1A00000
C0008018: E1A00000
C000801C: E1A00000
C0008020: EA00000
C0008024: 016F2818
root_filesystem_name=ramdisk
Grabbed linuxargs, argc = 00000001
Using mach_type 00000089
setting boot parameters to
 noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0

Makeing core tag at C0000100
Makeing cmdline tag at C0000114
Makeing mem32 tag at C00001B4
Makeing ptable tag at C00001C4
dram_size=04000000
nr_pages=54410001
command line is:
mtdpart=bootldr@0x00000000:0x00040000,root@0x00040000:0x01F8000

0,asset@0x01FC0000:0x00040000 noinitrd root=/dev/mtdblock1
init=/linuxrc consol

e=ttySA0
~
~
~
Disabling LCD controllerp/.ppprc" 11 lines, 133
linuxEntryPoint=C0008000
Booting Linux image
#
rmIPAQ log
Uncompressing Linux.......................................... done,
booting the
PAM_unix[14172]: (login) session opened for user root by LOGIN(uid=0)

kernel.
Linux version 2.4.17-rmk4 (andyc@rockhopper.crl.dec.com) (gcc version
2.95.2 199ySA0'

# route
Kernel IP routing tabl
91024 (release)) #3 Wed Feb 6 13:27:10 EST 2002 Genmask
Flags Metric Ref Us
Processor: Intel StrongARM-1110 revision 8

Architecture: Compaq iPAQ H3800255.255.255.0 U 0 0
On node 0 totalpages: 16384
zone(0): 16384 pages.
default
zone(1): 0 pages. 0.0.0.0
zone(2): 0 pages.0 0 usbf
Kernel command line: mtdpart=bootldr@0x00000000:0x00040000,roo

# /etc/init.d/usbnet down
Linux NET4.0 for Linux 2.4
ni
Based upon Swansea University Computer Society NET3.039k

Initializing RT netlink socket python-webtools_2.2-1.
CPU clock: 206.400 MHz (0.000-206.400 MHz)
python-comp
Starting kswapd.ipk python-xm
devfs: v1.7 (20011216) Richard Gooch (rgooch@atnf.csiro.au)

python-database_2.2-1.2_arm.ipk python_2.
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis
Communications AB.# ls
INSTALLATION python-html_2.2-1.2_arm.ipk
ttySA%d0 at MEM 0x80050000 (irq = 17) is a SA1100
example_1.0.0_arm.ipk python-i18n_2.
Console: switching to colour frame
       
parse_bootldr_partitions: magic=0x646c7470

parse_bootldr_partitions: numPartitions=0x3thon-xml_2.2-1.2_arm.ipk

parse_bootldr_partitions: npartitions=0x3ython-database_2.2-1.2_arm.ipk
python_2.
        partition bootldr o=0 s=40000
# nip^
        partition root o=40000 s=1f80000pkg install libdb2*

        partition asset o=1fc0000 s=40000
Configuring libdb2...Done.
Using Compaq bootldr partition definition 1k-blocks Used
Available Us
Creating 3 MTD partitions on "SA1100 flash":

/dev/mtdb
0x00000000-0x00040000 : "bootldr" 1
mtd: Giving out device 2 to asset
# df
Filesystem 1k
NET4: Linux TCP/IP 1.0 for NET4.0ounted on
IP Protocols: ICMP, UDP, TCP, IGMP
/dev/mtdblock/1 3
IP: routing cache hash table of 512 buckets, 4Kbytes

tmpfs
TCP: Hash tables configured (established 4096 bind 4096)

IPv4 over IPv4 tunneling driver
Unpacking pyqt...D
GRE over IPv4 tunneling driveriguring pyqt...Done.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.ks Used
Available Use% Mounted on
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebemtdblock/1
32256
rmIPAQ login:
P
 calculated 0x7bf71cc7nix[185]: (login) sess
Child dir "." (ino #1) of dir ino #1 appears to be a hard link

login[185]: ROOT
VFS: Mounted root (jffs2 filesystem).

sh-2.03#
sh-2.
Mounted devfs on /devd /home
Freeing init memory: 60K
QtPalmtop
sh-
Unable to handle kernel paging request at virtual address 18b83900s -la

total 1
drwxr-xr-x 1 100 100
pgd = c3f30000n 9 10:09 .
*pgd = 00000000, *pmd = 00000000
drwxr-xr-
Internal error: Oops: ffffffff 0 Jan 30 17:42 ..
CPU: 0
pc : [<c00b99f0>] lr : [<c00b8aa0>] Not tainted root
133 Feb 4 16:30 .ppprc
sp : c02e9e48 ip : c02e9e68 fp : c02e9e64
                                  
c02e9e80: 00000018 fffffff4 c02e9ebc c3da1200 c02e9ebc 00000070
00000066 c00178e builtin terminals are:

    
04lt
c02e9ea0: c02e8000 4018b2fc c02e9f54 c02e9eb8 c00b7154 c01009c4
00000000 762f00
    builtin_dumb
defaulting to 'ansi'
01
c02e9ec0: 722f7261 2e2f6e75 6463736e 636f735f 0074656b 4013c1b0
00000001 ffffff
:q
root:iWuSGrtezXz0E:0:0:root:/root:/bin/sh
ff
84
c02e9f60: 00000003 bffffb5c 00000070 c001d6f4 c0132c34 40142f30
00000003 000000
26
c02e9f80: 00000000 c02e9f90 c0017680 c00b79e4 00000003 c001d75c
00000003 bffffb
50
c02e9fa0: 00000070 00000014 00000003 00000026 4018ef9c 00000001
4018ef9c bffffc
4c
c02e9fc0: 4018b2fc bffffbe4 40142cc0 bffffb50 40168f28 40142cd0
60000010 000000
03
c02e9fe0: 00004000 c0168fe0 c013f444 c013f440 00000000 c02ea000
c0018a5c c00170
60
Backtrace:
Function entered at [<c00b9948>] from [<c00b8aa0>]
 r7 = 7FFFFFFF r6 = C3DA0400 r5 = C3DA0060 r4 = C3DA0400
Function entered at [<c00b8a6c>] from [<c0100a6c>]
 r4 = 00000000
Function entered at [<c01009b8>] from [<c00b7154>]
Function entered at [<c00b70ec>] from [<c00b7ae0>]
 r6 = 4018EF9C r5 = 00000003 r4 = 00000000
Function entered at [<c00b79d8>] from [<c0017680>]
 r5 = 00000026 r4 = 00000003
Code: e2433001 e5853008 (e5825004) e5852000 e3a03000
Kernel panic: Attempted to kill init!
----------------------------------------------------------------

-----Original Message-----
From: David Woodhouse [mailto:dwmw2@infradead.org]
Sent: Friday, March 01, 2002 12:55 PM
To: Reinier Mostert
Cc: ipaq@handhelds.org; Jamey.Hicks@compaq.com
Subject: Re: [iPAQ] Error on booting

reinier.mostert@bigfoot.com said:
> jffs2_scan_inode_node() : Data CRC failed on node at 0x01016f90: Read
0x000000007

It happens. Should be harmless. But if you're using a 2.4.17-rmk5 kernel
built from a CVS checkout from hh.org before 2002/02/26 22:18:55 UTC,
upgrade it now.

> Child dir "." (ino #1) of dir ino #1 appears to be a hard link

Upgrade your mkfs.jffs2. Still harmless though.

> Unable to handle kernel paging request at virtual address 18b83900

Can't do anything with this without the corresponding System.map. It's
unlikely to be directly related to the above messages, though.

Jamey - we don't have System.map in the kernel packages, do we? Could we

add it, and possibly a ksymoops package?

--
dwmw2
Received on Fri Mar 01 11:21:31 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:38 EDT