From: Andre Hedrick <andre@linux-ide.org>
To: Andrew Pam <xanni@glasswings.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Initialisation bug in IDE patch
Date: Tue, 21 May 2002 23:59:35 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.10.10205212356360.19403-100000@master.linux-ide.org> (raw)
In-Reply-To: <20020522165709.K2437@kira.glasswings.com.au>
First question for 2.2.X, in your .config is "CONFIG_BLK_DEV_QD6580" set ?
If not then ide0=qd6580 will yield "-- BAD OPTION"
Second question for 2.4.X in your .config is "CONFIG_BLK_DEV_QD65XX" set ?
If not then ide0=qd65xx will yield "-- BAD OPTION"
Please check those first.
Cheers,
On Wed, 22 May 2002, Andrew Pam wrote:
> On Tue, May 21, 2002 at 11:18:56PM -0700, Andre Hedrick wrote:
> > Now you have me puzzled........
> > If "ide_setup" which parses the passed settings calls "init_ide_data"
> > which initalizes all "hwif" groups and sets a cookie to prevent "ide_init"
> > from re-initalizing thus purging the contents place in by "ide_setup", how
> > are you getting a "BAD -- OPTION"?
>
> Off the top of my head, it looks like ide_init_default_hwifs creates
> an uninitialised "hw_regs_t hw;" variable, fills in some fields, then
> calls "ide_register_hw(&hw, NULL);" which does "memcpy(&hwif->hw, hw,
> sizeof(*hw));" thus copying the unitialised fields (such as "chipset")
> right over the area zeroed by init_ide_data().
>
> Am I on the right track?
>
> Cheers,
> Andrew Pam
> --
> mailto:xanni@xanadu.net Andrew Pam
> http://www.xanadu.com.au/ Chief Scientist, Xanadu
> http://www.glasswings.com.au/ Technology Manager, Glass Wings
> http://www.sericyb.com.au/ Manager, Serious Cybernetics
> http://two-cents-worth.com/?105347&EG Donate two cents to our work!
> P.O. Box 477, Blackburn VIC 3130 Australia Phone +61 401 258 915
>
Andre Hedrick
LAD Storage Consulting Group
next prev parent reply other threads:[~2002-05-22 7:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-22 5:15 Andrew Pam
2002-05-22 5:55 ` Andrew Pam
2002-05-22 6:00 ` Andre Hedrick
2002-05-22 6:11 ` Andrew Pam
2002-05-22 6:18 ` Andre Hedrick
2002-05-22 6:34 ` Andrew Pam
2002-05-22 6:57 ` Andrew Pam
2002-05-22 6:59 ` Andre Hedrick [this message]
2002-05-22 7:05 ` Andrew Pam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.10.10205212356360.19403-100000@master.linux-ide.org \
--to=andre@linux-ide.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xanni@glasswings.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®