public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system
@ 2000-12-04 21:27 Steven Cole
  2000-12-04 21:55 ` Keith Owens
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Steven Cole @ 2000-12-04 21:27 UTC (permalink / raw)
  To: linux-kernel

If I have the cs46xx driver compiled either as a module or into
the kernel, then 2.4.0-test12-pre4 locks up when KDE 2.0
is started.

The problem with dummy.o in 2.4.0-test12-pre4 allowed me
to find the possible source of this lock-up which I have been
seeing recently (since test11-ac2) while starting up KDE 2.0.

This morning, I tried out 2.4.0-test12-pre4, and KDE 2.0
started up (and there was much rejoicing). Of course, I
saw the error when I tried to make modules, but I thought
could live without sound for one bootup.

Then I applied Mohammad A. Haque's small patch to
linux/include/linux/module.h, recompiled , and the system
froze again at the same spot ("Loading the panel")
while starting up KDE 2.0.

I found that if I said N for the cs46xx sound driver, then I
get a 2.4.0-test12-pre4 kernel that will run KDE 2.0,
sans sound :(.

I can run GNOME with 2.4.0-test12-pre4 with
cs46xx compiled as a module or compiled into the kernel, 
and everything works just fine.

Here is some additional information from /var/log/messages:
2.4.0-test10 works OK with KDE 2.0 and sound.

For 2.4.0-test12-pre4:

Crystal 4280/461x + AC97 Audio, version 0.14, 13:39:25 Dec  4 2000
cs461x: Card found at 0xf8ffe000 and 0xf8e00000, IRQ 18
cs461x: Unknown card (FFFFFFFF:FFFFFFFF) at 0xf8ffe000/0xf8e00000, IRQ 18
ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Unknown)

For 2.4.0-test10:

Crystal 4280/461x + AC97 Audio, version 0.09, 15:31:37 Nov  1 2000
cs461x: Card found at 0xf8ffe000 and 0xf8e00000, IRQ 18
cs461x: Unknown card (1028:0096) at 0xf8ffe000/0xf8e00000, IRQ 18
ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Unknown)

The hardware is a DELL 420 dual P-III.
The base linux distro is Linux-Mandrake 7.2.
Filesystems are ReiserFS, running reiserfs-3.6.19 for test12
and reiserfs-3.6.18 for test10.

Note: The ReiserFS folks looked at this, but could
not reproduce this on another smp machine. That
was before I noticed the connection with cs46xx.

When I say the system freezes, I mean it completely locks up, and
ALT-SYSRQ-<whatevercommand> does not do a thing.  The magic
key combo gives the expected result before freezup.

Thanks in advance for any help,

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: 2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system
@ 2000-12-05  1:42 Steven Cole
  0 siblings, 0 replies; 15+ messages in thread
From: Steven Cole @ 2000-12-05  1:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan

Alan Cox wrote:
>> > Crystal 4280/461x + AC97 Audio, version 0.14, 13:39:25 Dec  4 2000
>> > cs461x: Card found at 0xf8ffe000 and 0xf8e00000, IRQ 18
>> > cs461x: Unknown card (FFFFFFFF:FFFFFFFF) at 0xf8ffe000/0xf8e00000, IRQ 18
>> > ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Unknown)
>>
>> This is failing to detect the CS46xx. I assume someone has fiddled with the
>> driver. Does it work correctly on your machine in 2.2.18pre24 ?

I believe it did for 2.2.18pre23.  I'll try out 2.2.18pre24 and your 
following patch when I'm back at work about 12 hours from now.
Thanks!
Steven Cole

Alan Cox wrote:
>
>A follow on question. This may be 2.4 PCI changes. That would mean you might
>want..
>
>--- drivers/sound/cs46xx.c~    Sat Dec  2 01:44:21 2000
>+++ drivers/sound/cs46xx.c     Mon Dec  4 22:58:58 2000
>@@ -2534,6 +2534,11 @@
>       struct cs_card *card;
>       struct cs_card_type *cp = &cards[0];
>
>+      if (pci_enable_device(pci_dev)<0)
>+      {
>+              printk(KERN_ERR "cs461x: unable to enable\n");
>+              return -EIO;
>+      }
>       if ((card = kmalloc(sizeof(struct cs_card), GFP_KERNEL)) == NULL) {
>               printk(KERN_ERR "cs461x: out of memory\n");
>               return -ENOMEM;

I'll apply that patch tomorrow.

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-12-07 14:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-04 21:27 2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system Steven Cole
2000-12-04 21:55 ` Keith Owens
2000-12-04 22:47 ` Roger Larsson
2000-12-04 23:22 ` Alan Cox
2000-12-04 23:29   ` Alan Cox
2000-12-05 17:16     ` Steven Cole
2000-12-05 22:02       ` Alan Cox
2000-12-05 22:47         ` Steven Cole
2000-12-06  1:00           ` Alan Cox
2000-12-06 14:55             ` Steven Cole
2000-12-06 16:04             ` Steven Cole
2000-12-06 18:40               ` Nils Faerber
2000-12-07 13:28               ` Alan Cox
2000-12-07 14:27                 ` Steven Cole
  -- strict thread matches above, loose matches on Subject: below --
2000-12-05  1:42 Steven Cole

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