Re: [SLE] my second serial port has vanished ;-(
Both ports are enabled in BIOS with the standard addresses.
OK
ioports gave the info that both ports are there at the right address
02f8-02ff : serial(auto) 03f8-03ff : serial(auto)
No conflicts were visible. Interrupts gave no info about the irq's from the serial ports.
What was the output of that file?
setserial -a /dev/ttyS1
According to the man file, that will report all information about the ports. You will need to try something like this setserial /dev/ttyS1 port 0x2f8 irq 3 Do this as root.
lsof just ran without giving any info, meaning I think that it did not see a user.
It did not see any programs trying to attached to the device. Sounds like a configuration file somewhere is not quite right. Others on this list will correct me I'm sure if I am wrong. Marshall
On Saturday 22 May 2004 23:07, Marshall Heartley wrote:
Both ports are enabled in BIOS with the standard addresses.
OK
ioports gave the info that both ports are there at the right address
02f8-02ff : serial(auto) 03f8-03ff : serial(auto)
No conflicts were visible. Interrupts gave no info about the irq's from the serial ports.
What was the output of that file?
# cat /proc/interrupts CPU0 0: 32315110 XT-PIC timer 1: 7730 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 5 XT-PIC NE2000 5: 2240 XT-PIC bttv 8: 2 XT-PIC rtc 10: 629 XT-PIC Ensoniq AudioPCI 11: 4476 XT-PIC usb-uhci 12: 1316767 XT-PIC PS/2 Mouse 14: 33833 XT-PIC ide0 15: 5793 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 1 MIS: 0
setserial -a /dev/ttyS1
According to the man file, that will report all information about the ports. You will need to try something like this setserial /dev/ttyS1 port 0x2f8 irq 3 Do this as root.
Output with the -v switch (verbose) . Without this switch no info. # setserial -v /dev/ttyS1 port 0x2f8 irq 3 /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
lsof just ran without giving any info, meaning I think that it did not see a user.
It did not see any programs trying to attached to the device. Sounds like a configuration file somewhere is not quite right. Others on this list will correct me I'm sure if I am wrong.
Sure ;-)
<snip>
# cat /proc/interrupts CPU0 0: 32315110 XT-PIC timer 1: 7730 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 5 XT-PIC NE2000 <------- Is this your NIC card? 5: 2240 XT-PIC bttv 8: 2 XT-PIC rtc 10: 629 XT-PIC Ensoniq AudioPCI 11: 4476 XT-PIC usb-uhci 12: 1316767 XT-PIC PS/2 Mouse 14: 33833 XT-PIC ide0 15: 5793 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 1 MIS: 0
I noticed that a device is already using IRQ3. You will need to assign it a new IRQ. Looks to be a NIC card.
setserial -a /dev/ttyS1
According to the man file, that will report all information about the ports. You will need to try something like this setserial /dev/ttyS1 port 0x2f8 irq 3 Do this as root.
Output with the -v switch (verbose) . Without this switch no info.
# setserial -v /dev/ttyS1 port 0x2f8 irq 3 /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
Well the command shows that there is a UART available there. This is good. I suspect that your NIC has control over IRQ 3 though. Go into BIOS and see if you can assign another IRQ to the NIC or the serial port. Other options are you can move the NIC card to another slot and see if ttyS1 works after the move. Let us know how this goes! Marshall
On Saturday 22 May 2004 03:42 pm, Marshall Heartley wrote:
<snip>
# cat /proc/interrupts CPU0 0: 32315110 XT-PIC timer 1: 7730 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 5 XT-PIC NE2000 <------- Is this your NIC card? 5: 2240 XT-PIC bttv 8: 2 XT-PIC rtc 10: 629 XT-PIC Ensoniq AudioPCI 11: 4476 XT-PIC usb-uhci 12: 1316767 XT-PIC PS/2 Mouse 14: 33833 XT-PIC ide0 15: 5793 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 1 MIS: 0
I noticed that a device is already using IRQ3. You will need to assign it a new IRQ. Looks to be a NIC card. [...] Well the command shows that there is a UART available there. This is good. I suspect that your NIC has control over IRQ 3 though.
Go into BIOS and see if you can assign another IRQ to the NIC or the serial port.
Other options are you can move the NIC card to another slot and see if ttyS1 works after the move.
Let us know how this goes!
Marshall
I'm curious about one thing. In your BIOS, do you have PNP OS=YES? If you do, then change that to NO and see if things clear up for you. In all of the Manuals, it specifies you set this option to NO, so the hardware will set the IRQs rather then let the OS do it, which usually causes conflicts. Another reason for taking time to read the great SuSE manuals included with each package. Stupid IRQs! 2004 and IRQs are still around and a pure PITA! Lee -- --- KMail v1.6.2 --- SuSE Linux Pro v9.0 --- Registered Linux User #225206 On any other day, that might seem strange...
On Sunday 23 May 2004 10:09, BandiPat wrote:
On Saturday 22 May 2004 03:42 pm, Marshall Heartley wrote:
<snip>
# cat /proc/interrupts CPU0 0: 32315110 XT-PIC timer 1: 7730 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 5 XT-PIC NE2000 <------- Is this your NIC card? 5: 2240 XT-PIC bttv 8: 2 XT-PIC rtc 10: 629 XT-PIC Ensoniq AudioPCI 11: 4476 XT-PIC usb-uhci 12: 1316767 XT-PIC PS/2 Mouse 14: 33833 XT-PIC ide0 15: 5793 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 1 MIS: 0
I noticed that a device is already using IRQ3. You will need to assign it a new IRQ. Looks to be a NIC card.
[...]
Well the command shows that there is a UART available there. This is good. I suspect that your NIC has control over IRQ 3 though.
Go into BIOS and see if you can assign another IRQ to the NIC or the serial port.
Other options are you can move the NIC card to another slot and see if ttyS1 works after the move.
Let us know how this goes!
Marshall
***********
I'm curious about one thing. In your BIOS, do you have PNP OS=YES? If you do, then change that to NO and see if things clear up for you. In all of the Manuals, it specifies you set this option to NO, so the hardware will set the IRQs rather then let the OS do it, which usually causes conflicts. Another reason for taking time to read the great SuSE manuals included with each package.
Stupid IRQs! 2004 and IRQs are still around and a pure PITA!
Lee -- cat /proc/interrupts CPU0 0: 650810 XT-PIC timer 1: 652 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 5 XT-PIC NE2000 8: 2 XT-PIC rtc 9: 164 XT-PIC bttv 10: 631 XT-PIC Ensoniq AudioPCI 11: 2275 XT-PIC usb-uhci 12: 66092 XT-PIC PS/2 Mouse 14: 10609 XT-PIC ide0 15: 984 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0
On Sunday 23 May 2004 10:09, BandiPat wrote:
On Saturday 22 May 2004 03:42 pm, Marshall Heartley wrote:
<snip>
# cat /proc/interrupts
3: 5 XT-PIC NE2000 <------- Is this your NIC card? Yes and in the software setup it was setup at irq 5. Got a new TV card whichput itself on irq 5, shoving my NIC card to irq 3.
I noticed that a device is already using IRQ3. You will need to assign it a new IRQ. Looks to be a NIC card.
[...]
Well the command shows that there is a UART available there. This is good. I suspect that your NIC has control over IRQ 3 though.
Go into BIOS and see if you can assign another IRQ to the NIC or the serial port.
The only irq where the software setup did not complain as being used by something else was irq 15. Using that irq caused a lockup at boot. I gave the TV card irq 9 in the BIOS and have now a working com port again.
Other options are you can move the NIC card to another slot and see if ttyS1 works after the move.
Although my motherboard is outfitted with two ISA slots 4 PCI and one AGP, space problems does not make that possible.
***********
I'm curious about one thing. In your BIOS, do you have PNP OS=YES? If you do, then change that to NO and see if things clear up for you. In all of the Manuals, it specifies you set this option to NO, so the hardware will set the IRQs rather then let the OS do it, which usually causes conflicts. Another reason for taking time to read the great SuSE manuals included with each package.
There is no PNP OS YES/NO in my BIOS but I had not set the PCI cards a specific irq which is more or less the same
Stupid IRQs! 2004 and IRQs are still around and a pure PITA!
The question that arises, I remember vaguely that irq 9 is used to connect to the irq from 10 and higher. Would the choice of irq 9 have consequences? And I am still missing one or two com ports for the things that I am planning to do. Aren't there USB to comports adapters which could solve that problem? For the time being I can proceed ;-). Everyone, thanks for your help.
<snip>
Yes and in the software setup it was setup at irq 5. Got a new TV card whichput itself on irq 5, shoving my NIC card to irq 3.
Ahhh OK.
The only irq where the software setup did not complain as being used by something else was irq 15. Using that irq caused a lockup at boot. I gave the TV card irq 9 in the BIOS and have now a working com port again.
The reason that using IRQ 15 caused a lockup is that 15 is used for the second IDE channel on the motherboard.
Although my motherboard is outfitted with two ISA slots 4 PCI and one AGP, space problems does not make that possible.
Understood.
There is no PNP OS YES/NO in my BIOS but I had not set the PCI cards a specific irq which is more or less the same
Weird? What make is this motherboard? Usually there is some sort of setting like the one described. Oh well.
Stupid IRQs! 2004 and IRQs are still around and a pure PITA!
The question that arises, I remember vaguely that irq 9 is used to connect to the irq from 10 and higher. Would the choice of irq 9 have consequences? And I am still missing one or two com ports for the things that I am planning to do. Aren't there USB to comports adapters which could solve that problem? For the time being I can proceed ;-). Everyone, thanks for your help.
IRQ 9 is tied to IRQ 2 (which is hidden). If you are still missing the port, then I am not sure what all you can do. You will need to be sure that you have a IRQ set aside for that com port. I am not sure about USB to com port adapters. I unfortunately have not had a situation where I have had to see about using such a thing. If IRQ 9 is free, then you should be able to use it. Well let me think what all else we can try to get this to work. Marshall
On Sunday 23 May 2004 16:28, Marshall Heartley wrote:
<snip>
Yes and in the software setup it was setup at irq 5. Got a new TV card whichput itself on irq 5, shoving my NIC card to irq 3.
Ahhh OK.
The only irq where the software setup did not complain as being used by something else was irq 15. Using that irq caused a lockup at boot. I gave the TV card irq 9 in the BIOS and have now a working com port again.
The reason that using IRQ 15 caused a lockup is that 15 is used for the second IDE channel on the motherboard.
Although my motherboard is outfitted with two ISA slots 4 PCI and one AGP, space problems does not make that possible.
Understood.
There is no PNP OS YES/NO in my BIOS but I had not set the PCI cards a specific irq which is more or less the same
Weird? What make is this motherboard? Usually there is some sort of setting like the one described. Oh well.
It is a board from Itox. Taiwan with an (upgraded) Award bios. I put the irq 9 for the TV card and everything is running well. There is still a program that does not want to contact this port but that is a software case or a cable case ;-).
Stupid IRQs! 2004 and IRQs are still around and a pure PITA!
The question that arises, I remember vaguely that irq 9 is used to connect to the irq from 10 and higher. Would the choice of irq 9 have consequences? And I am still missing one or two com ports for the things that I am planning to do. Aren't there USB to comports adapters which could solve that problem? For the time being I can proceed ;-). Everyone, thanks for your help.
IRQ 9 is tied to IRQ 2 (which is hidden). If you are still missing the port, then I am not sure what all you can do. You will need to be sure that you have a IRQ set aside for that com port.
I am not sure about USB to com port adapters. I unfortunately have not had a situation where I have had to see about using such a thing.
If IRQ 9 is free, then you should be able to use it.
Well let me think what all else we can try to get this to work.
It works ;-)
<snip>
There is no PNP OS YES/NO in my BIOS but I had not set the PCI cards a specific irq which is more or less the same
Weird? What make is this motherboard? Usually there is some sort of setting like the one described. Oh well.
It is a board from Itox. Taiwan with an (upgraded) Award bios. I put the irq 9 for the TV card and everything is running well. There is still a program that does not want to contact this port but that is a software case or a cable case ;-).
I have not heard of that board. But hey if it does the job! <snip>
Well let me think what all else we can try to get this to work.
It works ;-)
Coolness! :) Marshall
participants (3)
-
BandiPat
-
Constant Brouerius van Nidek
-
Marshall Heartley