Re: ALSA, snd_intel8x0m and kexec() don't work together (2.6.13-rc3-git4 and 2.6.13-rc3-git3)

From: Ralf Hildebrandt
Date: Fri Jul 22 2005 - 13:09:02 EST


* Lee Revell <rlrevell@xxxxxxxxxxx>:

> > 2.6.12 didn't have kexec (unless it's a -mm kernel)
> > So how could you boot using kexec then?
> >
>
> Is kexec supposed to be transparent to all the subsystems, or does ALSA
> have to know how to stop all DMA in order for kexec to work?

The way I used it was to replace the "reboot" call in
/etc/init.d/reboot. So at that time, ALSA was already "stopped"
(/etc/init.d/also stop ran) -- shouldn't that suffice?

Kconfig says:

kexec is a system call that implements the ability to shutdown your
current kernel, and to start another kernel. It is like a reboot but it
is indepedent of the system firmware. And like a reboot you can start
any kernel with it, not just Linux.

The name comes from the similiarity to the exec system call.

It is an ongoing process to be certain the hardware in a machine is
properly shutdown, so do not be surprised if this code does not initially
work for you. It may help to enable device hotplugging support. As of
this writing the exact hardware interface is strongly in flux, so no good
recommendation can be made.


--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@xxxxxxxxxx
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to spamtrap@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/