Re: [PATCH] Oops when requesting SiS IDE driver info, plus typo fix

From: Bartlomiej Zolnierkiewicz (dake@staszic.waw.pl)
Date: Thu Jun 01 2000 - 17:51:59 EST


On Thu, 1 Jun 2000 t.n.vanderleeuw@chello.nl wrote:

> Hello,
>
> In Linux-2.4.0test1-ac7 I get the following oops when trying to
>
> cat /proc/ide/sis
>
> Using debugging printk's, I traced it to line 185 of file sis5513.c
> where the UDMA cycle time is printed.
> The OOPS goes away when I remove the __initdata from the definition of
> the arrays.
>
> I also have some doubt about line 188 btw, where the Data Active Time
> is printed using reg for both channels (instead of using reg1 for the
> 2nd channel).
>
> I fixed both in the included patch.
>
> Other IDE drivers might have the same problem, but I haven't looked at
> that since I currently don't have hardware to test that on.
>
>

And indeed they have. I get oops with /proc/ide/via. Good thing is that
all these oopses are easy to fix.

--
Bartlomiej Zolnierkiewicz <bkz>

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



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:13 EST