Subject: Problem with CF card booting hpcarm! [Jornada]
To: None <port-hpcarm@NetBSD.org>
From: Ahmad M.Afuni <catalyst@digiverse.net>
List: port-hpcarm
Date: 07/21/2004 05:04:00
Jornada.
Perhaps sticking that in the Subject would've gotten your attention. :P
Here's the output on Serial:

--------HPCBOOT--------
 FileManager: FAT
[0] 0xc0000000 size 0x08000000
[1] 0xc8000000 size 0x08000000
[2] 0xd0000000 size 0x08000000
[3] 0xd8000000 size 0x08000000
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture      0x5
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xa11
wProcessorLevel             0x4
wProcessorRevision          0x8
Display: 240x320 16bpp
Reg0 :6901b118
Reg1 :c00a327f
Reg2 :c00a327f
Reg3 :00000001
Reg5 :c00a3007
Reg6 :000232cc
Reg13:14000000
Reg14:00000000
CPSR :600000df
open file "\Storage Card\netbsd-IPAQ.gz"(1174025 byte).
Loader: ELF
file size: +0x1ff970+0x8924+[(symbol block: header 800 symbol 138672 string 115527 byte) = 0x3e417] = 0x247417 byte
address translation table 592 pages.(4736 byte)
allocated 592 page. mapped 592 page.
2nd bootloader vaddr=0x0032f000 paddr=0xc1d0c000
2nd bootloader copy done.
[0] vaddr 0xc0040000 file size 0x1ff970 mem size 0x1ff970
	->load 0xc0040000+0x001ff970=0xc023f970 ofs=0x00008000+0x1ff970
[1] vaddr 0xc0247970 file size 0x8924 mem size 0x50c5c
	->load 0xc0247970+0x00050c5c=0xc02985cc ofs=0x00207970+0x8924
[zero clear] ->0xc0250294+0x00048338=0xc02985cc
	->load 0xc02985cc+0x00000320=0xc02988ec
	->load 0xc02988ec+0x00021db0=0xc02ba69c ofs=0x0021b3b8+0x21db0
	->load 0xc02ba69c+0x0001c347=0xc02d69e3 ofs=0x0023d168+0x1c347
load link 587 zero clear link 1.
kernel entry address: 0xc0040000
framebuffer: 240x320 type=5 linebytes=0 addr=0x00000000
console = 2
kernsize=0x29c000 (including 0x3e417 symbols)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0_BETA (IPAQ) #0: Sun Jul 11 18:28:02 UTC 2004
	autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/hpcarm/OBJ/autobuild/netbsd-2-0/src/sys/arch/hpcarm/compile/IPAQ
total memory = 32768 KB
avail memory = 28496 KB
mainbus0 (root)
cpu0 at mainbus0: SA-1110 step B-4 (SA-1 core)
cpu0: DC disabled IC disabled WB disabled EABT
cpu0: 16KB/32B 32-way Instruction cache
cpu0: 8KB/32B 32-way write-back Data cache
saip0 at mainbus0
saost0 at saip0 addr 0x90000000-0x9000001f
saost0: SA-11x0 OS Timer
sacom0 at saip0 addr 0xd000d000-0xd000d023 intr 17
sacom0: unknown SA11x0 UART
sacom0: console
ipaqbus0 at saip0
ipaqpcic0 at ipaqbus0
pcmcia0 at ipaqpcic0
pcmcia1 at ipaqpcic0
ipl_bio=00320000 ipl_net=00020000 ipl_tty=00020000 ipl_vm=00020000
ipl_audio=00020000 ipl_imp=00020000 ipl_high=00020000 ipl_serial=00020000
clock: hz=100 stathz = 64
ipaqpcic0: card present
wdc0 at pcmcia0 function 0
atabus0 at wdc0 channel 0
wd0 at atabus0 drive 0wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
: <Hitachi XXM2.3.0>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 122 MB, 978 cyl, 8 head, 32 sec, 512 bytes/sect x 250368 sectors
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
boot device: wd0
root on wd0a dumps on wd0b
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
ipaqpcic0: insertion event
ipaqpcic0: removal event
no file system for wd0 (dev 0x1000)
cannot mount root, error = 79
root device (default wd0a): 

As you guessed, this is with an iPAQ H3630!
Perhaps someone can clarify why this happens..
My CF has the first 12MB a WinCE/FAT16 partition made with Linux, the rest of the drive is free for partitioning..
I hope someone knows how to fix this.
Thanks,
Ahmad

_____________________________________________________________
yourname@digiverse.net
http://www.digiverse.net