Results 1 to 7 of 7

Thread: RedHat sees and uses modem with nousb, but Knoppix fails

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    9

    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?

  2. #2
    Junior Member
    Join Date
    Apr 2005
    Posts
    7

    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.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: usr 5610 modem problem source

    Quote 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/

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Location
    Belgrade, YU
    Posts
    334
    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"

  5. #5
    Junior Member
    Join Date
    Apr 2005
    Posts
    7

    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

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: usr 5610 modem problem source

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

    Quote 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

    Quote 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/

  7. #7
    Junior Member
    Join Date
    Apr 2005
    Posts
    7

    Re: usr 5610 modem problem source

    Quote 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]

    Quote 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

  1. Knoppix 5.0.1 'sees' eth0 but network stays DOWN
    By JohnnyH in forum Networking
    Replies: 7
    Last Post: 10-11-2006, 05:34 PM
  2. Knoppix 3.7 sees mouse, 4.0.2 does not...ever
    By phazon in forum Hardware & Booting
    Replies: 3
    Last Post: 05-07-2006, 04:47 AM
  3. boots with nohwsetup, hangs with nousb no[everything]
    By emiliana in forum Hardware & Booting
    Replies: 0
    Last Post: 01-25-2006, 03:26 AM
  4. Replies: 0
    Last Post: 10-15-2004, 08:08 PM
  5. compag (HP) nx9010 nousb
    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
  •  


Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$100.00



Micron MTFDDAK256TBN 256 GB, Internal ,2.5

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD

$23.00



EDILOCA EN880E 1TB M.2 NVMe PCIe Gen4 Internal SSD for Laptop/PC picture

EDILOCA EN880E 1TB M.2 NVMe PCIe Gen4 Internal SSD for Laptop/PC

$115.00



Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot picture

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot

$79.99



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Crucial MX500 250GB 2.5

Crucial MX500 250GB 2.5" SATA III SSD - Preowned

$29.00



Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health

$24.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99



Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5

Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5" (SSDSC2BB240G4P) SSD

$29.99