Subject: Re: Successful installation of NetBSD3.0/hpcmips but... /netbsd image cannot be opened on reboot
To: Peter Kwan <peterkwan@yahoo.com>
From: Peter Kwan <peterkwan@yahoo.com>
List: port-hpcmips
Date: 04/03/2006 17:20:15
--0-778006541-1144110015=:55528
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Workarounds in using the Kingston 2G [50x] CF card on a Sharp HC 7000 [probably equivalent to a Telios AJ1]
   
  1. Step 1: At WinCE, download /binary/sets/netbsd-GENERIC.gz onto CF card (otherwise, it will be wiped out on each resetting of the WinCE machine)
   
  2. Step 2: Also at WinCE, copy netbsd-GENERIC.gz onto /My Documents. [Note: Sharp 7000 still fails to open the netbsd-GENERIC.gz image if the latter is on the Kingston 2G CF card.
   
  3. Step 3: using hpcboot.exe [on Kingston 2G CF card] to boot with the following paramenters [successful ones although other combinations may be possible]
   
  hpcboot.exe parameters used
   
  kernel: \My Documents\     netbsd-GENERIC(1).gz    verbose
  options: autoboot after 7 sec
  log: NIL

   
  4. That's it.
   
  Peter KWAN
  Hong Kong SAR, PRC
   
  ***********************************
  Below is the dmesg capture:
  ***********************************

  Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  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 3.0 (GENERIC) #0: Mon Dec 19 00:55:40 UTC 2005
  riz@faith.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/hpcmips/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/hpcmips/compile/GENERIC
  Sharp HC-AJ1 (Japanese) (TOSHIBA TMPR3922 rev. 1.6 129.00 MHz)
  total memory = 25628 KB
  total memory banks = 2
  memory bank 0 = 0x00000000 7136KB(0x006f8000)
  memory bank 1 = 0x006f8000 18492KB(0x0120f000)
  avail memory = 17680 KB
  mainbus0 (root)
  cpu0 at mainbus0: Toshiba TX3922 CPU (0x2230) Rev. 3.0 with software emulated floating point
  cpu0: 16KB/16B 2-way set-associative Instruction cache, 64 TLB entries
  cpu0: 8KB/16B 2-way set-associative write-through Data cache
  txsim0 at mainbus0
  tx39icu0 at txsim0
  tx39power0 at txsim0
  tx39clock0 at txsim0
  tx39io0 at txsim0
  tx39sib0 at txsim0: 1.536 MHz
  ucb0 at tx39sib0 slot 0: TOSHIBA TC35413F
  ucbtp0 at ucb0: 
  wsmouse at ucbtp0 not configured
  ucbsnd0 at ucb0: audio 3.692 kHz telecom 1.200 kHz
  ucbio0 at ucb0
  tx39biu0 at txsim0
  tx39spi0 at txsim0
  txioman0 at txsim0
  tx39uart0 at txsim0
  txcom0 at tx39uart0 slot 0
  txcom1 at tx39uart0 slot 1
  txcsbus1 at tx39biu0
  teliosio0 at txcsbus1 regcs KUCS1 16bit 0+0xffffffff
  tc5165buf0 at txcsbus1 iocs CS1 16bit 0+0x100: polling mode
  hpckbd0 at tc5165buf0
  wskbd0 at hpckbd0: console keyboard
  plum0 at txcsbus1 regcs CS3 32bit 0+0xffffffff iocs MCS0 32bit 0+0xffffffff memcs MCS1 32bit 0+0xffffffff irq1 277(8:21): Plum2 #2
  plumicu0 at plum0
  plumpower0 at plum0
  plumvideo0 at plum0: display mode: 8bpp 
  hpcfb0 at plumvideo0: 800x480 pixels, 256 colors, 100x48 chars
  wsdisplay0 at hpcfb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
  wsmux1: connecting to wsdisplay0
  ohci0 at plum0
  ohci0: OHCI version 1.0
  usb0 at ohci0: USB revision 1.0
  uhub0 at usb0
  uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  plumpcmcia0 at plum0
  pcmcia0 at plumpcmcia0
  ep0 at pcmcia0 function 0: <3Com, Megahertz 589E, TP/BNC LAN PC Card, 005>
  ep0: address 00:00:86:56:b1:37, 8KB byte-wide FIFO, 5:3 Rx:Tx split
  ep0: 10baseT, 10base5, 10base2 (default 10baseT)
  pcmcia1 at plumpcmcia0
  wdc1 at pcmcia1 function 0: <SAMSUNG, 04/05/06>
  wdc1: i/o mapped mode
  atabus0 at wdc1 channel 0
  hpcioman1 at txioman0
  hpcin0 at hpcioman1 iochip IO, port 7, type 4, id 16, interrupt edge [p]
  hpcin1 at hpcioman1 iochip IO, port 8, type 4, id 17, interrupt edge [p]
  hpcin2 at hpcioman1 iochip IO, port 6, type 0, id 4, interrupt edge [p]
  hpcin3 at hpcioman1 iochip MFIO, port 27, type 2, id 32, interrupt edge [pn]
  hpcin4 at hpcioman1 iochip MFIO, port 29, type 2, id 36, interrupt edge [pn]
  hpcout0 at hpcioman1 iochip IO, port 4, type 3, id 26
  btnmgr0 at mainbus0
  wskbd1 at btnmgr0 mux 1
  wskbd1: connecting to wsdisplay0
  hpcapm0 at mainbus0: pseudo power management module
  apmdev0 at hpcapm0: Power Management spec V1.2
  wd0 at atabus0 drive 0: <SAMSUNG CF/ATA>
  wd0: drive supports 1-sector PIO transfers, LBA addressing
  wd0: 2000 MB, 4065 cyl, 16 head, 63 sec, 512 bytes/sect x 4097520 sectors
  boot device: wd0
  root on wd0a dumps on wd0b
  root file system type: ffs
  
Peter Kwan <peterkwan@yahoo.com> wrote:
    To do some package source compilation, I installed NetBSD3.0/hpcmips on one of my three Sharp 7000 (equivalent to Telios AJ1 jp) using a Kingston 50X 2.0 GigaByte compact flash card. Everything works fine (very much like my 1G compact cards exercise). There is, however, a very frustrating hiccup -- Rebooting after the smooth installation, it reports that it could not open the /netbsd image! Moreover, breaking into the utility shell indicates that all files, in particular, /netbsd is already in. Just wonder if it has to do with the embedded software and/or hardware of the 2G CF card. Any advice to fix the problem will be highly appreciated. Thank you in advance.
   
  peter
   
  ************************************************************************************************
  PS:
  hpcboot.exe parameters used
   
  installation: ==> 
  kernel: \storage card\     netbsd(1).gz    verbose
  options: autoboot after 7 sec
  log: NIL
   
  post-installation: ==> /                               netbsd
  kernel: /   netbsd(1).gz    verbose
  options: autoboot after 7 sec
  log: NIL
   
  The same setting works flawlessly on the Kingston and SanDisk from 256M --1G CF cards
  **************************************************************************************************  
    
---------------------------------
  Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.


		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
--0-778006541-1144110015=:55528
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Workarounds in using the Kingston 2G [50x] CF card on a Sharp HC 7000 [probably equivalent to a Telios AJ1]</DIV>  <DIV>&nbsp;</DIV>  <DIV>1. Step 1: At WinCE, download /binary/sets/netbsd-GENERIC.gz onto CF card (otherwise, it will be wiped out&nbsp;on&nbsp;each resetting of the WinCE machine)</DIV>  <DIV>&nbsp;</DIV>  <DIV>2. Step 2: Also at WinCE, copy netbsd-GENERIC.gz onto /My Documents. [Note: Sharp 7000 still fails to open the netbsd-GENERIC.gz image if the latter is on the Kingston 2G CF card.</DIV>  <DIV>&nbsp;</DIV>  <DIV>3. Step 3: using hpcboot.exe [on Kingston 2G CF card] to boot with the following paramenters [successful ones although other combinations may be possible]</DIV>  <DIV>&nbsp;</DIV>  <DIV>hpcboot.exe parameters used</DIV>  <DIV>&nbsp;</DIV>  <DIV>kernel: \My Documents\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netbsd-GENERIC(1).gz&nbsp;&nbsp;&nbsp; verbose</DIV>  <DIV>options: autoboot after 7 sec</DIV>  <DIV>log: NIL<BR></DIV>  <DIV>&nbsp;</DIV>  <DIV>4.
 That's it.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Peter KWAN</DIV>  <DIV>Hong Kong SAR, PRC</DIV>  <DIV>&nbsp;</DIV>  <DIV>***********************************</DIV>  <DIV>Below is the dmesg capture:</DIV>  <DIV>***********************************<BR></DIV><FONT size=2>  <div>Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005</div>  <div>The NetBSD Foundation, Inc. All rights reserved.</div>  <div>Copyright (c) 1982, 1986, 1989, 1991, 1993</div>  <div>The Regents of the University of California. All rights reserved.</div>  <div>NetBSD 3.0 (GENERIC) #0: Mon Dec 19 00:55:40 UTC 2005</div>  <div>riz@faith.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/hpcmips/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/hpcmips/compile/GENERIC</div>  <div>Sharp HC-AJ1 (Japanese) (TOSHIBA TMPR3922 rev. 1.6 129.00 MHz)</div>  <div>total memory = 25628 KB</div>  <div>total memory banks = 2</div>  <div>memory bank 0 = 0x00000000 7136KB(0x006f8000)</div> 
 <div>memory bank 1 = 0x006f8000 18492KB(0x0120f000)</div>  <div>avail memory = 17680 KB</div>  <div>mainbus0 (root)</div>  <div>cpu0 at mainbus0: Toshiba TX3922 CPU (0x2230) Rev. 3.0 with software emulated floating point</div>  <div>cpu0: 16KB/16B 2-way set-associative Instruction cache, 64 TLB entries</div>  <div>cpu0: 8KB/16B 2-way set-associative write-through Data cache</div>  <div>txsim0 at mainbus0</div>  <div>tx39icu0 at txsim0</div>  <div>tx39power0 at txsim0</div>  <div>tx39clock0 at txsim0</div>  <div>tx39io0 at txsim0</div>  <div>tx39sib0 at txsim0: 1.536 MHz</div>  <div>ucb0 at tx39sib0 slot 0: TOSHIBA TC35413F</div>  <div>ucbtp0 at ucb0: </div>  <div>wsmouse at ucbtp0 not configured</div>  <div>ucbsnd0 at ucb0: audio 3.692 kHz telecom 1.200 kHz</div>  <div>ucbio0 at ucb0</div>  <div>tx39biu0 at txsim0</div>  <div>tx39spi0 at txsim0</div>  <div>txioman0 at txsim0</div>  <div>tx39uart0 at txsim0</div>  <div>txcom0 at tx39uart0 slot 0</div>  <div>txcom1 at
 tx39uart0 slot 1</div>  <div>txcsbus1 at tx39biu0</div>  <div>teliosio0 at txcsbus1 regcs KUCS1 16bit 0+0xffffffff</div>  <div>tc5165buf0 at txcsbus1 iocs CS1 16bit 0+0x100: polling mode</div>  <div>hpckbd0 at tc5165buf0</div>  <div>wskbd0 at hpckbd0: console keyboard</div>  <div>plum0 at txcsbus1 regcs CS3 32bit 0+0xffffffff iocs MCS0 32bit 0+0xffffffff memcs MCS1 32bit 0+0xffffffff irq1 277(8:21): Plum2 #2</div>  <div>plumicu0 at plum0</div>  <div>plumpower0 at plum0</div>  <div>plumvideo0 at plum0: display mode: 8bpp </div>  <div>hpcfb0 at plumvideo0: 800x480 pixels, 256 colors, 100x48 chars</div>  <div>wsdisplay0 at hpcfb0 kbdmux 1: console (std, vt100 emulation), using wskbd0</div>  <div>wsmux1: connecting to wsdisplay0</div>  <div>ohci0 at plum0</div>  <div>ohci0: OHCI version 1.0</div>  <div>usb0 at ohci0: USB revision 1.0</div>  <div>uhub0 at usb0</div>  <div>uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1</div>  <div>uhub0: 2 ports with 2
 removable, self powered</div>  <div>plumpcmcia0 at plum0</div>  <div>pcmcia0 at plumpcmcia0</div>  <div>ep0 at pcmcia0 function 0: &lt;3Com, Megahertz 589E, TP/BNC LAN PC Card, 005&gt;</div>  <div>ep0: address 00:00:86:56:b1:37, 8KB byte-wide FIFO, 5:3 Rx:Tx split</div>  <div>ep0: 10baseT, 10base5, 10base2 (default 10baseT)</div>  <div>pcmcia1 at plumpcmcia0</div>  <div>wdc1 at pcmcia1 function 0: &lt;SAMSUNG, 04/05/06&gt;</div>  <div>wdc1: i/o mapped mode</div>  <div>atabus0 at wdc1 channel 0</div>  <div>hpcioman1 at txioman0</div>  <div>hpcin0 at hpcioman1 iochip IO, port 7, type 4, id 16, interrupt edge [p]</div>  <div>hpcin1 at hpcioman1 iochip IO, port 8, type 4, id 17, interrupt edge [p]</div>  <div>hpcin2 at hpcioman1 iochip IO, port 6, type 0, id 4, interrupt edge [p]</div>  <div>hpcin3 at hpcioman1 iochip MFIO, port 27, type 2, id 32, interrupt edge [pn]</div>  <div>hpcin4 at hpcioman1 iochip MFIO, port 29, type 2, id 36, interrupt edge [pn]</div>  <div>hpcout0 at
 hpcioman1 iochip IO, port 4, type 3, id 26</div>  <div>btnmgr0 at mainbus0</div>  <div>wskbd1 at btnmgr0 mux 1</div>  <div>wskbd1: connecting to wsdisplay0</div>  <div>hpcapm0 at mainbus0: pseudo power management module</div>  <div>apmdev0 at hpcapm0: Power Management spec V1.2</div>  <div>wd0 at atabus0 drive 0: &lt;SAMSUNG CF/ATA&gt;</div>  <div>wd0: drive supports 1-sector PIO transfers, LBA addressing</div>  <div>wd0: 2000 MB, 4065 cyl, 16 head, 63 sec, 512 bytes/sect x 4097520 sectors</div>  <div>boot device: wd0</div>  <div>root on wd0a dumps on wd0b</div>  <div>root file system type: ffs</div></FONT>  <DIV><BR><B><I>Peter Kwan &lt;peterkwan@yahoo.com&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>To do some package source compilation, I installed NetBSD3.0/hpcmips on one of my three Sharp 7000 (equivalent to Telios AJ1 jp) using a Kingston 50X 2.0 GigaByte compact flash card.
 Everything works fine (very much like my 1G compact cards exercise). There is, however, a very frustrating hiccup -- Rebooting after the smooth&nbsp;installation, it reports that it could not open the /netbsd image! Moreover, breaking into the&nbsp;utility shell indicates that all files, in particular, /netbsd is already in.&nbsp;Just wonder if it has to do with the embedded software and/or hardware of the 2G CF card. Any advice to fix the problem will be highly appreciated. Thank you in advance.</DIV>  <DIV>&nbsp;</DIV>  <DIV>peter</DIV>  <DIV>&nbsp;</DIV>  <DIV>************************************************************************************************</DIV>  <DIV>PS:</DIV>  <DIV>hpcboot.exe parameters used</DIV>  <DIV>&nbsp;</DIV>  <DIV>installation: ==&gt; </DIV>  <DIV>kernel: \storage card\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netbsd(1).gz&nbsp;&nbsp;&nbsp; verbose</DIV>  <DIV>options: autoboot after 7 sec</DIV>  <DIV>log: NIL</DIV>  <DIV>&nbsp;</DIV> 
 <DIV>post-installation: ==&gt; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netbsd</DIV>  <DIV>kernel:&nbsp;/&nbsp;&nbsp;&nbsp;netbsd(1).gz&nbsp;&nbsp;&nbsp; verbose</DIV>  <DIV>options: autoboot after 7 sec</DIV>  <DIV>log: NIL</DIV>  <DIV>&nbsp;</DIV>  <DIV>The same setting works flawlessly on the Kingston and SanDisk from 256M --1G CF cards</DIV>  <DIV>**************************************************************************************************&nbsp;&nbsp;</DIV>  <DIV>  <HR SIZE=1>  Blab-away for as little as 1¢/min. Make http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">PC-to-Phone Calls using Yahoo! Messenger with Voice.</DIV></BLOCKQUOTE><BR><p>
		<hr size=1>New Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman6/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Call regular phones from your PC</a> and save big.
--0-778006541-1144110015=:55528--