Hi Folks, I''m getting a kernel panic every time I try to run my winxp qemu image. I don''t have any experience with troubleshooting these kinds of issues (kernel), so pointers are welcome. My system: clean install of SX:CR 62, on an AMD64 box. Using code compiled from http://www.opensolaris.org/os/project/qemu/downloads/qemu-CVS-20070520.tar.bz2 using gcc3 (SFW) I also used the updated configure (http://www.opensolaris.org/os/project/qemu/downloads/configure.20070529.sh). Now I didn''t do anything on the libSDL side, but I saw that sxcr62 already had SUNWlibsdl, which seemed to be working ok. I complied for x86 only, as I''m only planning on running x86 images, and it seemed much simpler. I''m not using kqemu, but I did compile/install TUN/TAP as linked from the OpenSolaris qemu page today, and it''s actually since then that I''ve been having these issues now that I think of it.... I''m using the bridged TAP configuration, with a 64-bit sol_qemu_tap binary, compiled simply with gcc -m64 sol_qemu_tap.o -o sol_qemu_tap. Here is the first crash: Jun 2 20:50:03 angelous unix: [ID 836849 kern.notice] Jun 2 20:50:03 angelous ^Mpanic[cpu0]/thread=fffffffecfd727c0: Jun 2 20:50:03 angelous genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff0007e2f910 addr=3a occurred in module "unix" due to a NULL pointer dereference Jun 2 20:50:03 angelous unix: [ID 100000 kern.notice] Jun 2 20:50:03 angelous unix: [ID 839527 kern.notice] qemu: Jun 2 20:50:03 angelous unix: [ID 753105 kern.notice] #pf Page fault Jun 2 20:50:03 angelous unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x3a Jun 2 20:50:03 angelous unix: [ID 243837 kern.notice] pid=10657, pc=0xfffffffffb85514f, sp=0xffffff0007e2fa00, eflags=0x10246 Jun 2 20:50:03 angelous unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jun 2 20:50:03 angelous unix: [ID 354241 kern.notice] cr2: 3a cr3: 808dc000 cr8: c Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] rdi: fffffffec002f200 rsi: fffffffece6e2940 rdx: fffffffecfd727c0 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] rcx: 3 r8: 2 r9: fffffffed94ba600 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] rax: 0 rbx: fffffffff85911e3 rbp: ffffff0007e2fa60 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] r10: fffffffec3a949f0 r11: 1 r12: 30 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] r13: 0 r14: ffffff0007e2f9f0 r15: fffffffecaf978d0 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] fsb: fffffd7fff382000 gsb: fffffffffbc29f70 ds: 4b Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] es: 4b fs: 0 gs: 0 Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] trp: e err: 0 rip: fffffffffb85514f Jun 2 20:50:03 angelous unix: [ID 592667 kern.notice] cs: 30 rfl: 10246 rsp: ffffff0007e2fa00 Jun 2 20:50:03 angelous unix: [ID 266532 kern.notice] ss: 38 Jun 2 20:50:03 angelous unix: [ID 100000 kern.notice] Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2f7f0 unix:die+c8 () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2f900 unix:trap+135b () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2f910 unix:cmntrap+e9 () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fa60 unix:putnext+33f () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fc30 genunix:strput+1ad () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fce0 genunix:strwrite_common+1d0 () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fd10 genunix:strwrite+1b () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fdd0 specfs:spec_write+8e () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2fe40 genunix:fop_write+3f () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2ff00 genunix:write+2ad () Jun 2 20:50:03 angelous genunix: [ID 655072 kern.notice] ffffff0007e2ff10 unix:brand_sys_syscall+21d () Jun 2 20:50:03 angelous unix: [ID 100000 kern.notice] Jun 2 20:50:03 angelous genunix: [ID 672855 kern.notice] syncing file systems... Jun 2 20:50:03 angelous genunix: [ID 904073 kern.notice] done Jun 2 20:50:04 angelous genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0d0s1, offset 315490304, content: kernel Jun 2 20:50:16 angelous genunix: [ID 409368 kern.notice] ^M100% done: 126495 pages dumped, compression ratio 2.52, Jun 2 20:50:16 angelous genunix: [ID 851671 kern.notice] dump succeeded and the 2nd: Jun 2 23:15:00 angelous unix: [ID 836849 kern.notice] Jun 2 23:15:00 angelous ^Mpanic[cpu0]/thread=ffffff0006ce3c80: Jun 2 23:15:00 angelous genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff0006ce36c0 addr=3a occurred in module "unix" due to a NULL pointer dereference Jun 2 23:15:00 angelous unix: [ID 100000 kern.notice] Jun 2 23:15:00 angelous unix: [ID 839527 kern.notice] sched: Jun 2 23:15:00 angelous unix: [ID 753105 kern.notice] #pf Page fault Jun 2 23:15:00 angelous unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x3a Jun 2 23:15:00 angelous unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb85514f, sp=0xffffff0006ce37b0, eflags=0x10246 Jun 2 23:15:00 angelous unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jun 2 23:15:00 angelous unix: [ID 354241 kern.notice] cr2: 3a cr3: 8c00000 cr8: c Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] rdi: fffffffec002f980 rsi: fffffffecfbbc200 rdx: ffffff0006ce3c80 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] rcx: 7 r8: 6 r9: fffffffec48fef80 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] rax: 0 rbx: fffffffff7b3dc95 rbp: ffffff0006ce3810 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] r10: 42 r11: ffffff0006ce3680 r12: 30 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] r13: 246 r14: ffffff0006ce3790 r15: 0 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] fsb: 0 gsb: fffffffffbc29f70 ds: 4b Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] es: 4b fs: 0 gs: 1c3 Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] trp: e err: 0 rip: fffffffffb85514f Jun 2 23:15:00 angelous unix: [ID 592667 kern.notice] cs: 30 rfl: 10246 rsp: ffffff0006ce37b0 Jun 2 23:15:00 angelous unix: [ID 266532 kern.notice] ss: 0 Jun 2 23:15:00 angelous unix: [ID 100000 kern.notice] Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce35a0 unix:die+c8 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce36b0 unix:trap+135b () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce36c0 unix:cmntrap+e9 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3810 unix:putnext+33f () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3880 gld:gld_passon+1ad () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3910 gld:gld_sendup+140 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce39d0 gld:gld_precv+110 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3ad0 gld:gld_start+38f () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3b20 gld:gld_wsrv+df () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3b50 genunix:runservice+42 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3b80 genunix:queue_service+42 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3bc0 genunix:stream_service+73 () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3c60 genunix:taskq_d_thread+bb () Jun 2 23:15:00 angelous genunix: [ID 655072 kern.notice] ffffff0006ce3c70 unix:thread_start+8 () Jun 2 23:15:00 angelous unix: [ID 100000 kern.notice] Jun 2 23:15:00 angelous genunix: [ID 672855 kern.notice] syncing file systems... Jun 2 23:15:00 angelous genunix: [ID 904073 kern.notice] done Jun 2 23:15:01 angelous genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0d0s1, offset 315490304, content: kernel Jun 2 23:15:08 angelous genunix: [ID 409368 kern.notice] ^M100% done: 86215 pages dumped, compression ratio 2.86, Jun 2 23:15:08 angelous genunix: [ID 851671 kern.notice] dump succeeded I''m happy to do more testing, or provide more information. In the very least some help with which of these many kernel crash lines I should actually be focusing on and understanding, that would be great - I really don''t understand what it all means. This is rather new for me so I wasn''t quite sure what information would be relevant for you, and I didn''t want to make the first post too long! :) Thanks, Jonathan -- This message posted from opensolaris.org
Jonathan Wheeler
2007-Jun-03 09:08 UTC
[qemu-discuss] Re: kernel panic with qemu on sxcr 62
Just as an update for the benefit of anyone else following along; Offlist I''ve been contacted by both SunTzuTech, and Eric who have given me some suggestions to try. It seems that my guess of a simple gcc -m64 isn''t sufficient, Eric has some more flags for me to try. SunTzuTech suggested that I try a 32-bit qemu binary, and provided the necessary patch for the configure script to make this happen. A big thanks to both of you, who both replied very quickly. The 32-bit approach seemed to work for longer (around an hour), but I ultimately hit another kernel panic. Here is the log for those who understand such things: Jun 3 02:17:16 angelous genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff0006fc86c0 addr=3a occurred in module "unix" due to a NULL pointer dereference Jun 3 02:17:16 angelous unix: [ID 100000 kern.notice] Jun 3 02:17:16 angelous unix: [ID 839527 kern.notice] sched: Jun 3 02:17:16 angelous unix: [ID 753105 kern.notice] #pf Page fault Jun 3 02:17:16 angelous unix: [ID 532287 kern.notice] Bad kernel fault at addr0x3a Jun 3 02:17:16 angelous unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb855 14f, sp=0xffffff0006fc87b0, eflags=0x10246 Jun 3 02:17:16 angelous unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et ,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jun 3 02:17:16 angelous unix: [ID 354241 kern.notice] cr2: 3a cr3: 8c00000 cr8: c Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] rdi: fffffffec002f980 rs i: fffffffecfc2dcc0 rdx: ffffff0006fc8c80 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] rcx: 7 r 8: 6 r9: fffffffec4498500 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] rax: 0 rb x: fffffffff7b3dc95 rbp: ffffff0006fc8810 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] r10: 42 r1 1: ffffff0006fc8680 r12: 30 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] r13: 246 r1 4: ffffff0006fc8790 r15: 0 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] fsb: 0 gs b: fffffffffbc29f70 ds: 4b Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] es: 4b f s: 0 gs: 1c3 Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] trp: e er r: 0 rip: fffffffffb85514f Jun 3 02:17:16 angelous unix: [ID 592667 kern.notice] cs: 30 rf l: 10246 rsp: ffffff0006fc87b0 Jun 3 02:17:16 angelous unix: [ID 266532 kern.notice] ss: 0 Jun 3 02:17:16 angelous unix: [ID 100000 kern.notice] Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc85a0 unix: die+c8 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc86b0 unix: trap+135b () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc86c0 unix: cmntrap+e9 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8810 unix: putnext+33f () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8880 gld:g ld_passon+1ad () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8910 gld:g ld_sendup+140 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc89d0 gld:g ld_precv+110 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8ad0 gld:g ld_start+38f () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8b20 gld:g ld_wsrv+df () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8b50 genun ix:runservice+42 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8b80 genun ix:queue_service+42 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8bc0 genun ix:stream_service+73 () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8c60 genun ix:taskq_d_thread+bb () Jun 3 02:17:16 angelous genunix: [ID 655072 kern.notice] ffffff0006fc8c70 unix: thread_start+8 () Jun 3 02:17:16 angelous unix: [ID 100000 kern.notice] Jun 3 02:17:16 angelous genunix: [ID 672855 kern.notice] syncing file systems.. . Jun 3 02:17:16 angelous genunix: [ID 904073 kern.notice] done Jun 3 02:17:17 angelous genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0 d0s1, offset 315490304, content: kernel Jun 3 02:17:25 angelous genunix: [ID 409368 kern.notice] ^M100% done: 93058 pages dumped, compression ratio 2.82, Jun 3 02:17:25 angelous genunix: [ID 851671 kern.notice] dump succeeded Jun 3 02:18:05 angelous genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 Version snv_62 64-bit I''m just upgrading to SX-65 next, who knows, newer kernel, it may help. Failing that I still have Eric''s suggestion to try next. Onwards! :) Jonathan -- This message posted from opensolaris.org
Jonathan Wheeler
2007-Jun-04 10:55 UTC
[qemu-discuss] Re: kernel panic with qemu on sxcr 62
Hi Folks....continuing my conversation with myself here; I''ve done a clean install of SNV_65 x86. This is a bog standard SX:CR DE install. I installed some blastwave bits and bobs (amarok, xchat), my web browser, and my network cards. Now since I see mention of GLD in the panics below, I should point out at this time that I''m bridging my nfo0 nic. This is a community supplied driver, not an ON driver - in case that''s related to the problem. Using Eric''s sol_qemu_tap gcc options (-m64, -mcmodel=kernel and -mno-red-zone), with the 64-bit qemu bin: Jun 4 21:39:52 angelous unix: [ID 836849 kern.notice] Jun 4 21:39:52 angelous ^Mpanic[cpu0]/thread=ffffff0006cb9c80: Jun 4 21:39:52 angelous genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff0006cb95b0 addr=3a occurred in module "unix" due to a NULL pointer dereference Jun 4 21:39:52 angelous unix: [ID 100000 kern.notice] Jun 4 21:39:52 angelous unix: [ID 839527 kern.notice] sched: Jun 4 21:39:52 angelous unix: [ID 753105 kern.notice] #pf Page fault Jun 4 21:39:52 angelous unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x3a Jun 4 21:39:52 angelous unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb8553bf, sp=0xffffff0006cb96a0, eflags=0x10246 Jun 4 21:39:52 angelous unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jun 4 21:39:52 angelous unix: [ID 354241 kern.notice] cr2: 3a cr3: 2c00000 cr8: c Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] rdi: fffffffec002f200 rsi: fffffffed1004ec0 rdx: ffffff0006cb9c80 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] rcx: 1 r8: 0 r9: fffffffec388fec0 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] rax: 0 rbx: fffffffff8506c81 rbp: ffffff0006cb9700 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] r10: 42 r11: fffffffffb819c20 r12: 30 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] r13: 246 r14: ffffff0006cb9680 r15: fffffffecdfbd7f0 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] fsb: fffffd7ffee71200 gsb: fffffffffbc26b30 ds: 4b Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] es: 4b fs: 0 gs: 0 Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] trp: e err: 0 rip: fffffffffb8553bf Jun 4 21:39:52 angelous unix: [ID 592667 kern.notice] cs: 30 rfl: 10246 rsp: ffffff0006cb96a0 Jun 4 21:39:52 angelous unix: [ID 266532 kern.notice] ss: 38 Jun 4 21:39:52 angelous unix: [ID 100000 kern.notice] Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb9490 unix:die+c8 () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb95a0 unix:trap+135b () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb95b0 unix:cmntrap+e9 () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb9700 unix:putnext+33f () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb9770 gld:gld_passon+1ad () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb9800 gld:gld_sendup_vlan+bd () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb98a0 gld:gld_sendup+f1 () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb9990 gld:gld_recv_tagged+29c () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb99b0 gld:gld_recv+17 () Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] ffffff0006cb99f0 nfo:nfo_sol_packetrx+13e () Jun 4 21:39:52 angelous genunix: [ID 396311 kern.notice] >> warning! 8-byte aligned %fp = fffffffec3595b28 Jun 4 21:39:52 angelous genunix: [ID 655072 kern.notice] fffffffec3595b28 nfo:UpdateReceiveDescRingData_Offload+1f2 () Jun 4 21:39:52 angelous unix: [ID 100000 kern.notice] Jun 4 21:39:52 angelous genunix: [ID 672855 kern.notice] syncing file systems... Jun 4 21:39:52 angelous genunix: [ID 733762 kern.notice] 3 Jun 4 21:39:53 angelous genunix: [ID 733762 kern.notice] 1 Jun 4 21:39:54 angelous genunix: [ID 904073 kern.notice] done Jun 4 21:39:55 angelous genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0d0s1, offset 314638336, content: kernel Jun 4 21:40:04 angelous genunix: [ID 409368 kern.notice] ^M100% done: 98197 pages dumped, compression ratio 2.69, Jun 4 21:40:04 angelous genunix: [ID 851671 kern.notice] dump succeeded Jun 4 21:45:20 angelous genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 Version snv_65 64-bit That one paniced before even finishing the XP boot. Cripes! Using Eric''s sol_qemu_tap gcc options, with a 32-bit qemu bin. Jun 4 22:40:50 angelous unix: [ID 836849 kern.notice] Jun 4 22:40:50 angelous ^Mpanic[cpu1]/thread=ffffff00078b3c80: Jun 4 22:40:50 angelous genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff00078b36c0 addr=3a occurred in module "unix" due to a NULL pointer dereference Jun 4 22:40:50 angelous unix: [ID 100000 kern.notice] Jun 4 22:40:50 angelous unix: [ID 839527 kern.notice] sched: Jun 4 22:40:50 angelous unix: [ID 753105 kern.notice] #pf Page fault Jun 4 22:40:50 angelous unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x3a Jun 4 22:40:50 angelous unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb8553bf, sp=0xffffff00078b37b0, eflags=0x10246 Jun 4 22:40:50 angelous unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jun 4 22:40:50 angelous unix: [ID 354241 kern.notice] cr2: 3a cr3: 9800000 cr8: c Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] rdi: fffffffec002f740 rsi: fffffffec199b480 rdx: ffffff00078b3c80 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] rcx: 2 r8: 1 r9: fffffffec4e4ae40 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] rax: 0 rbx: fffffffff84f5c81 rbp: ffffff00078b3810 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] r10: 36 r11: ffffff00078b3680 r12: 30 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] r13: 246 r14: ffffff00078b3790 r15: fffffffec4160a80 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] fsb: 0 gsb: fffffffec19da000 ds: 4b Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] es: 4b fs: 0 gs: 1c3 Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] trp: e err: 0 rip: fffffffffb8553bf Jun 4 22:40:50 angelous unix: [ID 592667 kern.notice] cs: 30 rfl: 10246 rsp: ffffff00078b37b0 Jun 4 22:40:50 angelous unix: [ID 266532 kern.notice] ss: 0 Jun 4 22:40:50 angelous unix: [ID 100000 kern.notice] Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b35a0 unix:die+c8 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b36b0 unix:trap+135b () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b36c0 unix:cmntrap+e9 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3810 unix:putnext+33f () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3880 gld:gld_passon+1ad () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3910 gld:gld_sendup+140 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b39d0 gld:gld_precv+110 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3ad0 gld:gld_start+38f () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3b20 gld:gld_wsrv+df () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3b50 genunix:runservice+42 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3b80 genunix:queue_service+42 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3bc0 genunix:stream_service+73 () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3c60 genunix:taskq_d_thread+bb () Jun 4 22:40:50 angelous genunix: [ID 655072 kern.notice] ffffff00078b3c70 unix:thread_start+8 () Jun 4 22:40:50 angelous unix: [ID 100000 kern.notice] Jun 4 22:40:50 angelous genunix: [ID 672855 kern.notice] syncing file systems... Jun 4 22:40:50 angelous genunix: [ID 904073 kern.notice] done Jun 4 22:40:51 angelous genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0d0s1, offset 314638336, content: kernel Jun 4 22:40:57 angelous genunix: [ID 409368 kern.notice] ^M100% done: 83104 pages dumped, compression ratio 2.95, Jun 4 22:40:57 angelous genunix: [ID 851671 kern.notice] dump succeeded Jun 4 22:41:38 angelous genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 Version snv_65 64-bit So, I''m out of ideas now. I do need TAP, as I''m using XP for a PPTP VPN (almost solely). There is a chance that I''d be able to get this working with some redir rules, but that sounded hard and I really do think I should be able to get this working with TAP! Grr. Any other suggestions? About all I can think of now, is to use a 32-bit KERNEL, but that would be a really big step backwards for my desktop! Ideas are very welcome. :) Jonathan -- This message posted from opensolaris.org
Jonathan Wheeler
2007-Jun-18 19:41 UTC
[qemu-discuss] Re: kernel panic with qemu on sxcr 62 (solved)
Hi All, Just one last update, for those trawling the archives; I seem to be working just fine these days.... What changed? Well I built both the Tun/Tap modules, and the bridging modules in debug mode to do some further debugging, and they simply refused to die. They did do a fantastic job of filling up syslog though ;) So I rebuilt again, with non-debug, and I haven''t had a single crash since. I''ve been using qemu in anger for several days now, in 64-bit mode with a 32-bit guest. I specificly complied using -m64, -mcmodel=kernel and -mno-red-zone when, and I attribute my success to these gcc flags (thanks Eric!). I am _certain_ that I tried this earlier, so all I can put this down to is some kind of a problem with the gmake installl phase, or something along those lines, causing my new options to not take effect. Perhaps the old modules were loaded and in use at the time, maybe I couldn''t overwrite the modules in my kernel folder - who knows! I emailed the developer of these modules, to let him know of my adventures, but I haven''t heard back. In the short term, can I suggest just adding a note to the understanding networking page, explaining that if you''re on AMD64 you _will_ need to modify the Makefile to get tun/tap/bridging to work. I think it''s bridging specificly that was causing my crashes. I see that someone has added a note about amd64 panics to the networking web page, thanks for that. I''m hoping that can now be removed again! :) Jonathan -- This message posted from opensolaris.org