Click to See Complete Forum and Search --> : Modem Doesn't Work :(


Kirk33
10-10-2000, 11:38 PM
Hi all,

I new to linux and have just installed RH6.1 on my server as a duel boot to Win98. My main goal is to use this as a server and fire wall. I have a USR modem this is nota winmodem. I have verified this on another linux web page. It is a jumperless 56k ISA modem that is on Com3 and IRQ5 in Win98.

When I run 'pnpdump' I get the usual info along with the following:
#DEBUG
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(DMA FATAL)(MEM FATAL)) # OR WARNING

I created the file 'isapnp.conf' and uncomentted the proper lines. When I restart the system I get the following failures:

Setting up ISA PNP devices Board 1 has Identity 07 fc a7 db ab 31 30 72 56: USR3031 Serial No 4238859179 [checksum 07]
/etc/isapnp.conf:67--Fatal--Resource conflict allocating 8 bytes of IO at 3e8 (see /proc/ioports)

/etc/isapnp.conf:67--Fatal-Error occured executing request '<IORESCHECK>'---Further action aborted

When looking at the file /proc/ioports I see the line "03e8-03ef:serial(set)" This is sometimes set as "auto" instead of "set." I have no idea why.

If I type in "setserial /dev/ttyS2" I get back: /dev/ttyS2, UART:16550A, Port:0x03e8, IRQ:4 At this point if I type in "isapnp /etc/isapnp.conf" I get the same errors as above. However if I change the UART to unknown I don't get any errors.

Anyone have any idea what is going on? Thanks for any help.

[This message has been edited by Kirk33 (edited 11 October 2000).]

speck
10-11-2000, 01:04 AM
I'll pass along what I did with an internal modem that was giving me similar problems. FYI, it looks like ttyS2 is using irq 4. Try, for example:

"setserial /dev/ttyS2 port 0x03e8 irq 5"

You will need to go into windows and get the exact hex address to pass after "port". If running that command works, then you can put that it in the /etc/rc.d/rc.local to have it execute at boot time.

Speck

Kirk33
10-11-2000, 01:37 PM
The saga continues...

I tried what was suggested but it doesn't help. It doesn't seem to matter what I set the IRQ to as it always reverts back to IRQ 4. This includes putting a line in the rc.local file.

My modem in Win98 display the following information: Port: Com3 IRQ: 11 Address: 3E8 UART: NS 16550AN Input/Output Range: 03E8-03EF

I also disabled my on board sound via a jumper since I don't need sound on this machine. I first removed all devices in Win98 before shutting the machine off. After restarting the system LILO was messed up and I was just getting 01 01 01 01's scrolling on the screen. I had to use a Win98 boot disk to run Fdisk /mbr to access Windows. I then had to reinstall Linux but the modem problems continue unchanged. Here is the contents of the /proc/ioports file:

0000-001f: dma1
0020-003f: pic1
0040-005f: timer
0060-006f: keyboard
0070-007f: rtc
0080-008f: dma page reg
00a0-00bf: pic2
00c0-00ff: fpu
0170-0177: ide1
01f0-01f7: ide0
02f8-02ff: serial(auto)
0376-0376: ide1
03c0-03df: vga+
03e8-03ef: serial(auto)
03f6-03f6: ide0
03f8-03ff: serial(auto)
ffa0-ffa7: ide0
ffa8-ffaf: ide1
/proc/ioport(End)

The /etc/isapnp.gone file looks like this:

#standard motherboard stuff
#
#com 1
#IO 0x3f8,8
#IRQ 4
#
#com2
#IO 0x2f8,8
#IRQ 3
#
#parallel
#IO 0x378,2
#IRQ 7
#
#PS2 mouse
#
#IRQ 12
#
Why the following lines exist is beyond me since I disable onboard sound.
#Sound
#IO 0x220,16
#IO 0x330,2
#IO 0x388,4
#IRQ 5
#DMA 1
#DMA 5

Sorry for the length of the posts. Need any more info just ask. Thanks for any help.

speck
10-11-2000, 09:49 PM
Got a basic question, are you running the setserial command

setserial /dev/ttyS2 port 0x03e8 irq 11

as user "root"? Or, rebooting after you put the line in /etc/rc.d/rc.local? I don't know your Linux knowledge, so sorry if those sounded like dumb responses.

Speck

piix4
10-12-2000, 02:42 PM
Why not try , right click my computer , double click on pnp modem, click resources, give modem new base_io/irq?
You may want to try and goto bios setup, find your com ports and give the pertinent one a new base io address ?

If modem works in windows is there a possibility that it is a winmodem of some description?

If you are convinced that it is a hardware problem and that you are having an irq conflict why not just try and put the modem into another isa slot?

Kirk33
10-13-2000, 12:35 PM
speck, thanks for the help. I've been using, or trying to use and learn, Linux for about a week. The 'setserial' line in your post is exactly like I had in my rc.local file but I'd still get the error I listed above when I rebooted.

piix4, the modem I have is on an approved list. It is defintely not a winmodem. I guess I could try going into windows and assigning a new base io. How would someone deal with this if they didn't have Windows installed. I could also try another ISA slot, but I only have two so...

In the BIOS I can set the ports for Com1 and Com2 but the modem insists on going to Com3.

I might be wasting my time with this as Linux became really messed up on my hard drive. I decided to remove it and reinstall it on a bigger drive except that I couldn't remove the partitions or access Linux. I ended up have to write zero's to my drive to reclaim it. I'll be trying again with a different (newer) version. I have also flashed the BIOS and updated the chipset. I figure it can hurt. http://www.linuxnewbie.org/ubb/smile.gif

piix4
10-13-2000, 01:54 PM
Originally posted by Kirk33:

In the BIOS I can set the ports for Com1 and Com2 but the modem insists on going to Com3.

why not try and give the base io address that com 3 now has to com 2 and see if this frees up your resource confilct?
- other wise if com3 still wants this io you may have to reseat the modem in another isa slot ok?