Opened 8 years ago

Last modified 7 years ago

#12514 assigned bug

PANIC: memory already locked!

Reported by: jessicah Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

PANIC: memory already locked!
Thread 10 "page writer" running on CPU 2
stack trace for thread 10 "page writer"
    kernel stack: 0x81e1000 to 0x81e22000

IOBuffer::LockMemory
IOSchedulerSimple::ScheduleRequest
<scsi_disk> das_io
BPrivate::AbstractModuleDevice::IO
devfs_io
vfs_vnode_io
do_iterative_fd_io_iterate
do_iterative_fd_io
<bfs> bfs_io
vfs_vnode_io
vfs_asynchronous_write_pages
VMVnodeCache::WriteAsync
PageWriteTransfer
PageWriterRun
page_writer
common_thread_entry

More detail available in attached image.

Attachments (1)

File_000 (1).jpeg (2.4 MB ) - added by jessicah 8 years ago.
KDL for PANIC: memory already locked!

Change History (6)

by jessicah, 8 years ago

Attachment: File_000 (1).jpeg added

KDL for PANIC: memory already locked!

comment:1 by jessicah, 8 years ago

I still have the KDL session open, if there is any additional output that would be deemed useful needed :-)

comment:2 by korli, 8 years ago

Please provide revision and architecture (I suppose it's x86 but Platform value is "All").

comment:3 by jessicah, 8 years ago

Platform: Allx86

Ah, I just found command in KDL to get the hrev :-) It's hrev49881 x86_gcc2 hybrid installation.

comment:4 by jessicah, 8 years ago

Well, lost my KDL session :( I tried to dump the IOBuffer from the IORequest, and it dropped into a loop, printing the same data in the last two columns whilst the first kept counting crazily, e.g.

[1136540] 0x3030303030dd78e9, 1959118821431193648
[1136541] 0xc00040b8222de923, 6206045233607618570
[1136542] 0x3030303030dd78e9, 1959118821431193648
[1136543] 0xc00040b8222de923, 8406625397624549386
[1136544] 0x3030303030dd78e9, 1959118821431193648
[1136545] 0xc00040b8222de923, 6206045233607618570
[1136546] 0x3030303030dd78e9, 1959118821431193648
[1136547] 0xc00040b8222de923, 8406625397624549386

Output of vnode 0xf46d45a8:

device: 3, id: 2097154
ref_count: 2
private_node: 0xdc81d838
mount: 0x8280aa80
covered_by: 0x00000000
covers: 0x00000000
cache: 0x8284a880
type: 0x8000
flags: ----
advisory_lock: 0x00000000

Unfortunately, other info I had printed out in the KDL session is lost =/

comment:5 by axeld, 7 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.