2001-11-05 19:10:30

by Pallai Roland

[permalink] [raw]
Subject: kernel oops on "hdparm -R"


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



2001-12-07 15:43:52

by Pallai Roland

[permalink] [raw]
Subject: IDE hotswap still broken in 2.4.17pre2...


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

2001-12-07 15:52:52

by Kirk Reiser

[permalink] [raw]
Subject: 2.5.1pre6 vt_kern.h a small patch take 2

--- 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

2001-12-07 15:56:43

by Thomas Hood

[permalink] [raw]
Subject: Re: IDE hotswap still broken in 2.4.17pre2...

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.



2001-12-07 17:27:48

by James Simmons

[permalink] [raw]
Subject: Re: 2.5.1pre6 vt_kern.h a small patch take 2


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>