pmap.h: No such file or directory---- Debugging error
Hi All, I have two system one is Debug and another is Target machine. I am debugging using kgdb from Debug machine. Line no: 272 into the function vm_page_startup( vaddr ) of vm_page.c - Freebsd 7.0, mapped=pmap() is there. when i press S (step by step debug) then (kgdb)s pmap_map( , , , ,) at /usr/src/sys/i386/i386/pmap.c:1089 1089 va=sva=*virt (kgdb)s 1090 while(start end){ (kgdb)s 310pmap.h: No such file or directory Same thing happens with pmap_invalidate_range() pcpu.h: No such file or directory Could anyone help me? Thanks Kamlesh MS CS CSUS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: panic: Going nowhere without my init!
Hi All, Sorry for late reply, i was out of work for a week. I made wrong comment in Getpid(): Getpid() { /* .. /* ... */ */ return() } I removed it and now it is working fine. Thanks --- On Mon, 1/19/09, Dag-Erling Smørgrav d...@des.no wrote: From: Dag-Erling Smørgrav d...@des.no Subject: Re: panic: Going nowhere without my init! To: Ed Schouten e...@80386.nl Cc: Garrett Cooper yanef...@gmail.com, shilp.ka...@yahoo.com, FreeBSD Hackers freebsd-hackers@freebsd.org Date: Monday, January 19, 2009, 3:13 PM Ed Schouten e...@80386.nl writes: I guess if you break getpid() to not return 1 in the case of init(8), it will just say init: already running and quit. This causes this panic to occur. Who knows? We have no idea what the OP actually did, because he didn't bother to tell us. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Remote kernel debugging in FreeBSD using serial communication
Hi All, I am trying remote kernel debugging in FreeBSD using serial communication. I got the following link. http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 My problem is my developing and target system does not have DS25 female port. Anyone have any idea about Remote kernel debugging in FreeBSD using DS9 F/F Serial cable or any other remote debugging idea? Thanks, Kamlesh MS CS CSUS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
panic: Going nowhere without my init!
Hi All, Thanks for answering my previous question FreeBSD kernel Debugging tools for Virtual Memory Module, thank you Dag-Erling Smørgrav. Today i made a comment in Getpid() function of sys/kern/kern_prot.c file and i got error of panic: Going nowhere without my init! Can not dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Could anyone help me in solving this error? Thanks Kamlesh MS CS, CSUS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
kernel panic
Hi there, I changed the following file of FreeBSD 7.0: sys/boot/forth/beastie.4th variable rebootkey variable mykey (added line) I built and installed kernel, then i reboot the system, it gives me the following error: --- panic: free: guard1 fail @ 0x6e104 from /usr/src/sys/boot/i386/loader/../../common/module.c:959 -- Press a key on the console to reboot -- How do i recover the system from this error. I can't reload the loader.old Could anyone please help me? Kamlesh MS CS, CSUS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Having a problem of kernel panic
Hi all, I am having a problem of kernel panic in FreeBSD 7.0: In sys/boot/forth/beastie.4th variable rebootkey variable mykey (added line) After building and installing the kernel, when i reboot the system it gives me the following error: --- panic: free: guard1 fail @ 0x6e104 from /usr/src/sys/boot/i386/loader/../../common/module.c:959 -- Press a key on the console to reboot -- How do i recover the system from this error. I can't reload the loader.old Could anyone please help me? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
FreeBSD kernel Debugging tools for Virtual Memory Module
Hi Friends, Happy New Year, I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever i modify little code of vmpage.c file i need to build the whole kernel to check the modification and i even am not able to debug the kernel code. Could anyone please inform me kernel Debugging tools for FreeBSD OS? Kamlesh MS CS, CSUS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
What happen when FreeBSD boot first time????????
Hi Friends, I am working on FreeBSD Virtual Memory improvement algorithm. How VM allocate pages first time when system boot? How phys_avail[] have values in sys/vm/vm_Page.c line 228? Thanks Kamlesh ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
What happen when FreeBSD boot first time????????
Hi Friends, I am working on FreeBSD Virtual Memory improvement algorithm. How VM allocate pages first time when system boot? How phys_avail[] have values in sys/vm/vm_Page.c line 228? Thanks Kamlesh It's set by machine-dependent part of code. grep for phys_avail[] in i386/amd64/arm/etc.. Oleksandr Tymoshenko [EMAIL PROTECTED] From: Oleksandr Tymoshenko [EMAIL PROTECTED] Subject: Re: What happen when FreeBSD boot first time To: [EMAIL PROTECTED] Cc: freebsd-hackers@freebsd.org, [EMAIL PROTECTED] Date: Sunday, November 9, 2008, 6:42 PM Kamlesh Patel wrote: Hi Friends, I am working on FreeBSD Virtual Memory improvement algorithm. How VM allocate pages first time when system boot? How phys_avail[] have values in sys/vm/vm_Page.c line 228? It's set by machine-dependent part of code. grep for phys_avail[] in i386/amd64/arm/etc.. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Virtual Memory Improvement Algorithm
Hi friends, My name is Kamlesh and i am working on freeBSD Virtual Memory Improvement Algorithm as my Master Project at California State University Sacramento. Could any one help me in Virtual Memory free space management: Splay treeto Radix tree? Thanks Kamlesh ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]