Bug 147504 - [oss] [panic] panic: dev_pager_getpage: map function returns error
Summary: [oss] [panic] panic: dev_pager_getpage: map function returns error
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2010-06-05 18:40 UTC by aditya sarawgi
Modified: 2022-10-17 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aditya sarawgi 2010-06-05 18:40:06 UTC
I'm using the following sound card
none0@pci0:0:27:0:	class=0x040300 card=0x02731028 chip=0x284b8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel audio controller embedded with the 82801H chipset ( ICH8 chipset ) (82801H)'
    class      = multimedia
    subclass   = HDA


System panics when oss is enabled and you try to play a sound file. Here's the core dump for the panic
osscore: Couldn't retrieve private data from file handle!
panic: dev_pager_getpage: map function returns error
cpuid = 0
KDB: enter: panic
Physical memory: 3054 MB
Dumping 143 MB: 128 112 96 80 64 48 32 16

Reading symbols from /usr/local/lib/oss/modules/osscore.ko...done.
Loaded symbols for /usr/local/lib/oss/modules/osscore.ko
Reading symbols from /usr/local/lib/oss/modules/oss_hdaudio.ko...done.
Loaded symbols for /usr/local/lib/oss/modules/oss_hdaudio.ko
#0  doadump () at pcpu.h:246
246     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump () at pcpu.h:246
#1  0xc04d2fe9 in db_fncall (dummy1=1, dummy2=0, dummy3=-1057017568,
    dummy4=0xe903d88c "") at /usr/src/sys/ddb/db_command.c:548
#2  0xc04d33e1 in db_command (last_cmdp=0xc0df28dc, cmd_table=0x0, dopager=1)
    at /usr/src/sys/ddb/db_command.c:445
#3  0xc04d353a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498
#4  0xc04d53dd in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:229
#5  0xc08d6736 in kdb_trap (type=3, code=0, tf=0xe903da34)
    at /usr/src/sys/kern/subr_kdb.c:535
#6  0xc0be857b in trap (frame=0xe903da34) at /usr/src/sys/i386/i386/trap.c:694
#7  0xc0bc970b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#8  0xc08d68ba in kdb_enter (why=0xc0cc470f "panic", msg=0xc0cc470f "panic")
    at cpufunc.h:71
#9  0xc08a4356 in panic (
    fmt=0xc0cef102 "dev_pager_getpage: map function returns error")
    at /usr/src/sys/kern/kern_shutdown.c:573
#10 0xc0b0178e in dev_pager_getpages (object=dwarf2_read_address: Corrupted DWARF expression.
)
    at /usr/src/sys/vm/device_pager.c:236
#11 0xc0b0e940 in vm_fault (map=0xc6584a50, vaddr=680882176,
    fault_type=2 '\002', fault_flags=Variable "fault_flags" is not available.
) at vm_pager.h:131
#12 0xc0be79dd in trap_pfault (frame=0xe903dd38, usermode=1, eva=680882176)
    at /usr/src/sys/i386/i386/trap.c:832
#13 0xc0be8210 in trap (frame=0xe903dd38) at /usr/src/sys/i386/i386/trap.c:401
#14 0xc0bc970b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#15 0x288e7613 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

How-To-Repeat: 1) Install FreeBSD 9.0-CURRENT
2) Install oss from ports 
3) Play a sound file
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-06-05 19:59:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

kernel problem.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:19 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:19:17 UTC
Keyword: 

    crash

– in lieu of summary line prefix: 

    [panic]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>