:The following error shows up in my messages log when mpg123 is playing
:songs off a mounted CD ROM when the laptop is suspended and resumed.
:
:Jan 23 11:21:04 henny /kernel: resumed from suspended mode (slept
:00:36:53)
:Jan 23 11:21:04 henny /kernel: ata0: resetting devices .. done
:Jan 23 11:21:04 henny /kernel: ata1: resetting devices .. done
:Jan 23 11:21:04 henny /kernel: vm_fault: pager read error, pid 9309
:(mpg123)
:Jan 23 11:21:04 henny /kernel: pid 9309 (mpg123), uid 0: exited on
:signal 11 (core dumped)
:
:The contents of the cd can no longer be accessed. umount /cdrom does not
:work, umount -f /cdrom does, but the system later on panics in __getcwd,
:eventhough I had exitted all the shells (logged out) before doing the
:forced unmount.
:
:After mounting the CD again (before the panic happens) the CD is
:accessible again.

    This isn't an mmap() problem.  It would appear to me that the CD's
    device driver gets confused and starts generating I/O errors when
    you resume after a suspend.

    I think you've found multiple bugs here.  First, the fact that the CD
    fails on resume (which may not be easy to fix - it's a job for the device
    driver writers to track down), and second the __getcwd panic, which is
    probably fairly easy to fix if we can get a stack backtrace or kernel
    core dump.

                                                -Matt

:...
:Jan 23 12:09:37 henny /kernel: acd0: read 2416KB/s (2416KB/s), 128KB
:buffer, PIO4
:Jan 23 12:09:37 henny /kernel: acd0: Reads: CD-DA
:Jan 23 12:09:37 henny /kernel: acd0: Audio: play, 16 volume levels
:Jan 23 12:09:37 henny /kernel: acd0: Mechanism: ejectable tray
:Jan 23 12:09:38 henny /kernel: acd0: Medium: no/blank disc inside,
:unlocked
:Jan 23 12:09:38 henny /kernel: pccard: card inserted, slot 1
:Jan 23 12:09:38 henny /kernel: ata_command: timeout waiting for
:interrupt
:Jan 23 12:09:38 henny /kernel: Mounting root from ufs:/dev/ad0s2a
:
:--
:[EMAIL PROTECTED]
:[EMAIL PROTECTED]                                          USB project
:http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to