Eric Lowe wrote:
> Gary Gendel wrote:
>> Hi,
>>
>> I decided that I wanted to bring up opensolaris on a Dell 5160 with
>> the MiniPCI 1450 a/b/g card (Broadcom chipset).
>>
>> First problem... OpenSolaris install hung when configuring devices. 
>> I seem to have a lot of problems with Dell laptops and the
>> OpenSolaris installer.  But I digress...
>>
>> So I tried Solaris 10 6/06 which installed fine.  I installed the
>> wifi tools and ndiswrapper with my WinXp driver (R115321.EXE).  I got
>> these errors:
>>
>> Jul 10 10:34:51 dwarf ndisapi: [ID 264013 kern.notice] === NDIS API
>> 0.2 For Solaris 10(32-Bit) ===
>> Jul 10 10:34:51 dwarf ndisapi: [ID 821588 kern.notice] no match for
>> strrchr
>> Jul 10 10:34:51 dwarf ndisapi: [ID 821588 kern.notice] no match for
>> MmFreeContiguousMemorySpecifyCache
>> Jul 10 10:34:51 dwarf ndisapi: [ID 821588 kern.notice] no match for
>> MmAllocateContiguousMemorySpecifyCache
>> Jul 10 10:34:51 dwarf ndisapi: [ID 821588 kern.notice] no match for
>> MmGetPhysicalAddress
>> Jul 10 10:34:51 dwarf bcmndis: [ID 110218 kern.notice] ndis_vid =
>> 5348,ndis_did = 17188,ndis_subsys = 200744
>> Jul 10 10:34:51 dwarf bcmndis: [ID 834833 kern.notice] t->ndis_vid =
>> 5348,t->ndis_did = 17188,t->ndis_subsys = 0
>> Jul 10 10:34:51 dwarf ndisapi: [ID 402529 kern.notice]
>> PhysAddr=faffc000, Size=8192
>> Jul 10 10:34:51 dwarf ndisapi: [ID 294963 kern.warning] WARNING:
>> ntoskrnl
>> Jul 10 10:34:51 dwarf last message repeated 17 times
>> Jul 10 10:34:51 dwarf ndisapi: [ID 397878 kern.warning] WARNING: NDIS
>> ERROR: c000138d (unknown error)
>> Jul 10 10:34:51 dwarf ndisapi: [ID 733859 kern.warning] WARNING: NDIS
>> NUMERRORS: 1
>> Jul 10 10:34:51 dwarf ndisapi: [ID 925830 kern.warning] WARNING:
>> argptr: 114
>> Jul 10 10:34:51 dwarf bcmndis: [ID 549621 kern.notice] init handler
>> failed
>>
>> Ok, I picked up an older driver for Win95 (R76521na.EXE) which seems
>> to work somewhat.  However, I now get an IRQ 18 shared warning in the
>> syslog and the dns information is not retrieved from the dhcp
>> request.  The IP address is updated fine.  I also noticed that the
>> hostname.bcmndis0, dhcp.bcmndis0, and resolv.conf are not created.
>>
>> Two questions:
>>
>> 1) Anyone have a clue what's wrong with my installation?  Am I using
>> the right driver?
>
> It looks like there is some functionality missing in the ndis wrapper
> to support your XP Broadcom driver.
>
>> 2) Anyone have success getting OpenSolaris up on a Dell 5160?  I gave
>> up trying to get it up on my Dell CPx, but Solaris 10 won't install
>> on it either without lots of pci and irq warnings.
>
> The IRQ warning is meaningless. You can ignore it. There is work afoot
> to take out the warning since there is nothing you can do about IRQ
> sharing on most modern machines.

That's not entirely true.  It really is the case that if you can control
it, you want to have IRQs with similar handlers on the same level (if
you have to share.)  More to the point, you don't want an IRQ that is
used for a device with a long interrupt service path (that interrupts
infrequently) shared with a device with a very short, high frequency,
and latency intolerant device.

For example, sharing interrupts between a serial port and a disk drive
might be a bad idea.  The serial port usually has trivial handling, that
needs immediate attention, and generates one interrupt per byte
transferred.  By contrast, the disk drive interrupt processing might
involve significant effort rescheduling the next IO, moving the block to
userland, etc.  And the disk drive interrupt can be deferred without
data loss, and happens might occur much less frequently than a UART
running at high speed interrupts.  (At 115200 bps the UART will generate
at least 14400 interrupts per second.)

I would encourage the folks working on this code to continue to issue
warnings (perhaps only on a -v boot though) when interrupt service
routines with different priorities are scheduled on the same IRQ.

    - Garrett

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191


Reply via email to