* linux ppp problem
@ 2005-11-07 10:00 Warren Turkal
2005-11-07 22:37 ` James Cameron
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Warren Turkal @ 2005-11-07 10:00 UTC (permalink / raw)
To: linux-ppp
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux ppp problem
2005-11-07 10:00 linux ppp problem Warren Turkal
@ 2005-11-07 22:37 ` James Cameron
2005-11-07 22:42 ` Warren Turkal
2005-11-07 22:47 ` Warren Turkal
2 siblings, 0 replies; 4+ messages in thread
From: James Cameron @ 2005-11-07 22:37 UTC (permalink / raw)
To: linux-ppp
I've also seen something like this on 2.6.13.4 using a CDMA modem on
/dev/ttyACM0. I'm not sure what caused the event cascade, but I suspect
it was a provider network disconnection. /dev/ttyACM0 becomes useless
after this happens. Reconnecting the modem causes it to show up as
/dev/ttyACM1, which responds as normal. ppp 2.4.3.
--
James Cameron
http://ftp.hp.com.au/sigs/jc/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux ppp problem
2005-11-07 10:00 linux ppp problem Warren Turkal
2005-11-07 22:37 ` James Cameron
@ 2005-11-07 22:42 ` Warren Turkal
2005-11-07 22:47 ` Warren Turkal
2 siblings, 0 replies; 4+ messages in thread
From: Warren Turkal @ 2005-11-07 22:42 UTC (permalink / raw)
To: linux-ppp
On Monday 07 November 2005 04:37 pm, James Cameron wrote:
> I've also seen something like this on 2.6.13.4 using a CDMA modem on
> /dev/ttyACM0. I'm not sure what caused the event cascade, but I suspect
> it was a provider network disconnection. /dev/ttyACM0 becomes useless
> after this happens. Reconnecting the modem causes it to show up as
> /dev/ttyACM1, which responds as normal. ppp 2.4.3.
I see the same behavior here.
wt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux ppp problem
2005-11-07 10:00 linux ppp problem Warren Turkal
2005-11-07 22:37 ` James Cameron
2005-11-07 22:42 ` Warren Turkal
@ 2005-11-07 22:47 ` Warren Turkal
2 siblings, 0 replies; 4+ messages in thread
From: Warren Turkal @ 2005-11-07 22:47 UTC (permalink / raw)
To: linux-ppp
On Monday 07 November 2005 04:37 pm, James Cameron wrote:
> I've also seen something like this on 2.6.13.4 using a CDMA modem on
I just noticed that the old pppd process is still up, and I can't poff it. I
think the ttyACM0 device is still held open by this pppd process, and that
may be what causes udev to allocate ttyACM1 instead.
wt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-07 22:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 10:00 linux ppp problem Warren Turkal
2005-11-07 22:37 ` James Cameron
2005-11-07 22:42 ` Warren Turkal
2005-11-07 22:47 ` Warren Turkal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).