Discussion:
Error
(too old to reply)
Person
2011-07-18 18:12:50 UTC
Permalink
OS/161 kernel [? for menu]: p testbin/palin
Will run programe: testbin/palin
sys161: Duplicate TLB entries!
sys161: New entry: index 1, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Old entry: index 0, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Duplicate TLB entries for vpage 34000
sys161: You did something the hardware didn't like.
sys161: In real life the machine would hang for no apparent reason,
sys161: or maybe start to act strangely.
sys161: Waiting for debugger connection..

Any ideas on how to debug this error?
cs350
2011-07-18 23:36:12 UTC
Permalink
You have duplicate TLB entries... Your vpn also seems a little strange,
but I am not sure.

-Alex
Post by Person
OS/161 kernel [? for menu]: p testbin/palin
Will run programe: testbin/palin
sys161: Duplicate TLB entries!
sys161: New entry: index 1, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Old entry: index 0, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Duplicate TLB entries for vpage 34000
sys161: You did something the hardware didn't like.
sys161: In real life the machine would hang for no apparent reason,
sys161: or maybe start to act strangely.
sys161: Waiting for debugger connection..
Any ideas on how to debug this error?
Brad H.
2011-07-21 00:10:55 UTC
Permalink
I am getting a duplicate TLB entry as well, I don't really understand
how this could happen since vm_fault should only be called when there is
a TLB miss right? and if there was a TLB miss then there was no TLB
entry for that vaddr so we couldn't possibly enter a duplicate entry.
could someone maybe elaborate on how a duplicate entry might occur?

Thanks

Brad
Post by cs350
You have duplicate TLB entries... Your vpn also seems a little strange,
but I am not sure.
-Alex
Post by Person
OS/161 kernel [? for menu]: p testbin/palin
Will run programe: testbin/palin
sys161: Duplicate TLB entries!
sys161: New entry: index 1, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Old entry: index 0, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Duplicate TLB entries for vpage 34000
sys161: You did something the hardware didn't like.
sys161: In real life the machine would hang for no apparent reason,
sys161: or maybe start to act strangely.
sys161: Waiting for debugger connection..
Any ideas on how to debug this error?
cs350
2011-07-21 20:27:50 UTC
Permalink
There could be a lot of reasons. I would start by checking that your
process's page table(s) don't have duplicate entries.

-Alex
I am getting a duplicate TLB entry as well, I don't really understand how
this could happen since vm_fault should only be called when there is a TLB
miss right? and if there was a TLB miss then there was no TLB entry for that
vaddr so we couldn't possibly enter a duplicate entry. could someone maybe
elaborate on how a duplicate entry might occur?
Thanks
Brad
Post by cs350
You have duplicate TLB entries... Your vpn also seems a little strange,
but I am not sure.
-Alex
Post by Person
OS/161 kernel [? for menu]: p testbin/palin
Will run programe: testbin/palin
sys161: Duplicate TLB entries!
sys161: New entry: index 1, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Old entry: index 0, vpn 0x00034000, pid 512, ppn 0x00400000 (---)
sys161: Duplicate TLB entries for vpage 34000
sys161: You did something the hardware didn't like.
sys161: In real life the machine would hang for no apparent reason,
sys161: or maybe start to act strangely.
sys161: Waiting for debugger connection..
Any ideas on how to debug this error?
Continue reading on narkive:
Loading...