public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* S3 resume and serial console..
@ 2005-07-30  2:03 Dave Airlie
  2005-07-30  7:55 ` Russell King
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2005-07-30  2:03 UTC (permalink / raw)
  To: linux-kernel


Okay I'm really trying here but my PC really hates me :-)

I've set up an i865 machine with a serial console, and on-board graphics
(also have radeon/MGA AGP..) and in an effort to try and figure out some
more about suspend /resume to RAM..

However now the  serial port doesn't come back after resume, I just get
garbage sent out on it ...

Anyone any ideas?

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 resume and serial console..
  2005-07-30  2:03 S3 resume and serial console Dave Airlie
@ 2005-07-30  7:55 ` Russell King
  2005-07-31  0:29   ` Dave Airlie
  0 siblings, 1 reply; 6+ messages in thread
From: Russell King @ 2005-07-30  7:55 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-kernel

On Sat, Jul 30, 2005 at 03:03:24AM +0100, Dave Airlie wrote:
> Okay I'm really trying here but my PC really hates me :-)
> 
> I've set up an i865 machine with a serial console, and on-board graphics
> (also have radeon/MGA AGP..) and in an effort to try and figure out some
> more about suspend /resume to RAM..
> 
> However now the  serial port doesn't come back after resume, I just get
> garbage sent out on it ...
> 
> Anyone any ideas?

Not without some information such as the kernel messages right up to
the failure point, kernel version and a description of the hardware.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 resume and serial console..
  2005-07-30  7:55 ` Russell King
@ 2005-07-31  0:29   ` Dave Airlie
  2005-07-31  7:08     ` S3 resume and PNP (was: Re: S3 resume and serial console..) Russell King
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2005-07-31  0:29 UTC (permalink / raw)
  To: Dave Airlie, linux-kernel

> >
> > I've set up an i865 machine with a serial console, and on-board graphics
> > (also have radeon/MGA AGP..) and in an effort to try and figure out some
> > more about suspend /resume to RAM..
> >
> > However now the  serial port doesn't come back after resume, I just get
> > garbage sent out on it ...
> >
> > Anyone any ideas?
> 
> Not without some information such as the kernel messages right up to
> the failure point, kernel version and a description of the hardware.

latest Linus git tree, and it just does the usual entering suspend and
then when I resume I get crap out of the serial port, nothing at all
intelliigble...

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

And as I said its an i865 based motherboard from Intel... nothing
special on it, do you need to know the super-io chip, i.e. I 'll have
to open the case to find out...

Dave.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* S3 resume and PNP (was: Re: S3 resume and serial console..)
  2005-07-31  0:29   ` Dave Airlie
@ 2005-07-31  7:08     ` Russell King
  2005-07-31  7:44       ` Dave Airlie
  0 siblings, 1 reply; 6+ messages in thread
From: Russell King @ 2005-07-31  7:08 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Dave Airlie, linux-kernel

On Sun, Jul 31, 2005 at 10:29:58AM +1000, Dave Airlie wrote:
> latest Linus git tree, and it just does the usual entering suspend and
> then when I resume I get crap out of the serial port, nothing at all
> intelliigble...
> 
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> 
> And as I said its an i865 based motherboard from Intel... nothing
> special on it, do you need to know the super-io chip, i.e. I 'll have
> to open the case to find out...

The above two messages tells me you're probably using plug'n'play.
Unfortunately, for some unknown reason, the Linux plug'n'play
subsystem does not support suspend/resume.  This is not a serial
problem.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 resume and PNP (was: Re: S3 resume and serial console..)
  2005-07-31  7:08     ` S3 resume and PNP (was: Re: S3 resume and serial console..) Russell King
@ 2005-07-31  7:44       ` Dave Airlie
  2005-07-31  8:02         ` Dave Airlie
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2005-07-31  7:44 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

> >
> > And as I said its an i865 based motherboard from Intel... nothing
> > special on it, do you need to know the super-io chip, i.e. I 'll have
> > to open the case to find out...
>
> The above two messages tells me you're probably using plug'n'play.
> Unfortunately, for some unknown reason, the Linux plug'n'play
> subsystem does not support suspend/resume.  This is not a serial
> problem.
>

Okay I've disabled PnP in my kernel, now I get nothing back from the
serial port on resume... not sure if that is an improvement or not :-)

I'll keep messing about with it and see what I can work out...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 resume and PNP (was: Re: S3 resume and serial console..)
  2005-07-31  7:44       ` Dave Airlie
@ 2005-07-31  8:02         ` Dave Airlie
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Airlie @ 2005-07-31  8:02 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

> >
> > The above two messages tells me you're probably using plug'n'play.
> > Unfortunately, for some unknown reason, the Linux plug'n'play
> > subsystem does not support suspend/resume.  This is not a serial
> > problem.
> >
>
> Okay I've disabled PnP in my kernel, now I get nothing back from the
> serial port on resume... not sure if that is an improvement or not :-)
>
> I'll keep messing about with it and see what I can work out...

Actually I lie.. my resume for some reason delays for quite a while, I've
gotten a init=/bin/bash serial console resuming now correctly...

Thanks,
Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-31  8:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30  2:03 S3 resume and serial console Dave Airlie
2005-07-30  7:55 ` Russell King
2005-07-31  0:29   ` Dave Airlie
2005-07-31  7:08     ` S3 resume and PNP (was: Re: S3 resume and serial console..) Russell King
2005-07-31  7:44       ` Dave Airlie
2005-07-31  8:02         ` Dave Airlie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox