Date: Sun, 23 Jan 2000 11:58:11 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Nick Hibma <n_hibma@webweaving.org> Cc: FreeBSD CURRENT Mailing List <current@FreeBSD.ORG> Subject: Re: mmap problem when resuming while mpg123 is playing Message-ID: <200001231958.LAA81502@apollo.backplane.com> References: <Pine.BSF.4.20.0001231222140.3332-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
: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 : :-- :n_hibma@webweaving.org :n_hibma@freebsd.org USB project :http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001231958.LAA81502>