Subject: ciss(9), aac(9) and Xen
To: None <tech-kern@netbsd.org>
From: Tonnerre LOMBARD <tonnerre@thebsh.sygroup.ch>
List: tech-kern
Date: 03/15/2006 17:58:05
--eGLW8NzjjVmDHwQh
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Salut,

Just like the aac(9) driver I reported earlier, my ciss(9) driver appears
to have serious problems with Xen. Upon boot, I get the following message:

ciss0: unqueued ccb 0xc9d07000 ready, state=0x1

and after nothing else happened for quite some time, I end up on the
debugger prompt after a while with the following backtrace:

panic(c0585b31, 318000, c0720e88, c03d2a79, 0) at netbsd:panic+0x121
xpq_flush_queue(c064e9ac, c064e900, c0720ec8, 1a1cc60, 0) at netbsd:xpq_flush_queue+0x4a
pmap_growkernel(c6761000, 10012, c064e9ac, 81, c0974000) at netbsd:pmap_growkernel+0x335
uvm_map_prepare(c064e900, c5f61000, 800000, c064e8c0, 0) at netbsd:uvm_map_prepare+0x2dd
ubc_init(1, 1, 4000, 20, c071cc10) at netbsd:ubc_init+0x176
main(0,0,0,0,0) at netbsd:main+0x2d9

Any idea? Memory space exhaustion? (The backtrace is slightly different when
you assign 128MB RAM to it rather than just 64)

Additional functions with 128MB RAM: ...pmap_growkernel+0x335,
uvm_map_prepare+0x2dd, uvm_map+0x7e, uvm_km_valloc1+0x81, xen_shm_init+0x6f,
hypervisor_attach+0x18c, config_attach_loc+0x2ac, mainbus_attach+0x7a,
config_attach_loc+0x2ac, config_rootfound+0x2c, cpu_configure+0x1e,
configure+0x4a, main+0x2d4

The kernel I used can be found at:

http://thebsh.sygroup.ch/pub/sygroup/NetBSD/NetBSD-3.0-ciss/i386/binary/kernel/netbsd-XEN0.gz

I'm not overly familiar with Xen's specific interna, so if someone could
tell me more about what is going on up there, I would be glad.

				Tonnerre

--eGLW8NzjjVmDHwQh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (NetBSD)

iQIVAwUBRBhHnO1mMGan/TnWAQLMXg//Ztoe4KoHTVIDtMNVhFmdtysz0wL//dOO
Gsl4e7vzORjnGXQxST3VgCKsf5cco4CErx3JPFmXUtda0yNz0W05nWnK0FYSLya0
pAJKdHbjV/+r5i3mO1eNq/ReRKvCY+uk2qPJJnKmEhQH9ZDKWWb6XVfW0UNDlti4
WsoHfCYzD3bys+tRibDye6SWhM0OpDw8mV0Qo/nmRyBJjpSIyj4jZ2Tl/3Yy2Odc
2DgXxn3S5zZdtXtX11smySDxrD4tjVnVTNzrLdR0wTyLx/maW+YQq8E8d48q30qJ
NjN1kLadSUmz/3hbB+Ok0eoXgkFS2/dsGMICrRGHx4n536v2TWJlY8NNOx7qnvrn
kps89TYhKcqGArEesZ9eVAI4U7EL3i16t5XgaVmfsIDaof+H0k/J8sJwAcwVCTXY
vaIp7uGt4MvY2Emg5UIpHYQGtv/JIHaTtWOeOOCR3WC+1vn7U/mtaPtOmR34i37G
VuVv35QdU9idq6yALylRnnvIF2apbCHmXthALgIz8L6eQZnb/upxbk9pKQb+z4JD
KLB68eUVUZ1Sfp/t1jXlOuMjpfKv0ufBWa3+gWiInFABZoJ7ZnqhN2NZibfMnw8c
GGrygzOCbMWrSzFWBelnGK54kBdlPZnl/gNTO8tap4ubG4dtPI+aaNk7rjBpWElA
d/LrKCcyjTI=
=F9aw
-----END PGP SIGNATURE-----

--eGLW8NzjjVmDHwQh--