NetBSD Problem Report #49985

From greywolf@starwolf.com  Thu Jun 18 19:19:39 2015
Return-Path: <greywolf@starwolf.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 02BA0A65C2
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Jun 2015 19:19:39 +0000 (UTC)
Message-Id: <201506181812.t5IICoA1004981@eddie.starwolf.com>
Date: Thu, 18 Jun 2015 11:12:50 -0700 (PDT)
From: greywolf@starwolf.com
Reply-To: greywolf@starwolf.com
To: gnats-bugs@NetBSD.org
Subject: ccd configuration on ccd other than 0 hangs; disables ccd0
X-Send-Pr-Version: 3.95

>Number:         49985
>Category:       kern
>Synopsis:       ccd configuration on ccd other than 0 hangs; disables ccd0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 18 19:20:00 +0000 2015
>Last-Modified:  Thu Jun 18 19:25:00 +0000 2015
>Originator:     The Grey Wolf
>Release:        NetBSD 7.99.18 (Sat 13 June 04:41:34 PDT 2015)
>Organization:

				--*greywolf;
>Environment:
System: NetBSD eddie.starwolf.com 7.99.18 NetBSD 7.99.18 (EDDIE) #13: Sun Jun 14 00:30:25 PDT 2015 root@eddie.starwolf.com:/sys/arch/amd64/compile/EDDIE amd64
Architecture: x86_64
Machine: amd64
Disks affected: wd8 wd9 wd10 wd11
wd8:
wd8 at atabus8 drive 0
wd8: <SAMSUNG HM500JJ>
wd8: drive supports 16-sector PIO transfers, LBA48 addressing
wd8: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd8(ahcisata2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
;;
wd9:
wd9 at atabus9 drive 0
wd9: <SAMSUNG HM500JJ>
wd9: drive supports 16-sector PIO transfers, LBA48 addressing
wd9: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd9: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd9(ahcisata2:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
;;
wd10:
wd10 at atabus10 drive 0
wd10: <HGST HTS725050A7E630>
wd10: drive supports 16-sector PIO transfers, LBA48 addressing
wd10: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd10: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd10(ahcisata2:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
;;
wd11:
wd11 at atabus11 drive 0
wd11: <HGST HTS725050A7E630>
wd11: drive supports 16-sector PIO transfers, LBA48 addressing
wd11: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd11: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd11(ahcisata2:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
;;
Disklabels:
# /dev/rwd8d:
type: ESDI
disk: SAMSUNG HM500JJ 
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773105        63     4.2BSD      0     0     0  # (Cyl.      0*- 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)
;;
# /dev/rwd9d:
type: ESDI
disk: SAMSUNG HM500JJ 
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773105        63     4.2BSD      0     0     0  # (Cyl.      0*- 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)
;;
# /dev/rwd10d:
type: ESDI
disk: HGST HTS725050A7
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773105        63     4.2BSD      0     0     0  # (Cyl.      0*- 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)
;;
# /dev/rwd11d:
type: ESDI
disk: HGST HTS725050A7
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773105        63     4.2BSD      0     0     0  # (Cyl.      0*- 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)


>Description:
	ccdconfig -c (creating) any other ccd besides ccd0 hangs and, if
	ccd0 was previously configured, it invalidates ccd0.

	ktraces attached in the how-to-repeat section.

>How-To-Repeat:
	eddie# ccdconfig -c 63 2 ccd0 /dev/wd10a /dev/wd11a
	(works)
	[ktrace: kdump.00-ccd0-1-d10-d11]
	eddie# ccdconfig -g ccd0
	ccd0            63      0x2     1000215659520   /dev/wd10a /dev/wd11a
	[ktrace: kdump.01-ccd0-1-check]
	eddie# ccdconfig -u ccd0
	(works)
	[kdump.02-ccd0-1-unconf]
	eddie# ccdconfig -g ccd0
	ccdconfig: ccd unit 0 not configured
	[ktrace: none]

	eddie# ccdconfig -c 63 2 ccd0 /dev/wd8a /dev/wd9a
	(works)
	[ktrace: kdump.03-ccd0-2-d8-d9]
	eddie# ccdconfig -g ccd0
	ccd0            63      0x2     1000215659520   /dev/wd8a /dev/wd9a
	[ktrace: kdump.04-ccd0-2-check]
	eddie# ccdconfig -c 63 2 ccd1 /dev/wd10a /dev/wd11a
	(hangs)
	[ktrace: kdump.05-ccd1-3-d10-d11]
	[Ctrl-T]:load: 0.10  cmd: ccdconfig 1847 [biowait] 0.00u 0.00s 0% 268k
	[Interrupt, Quit, Suspend, kill -STOP, kill -9 have no effect]

	(from other terminal)
	eddie# crash
	Crash version 7.99.18, image version 7.99.18.
	Output from a running system is unreliable.
	crash> bt/t 0t1847
	trace: pid 1847 lid 1 at 0xfffffe813a798948
	sleepq_block() at sleepq_block+0xa2
	cv_wait() at cv_wait+0xfb
	biowait() at biowait+0x4b
	dkwedge_read() at dkwedge_read+0x9c
	dkwedge_discover_gpt() at dkwedge_discover_gpt+0x6d
	dkwedge_discover() at dkwedge_discover+0x137
	ccdioctl() at ccdioctl+0xf85
	VOP_IOCTL() at VOP_IOCTL+0x3b
	vn_ioctl() at vn_ioctl+0xa6
	sys_ioctl() at sys_ioctl+0x17e
	syscall() at syscall+0x185
	--- syscall (number 54) ---
	411d0a:
	crash> [Ctrl-D]
	eddie# 
	eddie# ccdconfig -g ccd0
	ccdconfig: Error getting kern.ccd.components for ccd0: No such file or directory
	[ktrace: kdump.06-ccd0-2-recheck]

*** [ktraces follow] ***
;;; kdump.00-ccd0-1-d10-d11: ccdconfig -c 63 2 ccd0 /dev/wd10a /dev/wd11a
  1332      1 ktrace   EMUL  "netbsd"
  1332      1 ktrace   CALL  execve(0x7f7fffffd610,0x7f7fffffdb00,0x7f7fffffdb40)
  1332      1 ktrace   NAMI  "/sbin/ccdconfig"
  1332      1 ccdconfig EMUL  "netbsd"
  1332      1 ccdconfig RET   execve JUSTRETURN
  1332      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdad8,0,0)
  1332      1 ccdconfig RET   __sysctl 0
  1332      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  1332      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  1332      1 ccdconfig RET   _lwp_setprivate 0
  1332      1 ccdconfig CALL  getegid
  1332      1 ccdconfig RET   getegid 0
  1332      1 ccdconfig CALL  getgid
  1332      1 ccdconfig RET   getgid 0
  1332      1 ccdconfig CALL  setegid(0)
  1332      1 ccdconfig RET   setegid 0
  1332      1 ccdconfig CALL  __sysctl(0x7f7fffffd470,2,0x7f7fffffd46c,0x7f7fffffd478,0,0)
  1332      1 ccdconfig RET   __sysctl 0
  1332      1 ccdconfig CALL  __sysctl(0x7f7fffffcc70,2,0x630268,0x7f7fffffcc80,0,0)
  1332      1 ccdconfig RET   __sysctl 0
  1332      1 ccdconfig CALL  __sysctl(0x7f7fffffcbd0,2,0x632abc,0x7f7fffffcbd8,0,0)
  1332      1 ccdconfig RET   __sysctl 0
  1332      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffccb0,0x400)
  1332      1 ccdconfig NAMI  "/etc/malloc.conf"
  1332      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  1332      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  1332      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  1332      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  1332      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  1332      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  1332      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  1332      1 ccdconfig CALL  readlink(0x7f7ffffffd5f,0x7f7fffffcc10,0x3ff)
  1332      1 ccdconfig NAMI  "/dev/wd10a"
  1332      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1332      1 ccdconfig CALL  __stat50(0x7f7ffffffd5f,0x7f7fffffcb70)
  1332      1 ccdconfig NAMI  "/dev/wd10a"
  1332      1 ccdconfig RET   __stat50 0
  1332      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07b)
  1332      1 ccdconfig NAMI  "/dev/rwd10a"
  1332      1 ccdconfig RET   open 3
  1332      1 ccdconfig CALL  close(3)
  1332      1 ccdconfig RET   close 0
  1332      1 ccdconfig CALL  __stat50(0x7f7ff7e030a0,0x7f7fffffd500)
  1332      1 ccdconfig NAMI  "/dev/wd10a"
  1332      1 ccdconfig RET   __stat50 0
  1332      1 ccdconfig CALL  readlink(0x7f7ffffffd6a,0x7f7fffffcc10,0x3ff)
  1332      1 ccdconfig NAMI  "/dev/wd11a"
  1332      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1332      1 ccdconfig CALL  __stat50(0x7f7ffffffd6a,0x7f7fffffcb70)
  1332      1 ccdconfig NAMI  "/dev/wd11a"
  1332      1 ccdconfig RET   __stat50 0
  1332      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07b)
  1332      1 ccdconfig NAMI  "/dev/rwd11a"
  1332      1 ccdconfig RET   open 3
  1332      1 ccdconfig CALL  close(3)
  1332      1 ccdconfig RET   close 0
  1332      1 ccdconfig CALL  __stat50(0x7f7ff7e030b0,0x7f7fffffd500)
  1332      1 ccdconfig NAMI  "/dev/wd11a"
  1332      1 ccdconfig RET   __stat50 0
  1332      1 ccdconfig CALL  open(0x7f7ff7e03080,2,0x1a0)
  1332      1 ccdconfig NAMI  "/dev/ccd0d"
  1332      1 ccdconfig RET   open 3
  1332      1 ccdconfig CALL  ioctl(3,CCDIOCSET,0x7f7fffffd4e0)
  1332      1 ccdconfig GIO   fd 3 wrote 32 bytes
       "\M^P0\M-`\M-w\^?\^?\0\0\^B\0\0\0?\0\0\0\^B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0"
  1332      1 ccdconfig NAMI  "/dev/wd10a"
  1332      1 ccdconfig NAMI  "/dev/wd11a"
  1332      1 ccdconfig GIO   fd 3 read 32 bytes
       "\M^P0\M-`\M-w\^?\^?\0\0\^B\0\0\0?\0\0\0\^B\0\0\0\0\0\0\0\M-b\M-?pt\0\0\
	\0\0"
  1332      1 ccdconfig RET   ioctl 0
  1332      1 ccdconfig CALL  close(3)
  1332      1 ccdconfig RET   close 0
  1332      1 ccdconfig CALL  exit(0)
;;;
;;; kdump.01-ccd0-1-check: ccdconfig -g ccd0
   961      1 ktrace   EMUL  "netbsd"
   961      1 ktrace   CALL  execve(0x7f7fffffd650,0x7f7fffffdb40,0x7f7fffffdb60)
   961      1 ktrace   NAMI  "/sbin/ccdconfig"
   961      1 ccdconfig EMUL  "netbsd"
   961      1 ccdconfig RET   execve JUSTRETURN
   961      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdb08,0,0)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
   961      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
   961      1 ccdconfig RET   _lwp_setprivate 0
   961      1 ccdconfig CALL  getegid
   961      1 ccdconfig RET   getegid 0
   961      1 ccdconfig CALL  getgid
   961      1 ccdconfig RET   getgid 0
   961      1 ccdconfig CALL  setegid(0)
   961      1 ccdconfig RET   setegid 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd9e0,2,0x7f7fffffd9dc,0x7f7fffffd9e8,0,0)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd1e0,2,0x630268,0x7f7fffffd1f0,0,0)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd140,2,0x632abc,0x7f7fffffd148,0,0)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffd220,0x400)
   961      1 ccdconfig NAMI  "/etc/malloc.conf"
   961      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
   961      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
   961      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
   961      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
   961      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
   961      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
   961      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
   961      1 ccdconfig CALL  __stat50(0x7f7ff7e03080,0x7f7fffffda50)
   961      1 ccdconfig NAMI  "/dev/ccd0d"
   961      1 ccdconfig RET   __stat50 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a0,1,0x7f7ff7e05400,0x7f7fffffd588,0x7f7fffffd590,0x60)
   961      1 ccdconfig RET   __sysctl -1 errno 12 Cannot allocate memory
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a0,1,0x7f7ff7e05800,0x7f7fffffd588,0x7f7fffffd590,0x60)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a0,2,0x7f7ff7e0d000,0x7f7fffffd588,0x7f7fffffd590,0x60)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a0,3,0x7f7ff7e10140,0x7f7fffffd588,0x7f7fffffd590,0x60)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd950,3,0x7f7fffffd9d0,0x7f7fffffd9c0,0x7f7fffffd9bc,4)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd698,1,0x7f7ff7e06000,0x7f7fffffd6a0,0x7f7fffffd700,0x60)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd950,3,0,0x7f7fffffd9c8,0x7f7fffffd9bc,4)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd698,1,0x7f7ff7e06000,0x7f7fffffd6a0,0x7f7fffffd700,0x60)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __sysctl(0x7f7fffffd950,3,0x7f7ff7e01060,0x7f7fffffd9c8,0x7f7fffffd9bc,4)
   961      1 ccdconfig RET   __sysctl 0
   961      1 ccdconfig CALL  __fstat50(1,0x7f7fffffcec0)
   961      1 ccdconfig RET   __fstat50 0
   961      1 ccdconfig CALL  ioctl(1,TIOCGETA,0x7f7fffffcf30)
   961      1 ccdconfig GIO   fd 1 read 44 bytes
       "\^B\^C\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\b\^W\^X\^R\M^?\^?\^\\
	\^Z\^Y\^Q\^S\^V\^O\^A\0\^T\M^?\0\M^V\0\0\0\M^V\0\0"
   961      1 ccdconfig RET   ioctl 0
   961      1 ccdconfig CALL  write(1,0x7f7ff7e15000,0x31)
   961      1 ccdconfig GIO   fd 1 wrote 49 bytes
       "ccd0		63	0x2	1000215659520	/dev/wd10a /dev/wd11a\
	\n"
   961      1 ccdconfig RET   write 49/0x31
   961      1 ccdconfig CALL  exit(0)
;;;
;;; kdump.02-ccd0-1-unconf: ccdconfig -g ccd0
  1238      1 ktrace   EMUL  "netbsd"
  1238      1 ktrace   CALL  execve(0x7f7fffffd650,0x7f7fffffdb40,0x7f7fffffdb60)
  1238      1 ktrace   NAMI  "/sbin/ccdconfig"
  1238      1 ccdconfig EMUL  "netbsd"
  1238      1 ccdconfig RET   execve JUSTRETURN
  1238      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdb08,0,0)
  1238      1 ccdconfig RET   __sysctl 0
  1238      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  1238      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  1238      1 ccdconfig RET   _lwp_setprivate 0
  1238      1 ccdconfig CALL  getegid
  1238      1 ccdconfig RET   getegid 0
  1238      1 ccdconfig CALL  getgid
  1238      1 ccdconfig RET   getgid 0
  1238      1 ccdconfig CALL  setegid(0)
  1238      1 ccdconfig RET   setegid 0
  1238      1 ccdconfig CALL  __sysctl(0x7f7fffffd4a0,2,0x7f7fffffd49c,0x7f7fffffd4a8,0,0)
  1238      1 ccdconfig RET   __sysctl 0
  1238      1 ccdconfig CALL  __sysctl(0x7f7fffffcca0,2,0x630268,0x7f7fffffccb0,0,0)
  1238      1 ccdconfig RET   __sysctl 0
  1238      1 ccdconfig CALL  __sysctl(0x7f7fffffcc00,2,0x632abc,0x7f7fffffcc08,0,0)
  1238      1 ccdconfig RET   __sysctl 0
  1238      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffcce0,0x400)
  1238      1 ccdconfig NAMI  "/etc/malloc.conf"
  1238      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  1238      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  1238      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  1238      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  1238      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  1238      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  1238      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  1238      1 ccdconfig CALL  open(0x7f7ff7e03080,2,0x1a0)
  1238      1 ccdconfig NAMI  "/dev/ccd0d"
  1238      1 ccdconfig RET   open 3
  1238      1 ccdconfig CALL  ioctl(3,CCDIOCCLR,0x7f7fffffd510)
  1238      1 ccdconfig GIO   fd 3 wrote 32 bytes
       "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  1238      1 ccdconfig RET   ioctl 0
  1238      1 ccdconfig CALL  close(3)
  1238      1 ccdconfig RET   close -1 errno 6 Device not configured
  1238      1 ccdconfig CALL  exit(0)
;;;
;;; kdump.03-ccd0-2-d8-d9: ccdconfig -c 63 2 ccd0 /dev/wd8a /dev/wd9a
  1232      1 ktrace   EMUL  "netbsd"
  1232      1 ktrace   CALL  execve(0x7f7fffffd620,0x7f7fffffdb10,0x7f7fffffdb50)
  1232      1 ktrace   NAMI  "/sbin/ccdconfig"
  1232      1 ccdconfig EMUL  "netbsd"
  1232      1 ccdconfig RET   execve JUSTRETURN
  1232      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdad8,0,0)
  1232      1 ccdconfig RET   __sysctl 0
  1232      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  1232      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  1232      1 ccdconfig RET   _lwp_setprivate 0
  1232      1 ccdconfig CALL  getegid
  1232      1 ccdconfig RET   getegid 0
  1232      1 ccdconfig CALL  getgid
  1232      1 ccdconfig RET   getgid 0
  1232      1 ccdconfig CALL  setegid(0)
  1232      1 ccdconfig RET   setegid 0
  1232      1 ccdconfig CALL  __sysctl(0x7f7fffffd470,2,0x7f7fffffd46c,0x7f7fffffd478,0,0)
  1232      1 ccdconfig RET   __sysctl 0
  1232      1 ccdconfig CALL  __sysctl(0x7f7fffffcc70,2,0x630268,0x7f7fffffcc80,0,0)
  1232      1 ccdconfig RET   __sysctl 0
  1232      1 ccdconfig CALL  __sysctl(0x7f7fffffcbd0,2,0x632abc,0x7f7fffffcbd8,0,0)
  1232      1 ccdconfig RET   __sysctl 0
  1232      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffccb0,0x400)
  1232      1 ccdconfig NAMI  "/etc/malloc.conf"
  1232      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  1232      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  1232      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  1232      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  1232      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  1232      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  1232      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  1232      1 ccdconfig CALL  readlink(0x7f7ffffffd67,0x7f7fffffcc10,0x3ff)
  1232      1 ccdconfig NAMI  "/dev/wd8a"
  1232      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1232      1 ccdconfig CALL  __stat50(0x7f7ffffffd67,0x7f7fffffcb70)
  1232      1 ccdconfig NAMI  "/dev/wd8a"
  1232      1 ccdconfig RET   __stat50 0
  1232      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07a)
  1232      1 ccdconfig NAMI  "/dev/rwd8a"
  1232      1 ccdconfig RET   open 3
  1232      1 ccdconfig CALL  close(3)
  1232      1 ccdconfig RET   close 0
  1232      1 ccdconfig CALL  __stat50(0x7f7ff7e030a0,0x7f7fffffd500)
  1232      1 ccdconfig NAMI  "/dev/wd8a"
  1232      1 ccdconfig RET   __stat50 0
  1232      1 ccdconfig CALL  readlink(0x7f7ffffffd71,0x7f7fffffcc10,0x3ff)
  1232      1 ccdconfig NAMI  "/dev/wd9a"
  1232      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1232      1 ccdconfig CALL  __stat50(0x7f7ffffffd71,0x7f7fffffcb70)
  1232      1 ccdconfig NAMI  "/dev/wd9a"
  1232      1 ccdconfig RET   __stat50 0
  1232      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07a)
  1232      1 ccdconfig NAMI  "/dev/rwd9a"
  1232      1 ccdconfig RET   open 3
  1232      1 ccdconfig CALL  close(3)
  1232      1 ccdconfig RET   close 0
  1232      1 ccdconfig CALL  __stat50(0x7f7ff7e030b0,0x7f7fffffd500)
  1232      1 ccdconfig NAMI  "/dev/wd9a"
  1232      1 ccdconfig RET   __stat50 0
  1232      1 ccdconfig CALL  open(0x7f7ff7e03080,2,0x1a0)
  1232      1 ccdconfig NAMI  "/dev/ccd0d"
  1232      1 ccdconfig RET   open 3
  1232      1 ccdconfig CALL  ioctl(3,CCDIOCSET,0x7f7fffffd4e0)
  1232      1 ccdconfig GIO   fd 3 wrote 32 bytes
       "\M^P0\M-`\M-w\^?\^?\0\0\^B\0\0\0?\0\0\0\^B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0"
  1232      1 ccdconfig NAMI  "/dev/wd8a"
  1232      1 ccdconfig NAMI  "/dev/wd9a"
  1232      1 ccdconfig GIO   fd 3 read 32 bytes
       "\M^P0\M-`\M-w\^?\^?\0\0\^B\0\0\0?\0\0\0\^B\0\0\0\0\0\0\0\M-b\M-?pt\0\0\
	\0\0"
  1232      1 ccdconfig RET   ioctl 0
  1232      1 ccdconfig CALL  close(3)
  1232      1 ccdconfig RET   close 0
  1232      1 ccdconfig CALL  exit(0)
;;;
;;; kdump.04-ccd0-2-check: ccdconfig -g ccd0
  2202      1 ktrace   EMUL  "netbsd"
  2202      1 ktrace   CALL  execve(0x7f7fffffd650,0x7f7fffffdb48,0x7f7fffffdb68)
  2202      1 ktrace   NAMI  "/sbin/ccdconfig"
  2202      1 ccdconfig EMUL  "netbsd"
  2202      1 ccdconfig RET   execve JUSTRETURN
  2202      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdb18,0,0)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  2202      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  2202      1 ccdconfig RET   _lwp_setprivate 0
  2202      1 ccdconfig CALL  getegid
  2202      1 ccdconfig RET   getegid 0
  2202      1 ccdconfig CALL  getgid
  2202      1 ccdconfig RET   getgid 0
  2202      1 ccdconfig CALL  setegid(0)
  2202      1 ccdconfig RET   setegid 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd9f0,2,0x7f7fffffd9ec,0x7f7fffffd9f8,0,0)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd1f0,2,0x630268,0x7f7fffffd200,0,0)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd150,2,0x632abc,0x7f7fffffd158,0,0)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffd230,0x400)
  2202      1 ccdconfig NAMI  "/etc/malloc.conf"
  2202      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  2202      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  2202      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  2202      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  2202      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  2202      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  2202      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  2202      1 ccdconfig CALL  __stat50(0x7f7ff7e03080,0x7f7fffffda60)
  2202      1 ccdconfig NAMI  "/dev/ccd0d"
  2202      1 ccdconfig RET   __stat50 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,1,0x7f7ff7e05400,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  2202      1 ccdconfig RET   __sysctl -1 errno 12 Cannot allocate memory
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,1,0x7f7ff7e05800,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,2,0x7f7ff7e0d000,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,3,0x7f7ff7e10140,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd960,3,0x7f7fffffd9e0,0x7f7fffffd9d0,0x7f7fffffd9cc,4)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a8,1,0x7f7ff7e06000,0x7f7fffffd6b0,0x7f7fffffd710,0x60)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd960,3,0,0x7f7fffffd9d8,0x7f7fffffd9cc,4)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a8,1,0x7f7ff7e06000,0x7f7fffffd6b0,0x7f7fffffd710,0x60)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __sysctl(0x7f7fffffd960,3,0x7f7ff7e01060,0x7f7fffffd9d8,0x7f7fffffd9cc,4)
  2202      1 ccdconfig RET   __sysctl 0
  2202      1 ccdconfig CALL  __fstat50(1,0x7f7fffffced0)
  2202      1 ccdconfig RET   __fstat50 0
  2202      1 ccdconfig CALL  ioctl(1,TIOCGETA,0x7f7fffffcf40)
  2202      1 ccdconfig GIO   fd 1 read 44 bytes
       "\^B\^C\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\b\^W\^X\^R\M^?\^?\^\\
	\^Z\^Y\^Q\^S\^V\^O\^A\0\^T\M^?\0\M^V\0\0\0\M^V\0\0"
  2202      1 ccdconfig RET   ioctl 0
  2202      1 ccdconfig CALL  write(1,0x7f7ff7e15000,0x2f)
  2202      1 ccdconfig GIO   fd 1 wrote 47 bytes
       "ccd0		63	0x2	1000215659520	/dev/wd8a /dev/wd9a\n"
  2202      1 ccdconfig RET   write 47/0x2f
  2202      1 ccdconfig CALL  exit(0)
;;;
;;; kdump.05-ccd1-3-d10-d11: ccdconfig -c 63 2 ccd1 /dev/wd10a /dev/wd11a
  1847      1 ktrace   EMUL  "netbsd"
  1847      1 ktrace   CALL  execve(0x7f7fffffd620,0x7f7fffffdb10,0x7f7fffffdb50)
  1847      1 ktrace   NAMI  "/sbin/ccdconfig"
  1847      1 ccdconfig EMUL  "netbsd"
  1847      1 ccdconfig RET   execve JUSTRETURN
  1847      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdad8,0,0)
  1847      1 ccdconfig RET   __sysctl 0
  1847      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  1847      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  1847      1 ccdconfig RET   _lwp_setprivate 0
  1847      1 ccdconfig CALL  getegid
  1847      1 ccdconfig RET   getegid 0
  1847      1 ccdconfig CALL  getgid
  1847      1 ccdconfig RET   getgid 0
  1847      1 ccdconfig CALL  setegid(0)
  1847      1 ccdconfig RET   setegid 0
  1847      1 ccdconfig CALL  __sysctl(0x7f7fffffd470,2,0x7f7fffffd46c,0x7f7fffffd478,0,0)
  1847      1 ccdconfig RET   __sysctl 0
  1847      1 ccdconfig CALL  __sysctl(0x7f7fffffcc70,2,0x630268,0x7f7fffffcc80,0,0)
  1847      1 ccdconfig RET   __sysctl 0
  1847      1 ccdconfig CALL  __sysctl(0x7f7fffffcbd0,2,0x632abc,0x7f7fffffcbd8,0,0)
  1847      1 ccdconfig RET   __sysctl 0
  1847      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffccb0,0x400)
  1847      1 ccdconfig NAMI  "/etc/malloc.conf"
  1847      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  1847      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  1847      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  1847      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  1847      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  1847      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  1847      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  1847      1 ccdconfig CALL  readlink(0x7f7ffffffd67,0x7f7fffffcc10,0x3ff)
  1847      1 ccdconfig NAMI  "/dev/wd10a"
  1847      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1847      1 ccdconfig CALL  __stat50(0x7f7ffffffd67,0x7f7fffffcb70)
  1847      1 ccdconfig NAMI  "/dev/wd10a"
  1847      1 ccdconfig RET   __stat50 0
  1847      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07b)
  1847      1 ccdconfig NAMI  "/dev/rwd10a"
  1847      1 ccdconfig RET   open 3
  1847      1 ccdconfig CALL  close(3)
  1847      1 ccdconfig RET   close 0
  1847      1 ccdconfig CALL  __stat50(0x7f7ff7e030a0,0x7f7fffffd500)
  1847      1 ccdconfig NAMI  "/dev/wd10a"
  1847      1 ccdconfig RET   __stat50 0
  1847      1 ccdconfig CALL  readlink(0x7f7ffffffd72,0x7f7fffffcc10,0x3ff)
  1847      1 ccdconfig NAMI  "/dev/wd11a"
  1847      1 ccdconfig RET   readlink -1 errno 22 Invalid argument
  1847      1 ccdconfig CALL  __stat50(0x7f7ffffffd72,0x7f7fffffcb70)
  1847      1 ccdconfig NAMI  "/dev/wd11a"
  1847      1 ccdconfig RET   __stat50 0
  1847      1 ccdconfig CALL  open(0x7f7fffffd070,0,0x7f7fffffd07b)
  1847      1 ccdconfig NAMI  "/dev/rwd11a"
  1847      1 ccdconfig RET   open 3
  1847      1 ccdconfig CALL  close(3)
  1847      1 ccdconfig RET   close 0
  1847      1 ccdconfig CALL  __stat50(0x7f7ff7e030b0,0x7f7fffffd500)
  1847      1 ccdconfig NAMI  "/dev/wd11a"
  1847      1 ccdconfig RET   __stat50 0
  1847      1 ccdconfig CALL  open(0x7f7ff7e03080,2,0x1a0)
  1847      1 ccdconfig NAMI  "/dev/ccd1d"
  1847      1 ccdconfig RET   open 3
  1847      1 ccdconfig CALL  ioctl(3,CCDIOCSET,0x7f7fffffd4e0)
  1847      1 ccdconfig GIO   fd 3 wrote 32 bytes
       "\M^P0\M-`\M-w\^?\^?\0\0\^B\0\0\0?\0\0\0\^B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
	\0"
  1847      1 ccdconfig NAMI  "/dev/wd10a"
  1847      1 ccdconfig NAMI  "/dev/wd11a"
;;;
;;; kdump.06-ccd0-2-recheck: ccdconfig -g ccd0
  1422      1 ktrace   EMUL  "netbsd"
  1422      1 ktrace   CALL  execve(0x7f7fffffd650,0x7f7fffffdb48,0x7f7fffffdb68)
  1422      1 ktrace   NAMI  "/sbin/ccdconfig"
  1422      1 ccdconfig EMUL  "netbsd"
  1422      1 ccdconfig RET   execve JUSTRETURN
  1422      1 ccdconfig CALL  __sysctl(0x425a48,2,0x633760,0x7f7fffffdb18,0,0)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  mmap(0,0x18,3,0x1000,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187598319616/0x7f7ff7fff000
  1422      1 ccdconfig CALL  _lwp_setprivate(0x7f7ff7fff000)
  1422      1 ccdconfig RET   _lwp_setprivate 0
  1422      1 ccdconfig CALL  getegid
  1422      1 ccdconfig RET   getegid 0
  1422      1 ccdconfig CALL  getgid
  1422      1 ccdconfig RET   getgid 0
  1422      1 ccdconfig CALL  setegid(0)
  1422      1 ccdconfig RET   setegid 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd9f0,2,0x7f7fffffd9ec,0x7f7fffffd9f8,0,0)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd1f0,2,0x630268,0x7f7fffffd200,0,0)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd150,2,0x632abc,0x7f7fffffd158,0,0)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  readlink(0x423632,0x7f7fffffd230,0x400)
  1422      1 ccdconfig NAMI  "/etc/malloc.conf"
  1422      1 ccdconfig RET   readlink -1 errno 2 No such file or directory
  1422      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187598315520/0x7f7ff7ffe000
  1422      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187598311424/0x7f7ff7ffd000
  1422      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187598307328/0x7f7ff7ffc000
  1422      1 ccdconfig CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187598303232/0x7f7ff7ffb000
  1422      1 ccdconfig CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0)
  1422      1 ccdconfig RET   mmap 140187596226560/0x7f7ff7e00000
  1422      1 ccdconfig CALL  __stat50(0x7f7ff7e03080,0x7f7fffffda60)
  1422      1 ccdconfig NAMI  "/dev/ccd0d"
  1422      1 ccdconfig RET   __stat50 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,1,0x7f7ff7e05400,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  1422      1 ccdconfig RET   __sysctl -1 errno 12 Cannot allocate memory
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,1,0x7f7ff7e05800,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,2,0x7f7ff7e0d000,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd6b0,3,0x7f7ff7e10140,0x7f7fffffd598,0x7f7fffffd5a0,0x60)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd960,3,0x7f7fffffd9e0,0x7f7fffffd9d0,0x7f7fffffd9cc,4)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd6a8,1,0x7f7ff7e06000,0x7f7fffffd6b0,0x7f7fffffd710,0x60)
  1422      1 ccdconfig RET   __sysctl 0
  1422      1 ccdconfig CALL  __sysctl(0x7f7fffffd960,3,0,0x7f7fffffd9d8,0x7f7fffffd9cc,4)
  1422      1 ccdconfig RET   __sysctl -1 errno 2 No such file or directory
  1422      1 ccdconfig CALL  write(2,0x7f7fffffd360,0xb)
  1422      1 ccdconfig GIO   fd 2 wrote 11 bytes
       "ccdconfig: "
  1422      1 ccdconfig RET   write 11/0xb
  1422      1 ccdconfig CALL  write(2,0x7f7fffffd450,0x2a)
  1422      1 ccdconfig GIO   fd 2 wrote 42 bytes
       "Error getting kern.ccd.components for ccd0"
  1422      1 ccdconfig RET   write 42/0x2a
  1422      1 ccdconfig CALL  write(2,0x4235bb,2)
  1422      1 ccdconfig GIO   fd 2 wrote 2 bytes
       ": "
  1422      1 ccdconfig RET   write 2
  1422      1 ccdconfig CALL  issetugid
  1422      1 ccdconfig RET   issetugid 0
  1422      1 ccdconfig CALL  open(0x7f7fffffcb70,0x400000,0x7f7fffffcb8b)
  1422      1 ccdconfig NAMI  "/usr/share/nls/nls.alias.db"
  1422      1 ccdconfig RET   open -1 errno 2 No such file or directory
  1422      1 ccdconfig CALL  open(0x4291ff,0x400000,0)
  1422      1 ccdconfig NAMI  "/usr/share/nls/nls.alias"
  1422      1 ccdconfig RET   open 3
  1422      1 ccdconfig CALL  __fstat50(3,0x7f7fffffcee0)
  1422      1 ccdconfig RET   __fstat50 0
  1422      1 ccdconfig CALL  mmap(0,0x5f0,1,2,3,0,0)
  1422      1 ccdconfig RET   mmap 140187598299136/0x7f7ff7ffa000
  1422      1 ccdconfig CALL  close(3)
  1422      1 ccdconfig RET   close 0
  1422      1 ccdconfig CALL  munmap(0x7f7ff7ffa000,0x5f0)
  1422      1 ccdconfig RET   munmap 0
  1422      1 ccdconfig CALL  open(0x7f7fffffd420,0x400000,0x7f7fffffd439)
  1422      1 ccdconfig NAMI  "/usr/share/nls/C/libc.cat"
  1422      1 ccdconfig RET   open 3
  1422      1 ccdconfig CALL  __fstat50(3,0x7f7fffffcf60)
  1422      1 ccdconfig RET   __fstat50 0
  1422      1 ccdconfig CALL  mmap(0,0x10be,1,1,3,0,0)
  1422      1 ccdconfig RET   mmap 140187598295040/0x7f7ff7ff9000
  1422      1 ccdconfig CALL  close(3)
  1422      1 ccdconfig RET   close 0
  1422      1 ccdconfig CALL  munmap(0x7f7ff7ff9000,0x10be)
  1422      1 ccdconfig RET   munmap 0
  1422      1 ccdconfig CALL  write(2,0x7f7fffffd380,0x1a)
  1422      1 ccdconfig GIO   fd 2 wrote 26 bytes
       "No such file or directory\n"
  1422      1 ccdconfig RET   write 26/0x1a
  1422      1 ccdconfig CALL  exit(1)



>Fix:


>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/49985: ccd configuration on ccd other than 0 hangs; disables ccd0
Date: Thu, 18 Jun 2015 15:21:57 -0400

 On Jun 18,  7:20pm, greywolf@starwolf.com (greywolf@starwolf.com) wrote:
 -- Subject: kern/49985: ccd configuration on ccd other than 0 hangs; disables

 Just fixed a few hours agon on head.

 christos

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.