[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [solved] pbbuttonsd new problems



On Thu, 2004-07-29 at 00:27, Matthias Grimm wrote:
> Am Donnerstag, 29. Juli 2004 00:52 schrieb Adam Done:
> 
> Next Try: I have read that the zilog serieal driver has some problems with 
> sleep. You  should compile CONFIG_SERIAL_PMACZILOG as module and
> remove it before sleep. Maybe ths helps.

Matthias,

That cleared up the issues.  I put PMACZILOG as a module and the kernel
runs great with pbbuttons and it works going into sleep with the power
plugged in or not.  The lid works putting the pb to sleep.  Now I  don't
have to wait to shut down the computer when I need to take off in a
hurry.. just put it to sleep.  Thank you for all your help.

> Have you send your problem already to LinuxPPC-dev mailing list? There are all 
> the kernel specialists that can help you much more with kernel issues than I 
> could (lists.linuxppc.org).
> 
>  Best Regards
>     Matthias
> 
> > On Wed, 2004-07-28 at 07:16, Matthias Grimm wrote:
> > > Am Mittwoch, 28. Juli 2004 02:16 schrieb Adam Done:
> > >
> > > Hi Adam,
> > > It seems that your machine/kernel has problems with sleep. This may
> > > caused by the PREEMPT kernel option. Maybe you could recompile your
> > > kernel without PREEMPT support.
> >
> > That helped a bit in the kernel dump  this is what I get now, it is just
> > the first half.
> >
> >
> > Ooups: kernel access of bad area, sig: 11 (#1)
> > REEMPT
> > Nip:  C0019890 LR: C037CED4 REGS: ec7a1c90 TRAP: 0300  Not tainted
> > MSR:  00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
> > DAR:  00000000, DSISR: 42000000
> > GPR00:  .....[bunch of hex numbers]
> > GPR08:  .....[bunch of hex numbers]
> > GPR16:  .....[bunch of hex numbers]
> > GPR24:  .....[bunch of hex numbers]
> > NIP [c0019b90] add_wait_quie_exclusive+0x44/-x84
> > LR [c037ced4] __down+0x54/0xe8
> > Call trace:
> > [c037c3d4] __down+0x54/0xe8
> > [c02185b8] pmz_suspend+0x240/0x25c
> > [c023f3a4] macio_device_suspend+0x4c/0x54
> > [c021d2ac] suspend_device+0x54/0x5c
> > [c021d32c] device_suspend+0x78/0x14c
> > [c04e6aa8] 0xc04e6aa8
> > [c04e6fec] 0xc04e6fec
> > [c04e7c48] 0xc04e7c48
> > [c0078c5c] sys_ioctl+0x164/0x37c
> > [c0005f60] ret_from_syscall+0x0/0x44
> >
> >
> > This happens when the pb is asked to goto sleep with poweron or on
> > battery.  I also made other changes in the kernel .config file and
> > included it to help.  I have compiled different kernels with one or a
> > couple of items changed but I still can't get the powerbook to sleep
> > without crashing it.  Thank gooodness for xfs and restoring my file
> > system.  And also, thank you for your help.
> >
> > -Adam
> >
> > >  Best Regards
> > >     Matthias
> > >
> > > > I found the new pbbuttonsd_0.6.3a package for debian and installed it
> > > > but I am getting the same errors I was getting in 6.2 deb package and
> > > > the 6.3a source.  I close the lid and the kernel crashes.  I have also
> > > > included my .config file for my kernel just in case if it is the kernel
> > > > which is causing the crash.
> > > >
> > > > This is with the deb package of pbbuttonsd_0.6.3 from unstable. The
> > > > display turns off when plugged in but when on battery I close the lid
> > > > and get the crash.
> > > >
> > > > I  don't know how to collect a kernel dump but I typed it out by hand
> > > > onto anther computer
> > > >
> > > >
> > > > Kernel crash:
> > > >
> > > > Ooups: kernel access of bad area, sig: 11 (#1)
> > > > REEMPT
> > >
> > > [...]
> > >
> > > > note: pbbuttonsd[2956] exited with preempt_count 2
> > >
> > > [...]



Reply to: