On Tue, Mar 09, 2004 at 04:29:22PM -0500, Ken Januski wrote:
> 
> Pigeon,
> 
> Thanks for your input. My answers are below:
> 
> >>
> >>I've been experimenting wth changing settings in serial.conf but have 
> >>had no luck. Though dmesg says that a modem is found at ttys00 with an 
> >>irq of 4 setting that in serial.conf results in a hanging modem. I keep 
> >>having to set it to ttys0 with irq of 3. 
> >>   
> >>
> >
> >...which is a little puzzling, because irq 4 is the standard for
> >ttyS0. What does 'setserial /dev/ttyS0' report?
> >
> Oddly enough: "input/output error", though modem does work with these 
> settings. And they're the only settings that have ever worked. If I do 
> setserial start I get:
> "loading saved state of the serial devices.
> /dev/ttys0 at 0xcff0  (irq =3) is a 16550a".

Ah, it's an internal modem... (Which I should have picked up earlier
from your lspci output, but internal PCI modems which are real modems
that look like a serial port are like hens' teeth, so I didn't spot
it. Well that's my excuse :-) )

OK, try something like this...

setserial -v /dev/ttyS0 uart 16550A port 0xcff0 irq 4

(or irq 5, which also seems to be unused, and would help avoid needing
to mess with the BIOS setup since your "normal" serial ports won't be
after it.)

I think it's the lack of the "port 0xcff0" which is causing the
"input/output error"; it'll be looking at the standard port, 0x3f8.

> >What you set in serial.conf should follow what the BIOS setup has been
> >configured to; ie. you configure the BIOS setup, and then change
> >serial.conf to correspond with it (if the kernel hasn't figured it out
> >automatically).
> >
> >And, your modem really is on ttyS0 (COM1)? Do you have a serial mouse?
> >
> Not sure what type. It's a Logitech PS2 with /dev/mouse pointing to 
> /dev/psaux.

OK, that's a PS/2 mouse, not a serial mouse. I'm just trying to figure
out what's using your serial ports. Looks like nothing is, since it's
a PS/2 mouse and an internal modem. So it's safe to disable your
serial ports completely in the BIOS setup.

> >Does the output from 'cat /proc/interrupts' change according to
> >whether ppp is or isn't running?
> >
> 
> When ppp is not running IRQ 3 disappears from the  /proc/interrupts 
> results. If I then use ifconfig to bring ethernet up eth0 appears as IRQ3.

OK, that's what I was expecting.

> Originally this was a dual boot Debian and Windows 2000 pc. I rarely 
> used the Windows portion but did get some of the hardware settings from 
> it. Since then a service pack has utterly destroyed Windows so I'm not 
> able to boot or do anything other than mount the file system from Debian 
> and poke around. But I don't imagine any of the hardware settings  have 
> changed. What I have from there is many settings for IRQ9, inlcuding 
> both ethernet card and modem. I vaguely recall going through a lot of 
> experimenting in order to find the correct IRQs, rather than 9, when I 
> first set pc up  with Debian over 3 years ago. But since I didn't have a 
> network then I didn't really bother with trying to get the ethernet card 
> to work.

Some of the hardware settings may not be the same, due to Linux and 2K
making different choices when they configure the PCI devices.

> I'll see what I can do with finding the bios. I vaguely recalled F10 as 
> getting BIOS settings but that didn't work. I'll try some others and see 
> what happens.

Well, it may not be necessary since I've now realised that your modem
is an internal modem with a genuine UART, not an external one. Because
it's not part of the motherboard, it won't have any settings in the
BIOS. But since it seems that you're not using them, it wouldn't hurt
to turn off your motherboard's serial ports in the BIOS, to make sure
they're not after any IRQs.

If tweaking the modem's IRQ doesn't work, it might be possible to
tweak the ethernet card's IRQ, by loading the module with something like

modprobe 3c59x compaq_irq=5

I'm not too sure about this, though; the kernel docs explain the
"compaq" bit as being a workaround for a Compaq bios problem, but
don't say what that problem is. I'm not sure if this would actually
change the IRQ on other machines. My guess is it probably would, but
I'm not sure. (Or do you have a Compaq?)

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to