[1.] One line summary of the problem: Unable to use "Actiontec 56K Internal PCI Call Waiting modem" with linux 2.4.19-rc2 kernel [2.] Full description of the problem/report: When I issue the following command to setup my serial port I get the error: root@delta:~# setserial /dev/ttyS2 uart 16550A port 0x9000 irq 5 Cannot set serial info: Address already in use However I think that this error is spurious as I have ensured that the card is not sharing an IRQ with any other devices. Additionally I have built older kernels with the same config file and my modem works with the 2.4.6 kernel and does not work with the 2.4.7 kernel. When setserial fails, if I try to use minicom I get no response from the modem when I type in AT commands. If I use a working kernel the AT commands act normally. As a test I copied the following files from the 2.4.6 source tree into my 2.4.19-rc2 tree: /usr/src/linux/drivers/char/serial.c /usr/src/linux/include/linux/serial.h /usr/src/linux/include/linux/serialP.h With this "patch" applied I can use my modem with no issues. [3.] Keywords (i.e., modules, networking, kernel): serial.c, actiontec, Modem [4.] Kernel version (from /proc/version): Linux version 2.4.19-rc2 (root@delta) (gcc version 2.95.3 20010315 (release)) #1 Wed Jul 17 21:37:46 PDT 2002 [5.] Output of Oops.. message (if applicable) with symbolic information resolved N/A [6.] A small shell script or example program which triggers the problem (if possible) See description [7.] Environment The follow is a non working environment from the vanilla rc2 [7.1.] Software (add the output of the ver_linux script here) Linux delta 2.4.19-rc2 #1 Wed Jul 17 21:37:46 PDT 2002 i686 unknown Gnu C 2.95.3 Gnu make 3.79.1 binutils 2.11.90.0.19 util-linux 2.11f mount 2.11b modutils 2.4.6 e2fsprogs 1.27 reiserfsprogs 3.x.0j pcmcia-cs 3.1.26 PPP 2.4.1 Linux C Library 2.2.3 Dynamic linker (ldd) 2.2.3 Procps 2.0.7 Net-tools 1.60 Kbd 1.06 Sh-utils 2.0 Modules Loaded iptable_filter ip_nat_ftp iptable_nat ip_conntrack_ftp ip_conntrack ip_tables apm ppp_deflate ppp_async ppp_generic slhc rtc nls_iso8859-1 nls_cp437 vfat fat [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : AMD Athlon(tm) Processor stepping : 1 cpu MHz : 800.047 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 1595.80 [7.3.] Module information (from /proc/modules): iptable_filter 1760 0 (autoclean) (unused) ip_nat_ftp 2944 0 (unused) iptable_nat 12880 1 [ip_nat_ftp] ip_conntrack_ftp 3184 0 (unused) ip_conntrack 13392 2 [ip_nat_ftp iptable_nat ip_conntrack_ftp] ip_tables 10560 4 [iptable_filter iptable_nat] apm 9440 1 ppp_deflate 40160 0 (unused) ppp_async 6544 0 (unused) ppp_generic 15744 0 [ppp_deflate ppp_async] slhc 4624 0 [ppp_generic] rtc 6016 0 (autoclean) nls_iso8859-1 2880 1 (autoclean) nls_cp437 4384 1 (autoclean) vfat 9456 1 (autoclean) fat 29504 0 (autoclean) [vfat] [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial(auto) 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 7800-7807 : Creative Labs SB Live! MIDI/Game Port 8000-801f : Creative Labs SB Live! EMU10k1 8400-8407 : Lucent Microelectronics Venus Modem (V90, 56KFlex) 8800-88ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) 9000-90ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) 9000-9007 : serial(auto) 9400-947f : 3Com Corporation 3c905B 100BaseTX [Cyclone] 9400-947f : 00:09.0 b000-b01f : VIA Technologies, Inc. UHCI USB (#2) b000-b01f : usb-uhci b400-b41f : VIA Technologies, Inc. UHCI USB b400-b41f : usb-uhci b800-b80f : VIA Technologies, Inc. Bus Master IDE b800-b807 : ide0 b808-b80f : ide1 d000-dfff : PCI Bus #01 d800-d8ff : 3Dfx Interactive, Inc. Voodoo 3 e400-e4ff : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] e800-e80f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-0fffbfff : System RAM 00100000-00260f95 : Kernel code 00260f96-002ccaf7 : Kernel data 0fffc000-0fffefff : ACPI Tables 0ffff000-0fffffff : ACPI Non-volatile Storage dc800000-dc8000ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) dd000000-dd0fffff : Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder dd800000-dd80007f : 3Com Corporation 3c905B 100BaseTX [Cyclone] de000000-e1dfffff : PCI Bus #01 de000000-dfffffff : 3Dfx Interactive, Inc. Voodoo 3 e1f00000-e3ffffff : PCI Bus #01 e2000000-e3ffffff : 3Dfx Interactive, Inc. Voodoo 3 e4000000-e7ffffff : VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] ffff0000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev 02) Subsystem: Asustek Computer, Inc.: Unknown device 8023 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22) Subsystem: Asustek Computer, Inc.: Unknown device 8023 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0a.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- [7.6.] SCSI information (from /proc/scsi/scsi) Attached devices: none [7.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): /proc/tty/driver/serial serinfo:1.0 driver:5.05c revision:2001-07-08 0: uart:16550A port:3F8 irq:4 baud:9600 tx:0 rx:0 1: uart:16550A port:2F8 irq:3 baud:9600 tx:0 rx:0 4: uart:16550A port:9000 irq:5 baud:9600 tx:0 rx:0 CTS|DSR /proc/tty/drivers serial /dev/cua 5 64-127 serial:callout serial /dev/ttyS 4 64-127 serial pty_slave /dev/pts 136 0-255 pty:slave pty_master /dev/ptm 128 0-255 pty:master pty_slave /dev/ttyp 3 0-255 pty:slave pty_master /dev/pty 2 0-255 pty:master /dev/vc/0 /dev/vc/0 4 0 system:vtmaster /dev/ptmx /dev/ptmx 5 2 system /dev/console /dev/console 5 1 system:console /dev/tty /dev/tty 5 0 system:/dev/tty unknown /dev/vc/%d 4 1-63 console [X.] Other notes, patches, fixes, workarounds: See description ------------------------------------------------------------- ------------------------------------------------------------- ---------- PATCHED KERNEL ----------------------------------- ------------------------------------------------------------- ------------------------------------------------------------- The following is the output from the patched 2.4.19-rc2 kernel per my patch in the description [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux delta 2.4.19-patch #6 Wed Jul 17 22:49:11 PDT 2002 i686 unknown Gnu C 2.95.3 Gnu make 3.79.1 binutils 2.11.90.0.19 util-linux 2.11f mount 2.11b modutils 2.4.6 e2fsprogs 1.27 reiserfsprogs 3.x.0j pcmcia-cs 3.1.26 PPP 2.4.1 Linux C Library 2.2.3 Dynamic linker (ldd) 2.2.3 Procps 2.0.7 Net-tools 1.60 Kbd 1.06 Sh-utils 2.0 Modules Loaded iptable_filter ip_nat_ftp iptable_nat ip_conntrack_ftp ip_conntrack ip_tables apm ppp_deflate ppp_async ppp_generic slhc rtc nls_iso8859-1 nls_cp437 vfat fat [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : AMD Athlon(tm) Processor stepping : 1 cpu MHz : 800.057 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 1595.80 [7.3.] Module information (from /proc/modules): iptable_filter 1760 0 (autoclean) (unused) ip_nat_ftp 2944 0 (unused) iptable_nat 12880 1 [ip_nat_ftp] ip_conntrack_ftp 3184 0 (unused) ip_conntrack 13392 2 [ip_nat_ftp iptable_nat ip_conntrack_ftp] ip_tables 10560 4 [iptable_filter iptable_nat] apm 9440 1 ppp_deflate 40160 0 (unused) ppp_async 6576 0 (unused) ppp_generic 15744 0 [ppp_deflate ppp_async] slhc 4624 0 [ppp_generic] rtc 6032 0 (autoclean) nls_iso8859-1 2880 1 (autoclean) nls_cp437 4400 1 (autoclean) vfat 9456 1 (autoclean) fat 29504 0 (autoclean) [vfat] [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial(auto) 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 7800-7807 : Creative Labs SB Live! MIDI/Game Port 8000-801f : Creative Labs SB Live! EMU10k1 8400-8407 : Lucent Microelectronics Venus Modem (V90, 56KFlex) 8800-88ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) 9000-90ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) 9000-9007 : serial(set) 9400-947f : 3Com Corporation 3c905B 100BaseTX [Cyclone] 9400-947f : 00:09.0 b000-b01f : VIA Technologies, Inc. UHCI USB (#2) b000-b01f : usb-uhci b400-b41f : VIA Technologies, Inc. UHCI USB b400-b41f : usb-uhci b800-b80f : VIA Technologies, Inc. Bus Master IDE b800-b807 : ide0 b808-b80f : ide1 d000-dfff : PCI Bus #01 d800-d8ff : 3Dfx Interactive, Inc. Voodoo 3 e400-e4ff : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] e800-e80f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-0fffbfff : System RAM 00100000-00260e25 : Kernel code 00260e26-002cc797 : Kernel data 0fffc000-0fffefff : ACPI Tables 0ffff000-0fffffff : ACPI Non-volatile Storage dc800000-dc8000ff : Lucent Microelectronics Venus Modem (V90, 56KFlex) dd000000-dd0fffff : Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder dd800000-dd80007f : 3Com Corporation 3c905B 100BaseTX [Cyclone] de000000-e1dfffff : PCI Bus #01 de000000-dfffffff : 3Dfx Interactive, Inc. Voodoo 3 e1f00000-e3ffffff : PCI Bus #01 e2000000-e3ffffff : 3Dfx Interactive, Inc. Voodoo 3 e4000000-e7ffffff : VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] ffff0000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev 02) Subsystem: Asustek Computer, Inc.: Unknown device 8023 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22) Subsystem: Asustek Computer, Inc.: Unknown device 8023 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0a.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- [7.6.] SCSI information (from /proc/scsi/scsi) Attached devices: none [7.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): /proc/tty/driver/serial serinfo:1.0 driver:5.05a revision:2001-03-20 0: uart:16550A port:3F8 irq:4 baud:9600 tx:0 rx:0 1: uart:16550A port:2F8 irq:3 baud:9600 tx:0 rx:0 2: uart:16550A port:9000 irq:5 baud:9600 tx:0 rx:0 CTS|DSR 3: uart:unknown port:2E8 irq:3 4: uart:unknown port:FFFFFFFF irq:0 5: uart:unknown port:1A0 irq:9 6: uart:unknown port:1A8 irq:9 7: uart:unknown port:1B0 irq:9 8: uart:unknown port:1B8 irq:9 9: uart:unknown port:2A0 irq:5 10: uart:unknown port:2A8 irq:5 11: uart:unknown port:2B0 irq:5 12: uart:unknown port:2B8 irq:5 13: uart:unknown port:330 irq:4 14: uart:unknown port:338 irq:4 15: uart:unknown port:0 irq:0 16: uart:unknown port:0 irq:0 17: uart:unknown port:100 irq:12 18: uart:unknown port:108 irq:12 19: uart:unknown port:110 irq:12 20: uart:unknown port:118 irq:12 21: uart:unknown port:120 irq:12 22: uart:unknown port:128 irq:12 23: uart:unknown port:130 irq:12 24: uart:unknown port:138 irq:12 25: uart:unknown port:140 irq:12 26: uart:unknown port:148 irq:12 27: uart:unknown port:150 irq:12 28: uart:unknown port:158 irq:12 29: uart:unknown port:160 irq:12 30: uart:unknown port:168 irq:12 31: uart:unknown port:170 irq:12 32: uart:unknown port:178 irq:12 33: uart:unknown port:0 irq:0 34: uart:unknown port:0 irq:0 35: uart:unknown port:0 irq:0 36: uart:unknown port:0 irq:0 37: uart:unknown port:0 irq:0 38: uart:unknown port:0 irq:0 39: uart:unknown port:0 irq:0 40: uart:unknown port:0 irq:0 41: uart:unknown port:0 irq:0 42: uart:unknown port:0 irq:0 43: uart:unknown port:0 irq:0 44: uart:unknown port:0 irq:0 45: uart:unknown port:0 irq:0 46: uart:unknown port:0 irq:0 47: uart:unknown port:0 irq:0 48: uart:unknown port:0 irq:0 49: uart:unknown port:0 irq:0 50: uart:unknown port:0 irq:0 51: uart:unknown port:0 irq:0 52: uart:unknown port:0 irq:0 53: uart:unknown port:0 irq:0 54: uart:unknown port:0 irq:0 55: uart:unknown port:0 irq:0 56: uart:unknown port:0 irq:0 57: uart:unknown port:0 irq:0 58: uart:unknown port:0 irq:0 59: uart:unknown port:0 irq:0 60: uart:unknown port:0 irq:0 61: uart:unknown port:0 irq:0 62: uart:unknown port:0 irq:0 63: uart:unknown port:0 irq:0 /proc/tty/drivers serial /dev/cua 5 64-127 serial:callout serial /dev/ttyS 4 64-127 serial pty_slave /dev/pts 136 0-255 pty:slave pty_master /dev/ptm 128 0-255 pty:master pty_slave /dev/ttyp 3 0-255 pty:slave pty_master /dev/pty 2 0-255 pty:master /dev/vc/0 /dev/vc/0 4 0 system:vtmaster /dev/ptmx /dev/ptmx 5 2 system /dev/console /dev/console 5 1 system:console /dev/tty /dev/tty 5 0 system:/dev/tty unknown /dev/vc/%d 4 1-63 console