linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch
@ 2001-08-21 14:06 Martin Mueller
  2001-08-21 14:27 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Mueller @ 2001-08-21 14:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: dahinds

Hi,

I'm not subscribed to the list, so please cc: me in replies (if any).

Until recently I ran 2.4.6-pre8 on my Sony VAIO N505SX(DE), and had
the following problems:

   - after suspend to RAM and resume, no interrrupts where delivered
     for the ymfpci sound driver and PCMCIA wavelan card

   - hibernation worked fine if I unloaded ymfpci and pcmcia before
     
   - display of remaining battery time was wrong (the 
     minute / reverse bytorder problem)

Linux 2.4.8 worked _extremely_ well, all problems except the wrong
battery display gone. I just could suspend the running laptop while
playing mp3s over NFS via the wavelan card and upon resume it just
continued playing without a glitch (except the volume settings where
wrong). BTW. the pcmcia resume/suspend thingy only works with
"irq_mode=0 pci_int=1 pci_csc=1" as opitions. When using 
"irp_list=11 irq_mode=2" I have the same behaviour as with
2.4.6-pre8. The pcmcia package used is pcmcia-cs.17-Aug-01.tar.gz.

Linux 2.4.9 breaks this paradise. The Laptop freezes on resume after
turning on the display backlight no matter what drivers inserted, even
without any modules loaded and no drivers except IDE disk compiled in
the kernel. Nothing is logged via syslog or displayed. Trying to
hibernate the laptop hangs for about 3min and then finally hibernates
the system. Resume works in this case.

Sound doesn't work at all anymore. The messages from the driver are:

Aug 21 15:01:32 cicero kernel: PCI: Enabling device 00:09.0 (0000 -> 0003) 
Aug 21 15:01:32 cicero kernel: PCI: Found IRQ 9 for device 00:09.0 
Aug 21 15:01:32 cicero kernel: ymfpci: YMF744 at 0xfedf8000 IRQ 9 
Aug 21 15:01:33 cicero kernel: ymfpci_codec_ready: codec 0 is not ready [0xffff] 

This is with the ymfpci module shipped with the kernel tree, the
ALSA messages are roughly the same.

I compiled the kernel both with IO-APIC support and without, it's
all the same.

If someone needs more info just let me know. I'm also willing
to test any patches to get the "2.4.8 behaviour" back.

bye
   MM

Martin Mueller      Phone: +49 39298 4125      e-mail:  mm@sig21.net
		    ICQ:         99023536              mm@lunetix.de
PGP/GPG mail welcome, keys as well other stuff at:  http://themm.net

PS.: This is the patch to fix the remaining battery time 
     display in 2.4.9

--- dmi_scan.c.orig     Tue Aug 21 15:52:33 2001
+++ dmi_scan.c  Tue Aug 21 15:52:07 2001
@@ -354,6 +354,11 @@
                        MATCH(DMI_BIOS_VERSION, "R0121Z1"),
                        MATCH(DMI_BIOS_DATE, "05/11/00"), NO_MATCH
                        } },
+       { swab_apm_power_in_minutes, "Sony VAIO PCG-N505X(DE)", { /* Handle problems with APM on Sony Vaio PCG-N505X(DE) */
+                       MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
+                       MATCH(DMI_BIOS_VERSION, "R0206H"),
+                       MATCH(DMI_BIOS_DATE, "08/23/99"), NO_MATCH
+                       } },
        { NULL, }
 };
 


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

* Re: 2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch
  2001-08-21 14:06 2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch Martin Mueller
@ 2001-08-21 14:27 ` Alan Cox
  2001-08-22  0:00   ` Martin Mueller
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2001-08-21 14:27 UTC (permalink / raw)
  To: Martin Mueller; +Cc: linux-kernel, dahinds

> Linux 2.4.8 worked _extremely_ well, all problems except the wrong
> battery display gone. I just could suspend the running laptop while

Does 2.4.8-ac8 show the 2.4.9 problem. If so then we can try and binary
search out where it broke

> Aug 21 15:01:32 cicero kernel: PCI: Enabling device 00:09.0 (0000 -> 0003) 
> Aug 21 15:01:32 cicero kernel: PCI: Found IRQ 9 for device 00:09.0 
> Aug 21 15:01:32 cicero kernel: ymfpci: YMF744 at 0xfedf8000 IRQ 9 
> Aug 21 15:01:33 cicero kernel: ymfpci_codec_ready: codec 0 is not ready [0xffff] 
> 
> This is with the ymfpci module shipped with the kernel tree, the
> ALSA messages are roughly the same.

Something failed to bring back the codec ACLink.


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

* Re: 2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch
  2001-08-21 14:27 ` Alan Cox
@ 2001-08-22  0:00   ` Martin Mueller
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Mueller @ 2001-08-22  0:00 UTC (permalink / raw)
  To: linux-kernel

Thanks for your reply Alan, i just downloaded 2.4.8-ac8 and compiled
by copying .config from my 2.4.8 tree and using "make oldconfig".

On Tue, Aug 21, 2001 at 03:27:22PM +0100, Alan Cox wrote:
> 
> > Linux 2.4.8 worked _extremely_ well, all problems except the wrong
> > battery display gone. I just could suspend the running laptop while
> 
> Does 2.4.8-ac8 show the 2.4.9 problem. If so then we can try and binary
> search out where it broke

Nope, 2.4.8-ac8 works just as well as 2.4.8. I just tested it.

> > Aug 21 15:01:32 cicero kernel: PCI: Enabling device 00:09.0 (0000 -> 0003) 
> > Aug 21 15:01:32 cicero kernel: PCI: Found IRQ 9 for device 00:09.0 
> > Aug 21 15:01:32 cicero kernel: ymfpci: YMF744 at 0xfedf8000 IRQ 9 
> > Aug 21 15:01:33 cicero kernel: ymfpci_codec_ready: codec 0 is not ready [0xffff] 
> > 
> > This is with the ymfpci module shipped with the kernel tree, the
> > ALSA messages are roughly the same.
> 
> Something failed to bring back the codec ACLink.

The YMFPCI also works with 2.4.8-ac8!

bye
   MM

Martin Mueller      Phone: +49 39298 4125      e-mail:  mm@sig21.net
		    ICQ:         99023536              mm@lunetix.de
PGP/GPG mail welcome, keys as well other stuff at:  http://themm.net



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

end of thread, other threads:[~2001-08-22  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-21 14:06 2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch Martin Mueller
2001-08-21 14:27 ` Alan Cox
2001-08-22  0:00   ` Martin Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).