Subject: Re: [Fwd: [Fwd: viaide problem with 4.0_BETA]]
To: Manuel Bouyer <>
From: Teemu Rinta-aho <>
List: current-users
Date: 09/29/2006 13:47:16
Manuel Bouyer wrote:
> On Thu, Sep 28, 2006 at 10:57:49PM +0300, Teemu Rinta-aho wrote:
>> Manuel Bouyer wrote:
>>> On Tue, Sep 19, 2006 at 11:14:34AM +0300, Teemu Rinta-aho wrote:
>>>> Hi! Thanks for the reply.
>>>> It doesn't hang at all, it just gets stuck in printing those 
>>>> messages. It finds both of the (SATA) drives. I remember having had
>>>>  a similar problem with other machines during the days I've been 
>>>> using NetBSD... So I'm quite sure it's fixable :-)
>>>> What next? Try old versions of viaide.c and see where the problem 
>>>> disappears?
>>> Yes, and also compare interrupts allocation between working and 
>>> non-working kernels.
>> Well, I got a hint in e-mail from Nir Mor to disable APIC from the BIOS.
>> I have been looking at the BIOS settings earlier, but they
>> didn't help. I had tried everything, except enabling the
>> IDE channels. I have had them disabled, as I don't have
>> any IDE drives, only SATA. Well, it solved the problem
>> for me. When I have *both* unused IDE channels enabled,
>> there are no lost interrupts, but even if I disable
>> one of them, I get lost interrupts.
>> Not looking at the code at all, I have no idea whether this is
>> a bug in the hardware or in the code - or in the BIOS user
>> interface - letting me disable "very important" devices :-)
> I don't think it's the code: IDE and SATA channels are presented as
> independant controllers to the OS. I guess the BIOS is doing something
> strange here ...

Maybe it's the IRQ allocation then, if IDE gets 2 IRQs, the
IRQ for SATA is different whether IDE is enabled or not...?

Whatever the reason, this hardware *is* strange, or then I'm
too old :-) I run software RAID, but I still have to select
hardware RAID in BIOS to get the drives into SATA. If I choose
"IDE", then the drives will be in IDE3 and IDE4, and BIOS doesn't
find the MBR... This is of course not the problem of NetBSD. I am
just happy that I can now run 4.0_BETA also on this **appy hardware :-P

Poor can't afford buying cheap... And all hardware is getting
cheaper and cheaper...


-- -+-