Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
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
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?
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?
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)
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.