Hi

On Wed, May 16, 2007 at 02:55:42PM +0200, Bastian Venthur wrote:
> Am 16.05.2007 14:31 schrieb Ola Lundqvist:
> 
> >>> When did this problem occur?
> >> It happens seldom on normal traffic but quite reproducible on several
> >> machines when downloading large files. It happens not on every attempt,
> >> but often enough to quickly reproduce it.
> > 
> > Do it happen if you send large packets over something else than pptp?
> 
> I'm currently trying hard to reproduce this bug without pptp, so far
> without success. It seems it only happens over pptp.

Ok. In that case I suspect one of the modules ppp_* (you listed them below).

> I'll let you know ASAP when it happens without pptp, since this would
> obviously close this bug.
> 
> >>> What kernel version do you use?
> >>>> Architecture: amd64
> >>>> Kernel:       Linux 2.6.18-4-amd64
> >> It is the current amd64 kernel from Etch.
> > 
> > Ok. One more question, is it using multiple CPU:s or something similar?
> 
> Yes, /proc/cpuinfo shows two Intel Core 2 CPUs (T7200 @ 2.00GHz).

Ok.

> >>> What kernel modules do you have loaded?
> >> The output of lsmod is attached.
> > 
> > In the attached files I could not find any ppp module. I thought you
> > needed that for it to work. The only module related to network traffic
> > I found was e1000... Or is the ppdev the ppp module maybe?
> 
> Sorry my bad, I accidentally lsmod'ed while disconnected from pptp. I've
> attached another lsmod made during a pptp session. This time ppp_mppe,
> ppp_async and ppp_generic are loaded as they always are when starting a
> pptp session.

I see. I suspect that the problem is in one of those three modules.

> > Unfortunatly I do not think you can get any help from strace, or even
> > gdb. What you could use is the following:
> > * A tcpdump (on an external machine) to see exactly what traffic that
> >   passes over the network just before the machine freezes.
> > * Some kind of kernel debug tool.
> 
> I see what I can do, unfortunately I'm not very fit on kernel debugging
> or network sniffing. I could run a network sniffer on the router between
> the laptop and the internet if you could give me some basic jump start
> (which tool, which options, etc).

There are a couple of things to do:
* Do not run in graphic mode. Instead run in text mode, because the kernel
  may print information there.
* In order to sniff the traffic you need the following:
 - An extra Linux PC with tcpdump installed (or the firewall if you can install
   tcpdump there).
 - Access to the traffic. This means that you should use a hub (not a switch)
   or a switch where you can redirect all traffic to a certain port. If you
   have the possibility to install tcpdump on the remote side of the
   laptop then that will of course have access to the traffic as well.
 - On the server run
   tcpdump -n -i ethX
   I think that is enough. You will see all traffic sent back and forth.
   See man tcpdump for more information about options, disc logging etc.
* I'm not that used to kernel debugging myself either but your syslog may
  contain information, or the console if you do not run graphics mode.

> > When the computer freezes. Do it totally freeze without any console
> > output or how do it behave?
> 
> It freezes totally. The screen stays on (shows no errors or something,
> it's just frozen), the keyboard or mouse does not react. The only thing
> you can do is pressing the power button several seconds to shut down the
> machine the hard way.

I see. Please try to be in console mode when you reproduce problem as the
kernel may print things to the console just before it crashes.

Regards,

// Ola

> 
> Cheers,
> 
> Bastian
> 
> -- 
> Bastian Venthur                                      http://venthur.de
> Debian Developer                                 venthur at debian org
> 

> Module                  Size  Used by
> arc4                    6528  2 
> ppp_mppe               11528  2 
> ppp_async              16640  1 
> ppp_generic            33952  6 ppp_mppe,ppp_async
> slhc                   11392  1 ppp_generic
> rfcomm                 47912  0 
> l2cap                  32512  5 rfcomm
> bluetooth              61572  4 rfcomm,l2cap
> nfs                   236216  0 
> nfsd                  256200  17 
> exportfs               10368  1 nfsd
> lockd                  67600  3 nfs,nfsd
> nfs_acl                 8320  2 nfs,nfsd
> sunrpc                166984  13 nfs,nfsd,lockd,nfs_acl
> ppdev                  14088  0 
> parport_pc             41640  0 
> lp                     17736  0 
> parport                44684  3 ppdev,parport_pc,lp
> button                 12192  0 
> ac                     10376  0 
> battery                15496  0 
> autofs4                27912  0 
> ipv6                  285664  22 
> deflate                 8576  0 
> zlib_deflate           24216  1 deflate
> twofish                47744  0 
> serpent                23168  0 
> aes                    31040  0 
> blowfish               13312  0 
> des                    21248  0 
> sha256                 13312  0 
> sha1                    7296  2 
> crypto_null             7296  0 
> af_key                 43540  2 
> dm_snapshot            20664  0 
> dm_mirror              25216  0 
> dm_mod                 62800  2 dm_snapshot,dm_mirror
> fuse                   48944  0 
> speedstep_centrino     12448  2 
> freq_table              9728  1 speedstep_centrino
> cpufreq_ondemand       11920  0 
> ibm_acpi               32928  0 
> fglrx                 463604  8 
> loop                   20112  0 
> tsdev                  13056  0 
> joydev                 15360  0 
> irtty_sir              13440  0 
> sir_dev                22152  1 irtty_sir
> snd_hda_intel          23708  0 
> snd_hda_codec         184192  1 snd_hda_intel
> snd_pcm_oss            48672  0 
> snd_pcm                89096  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> snd_mixer_oss          21888  1 snd_pcm_oss
> snd_seq_dummy           8580  0 
> snd_seq_oss            37248  0 
> snd_seq_midi           13632  0 
> snd_rawmidi            31392  1 snd_seq_midi
> snd_seq_midi_event     12544  2 snd_seq_oss,snd_seq_midi
> snd_seq                59520  6 
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_timer              29192  2 snd_pcm,snd_seq
> snd_seq_device         13204  5 
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
> nsc_ircc               28752  0 
> snd                    65256  10 
> snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> ipw3945               205348  1 
> soundcore              15392  1 snd
> pcmcia                 43672  0 
> irda                  199660  3 irtty_sir,sir_dev,nsc_ircc
> i2c_i801               13076  0 
> psmouse                44432  0 
> snd_page_alloc         14864  2 snd_hda_intel,snd_pcm
> crc_ccitt               6784  2 ppp_async,irda
> i2c_core               27776  1 i2c_i801
> serio_raw              12036  0 
> pcspkr                  7808  0 
> yenta_socket           31884  1 
> rsrc_nonstatic         16384  1 yenta_socket
> pcmcia_core            47012  3 pcmcia,yenta_socket,rsrc_nonstatic
> evdev                  15360  2 
> ieee80211              36680  1 ipw3945
> ieee80211_crypt        11264  1 ieee80211
> firmware_class         15616  2 ipw3945,pcmcia
> intel_agp              29248  1 
> ext3                  138512  2 
> jbd                    65392  1 ext3
> mbcache                14216  1 ext3
> ide_cd                 45088  0 
> cdrom                  40488  1 ide_cd
> sd_mod                 25856  4 
> piix                   15492  0 [permanent]
> ahci                   24708  3 
> libata                106784  1 ahci
> scsi_mod              153008  3 sd_mod,ahci,libata
> ehci_hcd               36104  0 
> generic                11396  0 [permanent]
> ide_core              147584  3 ide_cd,piix,generic
> uhci_hcd               28696  0 
> e1000                 123968  0 
> thermal                20240  0 
> processor              38248  2 speedstep_centrino,thermal
> fan                     9864  0 


-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to