Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-05-02 Thread phickel
OK, I finally got a chance to try 10.04 and I confirm the lockup still
exists.However, the error you report is easily resolved, you missed
one rather poorly documented step.

Use The Synaptic Package Manager to verify you do not have the default
hsolink package loaded.

Also remember
sudo apt-get install build-essential libusb-dev linux-headers-$(uname -r)

On the Pharscape site download the hsolinkcontrol source tarball.
DO NOT use the *.deb or *.rpm package, get and use the *.tgz file

extract the source tarball using tar xzf

then cd into the hsolinkcontrol source directory
./configure
sudo make clean
sudo make
sudo make install

And finally here is the step you missed.

sudo chmod +s `which hsolinkcontrol`

This chmod step sets the suid/sgid bits needed to actually allow
hsolinkcontrol to work, and get rid of the not installed properly -- no
internet control
message.

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-05-01 Thread phickel
I have not tried 10.04 yet, but probably will in the next week or so.
 If I had to guess right now I suspect what you are experiencing is an
artifact of the somewhat publicized Ubuntu elimination of HAL in 10.04.

In 10.04 Ubuntu totally eliminated the Hardware Abstraction Layer (HAL).
   The ozerocdoff function for Option cellular modems is dependant on
HAL to at least some extent.In your second attempt by electing to
upgrade to 10.04 from 9.10 rather than a fresh 10.04 install you
probably left enough residual of the old 9.10 HAL laying around so
ozerocdoff was still working after the upgrade.

Some 9.10 to 10.04 breakage is to be expected.When I do try 10.04,
the first attempt will be to run it from a totally clean fresh 10.04
install with nothing extra remembering to use the Ubuntu native function
they have now to supposedly  replace ozerocdoff ( usb-modeswitch ).

The trick is going to be to get usb-modeswitch to disable the zero cd
before the stupid and never to be sufficiently damned Gnome
Modem-Manager function comes bumbling along and locks the computer.

The problem has always been Gnome Modem Manager has never really
understood how to correctly turn off the zero cd function on Option
Cellular Modems while blindly and incorrectly assuming it knew
everything needed to correctly identify, initialize and control any
modem device.  This faulty assumption proved to be disasterous.

So I will try it with just Ubuntu first, and after exploring every
reasonable means to make it work, then I expect to be forced to go back
to the Pharscape HSO packages and tweak that until it works.


Good luck

Pat Hickel

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-02-02 Thread phickel
Not resolved, but we have isolated the cause to Gnome Network Manager
and Modem Manager, and we do have a workaround.

As a workaround you can go to the following URL

http://www.pharscape.org/Quicksilver.html

There are three packages you will need to download from the Pharscape
site.Don't build/install then yet, just find and download them to a
directory on your system for now.

1) ozerocdoff ( udev.tar.gz )
This uses udev to auto-disable the zero cd on Option devices.

2) hsolink_1.0.118-1_i386.deb
Scripts  stuff needed for the hsoconnect gui tool

3) hsoconnect-1.2.18.tar.gz
The gui tool to control the Quicksilver HSDPA modem.
( Remember Ubuntu 9.10 has python 2.6 so you need the
beta package which is the tarball above not the *.deb )

Remember to get everything needed to build the packages above.
( update: newer versions of the packages above are also OK )

sudo apt-get install build-essential libusb-dev linux-headers-$(uname
-r)

Now we will eliminate the lockup.

Fire up Synaptic package manager find and install the following package

1) wicd

find the following packages in Synaptic and mark for complete removal

1) gnome network manager
( this should have been auto-removed when wicd was installed - verify )

2) modem manager
( This is what actually causes the lockup - mark for complete removal )

This will stop the total system lockup on USB insertion of the
Quicksilver device and replace the Gnome Network Manager / Modem Manager
combination with a usable alternative ( wicd ) which does not suffer
from Delusions of Grandure demanding total control of devices they have
no idea how to operate.

Now to get the Quicksilver running

Read the web pages on the Pharscale site for how to build/install each
of the three packages downloaded above.  NOTE:  To make hsoconnect
successfully manually pre-create the following two directories.

/usr/share/hsoconnect
/usr/share/hsoconnect/hsoc

Build and install the 3 Pharscape downloaded packages in the same order
they were downloaded above.

This will ultimately give you wicd in control of all wired and wifi
network links, while only the hsoconnect package gui tool will be in
control of the ATT Quicksilver 3G GSM/HSDPA modem device and links.

As a final item, the hsoconnect tool works best in combination with the
resolvconf package to manage and maintain the contents of the
/etc/resolv.conf file.   I recommend using synaptic to install the
resolvconf package, or you will end up chasing file permission on the
resolv.conf file which will complicate your hsoconnect usage.

The steps above should get your ATT/Option modem working cleanly and
they have worked for at least 3 other people besides me.

I was never able to get any help on the Gnome Window Manager or Modem
Manager side of this issue.   It could be fixed in a later versions or
whatever, I just do not know.

Pat Hickel

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-01-17 Thread phickel
Curt:

Don't know about Evolution because I use Mozilla Thunderbird, but if I
had to guess, I would almost be willing to bet this will be what you are
looking for, at least from your description of the problem.

Potential fix ===

1) Launch HSOconnect and bring the network up, then open a terminal
window to verify the file permissions on the /etc/resolv.conf file.

ls -l /etc/resolv.conf

If the mode is 600 (-rw--- )rather than the correct 644 
(-rw-r--r-- ) it should be, changing the mode of the file to
it's
proper setting will provide a quick temporary fix.

sudo chmod 644 /etc/resolv.conf

Firefox and Evolution should then work normally without 
requiring
sudo, but as I said this is only a temporary fix.
Every time you bring the network up you would have to change the
file
mode again.

2) If step 1 above temporarily helped, you can elect to install another
package which will provide a permanent fix.

sudo apt-get install resolvconf

I have found the HSOconnect tools work best if you also install the
resolvconf package to maintain and update the contents of the
/etc/resolv.conf file.Without the resolvconf package installed
something in the HSOconnect stuff defaults /etc/resolv.conf to 600 every
time you use HSOconnect which breaks a lot of network things.

As a minimum, I would gracefully shutdown hsoconnect and re-boot after
installing resolvconf, but I don't know if this graceful shutdown and
reboot is actually required.

I don't remember if I re-built and re-installed the HSO packages after I
installed the resolvconf package or not.You may need to have the
resolvconf package already installed when you build and install the HSO
stuff, I just do not remember.

This potential resolvconf fix should help Evolution, Firefox and just
about any other network application.

===

I strongly suspect the above will fix your problem.  If this really is
the problem then the breakage is a lot bigger than just Evolution and
Firefox.

If this does not fix it, I have something else you can try which is
Firefox specific.

Later

Pat Hickel

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-01-17 Thread James King
Pat,

I remember having a ton of DNS issues for a while (they're all cleared
up, but for the life of me I wouldn't be able to tell you how), and
all the resolv.conf stuff sounds all too familiar. I use static DNS
(OpenDNS is a good DNS server, Google has a DNS server too) and I
haven't had any troubles for 3 weeks so far.

James

On Sun, Jan 17, 2010 at 4:23 PM, phickel pat.hic...@comcast.net wrote:
 Curt:

 Don't know about Evolution because I use Mozilla Thunderbird, but if I
 had to guess, I would almost be willing to bet this will be what you are
 looking for, at least from your description of the problem.

 Potential fix ===

 1) Launch HSOconnect and bring the network up, then open a terminal
 window to verify the file permissions on the /etc/resolv.conf file.

        ls -l /etc/resolv.conf

        If the mode is 600 (-rw--- )rather than the correct 644
 (-rw-r--r-- ) it should be, changing the mode of the file to                  
   it's
 proper setting will provide a quick temporary fix.

        sudo chmod 644 /etc/resolv.conf

        Firefox and Evolution should then work normally without                
          requiring
 sudo, but as I said this is only a temporary fix.
        Every time you bring the network up you would have to change the       
  file
 mode again.

 2) If step 1 above temporarily helped, you can elect to install another
 package which will provide a permanent fix.

        sudo apt-get install resolvconf

 I have found the HSOconnect tools work best if you also install the
 resolvconf package to maintain and update the contents of the
 /etc/resolv.conf file.    Without the resolvconf package installed
 something in the HSOconnect stuff defaults /etc/resolv.conf to 600 every
 time you use HSOconnect which breaks a lot of network things.

 As a minimum, I would gracefully shutdown hsoconnect and re-boot after
 installing resolvconf, but I don't know if this graceful shutdown and
 reboot is actually required.

 I don't remember if I re-built and re-installed the HSO packages after I
 installed the resolvconf package or not.    You may need to have the
 resolvconf package already installed when you build and install the HSO
 stuff, I just do not remember.

 This potential resolvconf fix should help Evolution, Firefox and just
 about any other network application.

 ===

 I strongly suspect the above will fix your problem.  If this really is
 the problem then the breakage is a lot bigger than just Evolution and
 Firefox.

 If this does not fix it, I have something else you can try which is
 Firefox specific.

 Later

 Pat Hickel

 --
 USB device insertion causes total system lockup on Ubuntu 9.10
 https://bugs.launchpad.net/bugs/469376
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in Linux Hotplug Scripts: Confirmed
 Status in ModemManager (with NetworkManager support): New
 Status in udev - /dev/ management daemon: Confirmed
 Status in Ubuntu: Confirmed

 Bug description:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

  affects udev

  affects hotplug

  affects ubuntu 9.10

 On two separate systems I have upgraded from 9.04 to 9.10 I get a
 complete, immediate and total system lockup when I install a specific
 device in a USB port.    The device is an ATT Quicksilver GSM/HSDPA
 Cellular modem, on 8.10 and 9.04 systems, lsusb shows the device as Bus
 002 Device 006: ID 0af0:d033 Option.

 On 8.10 and 9.04 systems the device initially shows up as a CDROM
 containing the driver and application software needed on an MS Windows
 box.    There is a linux package ( Ozerocdoff found at
 http://pharscape.org/Quicksilver.html ) from the real device
 Manufacturer Option which uses udev to disable this zerocd and then
 the Option Cellular Modem appears which works with the linux hso kernel
 module.   On a 9.10 system with or without Ozerocdoff installed I get
 the lockup even before the CDROM or Modem appears or is logged.

 The device worked fine in the same systems before the 9.04 to 9.10
 upgrade.  Other USB devices work fine under 9.04 and 9.10.  I have not
 yet tried on a fresh 9.10 install only 9.04 to 9.10 upgrades.

 The lockup is immediate and total.    The only way I have found to
 regain access to the systems is to remove the device, then do a hard
 power cycle.

 I cannot identify or recover any meaningful details from the log files
 in /var/log.

 I would appreciate any clues on how I can capture better debug
 information on this situation.  The immediate and total system lockup
 has me stumped for where to go from here.    I do realize the above is
 insufficient to work with, I am asking for how to capture better
 information for a proper bug report.

 Thank you;

 Patrick Hickel
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 

Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2010-01-14 Thread James King
Curt, I wish I had a solution for you. Pat's workaround was successful
for me. In fact, I'm using the Quicksilver connection right now to
send this.

Ideally, it would seem to me that the GNOME folks would see what's
different between GNOME's tools (network-manager and modem-manager)
and wicd, make the appropriate changes and include the functionality
of HSOconnect in it.

On Thu, Jan 14, 2010 at 11:05 AM, CJohnston cur...@gmail.com wrote:
 I have the same problem, and would greatly appreciate a solution.

 I tried Pat's suggestions in note 8 above, and had to re-install the
 whole system.

 Curt Johnston

 --
 USB device insertion causes total system lockup on Ubuntu 9.10
 https://bugs.launchpad.net/bugs/469376
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in Linux Hotplug Scripts: Confirmed
 Status in ModemManager (with NetworkManager support): New
 Status in udev - /dev/ management daemon: Confirmed
 Status in Ubuntu: Confirmed

 Bug description:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

  affects udev

  affects hotplug

  affects ubuntu 9.10

 On two separate systems I have upgraded from 9.04 to 9.10 I get a
 complete, immediate and total system lockup when I install a specific
 device in a USB port.    The device is an ATT Quicksilver GSM/HSDPA
 Cellular modem, on 8.10 and 9.04 systems, lsusb shows the device as Bus
 002 Device 006: ID 0af0:d033 Option.

 On 8.10 and 9.04 systems the device initially shows up as a CDROM
 containing the driver and application software needed on an MS Windows
 box.    There is a linux package ( Ozerocdoff found at
 http://pharscape.org/Quicksilver.html ) from the real device
 Manufacturer Option which uses udev to disable this zerocd and then
 the Option Cellular Modem appears which works with the linux hso kernel
 module.   On a 9.10 system with or without Ozerocdoff installed I get
 the lockup even before the CDROM or Modem appears or is logged.

 The device worked fine in the same systems before the 9.04 to 9.10
 upgrade.  Other USB devices work fine under 9.04 and 9.10.  I have not
 yet tried on a fresh 9.10 install only 9.04 to 9.10 upgrades.

 The lockup is immediate and total.    The only way I have found to
 regain access to the systems is to remove the device, then do a hard
 power cycle.

 I cannot identify or recover any meaningful details from the log files
 in /var/log.

 I would appreciate any clues on how I can capture better debug
 information on this situation.  The immediate and total system lockup
 has me stumped for where to go from here.    I do realize the above is
 insufficient to work with, I am asking for how to capture better
 information for a proper bug report.

 Thank you;

 Patrick Hickel
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkrt7YcACgkQGcFsRP9ZxTqsmQCfW99eDBuSwZKd1NWfnrdr9NZu
 /KcAnA86BvzDb0k78zJvnfQOIH1e4ia8
 =Q/Vp
 -END PGP SIGNATURE-

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/hotplug/+bug/469376/+subscribe


-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2009-12-28 Thread phickel
I reported this problem quite some time ago, and considering it causes a
total system lockup, I am surprised I cannot seem get anyone interested
to actually do anything to get this fixed, but I have now confirmed what
is actually happening.

In a nutshell, when the USB subsystem detects the Quicksilver modem, it
hands off to the Gnome Network Manager, which in turn hands off to the
new Gnome Modem Manager.The Gnome Modem Manager then grabs the
ttyHS* ports even though it has no idea how to handle the Quicksilver
ttyHS* devices correctly and proceeds to lock up the entire computer in
it's persistant efforts to do exactly the wrong thing.

I have not found a way to tell Gnome Network Manager and/or it's partner
in this abuse Gnome Modem Manager to back off and do not touch the
Quicksilver ttyHS* devices because they obviously do not know how to
handle and control these devices correctly.

A drakonian approach is to simply completely uninstall Gnome Network
Manager and Gnome Modem Manager.However this also eliminates the
good things they do for wired and wifi connections.   Unfortunately I
have not yet found a better way to address this issue.

For some more into on the topic you can check out this URL
 http://www.pharscape.org/forum/index.php/topic,802.0.html
This is the forum for the HSOconnect gui tool for the hso driver.

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 469376] Re: USB device insertion causes total system lockup on Ubuntu 9.10

2009-12-28 Thread phickel
As a workaround you can go to the following URL

http://www.pharscape.org/Quicksilver.html

There are three packages you will need to download from the Pharscape
site.Don't build/install then yet, just find and download them to a
directory on your system for now.

1) ozerocdoff ( udev.tar.gz )
This uses udev to auto-disable the zero cd on Option devices.

2) hsolink_1.0.118-1_i386.deb
Scripts  stuff needed for the hsoconnect gui tool

3) hsoconnect-1.2.18.tar.gz
The gui tool to control the Quicksilver HSDPA modem.
( Remember ubuntu 9.10 had python 2.6 so you need the
beta package which is the tarball above not the *.deb )

Remember to get everything needed to build the packages above.

sudo apt-get install build-essential libusb-dev linux-headers-$(uname
-r)

Now we will eliminate the lockup.

Fire up Synaptic package manager find and install the following package

1) wicd

find the following packages in Synaptic and mark for complete removal

1) gnome network manager
( this should have been auto-removed when wicd was installed - verify )

2) modem manager
( This is what actually causes the lockup - mark for complete removal )

This will stop the total system lockup on USB insertion of the
Quicksilver device and replace the Gnome Network Manager / Modem Manager
combination with a usable alternative ( wicd ) which does not suffer
from Delusions of Grandure demanding total control of devices they have
no idea how to operate.


Now to get the Quicksilver running

Read the web pages on the Pharscale site for how to build/install each
of the three packages downloaded above.  NOTE:  To make hsoconnect
successfully manually pre-create the following two directories.

/usr/share/hsoconnect
/usr/share/hsoconnect/hsoc

Build and install the 3 Pharscape downloaded packages in the same order
they were downloaded above.


This will ultimately give you wicd in control of all wired and wifi
network links, while only the hsoconnect package gui tool will be in
control of the ATT Quicksilver 3G GSM/HSDPA modem device and links.


I have given up any hope of straightening out the Gnome Network Manager
and Modem Manager combination, they have no idea nor it seems any
concern their packages are causing the total lockup of systems, leaving
the only way forward as their complete removal and replacement by wicd.


Pat Hickel

-- 
USB device insertion causes total system lockup on Ubuntu 9.10
https://bugs.launchpad.net/bugs/469376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs