Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-07-01 Thread Valmantas Palikša
Still no-go :( NetworkManager: Activation (tts/USB2) starting connection 'Omni Connect' NetworkManager: (tts/USB2): device state change: 3 -> 4 NetworkManager: Activation (tts/USB2) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager: Activation (tts/USB2) Stage 1 of 5 (Device Prepar

Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-07-01 Thread Dan Williams
On Wed, 2009-07-01 at 16:09 +0300, Valmantas Palikša wrote: > The patch still fails, here's the log: But it looks like we've solved the original problem. What you're running into now is completely different. Try removing everything from /etc/ppp/options and also try setting your provider's APN i

Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-07-01 Thread Valmantas Palikša
The patch still fails, here's the log: NetworkManager: (tts/USB2): found serial port (udev:GSM hal:GSM) NetworkManager: (tts/USB2): new Modem device (driver: 'option') NetworkManager: (tts/USB2): exported as /org/freedesktop/Hal/devices/usb_device_19d2_31_1234567890ABCDEF_if3_serial_usb_0 N

Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-07-01 Thread Dan Williams
On Wed, 2009-07-01 at 11:29 +0300, Valmantas Palikša wrote: > On Tue, 2009-06-30 at 17:51 -0400, Dan Williams wrote: > > On Wed, 2009-06-24 at 22:26 +0300, Valmantas Palikša wrote: > > > Done some digging and found out that NM opens the device twice. This > > > very often leads to kernel panics he

Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-07-01 Thread Valmantas Palikša
On Tue, 2009-06-30 at 17:51 -0400, Dan Williams wrote: > On Wed, 2009-06-24 at 22:26 +0300, Valmantas Palikša wrote: > > Done some digging and found out that NM opens the device twice. This > > very often leads to kernel panics here if the device connects multiple > > times or is pluged/unpluged w

Re: NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-06-30 Thread Dan Williams
On Wed, 2009-06-24 at 22:26 +0300, Valmantas Palikša wrote: > Done some digging and found out that NM opens the device twice. This > very often leads to kernel panics here if the device connects multiple > times or is pluged/unpluged when the descriptor is left open. Probably > some bug in the kern

NM 0.7.1 leaves open fd of /dev/tts/USB2 after disconnect

2009-06-24 Thread Valmantas Palikša
Done some digging and found out that NM opens the device twice. This very often leads to kernel panics here if the device connects multiple times or is pluged/unpluged when the descriptor is left open. Probably some bug in the kernel somewhere.. Kernel: 2.6.30 NM: 0.7.1 Modem: ZTE MF633 (0x19d2 0