Jump to content

Modem 56 stuff up drivers


Guest Mv
 Share

Recommended Posts

umm i got a modem driver installed but when typing

 

insmod ptserial

 

it comes up with

 

/lib/modules/2.4.21-0.13mdk/misc/ptserial.o: init_module: Input/output error

Link to comment
Share on other sites

This is what it told me to type to find out more i think the last part is important:

 

 

root@localhost michael]# dmesg

Linux version 2.4.21-0.13mdk (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (M

andrake Linux 9.1 3.2.2-3mdk)) #1 Fri Mar 14 15:08:06 EST 2003

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)

BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)

BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)

BIOS-e820: 00000000fec00000 - 00000000fed00000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)

BIOS-e820: 00000000ffee0000 - 00000000fff0ffff (reserved)

BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)

255MB LOWMEM available.

ACPI: have wakeup address 0xc0001000

found SMP MP-table at 000fb960

hm, page 000fb000 reserved twice.

hm, page 000fc000 reserved twice.

hm, page 000f6000 reserved twice.

hm, page 000f7000 reserved twice.

On node 0 totalpages: 65520

zone(0): 4096 pages.

zone(1): 61424 pages.

zone(2): 0 pages.

Intel MultiProcessor Specification v1.4

Virtual Wire compatibility mode.

OEM ID: SiS Product ID: 645 APIC at: 0xFEE00000

Processor #0 Pentium 4 XEON APIC version 20

I/O APIC #2 Version 17 at 0xFEC00000.

Enabling APIC mode: Flat. Using 1 I/O APICs

Processors: 1

Kernel command line: BOOT_IMAGE=linux ro root=306 devfs=mount hdc=ide-scsi acpi=

off noapic quiet

ide_setup: hdc=ide-scsi

Initializing CPU#0

Detected 2405.525 MHz processor.

Console: colour dummy device 80x25

Calibrating delay loop... 4797.23 BogoMIPS

Memory: 255768k/262080k available (1410k kernel code, 5924k reserved, 1118k data

, 136k init, 0k highmem)

Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)

Inode cache hash table entries: 16384 (order: 5, 131072 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)

Page-cache hash table entries: 65536 (order: 6, 262144 bytes)

CPU: Trace cache: 12K uops, L1 D cache: 8K

CPU: L2 cache: 512K

Intel machine check architecture supported.

Intel machine check reporting enabled on CPU#0.

CPU: After generic, caps: bfebfbff 00000000 00000000 00000000

CPU: Common caps: bfebfbff 00000000 00000000 00000000

CPU: Intel® Pentium® 4 CPU 2.40GHz stepping 07

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Checking 'hlt' instruction... OK.

POSIX conformance testing by UNIFIX

enabled ExtINT on CPU#0

ESR value before enabling vector: 00000000

ESR value after enabling vector: 00000000

Using local APIC timer interrupts.

calibrating APIC timer ...

..... CPU clock speed is 2405.4834 MHz.

..... host bus clock speed is 133.6377 MHz.

cpu: 0, clocks: 1336377, slice: 668188

CPU0<T0:1336368,T1:668176,D:4,S:668188,C:1336377>

mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)

mtrr: detected mtrr type: Intel

ACPI: Subsystem revision 20030122

ACPI: Disabled via command line (acpi=off)

PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=2

PCI: Using configuration type 1

PCI: Probing PCI hardware

PCI: ACPI tables contain no PCI IRQ routing entries

PCI: Probing PCI hardware (bus 00)

PCI: Using IRQ router SIS [1039/0008] at 00:02.0

isapnp: Scanning for PnP cards...

isapnp: No Plug & Play device found

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)

Starting kswapd

VFS: Disk quotas vdquot_6.5.1

devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)

devfs: boot_options: 0x1

vesafb: framebuffer at 0xd0000000, mapped to 0xd0800000, size 65536k

vesafb: mode is 800x600x16, linelength=1600, pages=2

vesafb: protected mode interface info at c000:e780

vesafb: scrolling: redraw

vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0

Looking for splash picture.... found (800x600, 25593 bytes).

Console: switching to colour frame buffer device 80x16

fb0: VESA VGA frame buffer device

pty: 256 Unix98 ptys configured

Serial driver version 5.05c (2001-07-0 with HUB-6 MANY_PORTS MULTIPORT SHARE_I

RQ SERIAL_PCI ISAPNP enabled

ttyS00 at 0x03f8 (irq = 4) is a 16550A

ttyS01 at 0x02f8 (irq = 3) is a 16550A

PCI: Found IRQ 10 for device 00:08.0

Redundant entry in serial pci_table. Please send the output of

lspci -vv, this message (134d,7891,134d,0001)

and the manufacturer and name of serial board or modem board

to serial-pci-info@lists.sourceforge.net.

register_serial(): autoconfig failed

RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize

Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

SIS5513: IDE controller at PCI slot 00:02.5

SIS5513: chipset revision 0

SIS5513: not 100% native mode: will probe irqs later

SiS646 ATA 133 controller

ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA

ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA

hda: IC35L040AVVN07-0, ATA DISK drive

blk: queue c03cb420, I/O limit 4095Mb (mask 0xffffffff)

hdc: AOPEN CD-RW CRW4850 1.01 20020904, ATAPI CD/DVD-ROM drive

hdd: ATAPI DVD-ROM 16XMax, ATAPI CD/DVD-ROM drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

ide1 at 0x170-0x177,0x376 on irq 15

hda: host protected area => 1

hda: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=5005/255/63, UDMA(100)

Partition check:

/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >

md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27

md: Autodetecting RAID arrays.

md: autorun ...

md: ... autorun DONE.

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 2048 buckets, 16Kbytes

TCP: Hash tables configured (established 16384 bind 32768)

Linux IP multicast router 0.06 plus PIM-SM

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 108k freed

VFS: Mounted root (ext2 filesystem).

Mounted devfs on /dev

Journalled Block Device driver loaded

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

Mounted devfs on /dev

Freeing unused kernel memory: 136k freed

Real Time Clock Driver v1.10e

usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

PCI: Assigned IRQ 10 for device 00:03.2

usb-ohci.c: USB OHCI at membase 0xd4932000, IRQ 10

usb-ohci.c: usb-00:03.2, Silicon Integrated Systems [siS] 7001 (#3)

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

hub.c: 2 ports detected

SiS pirq: advanced IDE/ACPI/DAQ mapping not yet implemented

advanced SiS pirq mapping not yet implemented

usb-ohci.c: USB OHCI at membase 0xd4934000, IRQ 11

usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [siS] 7001 (#2)

usb.c: new USB bus registered, assigned bus number 2

hub.c: USB hub found

hub.c: 2 ports detected

SiS router pirq escape (96)

SiS router pirq escape (96)

usb-ohci.c: USB OHCI at membase 0xd4936000, IRQ 10

usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [siS] 7001

usb.c: new USB bus registered, assigned bus number 3

hub.c: USB hub found

hub.c: 2 ports detected

usbdevfs: remount parameter error

usb.c: registered new driver usblp

printer.c: v0.11: USB Printer Device Class driver

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal

Adding Swap: 208804k swap-space (priority -1)

hub.c: new USB device 00:03.2-1, assigned address 2

usb.c: USB device 2 (vend/prod 0x4a9/0x220d) is not claimed by any active driver

.

hub.c: new USB device 00:03.1-1, assigned address 2

printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0

pid 0x7004

usb.c: registered new driver usbscanner

scanner.c: 0.4.10:USB Scanner Driver

0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16

19:03:09 PDT 2003

SCSI subsystem driver Revision: 1.00

scsi0 : SCSI host adapter emulation for IDE ATAPI devices

Vendor: AOPEN Model: CD-RW CRW4850 Rev: 1.01

Type: CD-ROM ANSI SCSI revision: 02

hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.12

NTFS driver 2.1.1a [Flags: R/O MODULE].

NTFS volume version 3.1.

inserting floppy driver for 2.4.21-0.13mdk

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

CSLIP: code copyright 1989 Regents of the University of California

PPP generic driver version 2.4.2

Installing knfsd (copyright © 1996 okir@monad.swb.de).

Linux agpgart interface v0.99 © Jeff Hartmann

agpgart: Maximum main memory to use for agp memory: 203M

agpgart: Detected SiS 646 chipset

agpgart: AGP aperture is 64M @ 0xe0000000

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]

parport0: irq 7 detected

lp0: using parport0 (polling).

Splash status on console 0 changed to off

PCTel: No device detected. Abort module loading.

Link to comment
Share on other sites

ttyS00 at 0x03f8 (irq = 4) is a 16550A

ttyS01 at 0x02f8 (irq = 3) is a 16550A

PCI: Found IRQ 10 for device 00:08.0

Redundant entry in serial pci_table. Please send the output of

lspci -vv, this message (134d,7891,134d,0001)

and the manufacturer and name of serial board or modem board

to serial-pci-info@lists.sourceforge.net.

register_serial(): autoconfig failed

Have 2 serial ports? ttyS0x's?

What modem?

What does

modinfo ptserial

say?

 

You might have to run setserial...but read, read, read, and be careful.

Link to comment
Share on other sites

The driver that we got could be compiled for a few different modems. We went through them and found the correct one.

 

Now I'm sure we just need to ln -s /dev/modem to the appropriate file. We've tried, /dev/ttyS0-4. No go.

 

I think there might be something created by the driver. Mayber a /dev/ptserial. Just a guess though.

 

James

Link to comment
Share on other sites

[root@localhost pctel-0.9.6]# modprobe ptserial

Warning: loading /lib/modules/2.4.21-0.13mdk/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries

See http://www.tux.org/lkml/#export-tainted for information about tainted modules

/lib/modules/2.4.21-0.13mdk/misc/ptserial.o: init_module: Input/output error

Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

modprobe: insmod /lib/modules/2.4.21-0.13mdk/misc/ptserial.o failed

modprobe: insmod ptserial failed

 

[root@localhost pctel-0.9.6]# modinfo ptserial

filename: /lib/modules/2.4.21-0.13mdk/misc/ptserial.o

description: "Standard/generic (dumb) serial driver modified for PCTel support."author: "Theodore Ts'o <tytso@mit.edu>"

license: "GPL linked with proprietary libraries"

parm: country_code int, description "Select a country code for the PCTEL

modem."

parm: irq int, description "Override autodetected IRQ."

parm: iobase int, description "Check for modem at iobase address."

parm: iobase1 int, description "Using iobase/iobase1 address."

Link to comment
Share on other sites

here are some things i came up with

 

[root@localhost pctel-0.9.6]# modprobe ptserial

Warning: loading /lib/modules/2.4.21-0.13mdk/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries

See http://www.tux.org/lkml/#export-tainted for information about tainted modules

/lib/modules/2.4.21-0.13mdk/misc/ptserial.o: init_module: Input/output error

Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

modprobe: insmod /lib/modules/2.4.21-0.13mdk/misc/ptserial.o failed

modprobe: insmod ptserial failed

 

[root@localhost pctel-0.9.6]# modinfo ptserial

filename: /lib/modules/2.4.21-0.13mdk/misc/ptserial.o

description: "Standard/generic (dumb) serial driver modified for PCTel support."author: "Theodore Ts'o <tytso@mit.edu>"

license: "GPL linked with proprietary libraries"

parm: country_code int, description "Select a country code for the PCTEL

modem."

parm: irq int, description "Override autodetected IRQ."

parm: iobase int, description "Check for modem at iobase address."

parm: iobase1 int, description "Using iobase/iobase1 address."

Link to comment
Share on other sites

Well, it's not clear what you have or have not done. What's in /etc/modules.conf for the modem? Did you install from a src.rpm, a tarball, a rpm? If a tar what did ./configure --help have to say. Is there a README or INSTALL file with any important info? Did you try to reverse the order of the mods with modprobe? We can't keep shooting in the dark. Did you look through the google link above and try anything there? Like the third link in the google;

https://www.redhat.com/archives/redhat-list...t/msg02574.html

# for pctel modem

alias char-major-62 ptserial

below ptserial pctel

# country code for pctel modem

options ptserial country_code=33

except change for your country

code, depmod -a, and reboot. There's 9 more google pages, and you can always search within the results again to try and narrow it down further.

 

https://www.redhat.com/archives/redhat-list...t/msg02574.html

Make sure, you run "depmod -a" after you changed your /etc/modules.conf
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...