LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-17-2009, 03:09 PM   #1
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
IRQ-conflicts


hey there,

I have a very old pc running some important software (allergology)
i bought almost identical hardware and backed up the disks using "dd". all interfaces identically plugged in the backup-pc stops during boot right here:
Code:
Configuring serial ports...
ttyS4 (irq = 10) is a [...]
ttyS5 (irq = 10) is a [...]
(i dont have the exact code since the pc doesnt have a internet connection)
(... is always identical)


the problem seems to be caused by a PCI-card providing an serial interface connected via a breakout cable to another pc. if that cable is not plugged in the part is skipped and the pc is booting fine..

the original-pc says
Code:
Configuring serial ports...
ttyS4 (irq = 10) is a [...]
ttyS5 (irq = 10) is a [...]
ttyS6 (irq = 10) is a [...]
ttyS7 (irq = 10) is a [...]
and continues to boot just fine..

i compared /etc/interrupts/, and it seems the backup-pc is also using IRQ 10 for the network-card. how can i disable that IRQ-Sharing? (my guess is, that the cards are too old to support IRQ-Sharing)
is it possible to put eth0 separately on IRQ 11 or something?

Thanks for any help

EDIT:

BIOS settings are identical, too
 
Old 05-17-2009, 03:29 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think in most BIOSes you can assign IRQs yourself if you need to, especially for serial ports.

Another possible option is to check the pci= options, irq options, acpi and apic options, and try some of them out that seem reasonable, there are many possible options:

http://www.kernel.org/doc/Documentat...parameters.txt
 
Old 05-18-2009, 12:24 AM   #3
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
hey there,

i can only choose under "power management" "IRQ 10" between Monitor or Ignore or under "PCI Configuration" "IRQ 10" PCI&PnP or ISA. ISA would be manually assigning the addresses right?

thanks for the link, i'll try to find the right parameters
 
Old 05-18-2009, 05:20 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think so. I mean it's allowing you to manually set IRQs for various interfaces. It doesn't always work right tho.
 
Old 05-18-2009, 09:12 AM   #5
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
well I dont understand how I can specifically set them. If i select ISA in the BIOS, where is the setting for the IRQ? is it jumpered directly on the card or something?
 
Old 05-18-2009, 10:14 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What motherboard is this ? Does it have a manual somewhere, maybe it gives some hints in there about if it can be done.
 
Old 05-18-2009, 01:56 PM   #7
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
QBasti,

PCI devices are required to share IRQs - they are designed that way as a result of running out of IRQs on ISA systems. As its a single PCI card, having all the serial ports on the same IRQ is not an issue.
The on board serial ports (0..3) will share IRQs 3 and 4, with all the usual ISA horrors.

The ... which you omitted is the type of UART, its not useful for fixing the problem.

The only way to attempt to move the PCI card to another IRQ is to plug it into a different PCI slot in the motherboard. This does not always work.
You said
Quote:
the problem seems to be caused by a PCI-card providing an serial interface connected via a breakout cable to another pc. if that cable is not plugged in the part is skipped and the pc is booting fine.
Is the boot process paused waiting for input from the other PC connected by that cable. If you connect the cable after its booted is everything ok?
 
Old 05-18-2009, 02:39 PM   #8
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hey,

I dont think its waiting for any response, since the original PC is not waiting either, it wouldn't make any sense for it to wait, since the other PC is not essential for booting or any other system jobs, only later for the software..

if I plug in the cable after booting, there's no connection to the other pc, although no error message is presented in dmesg...

EDIT:

when it stops booting, the keyboard and everything else is hung up, too. (e.g. the caps lock light stops working)...
also there's an SCSI-RAID-controller plugged in, might that have anything to do with it? (the raid is always workin fine though)

Last edited by QBasti; 05-18-2009 at 02:58 PM.
 
Old 05-18-2009, 02:50 PM   #9
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
buy an os, things tricky
 
Old 05-19-2009, 09:43 AM   #10
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
well i'd love to buy a new os and just throw out the old one, but the software wont work on anything else..

well i switched the pci-slots, eth0 is on IRQ 11 now, but its still the same problem. if I boot without the cable connected and then plug it in, I can do
Code:
cat /dev/ttyS4
cat dev/ttyS5
but
Code:
cat /dev/ttyS6
freezes up the whole PC...
 
Old 05-19-2009, 12:48 PM   #11
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
QBasti,

cat /dev/ttyS6 attempts to read characters from that serial port. I'm not sure if its a blocking read (waits for someting to read) or not. Even so, you should be able to change to another VT and log in again.

What does lspci say about your system?
Post the output here and I'll see what google knows about your card.

Your raid is unlikely to be an issue.
 
Old 05-26-2009, 09:33 AM   #12
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
sorry for the late response..

lspci says:
Code:
...
00:09.0 Serial Controller: Timedia Technology Co Ltd: Unknown device 7168 (rev 1)
...
why is the controller properly addressed but "unknown"?
 
Old 05-27-2009, 02:10 PM   #13
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
QBasti,

Thats a bit unfortunate. Thats not enough information for Google.
Run
Code:
lspci -n
and post the line you get starting 00:09.0.
The numbers are the Vendor and Device IDs, which google will know.
 
Old 05-28-2009, 03:24 AM   #14
QBasti
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
hey there,

lspci -n says:
Code:
00:09.0 Class 0700: 1409:7168 (rev 01)
 
Old 06-01-2009, 03:02 PM   #15
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
QBasti,

This page says the the normal kernel driver takes care of your card. Its odd that that page talks about the parallel port driver and mentions lots of devices with UARTs.

The default kernel config provides for four serial ports, ttyS0 .. ttyS3. You will need to change this option to 8 and rebuild your kernel to see your other serial ports.
Code:
  │ │    <*> 8250/16550 and compatible serial support                      │ │  
  │ │[*]   Console on 8250/16550 and compatible serial port            │ │  
  │ │    (32) Maximum number of 8250/16550 serial ports                    │ │  
  │ │    (4) Number of 8250/16550 serial ports to register at runtime      │ │  
  │ │[*] Extended 8250/16550 serial driver options                     │ │  
  │ │[*]   Support more than 4 legacy serial ports                     │ │  
  │ │[*]   Support for sharing serial interrupts
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is this an irq conflicts? NeoAnderson Linux - Hardware 1 08-16-2004 04:35 AM
A7V8X-X IRQ conflicts taipan67 Linux - Hardware 3 07-08-2004 12:12 PM
IRQ Conflicts jeempc Linux - Hardware 2 02-29-2004 05:53 PM
irq 11 conflicts hpaulk Linux - Networking 1 02-26-2002 08:39 PM
IRQ conflicts? zhenwu Linux - General 1 08-20-2001 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration