[ale] interrupts in linux??
Geoffrey
esoteric at 3times25.net
Sat Dec 28 23:28:10 EST 2002
Christopher Bergeron wrote:
> So then, in theory, I should be able to assign any IRQ that isn't being
> used (like my floppy ide channel for example), and assign it to one of
> these devices?
Well, that all depends. I know that I've had nics that came with a
program to change the irq and write it to the device. It would provide
you a list of available irqs, and it didn't always list all the ones I
knew were available, so you could be limited in that sense.
I have in the past assigned irg 7 to other devices when I didn't have a
printer.
>
> Thanks more..
> -CB
>
>
>
> Geoffrey wrote:
>
>> Generally, if the device drivers are loaded via a module, you pass it
>> as an arg to the module (irq=7). If it's built into the kernel, you
>> pass it to the kernel on the boot command line, or add it to the boot
>> loader (lilo,grub) config file. For lilo, you use the 'append' arg.
>> I don't know about grub. I can manipulate some irq assignment via the
>> bios as well, but that's always looked a lot like black magic, mirrors
>> and blue smoke to me...
>>
>> Christopher Bergeron wrote:
>>
>>> Not yet, but I'd like to "nip any problems in the bud" if I can. So
>>> far, everything is working fine; stress on "so far". I just
>>> remastered the box, so I haven't really put it through it's paces
>>> yet, though...
>>>
>>> How can I change the interrupts that have been assigned? I'm not
>>> using a floppy drive at all, so I could steal one from there...
>>>
>>> Any ideas?
>>> -CB
>>>
>>>
>>> Geoffrey wrote:
>>>
>>>> Yes you can, but it depends a lot on the devices themselves and
>>>> their associated drivers.
>>>>
>>>> I don't know that I'd want to have my nic, sound and vga on the same
>>>> irq, that would seem to be getting a bit crowded.
>>>>
>>>> So, are you seeing any problems?
>>>>
>>>> Christopher Bergeron wrote:
>>>>
>>>>> Can any hardware guru's tell me if it's okay to share an interrupt
>>>>> in linux? I remember back in the DOS/Win days that you couldn't
>>>>> have a device on the same interrupt (serial ports, etc)... but
>>>>> that was back before PCI, PNP, etc... I've got 3 devices on the
>>>>> same interrupt as follows:
>>>>> [root at proto1 root]$ lspci -v
>>>>>
>>>>> (edited for brevity)
>>>>>
>>>>> 00:0d.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan
>>>>> chipset (rev 01)
>>>>> Subsystem: Unknown device 1737:3874
>>>>> Flags: bus master, medium devsel, latency 32, IRQ 11
>>>>> Memory at d8008000 (32-bit, prefetchable) [size=4K]
>>>>> Capabilities: [dc] Power Management version 2
>>>>>
>>>>> 00:11.0 Multimedia audio controller: Yamaha Corporation YMF-744B
>>>>> [DS-1S Audio Controller] (rev 02)
>>>>> Subsystem: Yamaha Corporation DS-XG PCI Audio CODEC
>>>>> Flags: bus master, medium devsel, latency 32, IRQ 11
>>>>> Memory at d8000000 (32-bit, non-prefetchable) [size=32K]
>>>>> I/O ports at d000 [size=64]
>>>>> I/O ports at d400 [size=4]
>>>>> Capabilities: [50] Power Management version 1
>>>>>
>>>>> 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400
>>>>> AGP (rev 04) (prog-if 00 [VGA])
>>>>> Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual
>>>>> Head 32Mb
>>>>> Flags: bus master, medium devsel, latency 32, IRQ 11
>>>>> Memory at d2000000 (32-bit, prefetchable) [size=32M]
>>>>> Memory at d4000000 (32-bit, non-prefetchable) [size=16K]
>>>>> Memory at d5000000 (32-bit, non-prefetchable) [size=8M]
>>>>> Expansion ROM at <unassigned> [disabled] [size=64K]
>>>>> Capabilities: [dc] Power Management version 2
>>>>> Capabilities: [f0] AGP version 2.0
>>>>>
>>>>>
>>>>> Is this okay? Or do I have a problem here? Thanks in advance for
>>>>> replies...
>>>>> -CB
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ale mailing list
>>>>> Ale at ale.org
>>>>> http://www.ale.org/mailman/listinfo/ale
>>>>>
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://www.ale.org/mailman/listinfo/ale
>>>
>>>
>>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list