-
RedHat sees and uses modem with nousb, but Knoppix fails
Does "nousb" really work?
I've been trying to get a USR 5610 hardware hardware modem working, as can be seen in another thread in the Networking forum. I now believe that the problem is an irq/boot-time problem, so I've moved over here.
On this box, XP reports that the modem and the USB controller both use irq 23. XP is able to use the modem just fine.
I installed RedHat (don't know which version, but I just bought it at Fry's a couple weeks ago so it's pretty recent). RedHat's modem config wizard found the modem just fine, and lspci showed it using irq 5 (NOTE: not 23). When booting with default options, RedHat will hang when setting up the USB controller. If I give the "nousb" boot option, I can boot RedHat, and the modem works (I can get a PPP connection). I wrote down the output of setserial -G so I could reproduce the config in Knoppix.
On my Knoppix HD install, I booted with nousb, did the setserial command that I got from RedHat, linked /dev/modem to the device file (which happens to be /dev/ttyS4). No dice: kppp and wvdialconf still don't detect the modem.
I also tried disabling USB in the bios setup. The irq reported by lspci -v moved from 5 to 6. I changed my setserial command accordingly, but no dice. I also tried booting with nopcmcia noscsi alongside nousb, with the same result.
Any clues?
-
usr 5610 modem problem source
The dmesg output from various flavors of linux using 2.6.x shows a reference to the effect that "pci irq's are no longer automatically assigned". I also found the following reference that shows that this has been changed in the 2.6.x kernels:
Subject Re: [PATCH] PCI fixes for 2.6.10-rc1
Date Fri, 12 Nov 2004 15:21:55 -0800
From Greg KH <>
ChangeSet 1.2026.35.4, 2004/10/28 15:56:14-05:00, [email protected]
[PATCH] PCI: remove unconditional PCI ACPI IRQ routing
From: Bjorn Helgaas <[email protected]>
Now that PCI interrupts are routed in pci_enable_device(), remove the
unconditional routing previously done in pci_acpi_init().
This has the potential to break drivers that don't use pci_enable_device()
correctly, so I also added a "pci=routeirq" kernel option that restores the
previous behavior. I intend to remove that option, along with all the code
below, in a month or so.
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
So if someone can tell me how to incorporate the "pci=routeirq" line in the init sequence or how to use "pci_enable_device" we might be able to solve this problem that has (with obvious malice aforethought) messed up a lot of folks.
-
Senior Member
registered user
Re: usr 5610 modem problem source

Originally Posted by
wh7qq
So if someone can tell me how to incorporate the "pci=routeirq" line in the init sequence or how to use "pci_enable_device" we might be able to solve this problem that has (with obvious malice aforethought) messed up a lot of folks.

You should be able to type that at the boot prompt: boot: knoppix pci=routeirq
This was taken from the kernel-parameters.txt file on another Linux machine running the 2.6.x kernel.
Let us know if that works for you.
Regards,
- Robert
http://www.cwelug.org/
-
Senior Member
registered user
This is one site:
http://www.math.sunysb.edu/~comech/tools/PCImodems.html
This is another:
"The 5610B works with Mepis 2004.06 and SM 3.3. I did nothing special. But you have to make sure you have it on the correct COM Port for your machine. Sometimes u have to confirm the com port via windoz - I hate to say that. You may have to link the port to /dev/modem.
Alternatively, try ls -l /dev/modem to find out the com port. You can also do things like ls -l /dev/ttyS2, etc. All from Command line. The latter gives the c 4 68 part of it. Also see man pages on ls. Watch the spaces in the code.
Two other handy pieces of code, from cmnd line as su:
mknod /devttyS2 c 4 68 Here S2 is COM3, etc.
(this sets S2)
ln -s /dev/ttyS2 /dev/modem Links e.g. S2 to /dev/modem"
-
Re: usr 5610 modem problem source
Very interesting! It work (3.8.1 Live) if I use the boot prompt knoppix pci=routeirq and then do sudo setserial /dev/ttyS4 port 0x9000 irq 16 uart 16550 auto_irq skip_test autoconfig spd_vhi (parameters found with lspci -vv). KPPP will then find the modem when you do a modem querry and connects just fine.
In trying to port this to an HD installation of Kanotix 2005-02, adding the pci=routeirq into the boot parameters does not work. KPPPstill reports "Modem Busy" as before. I haven't been able to find "kernel-parameters.txt" anywhere.
This is progress and confirms the culprit...thanks!
How to get this into the HD boot?
Paul
-
Senior Member
registered user
Re: usr 5610 modem problem source

Originally Posted by
wh7qq
Very interesting! It work (3.8.1 Live)
Woo-hoo! Break out the champaign.

Originally Posted by
wh7qq
I haven't been able to find "kernel-parameters.txt" anywhere.
You've got a HD install of Kanotix? If so, then 'apt-get update && apt-get install kernel-doc-2.6*'. Then look in /usr/share/doc/kernel-doc-2.6.*/Documentation/kernel-parameters.txt.gz

Originally Posted by
wh7qq
How to get this into the HD boot?
Can you post your modified configuration file for the bootloader (IIRC, Kanotix uses grub.conf)?
Regards,
- Robert
http://www.cwelug.org/
-
Re: usr 5610 modem problem source

Originally Posted by
wh7qq
I haven't been able to find "kernel-parameters.txt" anywhere.
You've got a HD install of Kanotix? If so, then 'apt-get update && apt-get install kernel-doc-2.6*'. Then look in /usr/share/doc/kernel-doc-2.6.*/Documentation/kernel-parameters.txt.gz
]No file or directory called kernel-doc anything even after" apt-get update" and "apt-get update && apt-get install kernel-doc-2.6"[/b][/b]

Originally Posted by
wh7qq
How to get this into the HD boot?
Can you post your modified configuration file for the bootloader (IIRC, Kanotix uses grub.conf)?
No grub.conf or anything close found in search on "*grub*" in /. Very strange this Kanotix.
Regards,
- Robert
http://www.cwelug.org/[/quote]N
Similar Threads
-
By JohnnyH in forum Networking
Replies: 7
Last Post: 10-11-2006, 05:34 PM
-
By phazon in forum Hardware & Booting
Replies: 3
Last Post: 05-07-2006, 04:47 AM
-
By emiliana in forum Hardware & Booting
Replies: 0
Last Post: 01-25-2006, 03:26 AM
-
By ctav01 in forum Networking
Replies: 0
Last Post: 10-15-2004, 08:08 PM
-
By niphin in forum Hardware & Booting
Replies: 1
Last Post: 08-06-2003, 02:15 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays
$599.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99