Skip to contentSkip to conversation

maestro3 driver hangs dell laptop

DISCUSSION juan loco 2 participants 8 messages Aug 3, 2003 – Aug 7, 2003 1 message not in the archive

lore
Share & tools
lore

juan loco

author
#0 lore raw

i have a dell c600 laptop running kernel 2.4.21

when i load the maestro driver , my system hangs 2 seconds later.

i tried 2.4.20 / 2.6.0-test , same problem

i use alsa version 0.9.5

what informations should i provide to help me trace the freeze ?

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#1 lore raw

At Sun, 3 Aug 2003 23:02:37 +0200,

Quoted 6 lines · juan loco

i have a dell c600 laptop running kernel 2.4.21

when i load the maestro driver , my system hangs 2 seconds later.

i tried 2.4.20 / 2.6.0-test , same problem

is ACPI enabled?

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

A message that is not in the archive (sent off-list or not yet received): 20030805140827.GB25707@athena

#3 lore raw

At Tue, 5 Aug 2003 16:08:27 +0200,

Quoted 7 lines · juan
Quoted 5 lines · Takashi Iwai

At Sun, 3 Aug 2003 23:02:37 +0200,

Quoted 3 lines · juan loco

i have a dell c600 laptop running kernel 2.4.21

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

when i load the maestro driver , my system hangs 2 seconds later.

i tried 2.4.20 / 2.6.0-test , same problem

is ACPI enabled?

i tried with/without preempt and acpi , same hardware freeze how can i trace the problem ? it's hard since the machines dies :(

do you see the LED blinking?
if yes, you could see a last kernel dieing message in the log terminal (often alt+F10 in linux console). try to switch to that one quickly after loading the module, and wait for the death. if sysrq is enabled in the kernel, you can see even the backtrace via alt+sysrq+P.

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

author
#4 lore raw
Quoted 7 lines · Takashi Iwai

At Tue, 5 Aug 2003 16:08:27 +0200,

do you see the LED blinking?
if yes, you could see a last kernel dieing message in the log terminal (often alt+F10 in linux console). try to switch to that one quickly after loading the module, and wait for the death. if sysrq is enabled in the kernel, you can see even the backtrace via alt+sysrq+P.

what i do when i want to load the faulty maestro3 is boot with init=/bin/sh ro , so i really have only one console.

when the machine is frozen, nothing works not even sys req keys

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#5 lore raw

At Thu, 7 Aug 2003 02:04:35 +0200,

Quoted 10 lines · juan
Quoted 7 lines · Takashi Iwai

At Tue, 5 Aug 2003 16:08:27 +0200,

do you see the LED blinking?
if yes, you could see a last kernel dieing message in the log terminal (often alt+F10 in linux console). try to switch to that one quickly after loading the module, and wait for the death. if sysrq is enabled in the kernel, you can see even the backtrace via alt+sysrq+P.

Quoted 4 lines

what i do when i want to load the faulty maestro3 is boot with init=/bin/sh ro , so i really have only one console.

when the machine is frozen, nothing works not even sys req keys

well, then it's difficult to debug...

my wild guess is that a pending irq is issued which is not processed nor ack'ed by snd-maestro3's interrupt handler. or, possibly, a wrong set-up of GPIOs.

but in both cases, i have no idea what can cause after two seconds, not immediately after the loading of the module.
are other modules (e.g. network, etc) share the same irq?

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

author
#6 lore raw
Quoted 6 lines · Takashi Iwai

well, then it's difficult to debug...

my wild guess is that a pending irq is issued which is not processed nor ack'ed by snd-maestro3's interrupt handler. or, possibly, a wrong set-up of GPIOs.

what method do you propose to locate the bug ? someone suggested to put prinks in the maestro functions...

Quoted 3 lines

but in both cases, i have no idea what can cause after two seconds, not immediately after the loading of the module.
are other modules (e.g. network, etc) share the same irq?

no the card has the irq 5 for itself

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#7 lore raw

At Thu, 7 Aug 2003 17:19:03 +0200,

Quoted 11 lines · juan
Quoted 6 lines · Takashi Iwai

well, then it's difficult to debug...

my wild guess is that a pending irq is issued which is not processed nor ack'ed by snd-maestro3's interrupt handler. or, possibly, a wrong set-up of GPIOs.

what method do you propose to locate the bug ? someone suggested to put prinks in the maestro functions...

yep, it always works, but you'll need anyway two vt's to see the kernel messages in real-time.

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

author
#8 lore raw
In reply to Takashi Iwai
Quoted 2 lines · Takashi Iwai

do you see the LED blinking?
if yes, you could see a last kernel dieing message in the log terminal

no the leds stay on.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01