Jump to content



Photo

[Debian] -Longhaul is borken in this configuration


  • Please log in to reply
21 replies to this topic

#1 cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:06

Did some searching around and found the site below which explains a bug and the work around for the message Long Haul is broken in this configuration. Don't even have a clue as to what long haul is, but I do see that message when booting up Wheezy on this junk Everex Impact I have here!

http://womble.decade...ii-systems.html

http://planet-search...s=Ben Hutchings

if you do not currently use the 'longhaul' module, you should blacklist it by creating e.g. /etc/modprobe.d/blacklist-longhaul.conf containing the line:
blacklist longhaul


OK. I admit I'm totally illiterate at what exactly that means and how do it!

HELP, please!!

Thank you


#2 Kreuger

Kreuger

    Neowin's Local Grouch

  • Joined: 29-December 03
  • Location: Ontario, Canada

Posted 23 May 2013 - 16:07

What in the blue hell is longhaul? Anyways, according to the first link it only applies if you have these chipsets: Via C3 and Cyrix III.

#3 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:11

Good question as to what it is and I am working on a Via C3!!

Actually,
It's a C7, I do believe?

#4 Max Norris

Max Norris

    Neowinian Senior

  • Tech Issues Solved: 22
  • Joined: 20-February 11
  • OS: Windows 2012R2, 7, BSD Unix
  • Phone: HTC One (Work) Lumia 1020 (Home)

Posted 23 May 2013 - 16:13

What in the blue hell is longhaul? Anyways, according to the first link it only applies if you have these chipsets: Via C3 and Cyrix III.

Right -- if I recall, Longhaul is a CPU throttling/powersaving setup designed by VIA for a few of the Cyrix/C3 processors.. not sure on C7 but probably.

#5 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 23 May 2013 - 16:16

I have never seen that message, but I have also never used the hardware mentioned in that post. If you really need to blacklist that module on your machine (which is ONLY on VIA C3 and Cyrix III systems) do the following:

sudo -s
touch /etc/modprobe.d/blacklist-longhaul.conf
echo "blacklist longhaul" >> /etc/modprobe.d/blacklist-longhaul.conf
reboot

On a side note, you should consider Ben Hutchings an expert on the Debian kernel. He is one of the principal members of the Debian Kernel Team.

#6 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:19

Any insight as what long haul is before I do anything? I'm still searching around and not finding very much useful stuff, at least to me!

I definitely didn't like what that one link says about it possibly damaging the hardware! Even if it is junk!!

Everything seems to be working all right though.

Thanks

Edit:
Just found this, http://lists.alioth....May/018970.html and is says disable long haul by default.

Author: benh
Date: Thu May 9 01:25:13 2013
New Revision: 20063

Log:
[i386] cpufreq / Longhaul: Disable driver by default (Closes: #707047)

Added:
dists/wheezy/linux/debian/patches/features/all/cpu-devices/cpufreq-Longhaul-Disable-driver-by-default.patch
Modified:
dists/wheezy/linux/debian/changelog
dists/wheezy/linux/debian/patches/series

Modified: dists/wheezy/linux/debian/changelog
==============================================================================
--- dists/wheezy/linux/debian/changelog Thu May 9 00:41:03 2013 (r20062)
+++ dists/wheezy/linux/debian/changelog Thu May 9 01:25:13 2013 (r20063)
@@ -98,6 +98,7 @@
(Closes: #705655)
* bug script: Remove broken sound functions (Closes: #705619)
* [i386/486] udeb: Add lxfb to fb-modules (Closes: #705780)
+ * [i386] cpufreq / Longhaul: Disable driver by default (Closes: #707047)

-- Ben Hutchings <ben at decadent.org.uk> Wed, 27 Mar 2013 14:10:40 +0000


How do I check if it's disabled?

#7 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 23 May 2013 - 16:27

Any insight as what long haul is before I do anything? I'm still searching around and not finding very much useful stuff, at least to me!

I definitely didn't like what that one link says about it possibly damaging the hardware! Even if it is junk!!

Everything seems to be working all right though.

Thanks


Although I have heard of Longhaul before today, Max Norris says that it provides CPU throttling and power management for VIA processors, and Wikipedia seems to back him up.

#8 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:30

Coincidentally,
I just opened synaptics and checked for updates. Although Wheezy has been on this machine for a few days, it just got an update for the Via display driver.


OpenChrome is a project for the development of free and open-source drivers
for the VIA UniChrome video chipsets.

Originally called the 'snapshot' release, since it was a snapshot of an
experimental branch of the unichrome cvs code, this is a continued development
of the open source unichrome driver (from http://unichrome.sf.net) which
also incorporates support for the unichrome-pro chipsets.

Support for hardware acceleration (XvMC) for all chipsets has subsequently
been ripped out of the unichrome.sf.net driver. Therefore your only option if
you wish to make use of the acceleration features of your VIA chip with free
and open-source drivers is to use this version of the driver.

That Wiki says C7 also.

Do I dare use that driver?

#9 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 23 May 2013 - 16:37

Coincidentally,
I just opened synaptics and checked for updates. Although Wheezy has been on this machine for a few days, it just got an update for the Via display driver.


OpenChrome is a project for the development of free and open-source drivers
for the VIA UniChrome video chipsets.

Originally called the 'snapshot' release, since it was a snapshot of an
experimental branch of the unichrome cvs code, this is a continued development
of the open source unichrome driver (from http://unichrome.sf.net) which
also incorporates support for the unichrome-pro chipsets.

Support for hardware acceleration (XvMC) for all chipsets has subsequently
been ripped out of the unichrome.sf.net driver. Therefore your only option if
you wish to make use of the acceleration features of your VIA chip with free
and open-source drivers is to use this version of the driver.

That Wiki says C7 also.

Do I dare use that?


It seems worthwhile to try it. It is exceedingly rare for drivers to permanently damage hardware or firmware (such action is usually the result of a hardware or firmware bug anyway), so the worst that will happen is you will irreparably break your installation and have to reinstall. The driver seems to be in the Debian repository, so proceed at your own risk.

#10 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:42

Thanks for that vote of confidence there! :laugh:

Unfortuantely,
I've had my share of video drivers screwing up my Linux installs in the past and why I'm leary of this!

Does that info I posted above in post #6 mean that Long Haul is disabled by default on this setup?

#11 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 23 May 2013 - 16:50

Maybe, assuming that is still the current configuration. You can find out if it is loaded on your system, though.

modprobe | grep longhaul


#12 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 16:52

This is what I get when running that command regularly and using sudo:


cork@debian:~/Desktop$ modprobe | grep longhaul
bash: modprobe: command not found
cork@debian:~/Desktop$ sudo modprobe | grep longhaul
[sudo] password for cork:
Error: missing parameters. See -h.
cork@debian:~/Desktop$

cork@debian:~/Desktop$ sudo modprobe | grep longhaul -h
Error: missing parameters. See -h.

Assuming that it's either disabled or simply not installed/running?

#13 OP cork1958

cork1958

    Neowinian

  • Tech Issues Solved: 2
  • Joined: 04-October 02

Posted 23 May 2013 - 17:04

Well, here goes that update along with all the others that just came through today!

If I'm not back in a few, you know I'm reinstalling something, maybe!!

Thanks

Edit:
Well, I'm back and didn't have to reinstall anything!! May try that
sudo -s
touch /etc/modprobe.d/blacklist-longhaul.conf
echo "blacklist longhaul" >> /etc/modprobe.d/blacklist-longhaul.conf
reboot

later tonight or tomorrow.

Thanks again!!

#14 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 23 May 2013 - 17:37

This is what I get when running that command regularly and using sudo:


cork@debian:~/Desktop$ modprobe | grep longhaul
bash: modprobe: command not found
cork@debian:~/Desktop$ sudo modprobe | grep longhaul
[sudo] password for cork:
Error: missing parameters. See -h.
cork@debian:~/Desktop$

cork@debian:~/Desktop$ sudo modprobe | grep longhaul -h
Error: missing parameters. See -h.

Assuming that it's either disabled or simply not installed/running?


Oops. That was my fault. I fat fingered the command. The actual command should have been:

lsmod | grep longhaul

The module definitely won't be loaded now because you blacklisted it, meaning that you will not get any output from the command I just posted.

#15 Kreuger

Kreuger

    Neowin's Local Grouch

  • Joined: 29-December 03
  • Location: Ontario, Canada

Posted 24 May 2013 - 04:14

If youre not sure what it is, you likely don't need it.