Skip to content

Instantly share code, notes, and snippets.

@rokuyama
Created September 15, 2021 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rokuyama/e0d120dc62dad2ece8574f83de279be9 to your computer and use it in GitHub Desktop.
Save rokuyama/e0d120dc62dad2ece8574f83de279be9 to your computer and use it in GitHub Desktop.
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021 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 9.99.88 (J690NE) #11: Wed Sep 15 23:54:39 JST 2021
[ 1.0000000] rin@latipes:/sys/arch/hpcsh/compile/J690NE
[ 1.0000000] HP Jornada 690 (Japanese)
[ 1.0000000] total memory = 32768 KB
[ 1.0000000] avail memory = 26748 KB
[ 1.0000000] timecounter: Timecounters tick every 15.625 msec
[ 1.0000000] mainbus0 (root)
[ 1.0000000] cpu0 at mainbus0: SH3 132.696 MHz PCLOCK 22.117 MHz
[ 1.0000000] cpu0: 16KB/16B 4-way set-associative I/D-unified cache.
[ 1.0000000] cpu0: U0, P0, P3 write-back; P1 write-back
[ 1.0000000] cpu0: 4-way set-associative 128 TLB entries
[ 1.0000000] cpu0: VPN mode, multiple virtual storage mode
[ 1.0000000] btnmgr0 at mainbus0
[ 1.0000000] wskbd2 at btnmgr0 (mux ignored)
[ 1.0000000] shb0 at mainbus0
[ 1.0000000] rtc0 at shb0
[ 1.0000000] scif0 at shb0
[ 1.0000000] scif0: console
[ 1.0000000] adc0 at shb0
[ 1.0000000] j6x0pwr0 at adc0
[ 1.0000000] j6x0tp0 at adc0
[ 1.0000000] wsmouse0 at j6x0tp0 (mux ignored)
[ 1.0000000] wskbd1 at j6x0tp0 (mux ignored)
[ 1.0000000] j6x0lcd0 at shb0: brightness 28, contrast 11
[ 1.0000000] hd64461if0 at shb0
[ 1.0000000] hd64461video0 at hd64461if0: frame buffer = 512 KB
[ 1.0000000] hpcfb0 at hd64461video0
[ 1.0000000] wsdisplay0 at hpcfb0 (kbdmux ignored)
[ 1.0000000] hd64461video0: turning off
[ 1.0000000] hd64461pcmcia0 at hd64461if0
[ 1.0000000] hd64461uart at hd64461if0 not configured
[ 1.0000000] pfckbd0 at mainbus0
[ 1.0000000] hpckbd0 at pfckbd0
[ 1.0000000] wskbd0 at hpckbd0 (mux ignored)
[ 1.0000000] hpcapm0 at mainbus0: pseudo power management module
[ 1.0000000] apmdev0 at hpcapm0: Power Management spec V1.2
[ 1.0000000] entropy: WARNING: extracting entropy too early
[ 1.0000000] timecounter: Timecounter "tmu_pclock_4" frequency 5529481 Hz quality 0
[ 1.0000040] timecounter: Timecounter "clockinterrupt" frequency 64 Hz quality 0
[ 1.4323721] pcmcia0 at hd64461pcmcia0
[ 4.4480211] ne0 at pcmcia0 function 0: <Laneed, LD-CDL/TX, Fast Ethernet, Rev. A1>
[ 4.4868584] ne0: Ethernet address 00:90:fe:56:cb:8e
[ 4.5160114] nsphyter0 at ne0 phy 5: DP83815/DP83846A 10/100 media interface, rev. 3
[ 4.5617866] nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 5.4011254] pcmcia1 at hd64461pcmcia0
[ 8.4011279] wdc0 at pcmcia1 function 0: <Kingston, CF_Card, >
[ 8.4350692] wdc0: memory mapped mode
[ 8.5574760] aes: BearSSL aes_ct
[ 8.5731032] aes_ccm: self-test passed
[ 8.5978194] chacha: Portable C ChaCha
[ 8.6199278] blake2s: self-test passed
[ 8.9480391] atabus0 at wdc0 channel 0
[ 8.9637700] wdcprobe1:0: before reset, st0=0x50, st1=0x0
[ 8.9637700] wdc0:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
[ 8.9637700] wdc0:0:1: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
[ 8.9637700] wdc0:0: wdcwait_reset() end, st0=0x50 st1=0x0
[ 8.9637700] wdcprobe1:0: after reset, ret_value=0x3
[ 8.9637700] wdcprobe1:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
[ 8.9637700] wdcprobe1:0:1: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
[ 12.1980213] wdc0:0: wait DRDY st0 0x50 st1 0x0
[ 12.2160653] ata_get_params
[ 12.2321724] wdc_exec_command wdc0:0:0
[ 12.2540830] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 12.2847741] atastart from ata_exec_xfer, flags 0x0
[ 12.3134491] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 12.3134491] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 12.3134491] __wdccommand_start wdc0:0:0
[ 12.3134491] __wdcwait wdc0:0
[ 12.3134491] wdccommand wdc0:0:0: command=0xec cylin=0 head=160 sector=0 count=0 features=0
[ 12.4770086] __wdccommand_intr wdc0:0:0
[ 12.4770086] __wdcwait wdc0:0
[ 12.5167239] __wdccommand_done wdc0:0:0 flags 0x59
[ 12.5446765] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 12.5821881] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 12.6196795] atabusattach: ch_drive_type 0x1 0x0
[ 12.6467974] wd0 at atabus0 drive 0wdattach
[ 12.6712489] ata_get_params
[ 12.6884317] wdc_exec_command wdc0:0:0
[ 12.7103162] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 12.7410345] atastart from ata_exec_xfer, flags 0x0
[ 12.7697070] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 12.7697070] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 12.7697070] __wdccommand_start wdc0:0:0
[ 12.7697070] __wdcwait wdc0:0
[ 12.7697070] wdccommand wdc0:0:0: command=0xec cylin=0 head=160 sector=0 count=0 features=0
[ 12.9332742] __wdccommand_intr wdc0:0:0
[ 12.9332742] __wdcwait wdc0:0
[ 12.9729846] __wdccommand_done wdc0:0:0 flags 0x59
[ 13.0009372] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 13.0384468] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 13.0759411] wd0: <CF_Card>
[ 13.0921217] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
[ 13.1222956] wd0: 7623 MB, 15490 cyl, 16 head, 63 sec, 512 bytes/sect x 15613920 sectors
[ 13.1790718] wd0: atap_dmatiming_mimi=0, atap_dmatiming_recom=0
[ 13.2150045] ata_get_params
[ 13.2312027] wdc_exec_command wdc0:0:0
[ 13.2530473] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 13.2837787] atastart from ata_exec_xfer, flags 0x0
[ 13.3124024] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 13.3124024] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 13.3124024] __wdccommand_start wdc0:0:0
[ 13.3124024] __wdcwait wdc0:0
[ 13.3124024] wdccommand wdc0:0:0: command=0xec cylin=0 head=160 sector=0 count=0 features=0
[ 13.4759908] __wdccommand_intr wdc0:0:0
[ 13.4759908] __wdcwait wdc0:0
[ 13.5157117] __wdccommand_done wdc0:0:0 flags 0x59
[ 13.5436572] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 13.5811647] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 13.6186763] wd0: drive supports PIO mode 4
[ 14.0261191] boot device: wd0
[ 14.0471061] wdopen
[ 17.0417495] ata_get_params
[ 17.0417495] wdc_exec_command wdc0:0:0
[ 17.0710597] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 17.1017524] atastart from ata_exec_xfer, flags 0x0
[ 17.1304338] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 17.1304338] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 17.1304338] __wdccommand_start wdc0:0:0
[ 17.1304338] __wdcwait wdc0:0
[ 17.1304338] wdccommand wdc0:0:0: command=0xec cylin=0 head=160 sector=0 count=0 features=0
[ 17.2939878] __wdccommand_intr wdc0:0:0
[ 17.2939878] __wdcwait wdc0:0
[ 17.3336984] __wdccommand_done wdc0:0:0 flags 0x59
[ 17.3616540] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 17.3991767] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 17.4366629] wdstrategy (wd0)
[ 17.4539229] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 17.4845891] atastart from ata_exec_xfer, flags 0x0
[ 17.5132411] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 17.5132411] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 17.5132411] wdc_ata_bio_start wdc0:0:0 state 0 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 17.5132411] __wdcwait wdc0:0
[ 17.5132411] wdccommandshort wdc0:0:0 command 0x10
[ 17.5132411] __wdcwait wdc0:0
[ 17.5132411] _wdc_ata_bio_start wdc0:0:0
[ 17.5132411] __wdcwait wdc0:0
[ 17.5132411] wdccommand wdc0:0:0: command=0x20 cylin=0 head=64 sector=0 count=1 features=0
[ 17.7867060] wdc_ata_bio_intr wdc0:0:0
[ 17.8085410] __wdcwait wdc0:0
[ 17.8259052] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 17.8533687] wdc_ata_done: drv_done
[ 17.8736498] wddone wd0
[ 17.8877081] atastart from wdc_ata_done, flags 0x0
[ 17.9158583] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 17.9533508] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 17.9908391] wdstrategy (wd0)
[ 18.0080458] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 18.0387682] atastart from ata_exec_xfer, flags 0x0
[ 18.0674195] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 18.0674195] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 18.0674195] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 18.0674195] _wdc_ata_bio_start wdc0:0:0
[ 18.0674195] __wdcwait wdc0:0
[ 18.0674195] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=1 count=1 features=0
[ 18.2799390] wdc_ata_bio_intr wdc0:0:0
[ 18.3017801] __wdcwait wdc0:0
[ 18.3191432] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 18.3466087] wdc_ata_done: drv_done
[ 18.3668930] wddone wd0
[ 18.3809483] atastart from wdc_ata_done, flags 0x0
[ 18.4090965] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 18.4465915] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 18.4840782] wdioctl
[ 18.8855037] root on ne0
[ 18.8955805] nfs_boot: trying DHCP/BOOTP
[ 24.9167770] nfs_boot: BOOTP next-server: 192.168.10.128
[ 24.9496877] nfs_boot: my_name=j690
[ 24.9699462] nfs_boot: my_addr=192.168.10.188
[ 24.9954687] nfs_boot: my_mask=255.255.255.0
[ 25.0204931] nfs_boot: gateway=192.168.10.1
[ 31.0574345] root on latipes:/exports/j690
[ 31.0856041] kern.module.path=/stand/hpcsh/9.99.88/modules
Enter pathname of shell or RETURN for /bin/sh:
We recommend that you create a non-root account and use su(1) for root access.
j690# disklabel wd0
[ 42.7369865] wdopen
[ 45.7213093] wdstrategy (wd0)
[ 45.7427308] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 45.7734498] atastart from ata_exec_xfer, flags 0x0
[ 45.8020594] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 45.8020594] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 45.8020594] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 45.8020594] _wdc_ata_bio_start wdc0:0:0
[ 45.8020594] __wdcwait wdc0:0
[ 45.8020594] wdccommand wdc0:0:0: command=0x20 cylin=0 head=64 sector=0 count=1 features=0
[ 46.0130620] wdc_ata_bio_intr wdc0:0:0
[ 46.0348800] __wdcwait wdc0:0
[ 46.0522366] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 46.0796683] wdc_ata_done: drv_done
[ 46.1000340] wddone wd0
[ 46.1140444] atastart from wdc_ata_done, flags 0x0
[ 46.1421917] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 46.1796733] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 46.2171859] wdstrategy (wd0)
[ 46.2343651] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 46.2651253] atastart from ata_exec_xfer, flags 0x0
[ 46.2937372] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 46.2937372] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 46.2937372] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 46.2937372] _wdc_ata_bio_start wdc0:0:0
[ 46.2937372] __wdcwait wdc0:0
[ 46.2937372] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=1 count=1 features=0
[ 46.5062931] wdc_ata_bio_intr wdc0:0:0
[ 46.5281163] __wdcwait wdc0:0
[ 46.5454787] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 46.5729086] wdc_ata_done: drv_done
[ 46.5932682] wddone wd0
[ 46.6072840] atastart from wdc_ata_done, flags 0x0
[ 46.6354302] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 46.6729133] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 46.7104249] wdioctl
[ 46.7370019] wdioctl
# /dev/rwd0:
type: SCSI
disk: STORAGE DEVICE
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 7623
total sectors: 15613920
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
6 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 14301184 262144 4.2BSD 2048 16384 0 # (Cyl. 128 - 7110)
b: 1048576 14563328 swap # (Cyl. 7111 - 7622)
c: 15349760 262144 unused 0 0 # (Cyl. 128 - 7622)
d: 15613920 0 unused 0 0 # (Cyl. 0 - 7623*)
e: 260096 2048 MSDOS # (Cyl. 1 - 127)
j690# mount -o ro /dev/wd0a /mnt
[ 54.6899317] wdopen
[ 57.6742367] wdstrategy (wd0)
[ 57.6928840] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 57.7236197] atastart from ata_exec_xfer, flags 0x0
[ 57.7522113] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 57.7522113] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 57.7522113] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 57.7522113] _wdc_ata_bio_start wdc0:0:0
[ 57.7522113] __wdcwait wdc0:0
[ 57.7522113] wdccommand wdc0:0:0: command=0x20 cylin=0 head=64 sector=0 count=1 features=0
[ 57.9631953] wdc_ata_bio_intr wdc0:0:0
[ 57.9850295] __wdcwait wdc0:0
[ 58.0024037] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 58.0298220] wdc_ata_done: drv_done
[ 58.0501564] wddone wd0
[ 58.0501564] atastart from wdc_ata_done, flags 0x0
[ 58.0923458] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 58.1298404] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 58.1673264] wdstrategy (wd0)
[ 58.1845184] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 58.2152560] atastart from ata_exec_xfer, flags 0x0
[ 58.2439242] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 58.2439242] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 58.2439242] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 58.2439242] _wdc_ata_bio_start wdc0:0:0
[ 58.2439242] __wdcwait wdc0:0
[ 58.2439242] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=1 count=1 features=0
[ 58.4564342] wdc_ata_bio_intr wdc0:0:0
[ 58.4782706] __wdcwait wdc0:0
[ 58.4956301] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 58.5230728] wdc_ata_done: drv_done
[ 58.5433781] wddone wd0
[ 58.5574551] atastart from wdc_ata_done, flags 0x0
[ 58.5855832] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 58.6230777] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 58.6605653] wdioctl
[ 59.0648658] wdopen
[ 62.0492441] wdstrategy (wd0)
[ 62.0708434] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 62.1015795] atastart from ata_exec_xfer, flags 0x0
[ 62.1301712] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 62.1301712] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 62.1301712] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 62.1301712] _wdc_ata_bio_start wdc0:0:0
[ 62.1301712] __wdcwait wdc0:0
[ 62.1301712] wdccommand wdc0:0:0: command=0x20 cylin=0 head=64 sector=0 count=1 features=0
[ 62.3411534] wdc_ata_bio_intr wdc0:0:0
[ 62.3629878] __wdcwait wdc0:0
[ 62.3803625] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 62.4077802] wdc_ata_done: drv_done
[ 62.4281165] wddone wd0
[ 62.4421591] atastart from wdc_ata_done, flags 0x0
[ 62.4703143] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 62.5077889] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 62.5452865] wdstrategy (wd0)
[ 62.5624760] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 62.5932537] atastart from ata_exec_xfer, flags 0x0
[ 62.6218479] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 62.6218479] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 62.6218479] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 62.6218479] _wdc_ata_bio_start wdc0:0:0
[ 62.6218479] __wdcwait wdc0:0
[ 62.6218479] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=1 count=1 features=0
[ 62.8343928] wdc_ata_bio_intr wdc0:0:0
[ 62.8562283] __wdcwait wdc0:0
[ 62.8735968] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 62.9010224] wdc_ata_done: drv_done
[ 62.9213516] wddone wd0
[ 62.9353958] atastart from wdc_ata_done, flags 0x0
[ 62.9635561] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 63.0010253] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 63.0385257] wdioctl
[ 63.0510764] wdioctl
[ 63.7834386] wdopen
[ 66.7677576] wdstrategy (wd0)
[ 66.7677576] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 66.8115661] atastart from ata_exec_xfer, flags 0x0
[ 66.8401686] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 66.8401686] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 66.8401686] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 66.8401686] _wdc_ata_bio_start wdc0:0:0
[ 66.8401686] __wdcwait wdc0:0
[ 66.8401686] wdccommand wdc0:0:0: command=0x20 cylin=0 head=64 sector=0 count=1 features=0
[ 67.0511895] wdc_ata_bio_intr wdc0:0:0
[ 67.0729877] __wdcwait wdc0:0
[ 67.0903490] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 67.1177821] wdc_ata_done: drv_done
[ 67.1381029] wddone wd0
[ 67.1521530] atastart from wdc_ata_done, flags 0x0
[ 67.1803195] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 67.2177859] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 67.2552978] wdstrategy (wd0)
[ 67.2724768] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 67.3032142] atastart from ata_exec_xfer, flags 0x0
[ 67.3318458] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 67.3318458] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 67.3318458] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 67.3318458] _wdc_ata_bio_start wdc0:0:0
[ 67.3318458] __wdcwait wdc0:0
[ 67.3318458] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=1 count=1 features=0
[ 67.5444242] wdc_ata_bio_intr wdc0:0:0
[ 67.5662302] __wdcwait wdc0:0
[ 67.5835873] wdc_ata_bio_done wdc0:0:0: flags 0x4
[ 67.6110187] wdc_ata_done: drv_done
[ 67.6313602] wddone wd0
[ 67.6453933] atastart from wdc_ata_done, flags 0x0
[ 67.6735616] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 67.7110282] atastart(chp=0x8eeea88c): channel 0 queue_xfer is empty
[ 67.7485381] wdstrategy (wd0)
[ 67.7657601] ata_exec_xfer 0x8eea6f90 channel 0 drive 0
[ 67.7964561] atastart from ata_exec_xfer, flags 0x0
[ 67.8250874] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0
[ 67.8250874] atastart(chp=0x8eeea88c): xfer 0x8eea6f90 channel 0 drive 0
[ 67.8250874] wdc_ata_bio_start wdc0:0:0 state 1 drive_flags 0x8 c_flags 0x4 ch_flags 0x0
[ 67.8250874] _wdc_ata_bio_start wdc0:0:0
[ 67.8250874] __wdcwait wdc0:0
[ 67.8250874] wdccommand wdc0:0:0: command=0x20 cylin=1024 head=64 sector=128 count=16 features=0
[ 68.0392303] wdc_ata_bio_intr wdc0:0:0
[ 68.0610296] __wdcwait wdc0:0
^C
j690# mount -o ro /dev/wd0a /mnt
[ 91.9553512] wdopen
[ 91.9553512] wdioctl
[ 91.9729680] wdopen
[ 91.9729680] wdioctl
[ 91.9974242] wdioctl
[ 92.0099274] wdioctl
mount_ffs: /dev/wd0a on /mnt: Device busy
j690# reboot
reboot: rebooted by root
~Stopped in pid 0.2 (system) at netbsd:cpu_Debugger+0x2: rts
db> bt
cpu_Debugger() at netbsd:scifintr+0x52
scifintr() at 8c000676
<EXPEVT 000; SSR=40000001> at netbsd:cpu_idle+0x2
[trapframe 0x8c28b57c]
sr=40000001 gbr=00000000 pc=8c00ab62 pr=8c0ef3fc
r0=00000000 r1=8c00ab60 r2=00000000 r3=8ef7927c
r4=8ef79040 r6=8ef79040 r7=8efd7fc0 r8=8c27c640
r5=8ef79040 r9=8c1ae2a8 r10=8c28b280 r11=8c102828
r12=8c0ef258 r13=8c27c640 r14=8c28b57c sp=r15=c2093fdc
cpu_idle() at netbsd:idle_loop+0x164
idle_loop() at netbsd:lwp_trampoline+0xc
lwp_trampoline() at 0
db> ps
PID LID S CPU FLAGS STRUCT LWP * NAME WAIT
109 109 3 0 180 8ee84cc0 reboot nanoslp
106 106 3 0 1000000 8ebc9100 mount_ffs biowait
1 1 3 0 180 8eef6940 init pause
0 99 3 0 200 8ee849c0 pooldrain pooldrain
0 98 3 0 200 8ee846c0 ioflush syncer
0 97 3 0 200 8ee843c0 pgdaemon pgdaemon
0 96 5 0 200 8ee840c0 (zombie)
0 55 3 0 200 8eea2980 nfsio nfsiod
0 54 3 0 200 8eea2680 nfsio nfsiod
0 53 3 0 200 8eea2380 nfsio nfsiod
0 52 3 0 200 8eea2080 nfsio nfsiod
0 50 3 0 240 8eef6c40 atabus0 atath
0 49 3 0 200 8ef06100 rt_free rt_free
0 31 3 0 200 8ef06400 unpgc unpgc
0 30 3 0 200 8ef06700 icmp6_wqinput/0 icmp6_wqinput
0 29 3 0 200 8ef06a00 nd6_timer nd6_timer
0 28 3 0 200 8ef06d00 icmp_wqinput/0 icmp_wqinput
0 27 3 0 200 8eef6040 rt_timer rt_timer
0 26 3 0 200 8eef6340 vmem_rehash vmem_rehash
0 25 3 0 200 8eef6640 entbutler entropy
0 16 3 0 200 8ef3ecc0 apmdev0 apmev
0 15 3 0 240 8ef3e9c0 hd64461pcmcia0 CSC wait
0 14 3 0 200 8ef3e6c0 pmfsuspend pmfsuspend
0 13 3 0 200 8ef3e3c0 pmfevent pmfevent
0 12 3 0 200 8ef3e0c0 sopendfree sopendfr
0 11 3 0 200 8ef60c80 iflnkst iflnkst
0 10 3 0 200 8ef60980 nfssilly nfssilly
0 9 3 0 200 8ef60680 vdrain vdrain
0 8 3 0 200 8ef60380 modunload mod_unld
0 7 3 0 200 8ef60080 xcall/0 xcall
0 6 1 0 200 8ef79c40 softser/0
0 5 1 0 40200 8ef79940 softclk/0
0 4 1 0 200 8ef79640 softbio/0
0 3 1 0 40200 8ef79340 softnet/0
0 > 2 1 0 201 8ef79040 idle/0
0 0 3 0 200 8c27f9c0 swapper uvm
db> trace/a 8ebc9100
trace: lwp addr 0x8ebc9100 pid 106 lid 106, fp=8ebc933c, sp=c2d55d6c
mi_switch() at netbsd:sleepq_block+0x146
sleepq_block() at netbsd:cv_wait+0x42
cv_wait() at netbsd:biowait+0x5a
biowait() at netbsd:bread+0x26
bread() at netbsd:ffs_mountfs+0xe2
ffs_mountfs() at netbsd:ffs_mount+0x126
ffs_mount() at netbsd:mount_domount+0xcc
mount_domount() at netbsd:do_sys_mount+0x4d2
do_sys_mount() at netbsd:sys___mount50+0x20
sys___mount50() at netbsd:syscall+0xae
syscall() at 8c0001b2
<EXPEVT 160; SSR=00000101> at 7dd5ffe0
[trapframe 0x0]
sr=00000101 gbr=7de96000 pc=7dd5ffe0 pr=004010b0
r0=0000019a r1=00008678 r2=fffff9d4 r3=00000000
r4=00401290 r6=7fffe248 r7=00000001 r8=7fffe240
r5=7fffe208 r9=7fffe248 r10=7fffe240 r11=004115ac
r12=00411894 r13=00000000 r14=00000000 sp=r15=7fffe238
db> trace/a 8ee84cc0
trace: lwp addr 0x8ee84cc0 pid 109 lid 109, fp=8ee84efc, sp=c2d52e98
mi_switch() at netbsd:sleepq_block+0x146
sleepq_block() at netbsd:kpause+0x84
kpause() at netbsd:nanosleep1+0x86
nanosleep1() at netbsd:sys___nanosleep50+0x3a
sys___nanosleep50() at netbsd:syscall+0xae
syscall() at 8c0001b2
<EXPEVT 160; SSR=00000000> at 7dd18ed8
[trapframe 0x401648]
sr=00000000 gbr=7de96000 pc=7dd18ed8 pr=7dd72874
r0=000001ae r1=fffa3810 r2=00000000 r3=fffff6e0
r4=7fffea40 r6=7fffea4c r7=7fffea38 r8=7dd6f8f8
r5=7fffea4c r9=00000000 r10=fffefde0 r11=0000000a
r12=7de7539c r13=00401654 r14=00401648 sp=r15=7fffea40
db> trace/a 8ef3e9c0
trace: lwp addr 0x8ef3e9c0 pid 0 lid 15, fp=8ef3ebfc, sp=c2103f6c
mi_switch() at netbsd:sleepq_block+0x146
sleepq_block() at netbsd:hd64461pcmcia_event_thread+0x42
hd64461pcmcia_event_thread() at netbsd:lwp_trampoline+0xc
lwp_trampoline() at 0
db> mac res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment