PROBLEM: linux 2.2 SMP kernels and PPP

Yuri Robbers (yuri@cernunnos.demon.nl)
Wed, 4 Aug 1999 17:18:56 +0200 (MEST)


[1.] One-line summary of problem:

When using a 2.2 SMP kernel it's not possible to initiate a PPP
connection.

[2.] Full description of the problem/report:

When compiling a 2.2 kernel once as a single processor kernel, and
once as an SMP kernel (other configuration details don't matter),
and setting up PPP as usual, it turns out that with the
single-processor kernel everything works fine, but on the SMP
kernel, the PPP connection doesn't establish: the connection dies
as soon as username and password should be exchanged. I tried this
with quite a lot of kernels, all compiled in pairs (non-SMP and SMP)
and everytime the non-SMP kernel worked perfectly, while the SMP
kernel did not.
This is the relevant part of /var/log/messages:

Aug 4 16:56:26 cernunnos pppd[235]: pppd 2.3.5 started by root, uid 0
Aug 4 16:56:27 cernunnos chat[236]: timeout set to 60 seconds
Aug 4 16:56:27 cernunnos chat[236]: abort on (NO CARRIER)
Aug 4 16:56:27 cernunnos chat[236]: abort on (BUSY)
Aug 4 16:56:27 cernunnos chat[236]: abort on (NO DIALTONE)
Aug 4 16:56:27 cernunnos chat[236]: abort on (ERROR)
Aug 4 16:56:27 cernunnos chat[236]: send (+++ATZ^M)
Aug 4 16:56:27 cernunnos chat[236]: expect (OK)
Aug 4 16:56:28 cernunnos chat[236]: +++ATZ^M^M
Aug 4 16:56:28 cernunnos chat[236]: OK
Aug 4 16:56:28 cernunnos chat[236]: -- got it
Aug 4 16:56:28 cernunnos chat[236]: send (ATDT8800808^M)
Aug 4 16:56:28 cernunnos chat[236]: expect (CONNECT)
Aug 4 16:56:28 cernunnos chat[236]: ^M
Aug 4 16:56:47 cernunnos chat[236]: ATDT8800808^M^M
Aug 4 16:56:47 cernunnos chat[236]: CONNECT
Aug 4 16:56:47 cernunnos chat[236]: -- got it
Aug 4 16:56:47 cernunnos chat[236]: send (^M)
Aug 4 16:56:47 cernunnos pppd[235]: Serial connection established.
Aug 4 16:56:48 cernunnos pppd[235]: ioctl(PPPIOCGUNIT): Operation not
permitted(1)
Aug 4 16:56:49 cernunnos pppd[235]: Exit.

[3.] Keywords (i.e., modules, networking, kernel):

kernel, SMP, networking, PPP, TCP/IP

[4.] Kernel version (from /proc/version):

Linux version 2.2.5 (root@cernunnos) (gcc version 2.7.2.3) #11 SMP Wed Jul
28 17:46:01 MEST 1999

[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)

just start PPP like you normally would.

[7.] Environment

[7.1.] Software (add the output of the ver_linux script here)

-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux cernunnos 2.2.5 #11 SMP Wed Jul 28 17:46:01 MEST 1999 i686 unknown
Kernel modules 2.2.2-pre6
Gnu C 2.7.2.3
Binutils 2.9.1.0.22
Linux C Library x 1 root root 2475225 Apr 15 01:57
/lib/libc.so.6
Dynamic linker ldd (GNU libc) 2.0.7
Procps 1.2.11
Mount 2.9i
Net-tools (1999-01-01)
Kbd 0.99
Sh-utils 1.12
Modules Loaded ppp slhc serial memstat

pppd 2.3.5

[7.2.] Processor information (from /proc/cpuinfo):

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 4
cpu MHz : 267.275530
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov mmx
bogomips : 267.06

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 4
cpu MHz : 267.275530
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov mmx
bogomips : 266.24

[7.3.] Module information (from /proc/modules):

ppp 18340 0 (autoclean)
slhc 4160 0 (autoclean) [ppp]
serial 41940 1 (autoclean)
memstat 1352 0 (unused)

[7.4.] SCSI information (from /proc/scsi/scsi)

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: QUANTUM Model: VIKING 4.5 WSE Rev: 8808
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-20TS Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-R412C Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02

[7.5.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):

n.a.

[X.] Other notes, patches, fixes, workarounds:

n.a.

---------------------------------------------------------------------------
drs. Yuri Robbers robbers@rulsfb.leidenuniv.nl
Leiden University phone: +31-71-5274966
Institute for Theoretical Biology fax: +31-71-5274900
Kaiserstraat 63
NL-2311 GP Leiden the Netherlands
---------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/