All of lore.kernel.org
 help / color / mirror / Atom feed
From: Warren Turkal <wt@penguintechs.com>
To: linux-ppp@vger.kernel.org
Subject: linux ppp problem
Date: Mon, 07 Nov 2005 10:00:34 +0000	[thread overview]
Message-ID: <200511070400.34908.wt@penguintechs.com> (raw)

I know this is not a normal use case, but I am hoping that an oops can be 
avoided in this case. I was using a cell phone as /dev/ttyACM0 and the cell 
phone came unconnected. The kernel then oopsed.

It looks like the kernel is removing the ttyACM device before the ppp0 driver 
has a chance to let it go.

If I can do anything else to help, please let me know by CC as I am not a 
member of this list.

Here is the oops from my logs.

Nov  7 03:31:32 localhost kernel: usb 1-2: USB disconnect, address 2
Nov  7 03:31:33 localhost kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 0000000c
Nov  7 03:31:33 localhost kernel:  printing eip:
Nov  7 03:31:33 localhost kernel: c01ad03f
Nov  7 03:31:33 localhost kernel: *pde = 00000000
Nov  7 03:31:33 localhost kernel: Oops: 0000 [#1]
Nov  7 03:31:33 localhost kernel: SMP 
Nov  7 03:31:33 localhost kernel: Modules linked in: ppp_deflate zlib_deflate 
bsd_comp ppp_async crc_ccitt ppp_generic slhc wacom radeon drm binfmt_misc 
rfcomm l2cap bluetooth af_packet ipv6 lp thermal fan button ac battery xfs 
exportfs cdc_acm acpi_cpufreq freq_table processor cpufreq_userspace video 
sbp2 scsi_mod eth1394 pcmcia firmware_class ohci1394 ieee1394 snd_maestro3 
e100 mii yenta_socket rsrc_nonstatic pcmcia_core intel_agp agpgart shpchp 
pci_hotplug snd_intel8x0m snd_ac97_codec snd_ac97_bus snd_pcm_oss 
snd_mixer_oss snd_pcm snd_timer snd uhci_hcd i2c_i801 soundcore i2c_core 
usbcore snd_page_alloc floppy parport_pc parport rtc pcspkr ide_cd serio_raw 
cdrom unix reiserfs dm_mod ide_disk ide_generic generic piix ide_core evdev 
mousedev psmouse
Nov  7 03:31:33 localhost kernel: CPU:    0
Nov  7 03:31:33 localhost kernel: EIP:    0060:[sysfs_hash_and_remove+31/265]    
Not tainted VLI
Nov  7 03:31:33 localhost kernel: EFLAGS: 00010246   (2.6.14-1-686-smp) 
Nov  7 03:31:33 localhost kernel: EIP is at sysfs_hash_and_remove+0x1f/0x109
Nov  7 03:31:33 localhost kernel: eax: eeed0578   ebx: ef610608   ecx: 
c01d8c30   edx: ea09b760
Nov  7 03:31:33 localhost kernel: esi: 00000000   edi: eb269480   ebp: 
c172ec80   esp: ce287e54
Nov  7 03:31:33 localhost kernel: ds: 007b   es: 007b   ss: 0068
Nov  7 03:31:33 localhost kernel: Process pppd (pid: 6809, threadinfoÎ286000 
taskÍ320a70)
Nov  7 03:31:33 localhost kernel: Stack: c171ef00 ee0be8e4 ee0be940 ef610608 
ef610600 eb269480 c172ec80 c0240d82 
Nov  7 03:31:33 localhost kernel:        eeed0578 eb269480 c172ecf4 ef610600 
00000000 c02f6182 00000000 c0240df0 
Nov  7 03:31:33 localhost kernel:        ef610600 ef164d80 f0c3e64f ef610600 
0a600000 ef164d80 f0c3e74a ef164d80 
Nov  7 03:31:33 localhost kernel: Call Trace:
Nov  7 03:31:33 localhost kernel:  [class_device_del+178/272] 
class_device_del+0xb2/0x110
Nov  7 03:31:33 localhost kernel:  [class_device_unregister+16/32] 
class_device_unregister+0x10/0x20
Nov  7 03:31:33 localhost kernel:  [pg0+814159439/1069749248] 
acm_tty_unregister+0x1f/0x70 [cdc_acm]
Nov  7 03:31:33 localhost kernel:  [pg0+814159690/1069749248] 
acm_tty_close+0xaa/0xb0 [cdc_acm]
Nov  7 03:31:33 localhost kernel:  [release_dev+355/1904] 
release_dev+0x163/0x770
Nov  7 03:31:33 localhost kernel:  [page_add_file_rmap+73/96] 
page_add_file_rmap+0x49/0x60
Nov  7 03:31:33 localhost kernel:  [lock_timer_base+36/80] 
lock_timer_base+0x24/0x50
Nov  7 03:31:33 localhost kernel:  [pte_alloc_map+62/224] 
pte_alloc_map+0x3e/0xe0
Nov  7 03:31:33 localhost kernel:  [inotify_dentry_parent_queue_event+82/224] 
inotify_dentry_parent_queue_event+0x52/0xe0
Nov  7 03:31:33 localhost kernel:  [__handle_mm_fault+380/464] 
__handle_mm_fault+0x17c/0x1d0
Nov  7 03:31:33 localhost kernel:  [tty_release+20/32] tty_release+0x14/0x20
Nov  7 03:31:33 localhost kernel:  [__fput+161/400] __fput+0xa1/0x190
Nov  7 03:31:33 localhost kernel:  [filp_close+82/144] filp_close+0x52/0x90
Nov  7 03:31:33 localhost kernel:  [sys_close+121/192] sys_close+0x79/0xc0
Nov  7 03:31:33 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Nov  7 03:31:33 localhost kernel: Code: 90 90 90 90 90 90 90 90 90 90 90 90 55 
57 56 53 83 ec 0c 8b 44 24 20 8b 50 0c 8b 70 54 85 d2 74 7c f0 ff 4a 74 0f 88 
ea 00 00 00 <8b> 46 0c 8d 68 fc 8b 4d 04 0f 18 01 90 83 c6 0c 89 c3 39 f0 89 
Nov  7 03:33:45 localhost kernel:  <6>usb 1-2: new full speed USB device using 
uhci_hcd and address 3
Nov  7 03:33:45 localhost kernel: usb 1-2: configuration #1 chosen from 2 
choices
Nov  7 03:33:45 localhost kernel: cdc_acm 1-2:1.0: ttyACM1: USB ACM device
Nov  7 03:39:11 localhost kernel: usb 1-2: USB disconnect, address 3

wt

             reply	other threads:[~2005-11-07 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 10:00 Warren Turkal [this message]
2005-11-07 22:37 ` linux ppp problem James Cameron
2005-11-07 22:42 ` Warren Turkal
2005-11-07 22:47 ` Warren Turkal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511070400.34908.wt@penguintechs.com \
    --to=wt@penguintechs.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.