NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-hpcarm/60283: hpcarm / ipaq h3600: wd0d device timeout - cannot install to CF card (11.0 RC4)



>Number:         60283
>Category:       port-hpcarm
>Synopsis:       hpcarm / ipaq h3600: wd0d device timeout - cannot install to CF card (11.0 RC4)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hpcarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 20 13:15:00 +0000 2026
>Originator:     requiem
>Release:        11.0 RC4
>Organization:
>Environment:
Compaq iPAQ H3600 (cpu=0x0c108000 machine=0x01c40201)

>Description:
The installer does not seem to be able to carry out disk operations, it get stuck in a "lost interrupt / error reading fsbn0 / device timeout" loop when trying to install on the iPaq H3600.

I followed the wiki, and put hpcboot.exe, netbsd-ipaq.gz, netbsd-ipaq.symbols.gz, miniroot.fs on the CF Card.

The (known working, industrial grade, 1GB FAT32 formatted) CF card is attached via the CF Card sled expansion pack (PE2036B, p/n 173391-001, the PCB says the board is a 50H00043-00, rev A04). It is formatted (in Windows) to FAT32, single partition. The card works fine under Windows CE.

I start HPCBoot from the CF card with the following settings:

HPCBOOT Build 16; settings:
\Storage Card\netbsd.gz
Compaq iPAQ H3600
root file system: wd [miniroot.fs]
[X] boot verbosely
[X] serial console [9600]

Then the following happens, please see my actions in the below marked with :::

$ cu -l /dev/cua00 -9600 -d 
Connected to /dev/cua00 (speed 9600)
--- 
::: iPaq - press,
[[BOOT]]
---
::: Serial

--------HPCBOOT--------
FileManager: FAT
hpcboot build number: 16
Compaq iPAQ H3600 (cpu=0x0c108000 machine=0x01c40201)
[progress] 2
[0] 0xc0000000 size 0x08000000
[1] 0xc8000000 size 0x08000000
[2] 0xd0000000 size 0x08000000
[3] 0xd8000000 size 0x08000000
D-cache size = 8192
_WIN32_WCE = 420
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture      0x5
wProcessorLevel             0x4
wProcessorRevision          0x8
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xa11
Display: 240x320 16bpp
Reg0 :6901b118
Reg1 :c00a327f
Reg2 :c00a327f
Reg3 :00000001
Reg5 :c00a3007
Reg6 :00026a68
Reg13:16000000
Reg14:d5459604
CPSR :400000df
[progress] 3
[progress] 4
open file "\Storage Card\netbsd.gz"(3417337 byte).
[progress] 5
Loader: ELF
[progress] 6
file size: 0x3432ac+0x45772c
---
::: I get a notice on the iPaq:
Information
No symbol and/or string table in binary. (not fatal)
[[OK]]
---
::: Serial console

address translation table 1968 pages. (0x3d80 bytes)
allocated 1968 page. mapped 1968 page.
[progress] 7
2nd bootloader vaddr=0x0088f000 paddr=0xc1ce4000
2nd bootloader copy done.
[progress] 8
seg[0] paddr 0xc003f000 file size 0x3432ac mem size 0x3432ac
	->load 0xc003f000+0x003432ac=0xc03822ac ofs=0x00000000+0x3432ac
seg[1] paddr 0xc03e6c40 file size 0x45772c mem size 0x471400
	->load 0xc03e6c40+0x00471400=0xc0858040 ofs=0x00343c40+0x45772c
	->zero 0xc083e36c+0x00019cd4=0xc0858040
[progress] 9
load link 1955, zero clear link 1
kernel entry address: 0xc0040000
[progress] 10

---
::: iPaq:
Last chance... 
Push YES to boot.
[[YES]]
---
::: Serial outputs a bit of garbage then launches the installer
--- 
 >a: Installation messages in English


If you booted from an external device, you may now remove it.
 Thank you for using NetBSD!

NetBSD-11.0_RC4 Install System
>a: Install NetBSD to hard disk
 b: Upgrade NetBSD on a hard disk


You have chosen to install NetBSD on your hard disk.  This will change
 information on your hard disk.  You should have made a full backup before
 this procedure!  This procedure will do the following things:
         a) Partition your disk
         b) Create new BSD file systems
         c) Load and install distribution sets
         d) Some initial system configuration
 
 (After you enter the partition information but before your disk is changed,
 you will have the opportunity to quit this procedure.)
 
 Shall we continue?
 Yes or no?
    a: No
   >b: Yes

[ 131.6972298] ipaqpcic0: removal event
wdc0:0:0: lost interrupt
[ 134.8789546] 	type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: lost interrupt
[ 144.9522635] 	type: ata tc_bcount: 512 tc_skip: 0
[ 145.0074840] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
wdc0:0:0: lost interrupt
[ 156.1275874] 	type: ata tc_bcount: 512 tc_skip: 0
[ 156.1828147] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1
wdc0:0:0: lost interrupt
[ 166.7829086] 	type: ata tc_bcount: 512 tc_skip: 0
[ 166.8381315] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 2
wdc0:0:0: lost interrupt
[ 177.4382460] 	type: ata tc_bcount: 512 tc_skip: 0
[ 177.4935018] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 3
[ 188.0935813] 	type: ata tc_bcount: 512 tc_skip: 0
[ 188.1488040] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 4
wdc0:0:0: lost interrupt
[ 198.7488957] 	type: ata tc_bcount: 512 tc_skip: 0
[ 198.8041214] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 198.8864261] wd0d: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 198.9593037] wd0: dos partition I/O error
[ 199.0562080] ipaqpcic0: insertion event
wdc0:0:0: lost interrupt
[ 209.8998430] 	type: ata tc_bcount: 512 tc_skip: 0
[ 209.9550654] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
wdc0:0:0: lost interrupt
[ 220.5551601] 	type: ata tc_bcount: 512 tc_skip: 0
[ 220.6103885] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1
wdc0:0:0: lost interrupt
[ 231.2104761] 	type: ata tc_bcount: 512 tc_skip: 0
[ 231.2657037] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 2
wdc0:0:0: lost interrupt
[ 241.8658385] 	type: ata tc_bcount: 512 tc_skip: 0
[ 241.9210686] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 3
wdc0:0:0: lost interrupt
[ 252.5212354] 	type: ata tc_bcount: 512 tc_skip: 0
[ 252.5764700] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 4
wdc0:0:0: lost interrupt
[ 263.1765167] 	type: ata tc_bcount: 512 tc_skip: 0
[ 263.2317465] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 263.3140547] wd0d: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 263.3869279] wd0: dos partition I/O error
wdc0:0:0: lost interrupt
[ 264.4618395] 	type: ata tc_bcount: 512 tc_skip: 0
[ 266.0170413] ipaqpcic0: removal event
wdc0:0:0: lost interrupt
[ 275.3985981] 	type: ata tc_bcount: 512 tc_skip: 0
[ 275.4538301] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0

::: THIS KEEPS LOOPING, until 

On which disk do you want to install NetBSD?
 The most common disk types are:
         - wd: SATA, ATA, or IDE
         - sd: SCSI or removable USB disk
         - ld: NVMe (e.g.  M.2 card), SD/MMC card, or virtual disk
 
              ┌──────────────────────────────────────────────────┐
              │ Available disks                                  │
              │                                                  │
              │[ 330.4756657] pcmcia1: card appears to have bogus CIS
              │ b: Extended p[ 329.5825285] ipaqpcic0: insertion event
artitioning (s│ x: ExitAID, etc...) │                            │
              └──────────────────────────────────────────────────┘

::: Moving the cursor up and down reveals it can see wd0

 On which disk do you want to install NetBSD?
 The most common disk types are:
         - wd: SATA, ATA, or IDE
         - sd: SCSI or removable USB disk
         - ld: NVMe (e.g.  M.2 card), SD/MMC card, or virtual disk
 
Available disks
>a: wd0 (972M)
 b: Extended partitioning (software RAID, etc...)
 x: Exit

::: However selecting it, I get back to the same loop:

[ 849.6118189] ipaqpcic0: removal event 
[ 860.0333705]  type: ata tc_bcount: 512 tc_skip: 0              │
[ 860.0885951] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
wdc0:0:0: lost interrupt
[ 870.6886803] 	type: ata tc_bcount: 512 tc_skip: 0
[ 870.7439353] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1


::: DMESG:

# dmesg
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.0_RC4 (INSTALL_IPAQ) #0: Tue May 12 04:23:51 UTC 2026
[   1.0000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/hpcarm/compile/INSTALL_IPAQ
[   1.0000000] total memory = 32768 KB
[   1.0000000] avail memory = 23044 KB
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0 core 0: SA-1110 step B-4 (SA-1 V4 core)
[   1.0000000] cpu0: DC enabled IC enabled WB enabled LABT
[   1.0000000] cpu0: L1 16KB/32B 32-way (16 set) VIVT Instruction cache
[   1.0000000] cpu0: L1 8KB/32B 32-way (8 set) write-back VIVT Data cache
[   1.0000000] saip0 at mainbus0
[   1.0000000] saost0 at saip0 addr 0x90000000-0x9000001f
[   1.0000000] saost0: SA-11x0 OS Timer
[   1.0000000] sacom0 at saip0 addr 0x80050000-0x80050023 intr 17
[   1.0000000] sacom0: SA-11x0 UART3
[   1.0000000] sacom0: console
[   1.0000000] ipaqbus0 at saip0
[   1.0000000] ipaqpcic0 at ipaqbus0
[   1.0000000] pcmcia0 at ipaqpcic0
[   1.0000000] ipaqpcic0: card present
[   1.0000000] wdc0 at pcmcia0 function 0: <SMART MODULAR TECH, SMART 223>
[   1.0000000] wdc0: i/o mapped mode
[   1.0000000] atabus0 at wdc0 channel 0
[   1.0000000] pcmcia1 at ipaqpcic0
[   1.0000000] spl_masks[0]=00320080
[   1.0000000] spl_masks[1]=00320080
[   1.0000000] spl_masks[2]=00320080
[   1.0000000] spl_masks[3]=00320080
[   1.0000000] spl_masks[4]=00320080
[   1.0000000] spl_masks[5]=00020000
[   1.0000000] spl_masks[6]=00020000
[   1.0000000] spl_masks[7]=00000000
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.0000000] clock: hz=100 stathz=64
[   1.0000000] timecounter: Timecounter "saost_count" frequency 3686400 Hz quality 100
[   1.0000060] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[   1.0542389] wd0 at atabus0 drive 0
[   1.1042370] syscall 295 is busy
[   4.0642169] autoconfiguration error: wdc0:0:0: lost interrupt
[   4.0642169] 	type: ata tc_bcount: 512 tc_skip: 0
[   4.1010903] wd0: <SMART CF>
[   4.1177200] wd0: drive supports 1-sector PIO transfers, LBA addressing
[   4.1479330] wd0: 971 MB, 1974 cyl, 16 head, 63 sec, 512 bytes/sect x 1989792 sectors
[   4.3121010] entropy: best effort
[   7.2020617] autoconfiguration error: wdc0:0:0: lost interrupt
[   7.2020617] 	type: ata tc_bcount: 512 tc_skip: 0
[  10.2388634] autoconfiguration error: wdc0:0:0: lost interrupt
[  10.2388634] 	type: ata tc_bcount: 512 tc_skip: 0
[  10.2757102] wd0: drive supports PIO mode 4
[  10.2991710] WARNING: 3 errors while detecting hardware; check system log.
[  10.3408499] md0: internal 4352 KB image area
[  10.3663645] root on md0a dumps on md0b
[  10.3871053] root file system type: ffs
[  10.4111507] kern.module.path=/stand/hpcarm/11.0/modules
[  10.4424097] WARNING: no TOD clock present
[  10.4663726] WARNING: using filesystem time
[  10.4908157] WARNING: CHECK AND RESET THE DATE!
[  10.5173552] ipaqpcic0: insertion event
[  11.3897494] pcmcia1: card appears to have bogus CIS
[ 131.6972298] ipaqpcic0: removal event
[ 134.8609397] autoconfiguration error: wdc0:0:0: lost interrupt
[ 134.8789546] 	type: ata tc_bcount: 512 tc_skip: 0
[ 144.9341637] autoconfiguration error: wdc0:0:0: lost interrupt
[ 144.9522635] 	type: ata tc_bcount: 512 tc_skip: 0
[ 145.0074840] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
[ 156.1095560] autoconfiguration error: wdc0:0:0: lost interrupt
[ 156.1275874] 	type: ata tc_bcount: 512 tc_skip: 0
[ 156.1828147] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1
[ 166.7648894] autoconfiguration error: wdc0:0:0: lost interrupt
[ 166.7829086] 	type: ata tc_bcount: 512 tc_skip: 0
[ 166.8381315] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 2
[ 177.4202173] autoconfiguration error: wdc0:0:0: lost interrupt
[ 177.4382460] 	type: ata tc_bcount: 512 tc_skip: 0
[ 177.4935018] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 3
[ 188.0755564] autoconfiguration error: wdc0:0:0: lost interrupt
[ 188.0935813] 	type: ata tc_bcount: 512 tc_skip: 0
[ 188.1488040] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 4
[ 198.7308765] autoconfiguration error: wdc0:0:0: lost interrupt
[ 198.7488957] 	type: ata tc_bcount: 512 tc_skip: 0
[ 198.8041214] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 198.8864261] wd0d: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 198.9593037] wd0: dos partition I/O error
[ 199.0562080] ipaqpcic0: insertion event
[ 209.8818276] autoconfiguration error: wdc0:0:0: lost interrupt
[ 209.8998430] 	type: ata tc_bcount: 512 tc_skip: 0
[ 209.9550654] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
[ 220.5371422] autoconfiguration error: wdc0:0:0: lost interrupt
[ 220.5551601] 	type: ata tc_bcount: 512 tc_skip: 0
[ 220.6103885] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1
[ 231.1924599] autoconfiguration error: wdc0:0:0: lost interrupt
[ 231.2104761] 	type: ata tc_bcount: 512 tc_skip: 0
[ 231.2657037] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 2
[ 241.8478014] autoconfiguration error: wdc0:0:0: lost interrupt
[ 241.8658385] 	type: ata tc_bcount: 512 tc_skip: 0
[ 241.9210686] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 3
[ 252.5031630] autoconfiguration error: wdc0:0:0: lost interrupt
[ 252.5212354] 	type: ata tc_bcount: 512 tc_skip: 0
[ 252.5764700] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 4
[ 263.1585086] autoconfiguration error: wdc0:0:0: lost interrupt
[ 263.1765167] 	type: ata tc_bcount: 512 tc_skip: 0
[ 263.2317465] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 263.3140547] wd0d: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 263.3869279] wd0: dos partition I/O error
[ 264.4438235] autoconfiguration error: wdc0:0:0: lost interrupt
[ 264.4618395] 	type: ata tc_bcount: 512 tc_skip: 0
[ 266.0170413] ipaqpcic0: removal event
[ 275.3805854] autoconfiguration error: wdc0:0:0: lost interrupt
[ 275.3985981] 	type: ata tc_bcount: 512 tc_skip: 0
[ 275.4538301] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 0
[ 286.0359034] autoconfiguration error: wdc0:0:0: lost interrupt
[ 286.0539247] 	type: ata tc_bcount: 512 tc_skip: 0
[ 286.1091518] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 1
[ 296.6912240] autoconfiguration error: wdc0:0:0: lost interrupt
[ 296.7092386] 	type: ata tc_bcount: 512 tc_skip: 0
[ 296.7644700] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 2
[ 307.3465449] autoconfiguration error: wdc0:0:0: lost interrupt
[ 307.3645611] 	type: ata tc_bcount: 512 tc_skip: 0
[ 307.4197882] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 3
[ 318.0018617] autoconfiguration error: wdc0:0:0: lost interrupt
[ 318.0198850] 	type: ata tc_bcount: 512 tc_skip: 0
[ 318.0751289] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), xfer f20, retry 4
[ 328.6571951] autoconfiguration error: wdc0:0:0: lost interrupt
[ 328.6752227] 	type: ata tc_bcount: 512 tc_skip: 0
[ 328.7304536] wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 328.8127537] wd0d: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
[ 328.8856315] wd0: dos partition I/O error
[ 329.5825285] ipaqpcic0: insertion event
[ 330.4756657] pcmcia1: card appears to have bogus CIS



I am unable to proceed with installation.

The same happens if I try to partition instead of install -- at any point when disk operations might happen I start getting the same errors.
>How-To-Repeat:
Try to do any disk operations in the installer. Same errors come up when trying to run partitioning.
>Fix:
Not known




Home | Main Index | Thread Index | Old Index