* Small help or advice please....
@ 2005-01-22 20:49 David Sims
2005-01-23 0:30 ` Jeremy Higdon
0 siblings, 1 reply; 4+ messages in thread
From: David Sims @ 2005-01-22 20:49 UTC (permalink / raw)
To: jeremy; +Cc: linux-ide
Hi,
I am struggling a bit to get a Dell Powervault 745N (i.e., Intel
31244/Vitesse 71714 (aka 7174) SATA controller) to run Linux.... I am
using Slackware with the 3.4.29 kernel.... the only module loaded is the
ethernet (e1000) and when I try to load sata_vsc it just hangs trying to
talk to disk 0.... If I unplug all the disks then the module will load and
all seems well, but without any disks, what's the point? ;)
I have temporarly added a pci-ide controller in the expansion slot of
this box and have Linux running fine via that from a WD-800 pata
disk... So I have lots of tools, I just don't know how to troubleshoot
this SATA problem.....
Any clues for me?? How can I troubleshoot this problem or get the intel
31244 to work??
TIA,
Dave Sims
Houston
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Small help or advice please....
2005-01-22 20:49 Small help or advice please David Sims
@ 2005-01-23 0:30 ` Jeremy Higdon
2005-01-23 16:16 ` David Sims
2005-01-23 21:10 ` Small help or advice please.... more clues David Sims
0 siblings, 2 replies; 4+ messages in thread
From: Jeremy Higdon @ 2005-01-23 0:30 UTC (permalink / raw)
To: David Sims; +Cc: jeremy, linux-ide
On Sat, Jan 22, 2005 at 02:49:08PM -0600, David Sims wrote:
> Hi,
>
> I am struggling a bit to get a Dell Powervault 745N (i.e., Intel
> 31244/Vitesse 71714 (aka 7174) SATA controller) to run Linux.... I am
> using Slackware with the 3.4.29 kernel.... the only module loaded is the
> ethernet (e1000) and when I try to load sata_vsc it just hangs trying to
> talk to disk 0.... If I unplug all the disks then the module will load and
> all seems well, but without any disks, what's the point? ;)
>
>
> I have temporarly added a pci-ide controller in the expansion slot of
> this box and have Linux running fine via that from a WD-800 pata
> disk... So I have lots of tools, I just don't know how to troubleshoot
> this SATA problem.....
>
> Any clues for me?? How can I troubleshoot this problem or get the intel
> 31244 to work??
There's not a lot to go on here. It's a PCI-X controller, but it uses a
32 bit DMA mask, due to having a fixed upper 32 bits. I don't know if that
would cause you a problem or not.
Also, the driver was originally developed for the Vitesse 7174 part. I
have heard of other problems with the Intel part (you'll see them if you
search the archives). I don't recall hearing whether anyone found the
root cause. They're supposed to be identical, but . . . .
jeremy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Small help or advice please....
2005-01-23 0:30 ` Jeremy Higdon
@ 2005-01-23 16:16 ` David Sims
2005-01-23 21:10 ` Small help or advice please.... more clues David Sims
1 sibling, 0 replies; 4+ messages in thread
From: David Sims @ 2005-01-23 16:16 UTC (permalink / raw)
To: Jeremy Higdon; +Cc: jeremy, linux-ide
On Sat, 22 Jan 2005, Jeremy Higdon wrote:
> On Sat, Jan 22, 2005 at 02:49:08PM -0600, David Sims wrote:
> > Hi,
> >
> > I am struggling a bit to get a Dell Powervault 745N (i.e., Intel
> > 31244/Vitesse 71714 (aka 7174) SATA controller) to run Linux.... I am
> > using Slackware with the 3.4.29 kernel.... the only module loaded is the
> > ethernet (e1000) and when I try to load sata_vsc it just hangs trying to
> > talk to disk 0.... If I unplug all the disks then the module will load and
> > all seems well, but without any disks, what's the point? ;)
> >
> >
> > I have temporarly added a pci-ide controller in the expansion slot of
> > this box and have Linux running fine via that from a WD-800 pata
> > disk... So I have lots of tools, I just don't know how to troubleshoot
> > this SATA problem.....
> >
> > Any clues for me?? How can I troubleshoot this problem or get the intel
> > 31244 to work??
>
> There's not a lot to go on here. It's a PCI-X controller, but it uses a
> 32 bit DMA mask, due to having a fixed upper 32 bits. I don't know if that
> would cause you a problem or not.
>
> Also, the driver was originally developed for the Vitesse 7174 part. I
> have heard of other problems with the Intel part (you'll see them if you
> search the archives). I don't recall hearing whether anyone found the
> root cause. They're supposed to be identical, but . . . .
>
> jeremy
>
Hi again,
Here are some additional clues.... and word of partial success:
I have downloaded and built the 2.6.10 kernel.... with SATA support and
sata_vsc as a module... It boots and runs fine.... _AND_ after booting, I
can manually do a 'modprobe sata_vsc' and after some (repeated) fussing
about IRQ 3 it actually loads and sees all four SATA disks.... I think the
IRQ 3 fussing is proportional to the number of disks.... (would looking at
the log files that get generated here be useful to you???)
So... using the above, I can fdisk the SATA disk and format it and mount
it and successfully read and write to it....
Now, the clue part.... If I add 'modprobe sata_vsc' to rc.modules, it
loads at boot, but then the system hangs after trying to touch the first
disk..... This is the same behavior noted in the message above with the
2.4.29 kernel....
What is the difference between manually loading sata_vsc after start up
and loading it at boot time?? Hmmmm.... Also, I built a kernel with
sata_vsc 'built in' as part of the monolithic kernel.... It behaves that
way just like the boot-time module insertion....
Any ideas?? Or any ideas where to look for ideas?? ;)
TIA,
Dave Sims
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Small help or advice please.... more clues....
2005-01-23 0:30 ` Jeremy Higdon
2005-01-23 16:16 ` David Sims
@ 2005-01-23 21:10 ` David Sims
1 sibling, 0 replies; 4+ messages in thread
From: David Sims @ 2005-01-23 21:10 UTC (permalink / raw)
To: Jeremy Higdon; +Cc: jeremy, linux-ide
Hi,
When the sata_vsc module is loaded, it seems to try to enumerate or
otherwise talk to each drive.... after which it completes loading and
returns control to stdin... During this period (after laoding and talking
to the controller but before and during the disk enumeration part there
are numerous (once for each disk) errors logged in syslog:
Jan 23 13:49:53 linux kernel: Disabling IRQ #3
Jan 23 13:49:54 linux kernel: irq 3: nobody cared!
Jan 23 13:49:54 linux kernel: [<c0127012>] __report_bad_irq+0x22/0x90
Jan 23 13:49:54 linux kernel: [<c0127108>] note_interrupt+0x58/0x90
Jan 23 13:49:54 linux kernel: [<c0126c98>] __do_IRQ+0xd8/0xe0
Jan 23 13:49:54 linux kernel: [<c0103a5a>] do_IRQ+0x1a/0x30
Jan 23 13:49:54 linux kernel: [<c010253a>] common_interrupt+0x1a/0x20
Jan 23 13:49:54 linux kernel: [<c0114870>] __do_softirq+0x30/0x90
Jan 23 13:49:54 linux kernel: [<c0114905>] do_softirq+0x35/0x40
Jan 23 13:49:54 linux kernel: [<c0103a5f>] do_IRQ+0x1f/0x30
Jan 23 13:49:54 linux kernel: [<c010253a>] common_interrupt+0x1a/0x20
Jan 23 13:49:54 linux kernel: [<c0100590>] default_idle+0x0/0x40
Jan 23 13:49:54 linux kernel: [<c01005b4>] default_idle+0x24/0x40
Jan 23 13:49:54 linux kernel: [<c010063e>] cpu_idle+0x2e/0x40
Jan 23 13:49:54 linux kernel: [<c03ce77b>] start_kernel+0x15b/0x190
Jan 23 13:49:54 linux kernel: handlers:
Jan 23 13:49:54 linux kernel: [<c0244620>] (ide_intr+0x0/0x120)
Jan 23 13:49:54 linux kernel: [<c0244620>] (ide_intr+0x0/0x120)
Jan 23 13:49:54 linux kernel: [<e08ef250>] (vsc_sata_interrupt+0x0/0xa0
[sata_vsc])
I would say that the contoller is throwing interrupts during this
enumeration phase and before the module is fully loaded to be able to deal
with them.... but what to do about it??? Any additional thoughts??
TIA,
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-23 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-22 20:49 Small help or advice please David Sims
2005-01-23 0:30 ` Jeremy Higdon
2005-01-23 16:16 ` David Sims
2005-01-23 21:10 ` Small help or advice please.... more clues David Sims
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).