mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
To: linux-kernel@vger.kernel.org
Subject: hpt366 kernel panic on EPoX 8K9A3+ fix (?)
Date: Sun, 10 Aug 2003 20:44:38 +0200	[thread overview]
Message-ID: <3F369296.10709@kmlinux.fjfi.cvut.cz> (raw)

[please cc:]

Hello,

with the 2.6.0-test3 kernel, hpt366 still does nothing else than kernel 
panic on my machine. However, I found that with my EPoX 8K9A3+, the 0x78 
(frequency) register of HPT374 has values in the interval of 0x9B..0x9E, 
although the FSB is set to 133MHz and PCI should be at 33. Then, in 
init_hpt37x, the execution usually goes thru the "freq < 0xb0" branch, 
which doesn't do the pci_set_drvdata stuff. Later, the frequency 
detection loop fails because hpt374 internal PLL isn't supported. 
However, changing the respective branch to

         } else if (freq < 0xb0) {
                 pll = F_LOW_PCI_40;
                 if (hpt_minimum_revision(dev,8)) {
                         pci_set_drvdata(dev, (void *) 		 
thirty_three_base_hpt374);
                         printk("HPT37X: using 33MHz PCI clock\n");
                 }
	} ...

made the driver work, although I didn't have time to test it (just 
mounted the disk and copied a few files).

Regards,
-- 
Jindrich Makovicka


                 reply	other threads:[~2003-08-10 18:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3F369296.10709@kmlinux.fjfi.cvut.cz \
    --to=makovick@kmlinux.fjfi.cvut.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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®