When I try to add a new IDE disk to the channel 1 with the command
"hdparm -R 0x170 0 0 /dev/hda", I've got a kernel oops (and freeze)..
It's works fine _once_, if there wasn't any detected disk on channel
before.
my config:
kernel 2.4.9 - 2.4.14pre7 (I've tried many of them)
PIIX and VIA motherboards (shows same error)
--
DaP
It's a reproducable bug, same problem reported by
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0111.0/0965.html and
http://www2.real-time.com/pipermail/linux-kernel/2001-November/051937.html. Does it works for anyone?
On Mon, 2001-11-05 at 20:09, PALLAI Roland wrote:
> When I try to add a new IDE disk to the channel 1 with the command
> "hdparm -R 0x170 0 0 /dev/hda", I've got a kernel oops (and freeze)..
> It's works fine _once_, if there wasn't any detected disk on channel
> before.
>
> my config:
> kernel 2.4.9 - 2.4.14pre7 (I've tried many of them)
> PIIX and VIA motherboards (shows same error)
--
DaP
--- linux/include/linux/vt_kern.h~ Wed Dec 5 10:12:17 2001
+++ linux/include/linux/vt_kern.h Wed Dec 5 10:45:20 2001
@@ -7,6 +7,7 @@
*/
#include <linux/config.h>
+#include <linux/tty.h> /* needed for MAX_NR_CONSOLES */
#include <linux/vt.h>
#include <linux/kd.h>
--
Kirk Reiser The Computer Braille Facility
e-mail: [email protected] University of Western Ontario
phone: (519) 661-3061
This has never worked for me when I have tried it.
Attempts to "hdparm -R" and "hdparm -U" repeatedly
always eventually crash the kernel ... sometimes after
three or four iterations.
IMO MAX_NR_CONSOLES should be moved to vt_kern.h
> --- linux/include/linux/vt_kern.h~ Wed Dec 5 10:12:17 2001
> +++ linux/include/linux/vt_kern.h Wed Dec 5 10:45:20 2001
> @@ -7,6 +7,7 @@
> */
>
> #include <linux/config.h>
> +#include <linux/tty.h> /* needed for MAX_NR_CONSOLES */
> #include <linux/vt.h>
> #include <linux/kd.h>