Re: restarting pppd automatically

2020-12-28 Thread Graham Seaman
On 28/12/2020 09:34, Tixy wrote:
> On Sun, 2020-12-27 at 23:56 +0000, Graham Seaman wrote:
>> I'm having problems with pppd and an intermittent phone line connection. 
>> My external line occasionally drops out, usually briefly (I'm trying to 
>> get this fixed but need a workaround in the meantime). 

> I know this is not what you asked for, and may not work for your use
> case, but how about just preventing pppd stopping in the first place?
> For my system that I set up 10 years ago and is still running, the
> notes I wrote at the time say this:
> 
>Edit /etc/ppp/peers/dsl-provider to add a line saying "maxfail 0";
>after the 'persist' entry is a good place. This should stop pppd
>from timing out when it can't connect.
>
> I did that so my internet connection came back up when the modem
> reconnected after an outage.
> 

That seems to work fine and is a nice simple solution. At any rate, it
works when I just yank the cable out temporarily; now to leave it for a
while to see if it works with the real problem too (maybe a week or two
before I know).

Thank you!

Graham



Re: restarting pppd automatically

2020-12-28 Thread Graham Seaman
Hi Tomas

On 28/12/2020 09:28, to...@tuxteam.de wrote:
> On Sun, Dec 27, 2020 at 11:56:21PM +0000, Graham Seaman wrote:
>> I'm having problems with pppd and an intermittent phone line
> 
> Wow. Memories fading :-)
> 
> OK, my recollection on inittab is a bit dusty, and I have little
> experience with systemd (trying to keep it that way). But I'll
> try a shot at it.
> 
> The idea of inittab was to keep an eye on some processes: when
> they died, they were restarted ("respawn", in inittab parlance).
> 
> This was init's job (thus inittab). Its main customers were
> the login processes. At their other end were serial lines
> attached to terminals (ah, vt220...). A user logged in at
> one of those things, the login handed off to a shell or something,
> when the user logged off the shell terminated, the calling
> login terminated and... respawn.
> 
> Other things followed, typically daemons and... pppd.
> 
> Then came SysV: daemons had to take care of themselves, PID
> files grew like mushrooms all over the place. It was bad
> times. The inittab was still there, mind you, but it was only
> tending to the Linux consoles (tradition perhaps :-) and to
> non-existing serial terminals. My system still has one,
> perhaps yours too.
> 
> Now with systemd, we've turned full circle (unfortunately, with
> seventeen layers of complexity stacked in-between). In theory,
> systemd /should/ be able to do exactly what init used to do
> back then.
> 
> Searching for "inittab systemd" via our favourite search engine
> (no, not that one with the big G) yields a couple of good
> hits. In [1] there's an example on how to translate an inittab
> entry into a systemd unit file.. In [2] you can see where the
> systemd unit files for your serial console live under Debian,
> perhaps there /is/ already something near that for pppd?
> 
> Assuming you are on Buster... the list of files for package
> ppp (where pppd lives) is here [3]. No, no unit for respawn,
> alas. Only one to kick systemd's DNS service on connect and
> disconnect events (/lib/systemd/system/pppd-dns.service).
> 
> Seems like you'll have to fashion one after some /lib/systemd/...tty.service.
> Perhaps there's someone around here who has done that to
> help you out. Tip: don't put it in /lib/systemd/... This
> place os for your distro. Put it somewhere in /etc/systemd/...
> that's for you, the admin. I can't provide details -- no
> experience with that.
> 
> I'd try to file a bug against ppp: they should be providing
> a systemd unit file.
> 
> Cheers
>  - t
> 
> 
> [1] 
> https://forums.opensuse.org/showthread.php/475468-In-search-for-a-inittab-entry-replacement-for-systemd#7
> [2] https://wiki.debian.org/systemd#line-288
> [3] https://packages.debian.org/buster/amd64/ppp/filelist


Thanks for the explanation. I'm filing it away and if Tixy's simple
configuration solution has unexpected side-effects I'll have a go at this.

Cheers

Graham



restarting pppd automatically

2020-12-27 Thread Graham Seaman
I'm having problems with pppd and an intermittent phone line connection. 
My external line occasionally drops out, usually briefly (I'm trying to 
get this fixed but need a workaround in the meantime). When the line 
goes down, I get this sequence:


Dec 27 01:35:03 snoopy pppd[22798]: No response to 4 echo-requests
Dec 27 01:35:03 snoopy pppd[22798]: Serial link appears to be disconnected.
Dec 27 01:35:03 snoopy pppd[22798]: Connect time 6266.2 minutes.
Dec 27 01:35:03 snoopy pppd[22798]: Sent 3838785941 bytes, received 
2059599934 bytes.
Dec 27 01:35:03 snoopy pppd[22798]: restoring old default route to 
enp3s0 [xxx.xxx.xx.xxx]

Dec 27 01:35:09 snoopy pppd[22798]: Connection terminated.
Dec 27 01:35:09 snoopy pppd[22798]: Sent PADT
Dec 27 01:35:09 snoopy pppd[22798]: Modem hangup
Dec 27 01:36:14 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:37:19 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:38:24 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:39:29 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:40:34 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:41:39 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:42:44 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:43:49 snoopy pppd[22798]: Timeout waiting for PADO packets

Dec 27 01:44:54 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:46:00 snoopy pppd[22798]: Timeout waiting for PADO packets
Dec 27 01:46:00 snoopy pppd[22798]: Exit

which I believe is what it is supposed to do, but leaves the connection 
dead when the phone line comes back a minute later. I want pppd to 
restart automatically when it goes down like this, maybe with a couple 
of minutes delay.


According to the pppd documentation on 
https://tldp.org/HOWTO/Leased-Line/pppd.html section 3.2.1 I can do this 
by editing /etc/inittab. But I've never really relearnt how everything 
hangs together since the switch to systemd, and in any case want to stay 
as close as I can to the default debian setup (which is what I have now).


Can anyone tell me what the recommended way to achieve this is now?

Thanks

Graham




Re: Encountered a bug with a dependency of wondershaper, but I'm unsure which dependency, and how to proceed with submitting a bug report

2020-11-18 Thread Graham Bull

On 11/17/20 9:34 PM, Dan Ritter wrote:

Graham Bull wrote:

I've been using wondershaper on Debian Stable for the past couple of years
and it's been excellent.

I got a new pc recently with modern hardware and thus I installed Debian
Testing on it.

I've noticed when I set the same rules within wondershaper on Stable and
Testing, I get different behavior.
Stable acts as expected, low latency and able to hit the limits set.
Testing suffers a lot of latency and I'm only able to reach a fraction of
the limit set.

When I remove the wondershaper rules everything works as expected (I can
max my internet connection on both computers).

I've determined Stable and Testing use the same version of
wondershaper=1.1a-10.

Wondershaper has one dependency:

Stable: iproute2=4.20.0-2
Testing: iproute2=5.9.0-1

iproute2 has around 8 dependencies.

At this point I'm confused about how I should proceed with debugging my
issue.

Any advice of how to collect more info for debugging purposes or how to
proceed would be very much appreciated!

At this point, you might be better served by simply switching to
fq_codel, unless you have a particularly odd network connection.

In my /etc/network/interfaces on the firewall:
 up tc qdisc replace dev eth3 root fq_codel

Wondershaper itself changed a lot after the 1.1 version that Debian
packages; you might want to ping the nominal maintainer and see
if they want to upgrade to 1.4.blah -- or, given the
availability of fq_codel, just drop the package.

-dsr-


fq_codel seems to be a good replacement, thanks for the suggestion.

However I decided to try the upstream version of wondershaper and to my 
surprise it worked perfectly. I then attempted to contact the Debian 
maintainer about upgrading the package but my email sadly bounced back.


I am interested in getting the latest version of wondershaper into the 
Debian repos. If the current maintainer is unreachable do you have any 
ideas on how to proceed?


Graham




Encountered a bug with a dependency of wondershaper, but I'm unsure which dependency, and how to proceed with submitting a bug report

2020-11-17 Thread Graham Bull
Hi all,

I've been using wondershaper on Debian Stable for the past couple of years
and it's been excellent.

I got a new pc recently with modern hardware and thus I installed Debian
Testing on it.

I've noticed when I set the same rules within wondershaper on Stable and
Testing, I get different behavior.
Stable acts as expected, low latency and able to hit the limits set.
Testing suffers a lot of latency and I'm only able to reach a fraction of
the limit set.

When I remove the wondershaper rules everything works as expected (I can
max my internet connection on both computers).

I've determined Stable and Testing use the same version of
wondershaper=1.1a-10.

Wondershaper has one dependency:

Stable: iproute2=4.20.0-2
Testing: iproute2=5.9.0-1

iproute2 has around 8 dependencies.

At this point I'm confused about how I should proceed with debugging my
issue.

Any advice of how to collect more info for debugging purposes or how to
proceed would be very much appreciated!

Regards, Graham


Re: grub update and reinstallation

2020-08-02 Thread Graham Seaman

On 02/08/2020 04:31, Tom Dial wrote:

On 8/1/20 11:09, Graham Seaman wrote:

I already reinstalled grub-pc (using a rescue-usb) , that's how I got
the system booting again. But I don't know if the current grub is
trustable or not.

My experience, now on eight machines, indicates that it should be if the
installed, configured, and used versions of grub components is

2.02+dfsg1-20+deb10u2.

I could be wrong, but here it has been the case for both UEFI (and root
on ZFS) and legacy boot setups, on both i386 and amd64. The only
exception is one root-on-ZFS VM that was slightly broken beforehand and
declines to boot for reasons I am fairly sure are unrelated to grub
installation.

Tom Dial2.02+dfsg1-20+deb10u2


OK, I have 2.02+dfsg1-20+deb10u2 on 2 debian systems which seem to be 
OK. Thanks for confirming!


2.02~beta2-36 seems to be ok on a UEFI ubuntu system.

Graham





Graham



Or get the device name from the debconf database:

readlink -f $(debconf-show grub-pc 2>/dev/null | grep grub-pc/install_devices: 
| cut -d ':' -f2)

Cheers,
Sven





Re: grub update and reinstallation

2020-08-01 Thread Graham Seaman



On 01/08/2020 14:00, Sven Joachim wrote:
> On 2020-08-01 12:23 +0100, Graham Seaman wrote:
> 
>> On 01/08/2020 07:50, Tom Dial wrote:
>>> I have a laptop that became unbootable because
>>> the initial loader failed to find a symbol (grub_calloc) and balked.
>>> Like the one mentioned here, it uses legacy boot. One explanation has it
>>> that this happened because the MBR and the remainder of grub were not
>>> both updated or were updated with slightly incompatible data.
>>>
>>> One fix appears to be to reinstall grub using a rescue CD or another
>>> system. That worked for me.
>>
>> My home server sits in my loft managing comms with the outside world;
>> yesterday it overheated (not a surprise) and went down.
> 
> You should probably open the machine up and clean it. :-)

The outdoor temperature was 38 centigrade; in my loft it was
considerably more. The machine is spotless :-)

> 
>> On reboot
>> after cooling it came back up with the grub_calloc problem, so like
>> Tom I reinstalled after which it appears to be OK.
>>
>> BUT because I have no idea why the original problem occurred, or why a
>> reinstall fixed the problem, I have no idea if this is a permanent
>> fix, or if I have a system which is liable to fail to reboot again in
>> the future. Does anyone know? It's a very simple single drive system
>> with legacy boot.
> 
> In this case the error is quite unlikely to occur, I have no idea why it
> happened for you in the first place.
>

It has happened to quite a range of users in the last week (search for
'grub calloc') - users running ubuntu, lubuntu, debian-mint, vanilla
debian, that I've seen. So I assume its some upstream problem with grub.
Some people seem to think the problem only shows on multi-boot-disk or
raid systems, but that didn't apply in my case.


>> I run it with security updates on auto, and check
>> for other updates manually once a week or so. Should I change this
>> pattern for a while while possible grub problems are sorted upstream?
> 
> I would recommend to run "dpkg-reconfigure grub-pc".  This should bring
> up three dialogues, the last of which asks for the disk(s) to install grub
> on.  On your system this is most likely /dev/sda.
>

I already reinstalled grub-pc (using a rescue-usb) , that's how I got
the system booting again. But I don't know if the current grub is
trustable or not.

Graham


> Or get the device name from the debconf database:
> 
> readlink -f $(debconf-show grub-pc 2>/dev/null | grep 
> grub-pc/install_devices: | cut -d ':' -f2)
> 
> Cheers,
>Sven
> 



Re: grub update and reinstallation

2020-08-01 Thread Graham Seaman



On 01/08/2020 07:50, Tom Dial wrote:

I have a laptop that became unbootable because
the initial loader failed to find a symbol (grub_calloc) and balked.
Like the one mentioned here, it uses legacy boot. One explanation has it
that this happened because the MBR and the remainder of grub were not
both updated or were updated with slightly incompatible data.

One fix appears to be to reinstall grub using a rescue CD or another
system. That worked for me.


My home server sits in my loft managing comms with the outside world; 
yesterday it overheated (not a surprise) and went down. On reboot after 
cooling it came back up with the grub_calloc problem, so like Tom I 
reinstalled after which it appears to be OK.


BUT because I have no idea why the original problem occurred, or why a 
reinstall fixed the problem, I have no idea if this is a permanent fix, 
or if I have a system which is liable to fail to reboot again in the 
future. Does anyone know? It's a very simple single drive system with 
legacy boot. I run it with security updates on auto, and check for other 
updates manually once a week or so. Should I change this pattern for a 
while while possible grub problems are sorted upstream?


Graham






Re: psu or firmware?

2020-07-21 Thread Graham Seaman

On 21/07/2020 04:35, David Wright wrote:


However, this laptop, the lenovo, no longer has a functioning power
regulation. The battery shows full at all times, but if the AC is
interrupted, it's dead. It doesn't help that the connector (a USB-A
look-alike) is loose fitting, so the laptop now has to be a static
desktop, with its power cord twisted and trapped underneath in such
a manner that it can't move around.

It's not worth spending any money on because, after a hard life,
. the touchpad doesn't click any more,
. the screen is coming away from the casing at the hinge, so closing
   or opening it is a delicate operation,
. the USB sockets are about as loose as the power one with some sticks,
. I've had to strap a straightened coathook to the PSU because the
   cable's strain relief has broken, leaving the wires exposed and
   vulnerable. (It's a replacement PSU.)


Wow. That puts mine to shame: I have replaced a dying fan, a dead hard 
drive, and a dead power adaptor so far. But apart from holes in the 
plastic case where the fan grid has given way it's currently all intact 
apart from the faulty regulator or whatever it is. Speed has been a 
problem - I ran gentoo on it for years but switched to debian when the 
hdd died, because compile times were getting too long.



I suppose if push came to shove, and Vostros were common enough, you
might be able get another machine to charge the battery pack for you.


I'm not going to buy another dodgy antique just for that! But its not a 
bad idea in principle: maybe I can find something just as a recharger. 
My wife has a Packard bell bought on the very same day - but 
unfortunately her power regulator has died too. Must be a common fault, 
wonder if it was a particular component problem at the time (you'd think 
there would be more stress on the CPU


Cheers

Graham



Cheers,
David.





Re: psu or firmware?

2020-07-20 Thread Graham Seaman

On 18/07/2020 21:36, Stefan Monnier wrote:


   often for the price of a new battery you are already
a large part of the way towards just getting a newer
system (a raspberry pi might work for some people and
be much better instead).

New batteries for a Dell Vostro 1520 seem to run around $30 (according
to a quick search for "battery dell vostro 1520").

If the machine is used as a kind of server then a small SBC (like an
EspressoBin, or  Pi) might indeed be a good option, but a new
battery is not a large investment.  And while old, a Core 2 Duo is still
pretty competitive against those small boxes.


 Stefan "doing most of his work on a Thinkpad T61"


So the new battery came, precharged to 75%. Left the power in for 30 
minutes, stayed at 75%. Took the power out, dropped to 72% pretty 
quickly. Put the power back in and it stays at 72%. So the motherboard 
is reading the battery power ok but not charging it, although it thinks 
it is, and I have a motherboard fault.


I do use it as a laptop not a server, mainly for browsing and text 
editing, and at home cos its too heavy to lug around. I can carry on 
using it like that just plugged into the adaptor, although the power 
plug is a bit loose and tends to fall out unexpectedly which may well 
eventually leave me with a corrupted hard drive. I either invest in some 
sticky tape to hold it in place or try to peer at the mother board and 
hope I find a popped capacitor or something I have a hope of fixing. 
Sticky tape it is then.


Graham



Re: psu or firmware?

2020-07-18 Thread Graham Seaman



On 18/07/2020 21:47, Stefan Monnier wrote:

New batteries for a Dell Vostro 1520 seem to run around $30 (according
to a quick search for "battery dell vostro 1520").

Adding "site:co.uk" to the query seems to indicate prices are more in
the £40-50 range in the UK.


Most of the ones on Amazon are less than that. I've just bought one for 
£21.99 - a Chinese clone of the original, I imagine. I shall see if that 
does it or it turns out to be an onboard regulator or similar, in which 
case I guess I give up on it.


Graham



Re: psu or firmware?

2020-07-18 Thread Graham Seaman



On 18/07/2020 21:42, rhkra...@gmail.com wrote:

On Saturday, July 18, 2020 04:21:31 PM Graham Seaman wrote:

Where did you find them? All I can find on ebay or elsewhere is AC
adapters (I'm searching on 'dell vostro 1520 psu' or 'dell vostro 1520
power supply', but all the results returned are for adapters, not power
supplies - even when the description says 'power supply' the photo shows
an adapter).

Google for Dell vostro 1520 battery

Of course, don't know why I was being so dumb. Somehow I seem to have 
imagined my laptop was a desktop...


Thanks

Graham





Re: psu or firmware?

2020-07-18 Thread Graham Seaman



On 18/07/2020 13:47, Klaus Singvogel wrote:

Graham Seaman wrote:

I'm running Debian on an old Dell Vostro 1520 - old and slow, but has been
working fine. Recently the PSU has stopped charging. It is genuinely empty;
if I power down and then try to boot with no power cable attached the laptop
is completely dead.

Maybe the CMOS battery empty?


Why would the CMOS battery affect the main battery? (not being sarcastic 
- I really don't know enough about this to know whether it would or not)


Thanks

Graham



Try to measure the voltage, if you're eligible with this.

If low and depending on price for replacement, I would give it a chance.

https://www.parts-people.com/blog/2015/11/05/dell-inspiron-1520-cmos-battery-removal-installation/

Best regards,
Klaus.




Re: psu or firmware?

2020-07-18 Thread Graham Seaman



On 18/07/2020 13:39, Dan Ritter wrote:

Graham Seaman wrote:

I'm running Debian on an old Dell Vostro 1520 - old and slow, but has been
working fine. Recently the PSU has stopped charging. It is genuinely empty;
if I power down and then try to boot with no power cable attached the laptop
is completely dead.

I guess it's most likely this is a hardware failure, but since I'm unlikely
to find a viable replacement for the battery I'm hoping there might be some
firmware or other software change that could account for it.

A quick search shows lots of people selling replacement
batteries from $12 to $60 US, most in the $20-25 range.


Where did you find them? All I can find on ebay or elsewhere is AC 
adapters (I'm searching on 'dell vostro 1520 psu' or 'dell vostro 1520 
power supply', but all the results returned are for adapters, not power 
supplies - even when the description says 'power supply' the photo shows 
an adapter).


I'm in the UK, so looking for UK suppliers - don't know if that makes a 
difference.


Thanks

Graham







A secret of many laptop batteries, including this one, is that
the battery is largely a container to hold 18650 lithium battery
cells, which can be purchased separately.

Now, if the motherboard charging circuitry is toast, this won't
work, and you should consider a new machine.

-dsr-





psu or firmware?

2020-07-18 Thread Graham Seaman
I'm running Debian on an old Dell Vostro 1520 - old and slow, but has 
been working fine. Recently the PSU has stopped charging. It is 
genuinely empty; if I power down and then try to boot with no power 
cable attached the laptop is completely dead.


I guess it's most likely this is a hardware failure, but since I'm 
unlikely to find a viable replacement for the battery I'm hoping there 
might be some firmware or other software change that could account for it.


upower -i /org/freedesktop/UPower/devices/battery_BAT1

  native-path:  BAT1
  vendor:   Dell
  serial:   11
  power supply: yes
  updated:  Sat 18 Jul 2020 12:34:19 BST (39 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
    present: yes
    rechargeable:    yes
    state:   charging
    warning-level:   none
    energy:  0 Wh
    energy-empty:    0 Wh
    energy-full: 37.81 Wh
    energy-full-design:  48.84 Wh
    energy-rate: 0 W
    voltage: 9.306 V
    percentage:  0%
    capacity:    77.4161%
    technology:  lithium-ion
    icon-name:  'battery-caution-charging-symbolic'

/var/log/messages says:

Jul 17 14:53:50 argos kernel: [   21.858825] iTCO_vendor_support: 
vendor-support=0
Jul 17 14:53:50 argos kernel: [   21.868799] iTCO_wdt: Intel TCO 
WatchDog Timer Driver v1.11
Jul 17 14:53:50 argos kernel: [   21.869780] iTCO_wdt: Found a ICH9M TCO 
device (Version=2, TCOBASE=0x0460)
Jul 17 14:53:50 argos kernel: [   21.869983] iTCO_wdt: initialized. 
heartbeat=30 sec (nowayout=0)
Jul 17 14:53:50 argos kernel: [   22.114275] dcdbas dcdbas: Dell Systems 
Management Base Driver (version 5.6.0-3.2)
Jul 17 14:53:50 argos kernel: [   22.227213] battery: ACPI: Battery Slot 
[BAT1] (battery present)
Jul 17 14:53:50 argos kernel: [   22.665955] intel_powerclamp: No 
package C-state available


Is any of that helpful for working out what might be wrong?

Thanks for any advice

Graham



kde, localization and keyboards

2020-03-08 Thread Graham Seaman
I've previously used either Gnome or Enlightenment as my main 
environment; I just installed Debian on an old laptop and decided to 
give KDE a go instead. I often want to switch keyboard briefly to do a 
bit of text editing with non-english characters (pt, de, ru). I don't 
ever want to change localization away from GB English. In Gnome I could 
do this: switching keyboard had no effect on localization. In KDE I get 
randomly switch between localizations: for example, I just ran apt 
install, and the first half of the messages were in Portuguese, then it 
suddenly switched to German, with no input from me. The only 
localizations I get match the keyboards I've set up (though I'm not 
switching keyboard). I've removed all languages except British English 
from Settings->language->configure plasma translations.


Any suggestions for how to fix this? Is there a configuration option I'm 
missing?



Graham



Re: help with gitlab on buster

2020-02-18 Thread Graham Seaman



On 17/02/2020 22:41, David Wright wrote:

On Mon 17 Feb 2020 at 15:27:06 (+), Graham Seaman wrote:

I hadn't thought of running a VM clone of the server - might be
generally useful. But the server's main jobs are as a router,
firewall, dnsmasq, mail server, which is where the main problems
usually are in upgrades, and I think it would be hard to duplicate the
low-level comms stuff meaningfully in a VM

Would it be possible to run a live stretch system (or install one)
on another machine, onto which you copy the files from your server.
You should be able to install a version of gitlab old enough to
handle your old data. (If necessary, for stretch, read jessie.)

You might not know which non-Debian files *are* necessary for gitlab
to run but presumably you know which trees of files you *don't* need
on this system: anything to do with the "main jobs" you mentioned,
for example.

I decided John Doe was right, and gitlab is really overkill for what I 
need and likely to lead to extra work every time there's an upgrade as 
well (rails based apps always seem to have been a problem for me that 
way).  So I've extracted the git data and abandoned the gitlab part, and 
now I'm just using git from the command line, which is mostly what I was 
doing anyway. I might look at using gitweb in the future if I feel a 
need to get a web frontend back.


Graham





Re: help with gitlab on buster

2020-02-17 Thread Graham Seaman

On 17/02/2020 06:30, john doe wrote:

On 2/16/2020 11:45 PM, Graham Seaman wrote:


Of course, though this would be easier if I was more sure where
everything was. But the data's no use without the software to read it.


https://docs.gitlab.com/ee/raketasks/backup_restore.html
Thanks - bit embarassing I didn't know that existed (I don't think there 
was a backup option when I first installed it). But I've done pretty 
much the same, but manually - rsyncing off the data files, psql_dump, etc.

Don't Gitlab has some kind of forum/mailing list?


Yes, it has many forums. I was just hoping someone working on the debian 
side might pick up on this - the debian layout seems rather different 
from the vanilla one(s), though maybe just because the version I had was 
so old.



This will not help you for now but the following could be useful in the
future:

If you have VMs available, I would suggest you to have a clone of your
production "server" and to first on this VM how the upgrade process goes.


I hadn't thought of running a VM clone of the server - might be 
generally useful. But the server's main jobs are as a router, firewall, 
dnsmasq, mail server, which is where the main problems usually are in 
upgrades, and I think it would be hard to duplicate the low-level comms 
stuff meaningfully in a VM



Also, Gitlab seems overkill in your situation, if you need Git, simply
use the Git package and a frontend if you like.


Definitely. I think I might abandon gitlab and go with something much 
simpler like gitweb. Ideally something I'm sure will be long-term 
supported.



As I don't use Gitlab myself, that's all I can help you with.


Kind of you to reply as a non-gitlab user! Thanks.

Graham



--
John Doe





Re: help with gitlab on buster

2020-02-16 Thread Graham Seaman



On 14/02/2020 17:39, john doe wrote:

On 2/14/2020 5:42 PM, Graham Seaman wrote:

I run a debian house server for firewall, routing etc. The last few
years I've also run gitlab on it, which I use to manage text files I
work on from an assortment of laptops/PCs; I have a lot of these files
(currently around 12 Gb) and really don't want to lose them. After the
initial setup I didn't do anything with the gitlab code and don't even
remember what version it was.

So this week, without thinking particularly about gitlab, I upgraded
from stretch to buster. No complaints during the upgrade, but gitlab no
longer worked (now dependent on a directory called 'embedded' which I
don't have). So I followed the recommendation on
https://wiki.debian.org/gitlab to update gitlab using buster-fastrack.
This installed an alarmingly huge number of ruby and node dependencies,
then failed informing me that I the database changes were too big to go
straight from my old version to the current debian one, and that I need
to transition through version 11.11.0 first.

There is no debian package for this, and 11.11.0 is only available from
gitlab.com as a docker install, but I'm running directly on my host.


Cant' you use docker on an other host, for example, in a VM?
I've tried that, but never having used docker before found I was just 
mystified at how to use the install to reformat the existing data, as 
would happen during a normal upgrade. I think this route is probably a 
dead end for me, I just don't have the knowledge to do it.

Can anyone suggest how to get myself a working gitlab again. without
losing the current data? I could live with a command-line only version,
if I couldn't get the web side working again.


First off, backup your data! :)


Of course, though this would be easier if I was more sure where 
everything was. But the data's no use without the software to read it.



Basically, my idea would be to find a way to follow the correct upgrade
procedure.


I've found that version 11.11.8 is available from fasttrack.debian.org. 
Not quite the one (11.11.0) the upgrade process advised to use, but 
maybe close enough - I can't find any older versions.  This fails with 
two dependencies on old packages, ruby-prof, which I've now downgraded 
ok, and ruby-gitaly-proto, which I can't find a trace of anywhere.


'apt-cache madison ruby-gitaly' returns

golang-gitaly-proto | 0.123.0+dfsg-2 | http://ftp.uk.debian.org/debian 
buster/main Sources


I don't suppose this golang version would satisfy the dependency, but it 
doesn't install anyway:


 apt install golang-gitaly-proto=0.123.0+dfsg-2 returns 'Unable to 
locate package golang-gitaly-proto'.


So I'm stuck on this route too. Any suggestions? Although I've been 
using debian for ages (thanks everyone) it's very much only as an end 
user, and since normally upgrades 'just work' for me I get really 
unstuck when I run into quite basic upgrade problems.


Graham



--
John Doe





help with gitlab on buster

2020-02-14 Thread Graham Seaman
I run a debian house server for firewall, routing etc. The last few 
years I've also run gitlab on it, which I use to manage text files I 
work on from an assortment of laptops/PCs; I have a lot of these files 
(currently around 12 Gb) and really don't want to lose them. After the 
initial setup I didn't do anything with the gitlab code and don't even 
remember what version it was.


So this week, without thinking particularly about gitlab, I upgraded 
from stretch to buster. No complaints during the upgrade, but gitlab no 
longer worked (now dependent on a directory called 'embedded' which I 
don't have). So I followed the recommendation on 
https://wiki.debian.org/gitlab to update gitlab using buster-fastrack. 
This installed an alarmingly huge number of ruby and node dependencies, 
then failed informing me that I the database changes were too big to go 
straight from my old version to the current debian one, and that I need 
to transition through version 11.11.0 first.


There is no debian package for this, and 11.11.0 is only available from 
gitlab.com as a docker install, but I'm running directly on my host.


Can anyone suggest how to get myself a working gitlab again. without 
losing the current data? I could live with a command-line only version, 
if I couldn't get the web side working again.


Thanks for any advice

Graham








Missing linux-headers-4.7.8-1~bpo8+1

2017-01-08 Thread Graham McNeil-Watson
I'm having trouble getting VirtualBox to work on Debian on my laptop:
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: UX305CA
Version: 1.0

| $ VirtualBox
| WARNING: The character device /dev/vboxdrv does not exist.
| Please install the virtualbox-dkms package and the appropriate
| headers, most likely linux-headers-amd64.
|
| You will not be able to start VMs until this problem is fixed.
| Gtk-Message: Failed to load module "canberra-gtk-module"

I've searched this and it seems to be caused by missing kernel headers. So
I've tried:

| $ sudo apt-get install linux-headers-generic
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Package linux-headers-generic is not available, but is referred to by
another package.
| This may mean that the package is missing, has been obsoleted, or
is only available from another source
|
| E: Package 'linux-headers-generic' has no installation candidate

I believe this is likely related to the fact I'm using a backported 4.x
kernel to support my wifi::

| $ uname -a
| Linux redacted 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1
(2016-10-19) x86_64 GNU/Linux

| $ apt-cache policy linux-image-4.7.0-0.bpo.1-amd64-unsigned
| linux-image-4.7.0-0.bpo.1-amd64-unsigned:
|   Installed: 4.7.8-1~bpo8+1
|   Candidate: 4.7.8-1~bpo8+1
|   Version table:
|  *** 4.7.8-1~bpo8+1 0
| 100 /var/lib/dpkg/status

However I cannot find the corresponding headers e.g.:

| $ apt-cache search linux-headers-4.7
| linux-headers-4.7.0-1-common-grsec - Common header files for Linux
4.7.0-1-grsec
| linux-headers-4.7.0-1-grsec-amd64 - Header files for Linux
4.7.0-1-grsec-amd64

neither of which look like the right version. This is my
/etc/apt/sources.list:

| # deb http://ftp.uk.debian.org/debian/ jessie main
|
| deb http://ftp.uk.debian.org/debian/ jessie main non-free contrib
| deb-src http://ftp.uk.debian.org/debian/ jessie main non-free contrib
|
| deb http://security.debian.org/ jessie/updates main contrib non-free
| deb-src http://security.debian.org/ jessie/updates main contrib non-free
|
| # jessie-updates, previously known as 'volatile'
| deb http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
| deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib
non-free
|
| # for 4.x kernel
| deb http://ftp.de.debian.org/debian experimental main
| deb-src http://ftp.de.debian.org/debian experimental main
|
| deb http://ftp.debian.org/debian jessie-backports main
| deb-src http://ftp.debian.org/debian jessie-backports main
|
| #deb http://security.debian.org testing/updates main

Searching on debian.org for linux-headers-4.7 didn't return anything
either. Can anyone shed any light on why I can find the kernel image but
not the sources for this version? (I've not used a backport before so not
very familiar with how the versioning works.)

Many thanks,

--
Graham


Re: networking stopped after upgrade

2015-11-05 Thread Graham Seaman
This turned out to be a hardware problem after all - short in an
ethernet cable. Though I don't understand how I got quite the symptoms I
did, it has now all been working for a couple of days so I guess that
was it.

Graham

On 03/11/15 15:33, Graham Seaman wrote:
> On 03/11/15 15:15, Renaud (Ron) OLGIATI wrote:
>> On Tue, 3 Nov 2015 12:49:44 +
>> Graham Seaman  wrote:
>>
>>> For some years I've been using a debian system as my household
>>> firewall/router. It's been sitting quietly working without any major
>>> changes, but has suddenly stopped doing so following my last aptitude
>>> update/upgrade.
>>  
>>> Any suggestions?
>> Why not use a dedicated firewall distribution, like IPCop ?
> The same machine also acts as my mail server, backup manager, etc.
> Because of that I'm fairly desperate to get it back up as soon as
> possible (all my real mail is currently bouncing while I'm stuck on
> yahoo-mail).
>
> There's also a more general kind of philosophical point: I started using
> Linux because I hated the approach that says 'software is too complex
> for normal people; if software fails, throw your device away and get a
> new one'. In practice over  time my understanding of it has got less,
> not more - I've been completely left behind since the start of systemd,
> which I suspect may have something to do with my current problems. All
> the same, I still feel that with some help everything ought to be fixable.
>
> Graham
>
>
>>  
>> Cheers,
>>  
>> Ron.



Re: networking stopped after upgrade

2015-11-03 Thread Graham Seaman
On 03/11/15 15:15, Renaud (Ron) OLGIATI wrote:
> On Tue, 3 Nov 2015 12:49:44 +
> Graham Seaman  wrote:
>
>> For some years I've been using a debian system as my household
>> firewall/router. It's been sitting quietly working without any major
>> changes, but has suddenly stopped doing so following my last aptitude
>> update/upgrade.
>  
>> Any suggestions?
> Why not use a dedicated firewall distribution, like IPCop ?
The same machine also acts as my mail server, backup manager, etc.
Because of that I'm fairly desperate to get it back up as soon as
possible (all my real mail is currently bouncing while I'm stuck on
yahoo-mail).

There's also a more general kind of philosophical point: I started using
Linux because I hated the approach that says 'software is too complex
for normal people; if software fails, throw your device away and get a
new one'. In practice over  time my understanding of it has got less,
not more - I've been completely left behind since the start of systemd,
which I suspect may have something to do with my current problems. All
the same, I still feel that with some help everything ought to be fixable.

Graham


>  
> Cheers,
>  
> Ron.



networking stopped after upgrade

2015-11-03 Thread Graham Seaman
Hi

For some years I've been using a debian system as my household
firewall/router. It's been sitting quietly working without any major
changes, but has suddenly stopped doing so following my last aptitude
update/upgrade.

Server eth0 is connected to my modem, and eth1 is connected to internal
devices, using iptables to nat them and dnsmasq to provide internal
naming. The first symptom after upgrade was that ifconfig showed that
eth1 had no packets passing through (none transmitted, received or
dropped), although eth0 and the external internet connection worked
fine. I tried rebooting - no change. I tried restarting
/etc/init.d/networking, which caused the symptoms to reverse: now eth1
works, internal traffic is fine, but absolutely nothing is happening on
eth0. It's now stuck like this and I haven't been able to get eth0 to
work again whatever I do.

ifconfig shows eth0 is configured correctly (ip address, netmask, etc)
and route shows the gateway is ok. dmesg doesn't show any obvious
problems. But there are no packages moving through eth0 at all. Since I
initially had this symptom with eth1, which now works, I guess hardware
problems are ruled out.

This is Debian 8.2, uname says 3.16.7-ckt11-1+deb8u5 (2015-10-09)

My /etc/networks/interface goes;
#
auto eth0
iface eth0 inet static


auto eth1
iface eth1 inet static


auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider
#

I'd made no changes at all to any configuration files before this setup
stopped working, and it had previously worked unchanged for a long time.

Any suggestions?

Thanks
Graham



Re: Brazilian portuguese keyboard and accented characters (á, ç, ã)

2015-09-23 Thread Michael Graham
Hi,

Sounds like you had one of the English layouts with dead keys enabled
on your other laptop.  In Gnome you can just add the extra layouts
under Settings -> Region & language -> input sources.

HTH,

On 23 September 2015 at 11:15, Markos  wrote:
> Hi
>
> I just installed Jessie in an IBM ThinkPad X60.
>
> When I select the Keyboard "en" the keys work properly but can not generate
> non-English characters or accented characters, such as ç, ã  or á.
>
> At another laptop (ThinkPad Z61) I type:
>
> ' + c -> ç
> ' + a -> á
> ~ + a -> ã
> ...
>
> How to configure the IBM ThinkPad X60 keyboard to do the same?
>
> Thanks,
> Markos
>



-- 
Michael Graham 



backuppc plus smbclient in jessie

2015-06-15 Thread Graham Seaman
Hi

I have an elderly machine which has been successfully running backuppc,
mainly with linux clients but including use of smb to backup Windows
hosts. I recently upgraded from squeeze to wheezy and found that
backuppc no longer worked correctly with smbclient: the backup
terminates with no warning or error messages after copying the first few
directories from a Windows C$ share; in particular it copies none of the
User directories. Googling convinced me there was a problem with the 3.6
series of smbclient when used with backuppc, and I upgraded from wheezy
to jessie to get the latest version of everything.

I still have the same problem. I'm now running  smbclient 4.1.7 and
backuppc 3.3.0-2. The bug description in reports like:

https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1381494

still seem to describe my symptoms. The suggestion in that particular
bug report is to downgrade smbclient to 3.5, which I'm reluctant to do
as I'm using debian to minimize my maintenance, and don't actually know
how to run old versions of software without creating a maze of
dependency problems... Has anyone else run into this problem and found a
solution other than going back to really old software versions?

Thanks

Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/557eb24c.3080...@theseamans.net



Re: ssh hangs for 5 seconds for a particular machine

2015-04-08 Thread Michael Graham
On 8 April 2015 at 13:41, Vincent Lefevre  wrote:
> # /usr/sbin/sshd -D -ddd -p 80 -f /etc/ssh/sshd_config 2>>(ts -s "%.s")
> [...]
> 3.315346 debug3: Trying to reverse map address 140.77.51.8.

So sshd is doing the reverse lookup and fails

> ypig:~> nslookup 140.77.51.8
> ;; Got SERVFAIL reply from 140.77.1.32, trying next server
> Server: 140.77.167.2
> Address:140.77.167.2#53
>
> ** server can't find 8.51.77.140.in-addr.arpa: SERVFAIL
>
> immediately. On another machine:
>
> cassis:~> nslookup 140.77.51.8
> ;; Got SERVFAIL reply from 140.77.1.32, trying next server
> ;; Got SERVFAIL reply from 140.77.167.2, trying next server
> Server: 140.77.51.20
> Address:140.77.51.20#53
>
> 8.51.77.140.in-addr.arpaname = domu-ssh.ens-lyon.fr.
>
> So, yes, there's something broken with the DNS here. But this doesn't
> explain the delay from sshd.

And the reverse lookup from nslookup fails.. DNS is broken.

You probably want to add (or modify) the UseDNS setting to your sshd
config file.

UseDNS Specifies whether sshd(8) should look up the remote host name
and check that the resolved host name for the remote IP address maps
back to the very same IP address.  The default is “yes”.

Cheers,
-- 
Michael Graham 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhz6o2khjpsbbn1_55mz27gsksjn-wae8dpm3qggshq...@mail.gmail.com



Re: Redirect HTTPS with Squid3+Squidguard

2015-03-26 Thread Michael Graham
On Thu, 26 Mar 2015 17:18 Reco  wrote:


>
>  Hi.
>
> On Thu, 26 Mar 2015 12:44:11 -0700
> rog...@queernet.org  wrote:
>
> > On 3/26/15 12:42 PM, Michael Graham wrote:
> > > On 26 March 2015 at 14:18, Reco  wrote:
> > >> Then it's even worse that I thought. I don't know about Germany, but
> > >> where I live tampering with public communications is considered a
> > >> criminal offense. I strongly suggest you to seek a legal advice
before
> > >> doing anything like SSL bump.
> > > Just out of curiosity where do you live?  As MITM proxies in
school/business
> > > seem to be pretty common in the US and the UK.
> > >
> >
> > I bet your proxy firewall does it too.
>
> Ow. Exactly which kind of consumer-grade hardware comes with SSL bump
> preinstalled? That's very interesting to me as I like know which
> hardware to avoid in the future.

 It's way more common than you seem to think. CERT recently did a blog post
about it and it contains a list of both hardware vendors (like Bloxx and
bluecoat) as well as commercial and free software.

http://www.cert.org/blogs/certcc/post.cfm?EntryID=221

Basically if you're selling a web filter or similar security device, you
let admins bump SSL.

Given how easy it is for those same admins to push the fake SSL CAs out
over active directory group policy it's pretty much transparent to most
naive users who don't understand the difference between https and http
never mind trying to explain a MITM proxy with a fake root CA!

Cheers,


Re: Redirect HTTPS with Squid3+Squidguard

2015-03-26 Thread Michael Graham
On 26 March 2015 at 14:18, Reco  wrote:
> Then it's even worse that I thought. I don't know about Germany, but
> where I live tampering with public communications is considered a
> criminal offense. I strongly suggest you to seek a legal advice before
> doing anything like SSL bump.

Just out of curiosity where do you live?  As MITM proxies in school/business
seem to be pretty common in the US and the UK.

Cheers,
-- 
Michael Graham 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhxmebn0utn0h+nv2xw4ad5t4mr-6qovlv4aes7wyqs...@mail.gmail.com



Re: IPv6 duplicate address detection (DAD)

2015-03-25 Thread Michael Graham
On 25 March 2015 at 05:57, Sven Hartge  wrote:
> No, there is not chance of a collision. If DAD thinks there is another
> device with the same address (and hence MAC) then there _is_ another
> device with the same address or another anomaly (network loop, like you
> already wrote).
>
> Using a sniffer to clearly see, what is going on would also be my next
> step in diagnosing this.

There are no other devices on the network just me and my AP, I don't have
a loop in my network either, I don't see duplicate packets for anything else.
But I will check this when I get home just in case.

The DAD has in the past triggered issues in Debian because the ifupdown
scripts weren't for the IPv6 address to transition from tentative [1].

For now I've decided this is an issue with NetworkManager and raised an
issue [2], hopefully the devs can get to the bottom of this.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705996
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781143

Cheers,
-- 
Michael Graham 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhyida0w+jt16gn2wifbtukgjg8zhhx6nrdfvmu8yrg...@mail.gmail.com



IPv6 duplicate address detection (DAD)

2015-03-24 Thread Michael Graham
Hi all,

I've been trying to understand what I should do about my current IPv6 wows.

I have an IPv6 enabled network but when on a clean boot I don't get an IPv6
address (in Jessie BTW), I've tracked this down to this message in dmeg:

IPv6: wlan0: IPv6 duplicate address fe80::fef8:aeff:fe7b:115f detected!

And can now get an IPv6 address on my laptop by disabling doing:

echo 0 | sudo tee /proc/sys/net/ipv6/conf/*/accept_dad

However, I don't know what to do next... this seems like a bug.  But I have
no idea what package is should raise it against? Is it ifconfig,
networkmanager, linux, systemd?


Re: [OT?]Squeeze: update Flashplugin?

2015-02-10 Thread Michael Graham
On 10 February 2015 at 10:42, Brad Rogers  wrote:
> If you only updated the flashplayer, without clearing the copy Ff was
> already using from RAM, then of course it's going to continue using the
> old version.
>
> All you needed to do was stop/restart Ff.

A reboot never fixed it but the crazy rename trick did. No idea how it
fixed it but restarting wasn't enough.

-- 
Michael Graham 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhw7tmw-jouzpdcbyjpbhcaffgnn7uju8xs2h3byhsx...@mail.gmail.com



Re: [OT?]Squeeze: update Flashplugin?

2015-02-10 Thread Michael Graham
I managed to fix my issue but I suspect that it was more of a
coincidence than anything else.  I move the file out of the way,
restarted firefox, confirmed in about:plugins that the plugin was
gone, moved the file back, restarted firefox. Ta da!

Does firefox have a cache of the details somewhere that this magic
trick has caused to reload?  In any case the issue is gone.

On 10 February 2015 at 09:50, Curt  wrote:
> On 2015-02-10, David Wright  wrote:
>> Quoting Curt (cu...@free.fr):
>>>
>>> I updated to the latest version but still get security warnings (and
>>> have to click on "allow" or something of the kind).
>>
>> I rather enjoy this misfeature. It means I can click around those
>>
>
> That's what I said (in so many words).
>
>
> --
>
> "Anything incomprehensible has a sexual significance to many people under 35."
>
> — Zelda Fitzgerald
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/slrnmdk6kq.27v.cu...@einstein.electron.org
>



-- 
Michael Graham 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC2SvHwfbG+2-Nmg2UEwfOOjTSMLcVFqtRjKETMQ-=fzgub...@mail.gmail.com



Re: [OT?]Squeeze: update Flashplugin?

2015-02-09 Thread Michael Graham
Somewhat related to this, I've been having a problem where my system reports:

$ sudo update-flashplugin-nonfree --status
Flash Player version installed on this system  : 11.2.202.442
Flash Player version available on upstream site: 11.2.202.442

But Iceweasel is still reporting the previous version:

File: libflashplayer.so
Path: /usr/lib/flashplugin-nonfree/libflashplayer.so
Version: 11.2.202.440
State: Enabled (STATE_VULNERABLE_UPDATE_AVAILABLE)
Shockwave Flash 11.2 r202

Does anyone have a clue what is going on?

Thanks,


On 9 February 2015 at 12:41, Curt  wrote:
> On 2015-02-09, Hans  wrote:
>>
>> I believe "dpkg-reconfigure flashplugin-nonfree" will download and install 
>> the
>> latest flashplugin from adobe.
>>
> I thought the command was
>
>  update-flashplugin-nonfree --install
>
> Maybe it's six of one, half a dozen of the other.
>
> However, I remember something about updating not working properly anymore
> (for reasons I cannot retrieve from my ageing mind), inciting people to
> go directly to Adobe's site to download the tarball (which is what I
> have done ever since the problem appeared).
>
> --
>
> "Anything incomprehensible has a sexual significance to many people under 35."
>
> — Zelda Fitzgerald
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/slrnmdhs9i.2ev.cu...@einstein.electron.org
>



-- 
Michael Graham 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhz3ugip4ex3uzf_o91ogmmc4xhnzkmawnmcgdwzfws...@mail.gmail.com



Debian on iBook G4 Running OSX Tiger

2014-12-27 Thread Graham Todd
I have recently obtained a Mac iBook G4 running OSX Tiger, and after
very good experiences
using Debian on a Windows laptop, I tried to get my head round the
instructions without success, I wonder if some kind soul could give me
easy instructions on how to install it on a Mac iBook G4.

I dont have any Tiger installation disks and I'm not sure if any
specific versions of Debian are required. I intent to partition the
hard drive for Debian only.

Can this be done and can easily understood instructions be referred to
to help me?
-- 

Graham Todd


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caetoh1o8cuqgrpth6a6jvg0j95m4upbwj6t-iw2qi4-jcph...@mail.gmail.com



Slow graphics performance in Gnome 3.14

2014-11-08 Thread Michael Graham
Hi all,

I've been trying to track down why games on my laptop have become
unplayable in the last few months and it seems to be an issue with
Gnome.  In older versions of Gnome I was able to play games no problem
but now the load in gnome-shell just shoots up.  Switching to a
simpler DM (I use blackbox) and the problem will go away.

For a simple example if I run glxgears in Gnome I see gnome-shell
switch from using <1% CPU in top to around 7-8% CPU (worse if I move
the window around).  If I do the same thing with a game running the
same thing happens only much worse.  I've tried the normal google
searches but nothing useful has come up, although I did read about
unredirecting which I don't know how to tell is happening or not.

Here's some info on my laptop if it's useful:

Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
NVIDIA Corporation GK107M [GeForce GT 750M]

(it's worth noting the issue happens regardless of which graphics card I use)

Any pointers will be greatly appreciated.

Thanks,
-- 
Michael Graham 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac2svhwous+qt0abtjrz49svjdod9vqfdtkdediv8goutxa...@mail.gmail.com



Re: My sound blaster live disappeared

2011-11-19 Thread Graham
On Sat, 19 Nov 2011 15:32:48 -0500
Brad Alexander  wrote:

> Thanks, gents...That worked for a treat. Now what is the best way to
> keep it from getting reinstalled?

Firstly, let me say that I've not got pulseaudio installed, so forgive
me if there's a better way. If there's no sensible way to disable
pulseaudio, you could create a dummy package using equivs, which you
install in place of pulseaudio to satisfy dependencies, and would then
stop the real pusleaudio getting pulled in. man equivs-control and man
equivs-build for instructions. Also there's this blog that deals with
the issue:
http://blog.andrewbeacock.com/2005/09/creating-dummy-debian-package-for.html


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2019212505.760ad...@pluto.lan



Re: update-flashplugin-nonfree issue

2011-11-13 Thread Graham
On Sun, 13 Nov 2011 13:53:37 -0800
Kevin Ross  wrote:

> Of course, it takes a while before he packages the latest version.
> But that being said, the version that's currently packaged is 11.1
> (even for stable/Squeeze).

Actually, he's fairly quick in updating the package. Still, you're
depending on him being quick or slow, which isn't to everyone's cup of
tea, but I have no complaints so far over the years that I've been using
his Flash package.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2014002305.3be67...@pluto.lan



Re: no recent Squeeze updates

2011-07-23 Thread Graham
On Sat, 23 Jul 2011 15:40:34 -0400
Marty  wrote:

> I have not gotten any package updates, including security upgrades,
> in any of my Squeeze systems for at least two weeks.  In my
> experience this is unprecedented.  I have not changed my apt config
> or sources.list.  Is there a change in the update policy?

I have to admit that I haven't had an update for a while, but not sure
it's two weeks. I'm subscribed to the security updates for Squeeze, and
the last security fix was for the package opie, which was on the 21st.
Probably like me, you've just got packages installed that haven't had
security fixes recently, which isn't the same as there being no
security updates for Squeeze as a whole.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2011072346.1fe1e...@pluto.lan



Re: console screen

2011-06-30 Thread Graham
On Thu, 30 Jun 2011 11:01:43 +0100
kuLa  wrote:

> 
> On 30/06/11 10:26, Bonno Bloksma wrote:
> > Hi,
> > 
> > After upgrading to squeeze and Grub2 my old line:
> > # defoptions=vga=791
> > in the menu.lst file is no longer relevant and I am supposed to do
> > something with the /etc/default/grub file. In there it states:
> > 
> > # The resolution used on graphical terminal
> > # note that you can use only modes which your graphic card supports
> > via VBE # you can see them in real GRUB with the command `vbeinfo'
> > #GRUB_GFXMODE=640x480
> > 
> > If I set this at 1280x1024, which I know my server supports, will
> > that roughly give me what I had?
> > 
> > Also, what is "real GRUB" where I can ise `vbeinfo' to see what my
> > server supports?
> > 
> > Bonno Bloksma
> 
> Hi
> edit /etc/default/grub with below line
> GRUB_CMDLINE_LINUX="vga=791"
> then
> update-grub2
> 
> will give you what you want

Yes, that'll work. Though another way, and one that won't affect your
"Recovery Mode" boot options, which you might not want altered, is to
use:

GRUB_CMDLINE_LINUX_DEFAULT="vga=791"


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110630132619.293f0...@pluto.lan



Re: labeling swap partitions, a question

2011-03-24 Thread Graham
On Thu, 24 Mar 2011 11:49:58 -0600
Paul E Condon  wrote:

> I'm looking into using partition labels on my wheezy boxes. In the
> course of doing this, I notice that one can uses a partition label to
> specify which partition is to be used for swap in the swapon command
> and one can specify a label string to be written onto a partition in
> mkswap. But, I can't find a way to read/verify whether there is
> already a label on an existing swap partition. Is there a way to
> read? How?
> 
> TIA

blkid is your friend. To know more about your friend, try man blkid.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110324181010.4242e...@pluto.lan



Re: cannot install iceweasel 3.5 from lenny-backports

2010-01-23 Thread Graham
On Sat, 23 Jan 2010 20:13:26 +0800
Umarzuki Mochlis  wrote:

> my mistake, the package is for amd64 and powerpc
> http://packages.debian.org/search?suite=lenny-backports&searchon=names&keywords=iceweasel

No, it's my mistake. I didn't properly check with the Debian packages
page (hadn't sipped my morning coffee ;) ), so thought that there was no
Iceweasel 3.5.6 package for any architecture.

Still, if you need the latest, you could always get the tarball from
Mozilla.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: cannot install iceweasel 3.5 from lenny-backports

2010-01-23 Thread Graham
On Sat, 23 Jan 2010 11:07:41 +0800
Umarzuki Bin Mochlis Moktar  wrote:

> i had enabled lenny-backports but "aptitude -t lenny-backports install
> iceweasel" installs Iceweasel 3.0.6

There isn't an iceweasel package in Backports, so you're stuck with
the one in Lenny... unless you want to backport it yourself from
debian source packages found in Sid or Testing (doable, but not easy for
the novice). Either stick with what you have in Lenny or just get the
Firefox tarball from Mozilla, extract it into your home directory (or
put it in /opt and link to it from /usr/local/bin), then run it from
there. Putting it in your home directory will mean that it'll be easy
for it to auto-update.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re: dependency problem

2009-10-17 Thread Graham Seaman


On  0, graham  wrote:
>
> [...]
> libhdf4-alt-dev: Depends: libhdf4-0-alt (= 4.2r4-6) but 4.2r4-5 is
> to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> [...]
>

The first thing to do would be to try a dist-upgrade. If that still fails, see
if you can apt-pin the needed package from a newer release; by the way, what
release are you running currently?
  



dist-upgrade gives me the same problem  as a plain upgrade.

The machine is running squeeze (2.6.30-1-amd64).

I run debian on this machine because I don't want to spend any time on 
maintenance, and debian usually 'just works'. My experience of bringing 
in packages from newer releases is that the mix generally brings more 
maintenance issues with it in the future. Especially as I have no idea 
what these packages are, I don't want them messing up everything else. 
I'd prefer to find why they are being brought in and remove whatever 
depends on them, if that's practical.


Cheers
Graham



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




dependency problem

2009-10-14 Thread graham


gra...@dogmatix:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
  libgdal1-dev: Depends: libhdf4-alt-dev but it is not installed
E: Unmet dependencies. Try using -f.


gra...@dogmatix:~$ sudo apt-get install libhdf4-alt-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
  libhdf4-alt-dev: Depends: libhdf4-0-alt (= 4.2r4-6) but 4.2r4-5 is to 
be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
specify a solution).


And if I try that I get:

.

Unpacking libhdf4-alt-dev (from .../libhdf4-alt-dev_4.2r4-6_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libhdf4-alt-dev_4.2r4-6_amd64.deb (--unpack):
 trying to overwrite `/usr/include/hdf/linklist.h', which is also in 
package libhdf4g-dev

dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libhdf4-alt-dev_4.2r4-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any suggestions? I don't even know what these things are...

Thanks
Graham


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: see ya

2009-10-11 Thread Graham
On Sun, 11 Oct 2009 15:59:52 -0400
JoeHill  wrote:

> 
> When half the list can't figure out how to use a goddamned e-mail
> client, and so insists on sending out double the number of e-mails
> just because they feel like it; when the other half seems to mostly
> enjoy posting links to LMGTFY so they feel like a big shot; when most
> of the answers have absolutely nothing to do with what was asked, but
> are instead what the person replying thinks _should_ be the question,
> it's really time to go.
> 
> I've been on here a year, and I've gotten decent help from exactly
> _one_ person, and that was Florian, IIANM. Otherwise, this list just
> takes up space.

Thanks for freeing up precious space. Bye.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Reporting List Mail As SPAM

2009-09-01 Thread Graham
On Tue, 01 Sep 2009 21:59:20 -0400
Chris Jones  wrote:

> On Tue, Sep 01, 2009 at 08:40:02PM EDT, Graham wrote:
> > On Tue, 01 Sep 2009 18:48:03 -0400
> > Chris Jones  wrote:
> > 
> > > As far as I know, gmail's spam filter doesn't have any settings
> > > you could customize, so I disabled it.
> > 
> > You can set a filter so that any post on this list isn't sent to the
> > spam folder. It's easy to do if you go into the webmail, select a
> > message from this list, then click on the show details link, where
> > you'll find you can make a filter and stop it going to spam.
> > 
> > Below is the filter I made for this list on Gmail:
> > 
> > Matches: list:""
> > Do this: Never send it to Spam
> 
> Sure, but if I understand correctly, it would mean that all
> subscribers to the list that have a gmail account do likewise so the
> OP's post does not risk the infamy of being reported as spam.

Sorry, I should have also quoted the paragraph above the one I quoted,
which said that you disabled your Gmail spam folder because posts on
this list were getting diverted to it. I was just pointing out a way
for you to override Gmail's zeal in putting posts here in the same
place as penis enlargement emails.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Reporting List Mail As SPAM

2009-09-01 Thread Graham
On Tue, 01 Sep 2009 18:48:03 -0400
Chris Jones  wrote:

> As far as I know, gmail's spam filter doesn't have any settings you
> could customize, so I disabled it.

You can set a filter so that any post on this list isn't sent to the
spam folder. It's easy to do if you go into the webmail, select a
message from this list, then click on the show details link, where
you'll find you can make a filter and stop it going to spam.

Below is the filter I made for this list on Gmail:

Matches: list:""
Do this: Never send it to Spam


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: FireFox and UK spell checker

2009-08-26 Thread Graham
On Wed, 26 Aug 2009 11:22:14 +0100
kj  wrote:

> Hi guys,
> 
> In Firefox I have en-gb selected as my default language, but when I
> type in a text box, it still highlight according to US spelling.  I
> looked at about:config and found that spellchecker.dictionary is set
> to en-US.  I set this to en-gb, restart FF, and it's back on en-US.
> I tried en-GB too, just in case.  I have gone as far as uninstalling
> "US English" under the languages section, all to no avail.
> 
> Does anyone know how to make en-gb stick?  This is driving me up the
> walls.

Not sure if I'm reading you right, but have you right-clicked in the
text box, then gone to Languages and then selected Add Dictionaries...?
Doing that will take you to Mozilla's Addons site, where you can select
a British English dictionary (which will be installed into your user
profile).


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel 3.5

2009-08-12 Thread Graham
On Wed, 12 Aug 2009 19:39:10 -0400
"S. Fishpaste"  wrote:

> > You're not meant to run ./firefox-bin, you're meant to run ./firefox
> > Try that and it should work.  
> 
> Really ?!
> 
> I had tried that; didn't seem to do anything just exited without
> echoing any error message in xterm. Too tired to read /var/log just
> now.

Yeah, that's how I've done it for years whenever I've used the
extracted tar.gz method. Scroll down to about halfway down the
Mozilla Support page below to see it's Mozilla's way, too:

http://support.mozilla.com/en-US/kb/Installing+Firefox+on+Linux


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel 3.5

2009-08-12 Thread Graham
On Wed, 12 Aug 2009 13:27:05 -0400
"S. Fishpaste"  wrote:

> Yup that was what I was doing to get the error message initially;
> 
>   :~/firefox-3.5.2$ ./firefox-bin
>   ./firefox-bin: error while loading shared libraries:
> libxul.so: cannot open shared object file: No such file or directory

You're not meant to run ./firefox-bin, you're meant to run ./firefox
Try that and it should work.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Using a package from unstable if stable has a bug?

2009-08-05 Thread Graham
On Wed, 5 Aug 2009 15:49:39 -0700
Kushal Koolwal  wrote:

> 
> Let's say the package "watchdog" in Lenny has a bug which probably
> got fixed in the later upstream versions of watchdog in Debian Sid.
> 
> So I pulled in the sources for watchdog package from Debian Sid on my
> Lenny system and compiled the watchdog package and it built without
> complaining about anything.
> 
> What are some of the ramifications using a compiled package from Sid
> in Stable?

The only big issue would be the lack of automatic updates for watchdog
from now on. However, for such packages, I check up on the updates of
said packages by doing an RSS on this type of page
http://packages.qa.debian.org/w/watchdog.html (not that I use
watchdog). That page should inform you of any new updates that the
maintainer has done on that package, and you can decide whether you
want that update or not.

> Is there any elegant way to workaround the situation? How about
> backporting? Or with the above process that I just described, did I
> just backported the package?

You have backported watchdog.

I'd advise you to check the build dependencies for any future updates.
Do an "aptitude -s build-dep watchdog/unstable" before doing the
"apt-get -t unstable source watchdog", just in case there are any build
changes (which might end up showing new build depends or that the
updated build depends can't be met by your Lenny from now on... in
which case you'll have to either build those new/updated build depends
{how much more work are you prepared to do to keep up?}, install the
packages directly from Testing or Unstable {not recommended, but can be
done if very careful} or upgrade your system to Testing or Unstable).
If the changed build depend or depend is optional (and not needed by
you) during compilation, then you could edit the debian/rules file to
remove that dependency during compile time (google about debian/rules
if you want to learn more about that sort of thing). Another file to
look at is the debian/control file, too.

Actually, it's worth looking up apt-src, too.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Google Chrome

2009-06-13 Thread Graham
On Sat, 13 Jun 2009 12:15:36 +0300
Andrei Popescu  wrote:

> It changes sources.list *by default* (and also sets up a chron job to
> do the same) and this is a Bad Thing (tm).

I believe it adds a file to /etc/apt/sources.list.d/, which achieves
the same purpose, but doesn't touch your actual sources.list file. If
you don't want it to do this, you can touch /etc/defaults/google-chrome
before installing. Still, yeah, I'm not happy about this sort of thing
as default myself.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: upgrade Sarge -> Etch -> Lenny

2009-06-08 Thread Graham
On Mon, 8 Jun 2009 23:43:06 +0100
Lisi Reisz  wrote:

> Is Etch still available in the standard repositories?  I.e. can I
> just change Sarge to etch, then etch to lenny in etc. in sources.list?
> 
> TIA

Yes, Etch is still available (use etch or oldstable in your
sources.list). If you upgrade from Sarge to Etch, then from that to
Lenny, make sure you read up the relevant release notes (first Etch's,
then after you've upgraded, Lenny's). Also read up on the relevant
erratas, too. It should be fine doing it in stages, but make sure you
read up first so that your transition is as smooth as it can be.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-22 Thread Graham Williams
> ldconfig -pNX | grep /local/

Bingo!

Our servers have XWin32 LIVE libraries installed (A X11 server for
MS/Windows, but which installs some libraries on the Linux box). The
install of XWin32 placed links in /usr/local/lib. I removed those
links and X is now functioning

Thanks for that pointer, and for persisting in helping to resolve
this. It is much appreciated.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-21 Thread Graham Williams
Received Tue 21 Apr 2009  7:57am +1000 from Florian Kulzer:
> On Mon, Apr 20, 2009 at 13:49:53 +1000, Graham Williams wrote:
> > Received Sat 18 Apr 2009  3:34am +1000 from Florian Kulzer:
> > > On Fri, Apr 17, 2009 at 14:46:58 +1000, Graham Williams wrote:
[...]
> There should be some input devices opened by Xorg. Please run this
> command instead (as root with X started):
> 
> lsof $(find /dev/input/)

Thanks. Starting in normal multi-user mode, having removed gdm,
logging in as a normal user, starting X ("startx") with a .xinint
consisting of "chvt 1" and "xterm", login in as root, run the above
"lsof" gives:

COMMANDPID USER   FD   TYPE DEVICE SIZE NODE NAME
hald-addo 3640 root4r   CHR  13,69  5677 /dev/input/event5
hald-addo 3640 root5w   CHR  13,68  5671 /dev/input/event4
hald-addo 3640 root6r   CHR  13,67  5567 /dev/input/by-path/../event3
hald-addo 3640 root7r   CHR  13,66  5589 /dev/input/by-id/../event2

> 
> > > Another thing to check is if certain processes are running:
> > > 
> > > ps -ef | grep -E 'X|hal|dbus|udev'
> 
> [ snip: all normal, except that dbus is not running ]
> 
> Did you run this in single user mode, or did you deliberately kill dbus?

Multi user mode. I think dbus is running? Isn't it the dbus-daemon?

root  1369 1  0 08:38 ?00:00:00 udevd --daemon
103   2832 1  0 08:38 ?00:00:00 /usr/bin/dbus-daemon --system
105   3619 1  0 08:39 ?00:00:00 /usr/sbin/hald
root  3620  3619  0 08:39 ?00:00:00 hald-runner
root  3640  3620  0 08:39 ?00:00:00 hald-addon-input: Listening on 
/dev/input/event5 /dev/input/event4 /dev/input/event3 /dev/input/event2
105   3648  3620  0 08:39 ?00:00:00 hald-addon-acpi: listening on 
acpid socket /var/run/acpid.socket
root  3651  3620  0 08:39 ?00:00:00 hald-addon-storage: polling 
/dev/hda (every 2 sec)
root  3745  3608  0 08:39 ?00:00:00 /sbin/dhclient -1 -lf 
/var/lib/dhcp3/dhclient.eth1.leases -pf /var/run/dhclient.eth1.pid -q -e 
dhc_dbus=31 -d eth1
anet  4419  4402  0 08:44 tty3 00:00:00 xinit /home/anet/.xinitrc -- 
/etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.LvCwEgYUrc
root  4420  4419  0 08:44 tty7 00:00:00 /usr/bin/X11/X -nolisten tcp
root  4488  4446  0 08:47 tty1 00:00:00 grep -E X|hal|dbus|udev

[...]
> > Yes - now in user land.
> 
> Does "now" encompass all the output that you posted in your last
> message?

Yes.

> Does the keyboard work in Xorg if you boot from a Debian Lenny live CD
> (http://debian-live.alioth.debian.org/)? 

Running debian 5.0.0 live amd64 gnome ISO image, all seems to be
working just fine.

Thanks again for your help Florian. It is particularly useful, though
we haven't solved it yet.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-19 Thread Graham Williams
Thanks again Florian.

Received Sat 18 Apr 2009  3:34am +1000 from Florian Kulzer:
> On Fri, Apr 17, 2009 at 14:46:58 +1000, Graham Williams wrote:
> > Received Wed 15 Apr 2009  5:32am +1000 from Florian Kulzer:
> > > On Tue, Apr 14, 2009 at 09:21:11 +1000, Graham Williams wrote:
> > > > Received Fri 10 Apr 2009  6:31am +1000 from Florian Kulzer:
> > > > > On Thu, Apr 09, 2009 at 18:10:41 +1000, Graham Williams wrote:
> > > > > > Have just upgraded
[...]
> > > > >From etch to lenny, as per Subject.
[...]
> > > > 07:00.0 VGA compatible controller [0300]: nVidia Corporation NV43GL 
> > > > [Quadro FX 550] [10de:014d] (rev a2)
[...]
> > > dpkg -l udev {,lib}hal\* {,lib}dbus\* xserver-xorg\* libx11\* xkb\* | awk 
> > > '/ii/{print$2,$3}'
> 
> [ output edited ]
> 
> > udev 0.125-7
> 
> You should upgrade udev to version 0.125-7+lenny1 (security.debian.org).
> 
> > xserver-xorg-core 2:1.4.2-10
> 
> Rmadison tells me that the current version of this package for Lenny is
> 2:1.4.2-10.lenny1. I would try to upgrade to that. 
> 
> Other than those two packages, I did not see anything unusual your list.

I have upgrade both. No change in the X/kbd behaviour

> > > Another thing to check is which processes are using files in
> > > /dev/input/.  Ideally, this check should be done after X has started.
> > > Using CTRL-ALT-Fn does not work for you, but you could use a simple
> > > ~/.xinitrc that runs "sudo chvt 1" in an xterm, which would return you
> > > to the text terminal. (You have to configure your system to allow your
> > > user to run sudo with this command without password.) Then I would like
> > > to the output of:
> > > 
> > > lsof /dev/input/*

I am getting:

COMMANDPID USER   FD   TYPE DEVICE SIZE NODE NAME
hald-addo 4357 root4r   CHR  13,69  5819 /dev/input/event5
hald-addo 4357 root5w   CHR  13,68  5772 /dev/input/event4
hald-addo 4357 root6r   CHR  13,67  5654 /dev/input/event3
hald-addo 4357 root7r   CHR  13,66  5620 /dev/input/event2

> Another thing to check is if certain processes are running:
> 
> ps -ef | grep -E 'X|hal|dbus|udev'

root  1370 1  0 13:38 ?00:00:00 udevd --daemon
103   2862 1  0 13:38 ?00:00:00 /usr/bin/dbus-daemon --system
root  3775  3638  0 13:39 ?00:00:00 /sbin/dhclient -1 -lf 
/var/lib/dhcp3/dhclient.eth1.leases -pf /var/run/dhclient.eth1.pid -q -e 
dhc_dbus=31 -d eth1
105   4336 1  0 13:44 ?00:00:00 /usr/sbin/hald
root  4337  4336  0 13:44 ?00:00:00 hald-runner
root  4357  4337  0 13:44 ?00:00:00 hald-addon-input: Listening on 
/dev/input/event5 /dev/input/event4 /dev/input/event3 /dev/input/event2
105   4362  4337  0 13:44 ?00:00:00 hald-addon-acpi: listening on 
acpid socket /var/run/acpid.socket
root  4368  4337  0 13:44 ?00:00:00 hald-addon-storage: polling 
/dev/hda (every 2 sec)
anet  4421  4404  0 13:44 tty2 00:00:00 xinit /home/anet/.xinitrc -- 
/etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.sVdbIjaCrQ
root  4422  4421  0 13:44 tty7 00:00:00 /usr/bin/X11/X -nolisten tcp
root  4439  3960  0 13:45 tty1 00:00:00 grep -E X|hal|dbus|udev

> > Note that I am booting single user mode to do this, so it is logging
> > in as root and running startx as root. I modified the .xinitrc to chvt
> > 1 and to then xterm. I ran lsof on the console.
> 
> I think it would be better to do further tests in the normal runlevel.
> I would temporarily uninstall or at least disable [xkg]dm to allow you
> to log in at the normal tty prompt.

Yes - now in user land.

> > I've been playing with xev, looks like it is getting KeyRelease events
> > but not the KeyPress events for the keys that actually result in the
> > screen resolution being reset. Without knowing how hal and the kbd
> > device works, it is almost as if X is capturing these KeyPress events
> > and not passing them on, instead treating them as a screen resolution
> > change shortcut.
> 
> I think the capturing would be normal for real resolution-change key
> combinations, but we have to figure out why your system misidentifies
> other key press events as this combination.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-16 Thread Graham Williams
Received Wed 15 Apr 2009  5:32am +1000 from Florian Kulzer:
> On Tue, Apr 14, 2009 at 09:21:11 +1000, Graham Williams wrote:
> > Received Fri 10 Apr 2009  6:31am +1000 from Florian Kulzer:
> > > On Thu, Apr 09, 2009 at 18:10:41 +1000, Graham Williams wrote:
> > > > Have just upgraded
> > > 
> > > To what? Lenny, Squeeze, or Sid?
> > 
> > >From etch to lenny, as per Subject.
> 
> I tend to forget to check the subject again once I start to compose a
> reply in vim.
>  
> > > >a fairly vanilla etch install on a Dell Precision
> > > > 690 (AMD64) with an nvidia graphics chip.
> > > 
> > > Which chipset is it? Post the output of
> > > 
> > > lspci -nn | grep -Ei 'vga|graphic|display'
> > 
> > 07:00.0 VGA compatible controller [0300]: nVidia Corporation NV43GL [Quadro 
> > FX 550] [10de:014d] (rev a2)
> 
> OK, that is nothing exotic and should work well with the nv driver.
> 
> > > >   All seemed to proceed well,
> > > > but on reboot and starting up GDM, most key presses result in the
> > > > screen resolution changing - I can't login!
> > > > 
> > > > After quite a bit of research and attempts to determine what is going
> > > > on, I have run out of ideas! Ctrl-Alt-f1, etc, do not function.  The
> > > > simplest way I've figured out to log on is through single user
> > > > mode. Keyboard works just fine there. Booting into a Red Hat partition
> > > > is also just fine.
> > > 
> > > Post the output of these three commands:
> > > 
> > > awk '/Section.*"InputDevice"/,/EndSection/' /etc/X11/xorg.conf
> > 
> > Section "InputDevice"
> > Identifier  "Generic Keyboard"
> > Driver  "kbd"
> > Option  "XkbRules"  "xorg"
> > Option  "XkbModel"  "pc104"
> > Option  "XkbLayout" "us"
> > EndSection
> 
> That looks OK to me.
> 
> [ snip: only harmless warnings in Xorg.0.log as far as I can tell ]
> 
> > > grep -Ei 'keyboard' /var/log/Xorg.0.log
> > 
> > (**) |-->Input Device "Generic Keyboard"
> > (II) Initializing built-in extension XKEYBOARD
> > (**) Option "CoreKeyboard"
> > (**) Generic Keyboard: always reports core events
> > (**) Generic Keyboard: Protocol: standard
> > (**) Generic Keyboard: XkbRules: "xorg"
> > (**) Generic Keyboard: XkbModel: "pc104"
> > (**) Generic Keyboard: XkbLayout: "us"
> > (**) Generic Keyboard: CustomKeycodes disabled
> > (II) evaluating device (Generic Keyboard)
> > (II) XINPUT: Adding extended input device "Generic Keyboard" (type: 
> > KEYBOARD)
> 
> Hmm, no real clues so far. I would like to see the status of certain
> packages on your system. Please post the output of:
> 
> dpkg -l udev {,lib}hal\* {,lib}dbus\* xserver-xorg\* libx11\* xkb\* | awk 
> '/ii/{print$2,$3}'

This produces:

dbus 1.2.1-5
dbus-x11 1.2.1-5
hal 0.5.11-8
hal-info 20080508+git20080601-1
libdbus-1-3 1.2.1-5
libdbus-glib-1-2 0.76-1
libhal-storage1 0.5.11-8
libhal1 0.5.11-8
libx11-6 2:1.1.5-2
libx11-data 2:1.1.5-2
libx11-dev 2:1.1.5-2
udev 0.125-7
xkb-data 1.3-2
xserver-xorg 1:7.3+18
xserver-xorg-core 2:1.4.2-10
xserver-xorg-input-all 1:7.3+18
xserver-xorg-input-evdev 1:2.0.8-1
xserver-xorg-input-kbd 1:1.3.1-1
xserver-xorg-input-mouse 1:1.3.0-1
xserver-xorg-input-synaptics 0.14.7~git20070706-3
xserver-xorg-input-wacom 0.7.9.3-2
xserver-xorg-video-all 1:7.3+18
xserver-xorg-video-apm 1:1.2.0-1
xserver-xorg-video-ark 1:0.7.0-1
xserver-xorg-video-ati 1:6.9.0-1+lenny4
xserver-xorg-video-chips 1:1.2.0-1
xserver-xorg-video-cirrus 1:1.2.1-1.lenny1
xserver-xorg-video-cyrix 1:1.1.0-8
xserver-xorg-video-dummy 1:0.3.0-1
xserver-xorg-video-fbdev 1:0.4.0-1
xserver-xorg-video-glint 1:1.2.1-1
xserver-xorg-video-i128 1:1.3.0-1
xserver-xorg-video-intel 2:2.3.2-2+lenny6
xserver-xorg-video-mach64 6.8.0-1
xserver-xorg-video-mga 1:1.4.9.dfsg-1
xserver-xorg-video-neomagic 1:1.2.1-1
xserver-xorg-video-nv 1:2.1.10-1
xserver-xorg-video-openchrome 1:0.2.902+svn579-4
xserver-xorg-video-r128 6.8.0-1
xserver-xorg-video-radeon 1:6.9.0-1+lenny4
xserver-xorg-video-radeonhd 1.2.1-2
xserver-xorg-video-rendition 1:4.2.0.dfsg.1-2
xserver-xorg-video-s3 1:0.6.0-1
xserver-xorg-video-s3virge 1:1.10.1-1
xserver-xorg-video-savage 1:2.2.1-2
xserver-xorg-video-siliconmotion 1:1.6.0-1
xserver-xorg-video-sis 1:0.10.0-1
xserver-xorg-video-sisusb 1:0.9.0-1
xser

Re: HOWTO run xorg without hal

2009-04-14 Thread Graham
On Wed, 15 Apr 2009 00:00:22 +0300
Micha Feigin  wrote:

> They know exactly what they do, and it's been in experimental for
> testing for a long time now. The whole idea is to allow hot plugging
> devices such as mice, printers etc. If you look in 
> /usr/share/hal/fdi/policy/
> there are even quite a lot of rules already set up. for most cases
> and people it is now possible to run X with a (nearly) empty
> xorg.conf and things just work.
> and as you mentioned it is still possible to disable it

Any reason why this can't be a recommends? As you know, by default,
recommends are installed alongside dependencies when installing an
application, and you have to manually set your package manager to
disable such actions, so HAL would normally get installed if you
install/upgrade xserver-xorg. I can't see why HAL has been raised to a
dependency when Xorg can run without. It just seems restrictive and
unnecessary. I just hope they return HAL to a recommends.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-13 Thread Graham Williams
Received Fri 10 Apr 2009 11:30pm +1000 from Thorny:
> On Fri, 10 Apr 2009 06:44:42 +1000, Graham Williams posted:
> 
> > Received Thu 09 Apr 2009  9:12pm +1000 from Thorny:
> >> On Thu, 09 Apr 2009 18:10:41 +1000, Graham Williams posted:
> >> 
> >> > Have just upgraded a fairly vanilla etch install on a Dell Precision
> >> > 690 (AMD64) with an nvidia graphics chip. All seemed to proceed well,
> >> > but on reboot and starting up GDM, most key presses result in the
> >> > screen resolution changing - I can't login!
> >> > 
> >> > After quite a bit of research and attempts to determine what is going
> >> > on, I have run out of ideas! Ctrl-Alt-f1, etc, do not function.  The
> >> > simplest way I've figured out to log on is through single user mode.
> >> > Keyboard works just fine there. Booting into a Red Hat partition is
> >> > also just fine.
> >> > 
> >> > I've created a .xinitrc which only runs xev so I can see what keys it
> >> > is seeing. When I run with video driver as "nv" (in
> >> > /etc/X11/xorg.conf) xev is not seeing any keyboard activity. Changing
> >> > to "vga" at least I can see that xev gets the keystrokes (but the
> >> > screen is not usable). Changing to "vesa" exhibits the same behaviour
> >> > as "nv" - that is, no keys reported by xev, and any key press seems to
> >> > change the screen resolution.
> >> > 
> >> > With the "nv" driver (xserver-xorg-video-nv) I can seeverything on the
> >> > screen. Mouse and menus work.  Ctl-Alt-Backspace works (to terminate
> >> > X11). But most other keys simple cause this screen resolution change.
> >> > 
> >> > Any ideas?
> >> 
> >> When you upgraded from etch to lenny did you follow the release notes
> >> for upgrading?
> >> http://www.debian.org/releases/stable/releasenotes If not, have a look
> >> now and see if anything you did might have caused trouble, and then
> >> determine if there is any way you can back out gracefully and redo
> >> things.
> > 
> > Thanks Thorny. Yes I did follow the release notes in upgrading and have
> > been trawling through the upgrade-lenny.script file and my wajig log for
> > clues. Trying to purge various X and friends and reinstalling (and trying
> > to stay with stable rather than testing or sid because this is a test
> > upgrade for a bunch of servers deployed in production). no luck yet.
> > 
> 
> "Trying to stay with stable rather than..." Were you trying to do a
> dist-upgrade with "testing" and "unstable" repositories in your sources
> list? You would probably be better advised to switch to codename, lenny in
> your sources list and/or not have testing or unstable available. Perhaps I
> misunderstood what you wrote but you may now have a mixed system which
> might not be trivial to recover from. Are you sure you followed the
> release notes correctly.

There is no testing/unstable. Install done from DVD (5.0.0) whilst
server was standalone. The only entries in sources.list are the 5
DVDs. I followed the release notes carefully, and used the "script"
command to record the process.

Thanks,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-13 Thread Graham Williams
Received Fri 10 Apr 2009  6:31am +1000 from Florian Kulzer:

Thanks for the suggestions Florian. More details below.

> On Thu, Apr 09, 2009 at 18:10:41 +1000, Graham Williams wrote:
> > Have just upgraded
> 
> To what? Lenny, Squeeze, or Sid?

>From etch to lenny, as per Subject.

> >a fairly vanilla etch install on a Dell Precision
> > 690 (AMD64) with an nvidia graphics chip.
> 
> Which chipset is it? Post the output of
> 
> lspci -nn | grep -Ei 'vga|graphic|display'

07:00.0 VGA compatible controller [0300]: nVidia Corporation NV43GL [Quadro FX 
550] [10de:014d] (rev a2)

> >   All seemed to proceed well,
> > but on reboot and starting up GDM, most key presses result in the
> > screen resolution changing - I can't login!
> > 
> > After quite a bit of research and attempts to determine what is going
> > on, I have run out of ideas! Ctrl-Alt-f1, etc, do not function.  The
> > simplest way I've figured out to log on is through single user
> > mode. Keyboard works just fine there. Booting into a Red Hat partition
> > is also just fine.
> 
> Post the output of these three commands:
> 
> awk '/Section.*"InputDevice"/,/EndSection/' /etc/X11/xorg.conf

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
EndSection

> grep -E '^\((EE|WW)\)' /var/log/Xorg.0.log

(WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not 
exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) NV(0): Failed to set up write-combining range (0xc800,0x800)

> grep -Ei 'keyboard' /var/log/Xorg.0.log

(**) |-->Input Device "Generic Keyboard"
(II) Initializing built-in extension XKEYBOARD
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Generic Keyboard: Protocol: standard
(**) Generic Keyboard: XkbRules: "xorg"
(**) Generic Keyboard: XkbModel: "pc104"
(**) Generic Keyboard: XkbLayout: "us"
(**) Generic Keyboard: CustomKeycodes disabled
(II) evaluating device (Generic Keyboard)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)

> 
> (You can do this in single user mode because the Xorg log from the
>  previous start of X should still be present as long as GDM has not been
>  restarted.)
> 
> -- 
> Regards,| http://users.icfo.es/Florian.Kulzer
>   Florian   |

Regards,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-09 Thread Graham Williams
Received Thu 09 Apr 2009  9:12pm +1000 from Thorny:
> On Thu, 09 Apr 2009 18:10:41 +1000, Graham Williams posted:
> 
> > Have just upgraded a fairly vanilla etch install on a Dell Precision 690
> > (AMD64) with an nvidia graphics chip. All seemed to proceed well, but on
> > reboot and starting up GDM, most key presses result in the screen
> > resolution changing - I can't login!
> > 
> > After quite a bit of research and attempts to determine what is going on,
> > I have run out of ideas! Ctrl-Alt-f1, etc, do not function.  The simplest
> > way I've figured out to log on is through single user mode. Keyboard works
> > just fine there. Booting into a Red Hat partition is also just fine.
> > 
> > I've created a .xinitrc which only runs xev so I can see what keys it is
> > seeing. When I run with video driver as "nv" (in /etc/X11/xorg.conf) xev
> > is not seeing any keyboard activity. Changing to "vga" at least I can see
> > that xev gets the keystrokes (but the screen is not usable). Changing to
> > "vesa" exhibits the same behaviour as "nv" - that is, no keys reported by
> > xev, and any key press seems to change the screen resolution.
> > 
> > With the "nv" driver (xserver-xorg-video-nv) I can seeverything on the
> > screen. Mouse and menus work.  Ctl-Alt-Backspace works (to terminate X11).
> > But most other keys simple cause this screen resolution change.
> > 
> > Any ideas?
> 
> When you upgraded from etch to lenny did you follow the release notes for
> upgrading? 
> http://www.debian.org/releases/stable/releasenotes
> If not, have a look now and see if anything you did might have caused
> trouble, and then determine if there is any way you can back out
> gracefully and redo things.

Thanks Thorny. Yes I did follow the release notes in upgrading and
have been trawling through the upgrade-lenny.script file and my wajig
log for clues. Trying to purge various X and friends and reinstalling
(and trying to stay with stable rather than testing or sid because
this is a test upgrade for a bunch of servers deployed in
production). no luck yet.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



etch to lenny upgrade - X apps no longer see keystrokes?

2009-04-09 Thread Graham Williams
Have just upgraded a fairly vanilla etch install on a Dell Precision
690 (AMD64) with an nvidia graphics chip. All seemed to proceed well,
but on reboot and starting up GDM, most key presses result in the
screen resolution changing - I can't login!

After quite a bit of research and attempts to determine what is going
on, I have run out of ideas! Ctrl-Alt-f1, etc, do not function.  The
simplest way I've figured out to log on is through single user
mode. Keyboard works just fine there. Booting into a Red Hat partition
is also just fine.

I've created a .xinitrc which only runs xev so I can see what keys it
is seeing. When I run with video driver as "nv" (in
/etc/X11/xorg.conf) xev is not seeing any keyboard activity. Changing
to "vga" at least I can see that xev gets the keystrokes (but the
screen is not usable). Changing to "vesa" exhibits the same behaviour
as "nv" - that is, no keys reported by xev, and any key press seems to
change the screen resolution.

With the "nv" driver (xserver-xorg-video-nv) I can seeverything on the
screen. Mouse and menus work.  Ctl-Alt-Backspace works (to terminate
X11). But most other keys simple cause this screen resolution change.

Any ideas?

Thanks,
Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Fedora guy byebyes Debian

2009-03-08 Thread Graham
On Sat, 7 Mar 2009 19:30:29 -0500
Michael Pobega  wrote:

> Not to bring up an old thread (I'm bored here on the train, reading
> through my archives of d-u), but why do people feel the need to tell
> everyone when they are leaving?

It's probably likely that they never arrived in the first place. I
consider most of those posts as simply trolls. Of course, some are
genuine, but you can tell those by the lack of hysteria injected into
their posts.

> I mean, if it was someone who's names
> I recognize from seeing often (Joey Hess and Celejar come to mind)
> that's understandable, but some random guy? I don't understand it.
> 
> That said, goodbye, and good luck in your future endeavors.

You're too generous. ;)


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch -> lenny, update-initramfs interrupts dpkg

2009-03-06 Thread Graham
On Sat, 7 Mar 2009 02:57:48 +
Graham  wrote:

> > aptitude show mktemp
> > 
> > says, no, it's not installed.  But if I do try to install it:
> > 
> > deneb:~# apt-get install mktemp
> > E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> > to correct the problem.
> > 
> > So it seems I'm stuck in a vicious circle.
> > 
> > Can this circle be broken?  
> 
> Found this solution at Debian User Forums:
> 
> apt-get install mktemp
> 
> The thread is here: http://forums.debian.net/viewtopic.php?t=35866
> 
> Hope that helps.
> 
> 
> Graham

Actually, this shows why I should properly read the post before
replying. Sorry, it seems you've already done what I said. Please
ignore me while I go and lock myself in the cupboard. :)


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch -> lenny, update-initramfs interrupts dpkg

2009-03-06 Thread Graham
On Fri, 6 Mar 2009 17:30:47 -0600
Mark Copper  wrote:

> Hi,
> 
> Updating from etch to lenny following release notes.
> 
> "aptitude upgrade" ends with
> 
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.18
> /usr/sbin/mkinitramfs: line 164: mktemp: command not found
> update-initramfs: failed for /boot/initrd.img-2.6.18
> dpkg: subprocess post-installation script returned error exit status 1
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> to correct the problem.
> 
> but running dpkg --configure -a results in the sam error.
> 
> Besides it's strange that mktem should not be installed already, but
> 
> aptitude show mktemp
> 
> says, no, it's not installed.  But if I do try to install it:
> 
> deneb:~# apt-get install mktemp
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> to correct the problem.
> 
> So it seems I'm stuck in a vicious circle.
> 
> Can this circle be broken?

Found this solution at Debian User Forums:

apt-get install mktemp

The thread is here: http://forums.debian.net/viewtopic.php?t=35866

Hope that helps.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: how to find why packages are automatically installed?

2009-02-24 Thread Graham
On Tue, 24 Feb 2009 09:14:37 -0500
Michael Pobega  wrote:

> aptitude search ~A

I think you meant: aptitude search ~M

aptitude search ~A is used to search within an archive, like unstable,
testing, etc. Info below.

http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s05.html#searchArchive


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Celestia, Kstars, Etc.

2009-01-12 Thread Graham
On Mon, 12 Jan 2009 20:47:22 +0200
David Baron  wrote:

> Just bought my daughter a telescope. It came a "cybersky" program
> which would not install using wine. Of course, there are native Linux
> programs around, Celestia and Kstars.
> 
> Kstars is simple s slow as to be unusable. Celestia, on the
> other hand, performs quite well, even with my "legacy" Nvidia card.
> Only problem is that most of the planet images are blank, simply a
> light disk. Must be missing something. Where do get the data?
> Installed off Sid.

Ever tried Stellarium (http://www.stellarium.org/)? You can find it in
the repositories. Well worth downloading if you're into astronomy.


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Nice looking terminal applications

2009-01-01 Thread Graham
On Fri, 2 Jan 2009 00:35:45 +
"Benjamin M. A'Lee"  wrote:

> For a higher resolution, you can add something like vga= to
> the kernel parameters in grub.conf/lilo.conf; vga=773 seemed to work
> reasonably well last time I tried.

Best to edit /boot/grub/menu.lst by finding the defoptions line and
adding whatever vga=*** you want, which will automatically be added to
the kernel parameters when you update the kernel via your package
manager. An example below:

# defoptions=vga=773

Yes, keep that # there at the beginning of the line (on that section of
menu.lst, commenting out requires two hashes).

After doing that, run update-grub as root in a console, which will add
the defoptions to your default kernel parameters (this is done
automatically when you install a kernel using Debian package
management).


Graham


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: no flash in opera after upgrade - someone got an "old" version?

2008-05-16 Thread Graham
On Fri, 16 May 2008 19:51:02 +0200
Dexter Filmore <[EMAIL PROTECTED]> wrote:

> Thanks for the info
> 
> Can't dig up the last working version, can someone please mail it or
> provide a link?

Be aware that old versions of Opera will come with security risks, but
if you want to risk it, then you'll find older versions here:
ftp://ftp.opera.com/pub/opera/linux/

I'd still advise you to move onto 9.5b2, which will fix your problem.
This version isn't, for me, unstable and works fine, and at least
doesn't come with the security issues that pre-9.27 versions come with.

Another thing is to get the previous version of Flash, which will work
with 9.27... but that comes with a security risk, too.

Time to move on, I think. ;)


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: no flash in opera after upgrade

2008-05-15 Thread Graham
On Thu, 15 May 2008 23:03:51 +0200
Dexter Filmore <[EMAIL PROTECTED]> wrote:

> Today I preferenced etch-backports and did a huge upgrade, so far all
> fine but one thing: Opera 9.27 won't play flash anymore.
> Iceweasel does, so th eplugin seems fine. Pathes and all appear
> correct to me. Ran strace on Opera and searched the output for open
> calls on flash, but nothing.
> 
> Ideas?

Yeah, it's a problem with Opera 9.27 and Adobe's latest Flash, which
won't be resolved in the 9.2 versions of Opera. You'll have to do what
I ended up doing, and move onto the betas of 9.5. Opera 9.5b2 is quite
good and stable for me, and Flash works with it, too.

You'll find more info about this issue using the link below:

http://my.opera.com/community/forums/search.dml?term=flash&id=26&x=0&y=0

You can find the 9.5b2 version here:

http://www.opera.com/products/desktop/next/


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Delay when typing in konsole

2008-04-26 Thread Graham
On Sat, 26 Apr 2008 13:46:43 -0300
"Wesley Mesquita" <[EMAIL PROTECTED]> wrote:

> So, is there any of these "light weith" terminals that support
> mult-tab? I just use konsole because this.

You could always install screen and use that for multiple
virtual terminals within one terminal session
(http://www.gnu.org/software/screen/ and
http://en.wikipedia.org/wiki/GNU_Screen). It's always a handy program
to have installed.

As for using an xterm with tabs, I'm using the Xfce Terminal, which can
do tabs and is fairly lightweight (certainly not the lightest). Mind
you, whether you want to install Xfce to get it, is another issue. ;)

Mrxvt can do tabs, but I've only briefly had a go on that some time
ago (just before I installed Xfce for the first time), so can't really
say much more about it. However, you can find more info about it here:
http://materm.sourceforge.net/wiki/


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: update manger question

2008-04-13 Thread Graham
On Sun, 13 Apr 2008 09:50:16 -0400
mike <[EMAIL PROTECTED]> wrote:

> today when my update manger ran (on my lenny system) it said it
> couldn't update normally, I had to run "apt-get dist-upgrade" to get
> the openoffice and a few other applications installed.
> My question is, What makes those different? Why not just a normal
> upgrade? thanks
> -mike

I don't use Lenny, but I imagine it's due to new dependencies that an
upgraded package needed. apt-get upgrade will only upgrade the packages
that are currently on your installation, not anything new. If a package
requires a new package to satisfy a dependency, then you need to use
apt-get dist-upgrade instead of the usual upgrade, because that will
add new packages if needed.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian and cryptography perfomance (shibboleth)

2008-04-04 Thread graham

graham wrote:

Hi,

I was going to try experimenting with Shibboleth on Debian when I ran 
into the following warning:


"Debian Users, Stop!
Debian 4.0 has shown very poor cryptographic operation performance 
during our testing. Since the IdP spends a great deal of its time, per 
request, doing cryptography this performance problem leads us to 
recommend deployers not use Debian as an IdP-hosting OS."


It appears this was a misunderstanding; the warning has now been 
removed. There are no problems running shibboleth on debian. See the 
shibboleth mailing list for discussion.


Graham




https://spaces.internet2.edu/display/SHIB2/IdPInstall

There is a little discussion of this on the Shibboleth mailing list,
starting at:

https://mail.internet2.edu/wws/arc/shibboleth-users/2008-03/msg00265.html

which says they have come to no conclusions about the reasons for the 
poor performance. Google doesn't give me much, but maybe I'm not using 
the right search terms as I'm unclear where the reasons could be.


Is bad performance with cryptographic algorithms a known issue with any 
current debian packages? I would really prefer not to have to install RH 
on my machines...


Graham





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




debian and cryptography perfomance (shibboleth)

2008-03-20 Thread graham

Hi,

I was going to try experimenting with Shibboleth on Debian when I ran 
into the following warning:


"Debian Users, Stop!
Debian 4.0 has shown very poor cryptographic operation performance 
during our testing. Since the IdP spends a great deal of its time, per 
request, doing cryptography this performance problem leads us to 
recommend deployers not use Debian as an IdP-hosting OS."


https://spaces.internet2.edu/display/SHIB2/IdPInstall

There is a little discussion of this on the Shibboleth mailing list,
starting at:

https://mail.internet2.edu/wws/arc/shibboleth-users/2008-03/msg00265.html

which says they have come to no conclusions about the reasons for the 
poor performance. Google doesn't give me much, but maybe I'm not using 
the right search terms as I'm unclear where the reasons could be.


Is bad performance with cryptographic algorithms a known issue with any 
current debian packages? I would really prefer not to have to install RH 
on my machines...


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Security update of etch did not update my Kernel. Still vulnerable. Why???

2008-03-09 Thread Graham
On Sun, 9 Mar 2008 13:08:00 -0400
Mitchell Laks <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am running a minimal install debian machine as a firewall and I
> would like to keep it  secure and up to date. 
> 
> I included
> 
> deb http://ftp.us.debian.org/debian/ etch  main non-free
> deb http://security.debian.org etch/update main contrib
> 
> as the entries in /etc/apt/sources.list
> 
> and I run apt-get update and apt-get upgrade
> 
> 
> Now  I notice that there was a Recent advisory about the linux kernel
> 
> http://www.debian.org/security/2008/dsa-1494
> 
> The vmsplice system call did not properly verify address arguments
> passed by user space processes, which allowed local attackers to
> overwrite arbitrary kernel memory, gaining root privileges
> (CVE-2008-0010, CVE-2008-0600).
> 
> and the  page references a fix at 
> 
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-6-486_2.6.18.dfsg.1-18etch1_i386.deb
> 
> but why is my machine not running this new kernel?
> 
> 
> I ran the update, and upgrade with apt 
> 
> I still see that my kernel version is
> 
> linux-image-2.6.18-3-486 and not linux-image-2.6.18-6-48.
> 
> what did I do wrong? how to make sure all updates are done??
> 
> thanks,
> 
> Mitchell

Try "apt-get update && apt-get dist-upgrade".

There have been a few version increment updates since 2.6.18-3, with
some packages needing new dependencies, etc, which the normal "apt-get
upgrade" would hold back, as well as the fact that kernel
2.6.18-6 would be seen as a new package (it can live happily
side-by-side with your current kernel, seeing it's viewed by
apt-get as a new package). dist-upgrade will pull in any new
dependencies and packages that you need.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: automatix2 and debian 4.0r3

2008-03-07 Thread Graham
On Fri, 7 Mar 2008 06:01:40 -0800 (PST)
hair hut <[EMAIL PROTECTED]> wrote:

> Hello,
>   I just installed the 4.0r3, and going through apps installations
> reached the point when automatix came in the "game" :) Following the
> instructions from getautomatix.com, I did complete the process.
> Trying to run it from GUI (under application), after asking for the
> dvd rights on US , clicking "yes" should start the automatix2.
> Instead, after checking for the version of the OS, it stops and a
> message comes up. "automatix2 can not find 4.0r0" . which is true
> because the version that I installed was 4.0r3. Please, can You help
> on this problem, or I have to find a older version (4.0r0) that
> automatix2 can work??? if so, when can I find that version??? Thank
> You Art (new debian user)

Simple answer is to not use Automatix on Debian. Keep such trash
software on Ubuntu, where it belongs. Most, if not all, of the things
that Automatix installs and configures can be done by the user, as
long as they do a *little* googling and use the non-free, contrib
sections in the Debian repositories and also use the Debian-Multimedia
repository.


Graham

PS - I'm not trolling. ;)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Latest kernel security update wont boot

2007-12-13 Thread Graham
On 13 Dec 2007 10:38:00 -0500
Marc Auslander <[EMAIL PROTECTED]> wrote:

> I am running etch on a Dell with ide drives, using LILO
> 
> I just used aptitude to install the latest security update to the
> 2.6.18 kernel, 2.6.18.dfsg.1-13etch5
> 
> The install produced a message about the fact that it was updating the
> running kernel and I should reboot right away - which I did.
> 
> Reboot failed with kernel panic which was something like:
> 
> VFS - cannot open root device "302" or block 302 not found (this is
> approximate).
> 
> I tried root=/dev/hda2, and root=/dev/ide/bus0/target0/lun0/part1 -
> neither worked.
> 
> I copied a backup of my old 2.6.18 kernel and initrd.img as another
> kernel image and ran lilo, all from the rescue cd.
> 
> I booted the old system successfully.  I then ran a reinstall of the
> kernel under aptitude, but it still won't boot.
> 
> Any suggestions?
> 
> Have my devices been somehow renumbered here? If so, how do I figure
> out what the new numbering is?
> 
> Any other possibilities?

Probably a stupid question, but still worth asking: when you saw the
message that you should reboot the machine after the new kernel is
installed, did you hit the tab key to highlight the "OK" at the bottom
of the message, then hit enter, or did you just reboot straight away
without doing so? There is still stuff to do with the kernel
installation after that message is displayed, so you should of hit the
"OK" instead of immediately rebooting. If you followed the procedure
correctly, then sorry if I've wasted your time, but thought it worth
asking.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to install from .deb file

2007-11-30 Thread Graham
On Fri, 30 Nov 2007 07:27:47 -0600
"Dennis G. Wicks" <[EMAIL PROTECTED]> wrote:

> Greetings;
> 
> I seem to remember that I installed programs/packages
> directly from .deb files that I downloaded from SourceForge
> etc. but I can't recall the procedure.
> 
> Can anyone refresh my memory?

dpkg -i package.deb


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crontab -e

2007-09-03 Thread Graham
On Mon, 3 Sep 2007 17:38:03 -0700
Raquel <[EMAIL PROTECTED]> wrote:

> Hmmm, I thought it was configured using the update-alternatives
> system.  However, when I run (as root):
>   #update-alternatives --set editor /usr/bin/vim
> I get an error:
>   #update-alternatives: Cannot find alternative `/usr/bin/vim'.

Use "#update-alternatives --set editor /usr/vim/vim.basic".

Alternatively, use "#update-alternatives --config editor" to get the
interactive configuration.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: fstab and removable usb drives

2007-08-28 Thread Graham
On Tue, 28 Aug 2007 15:23:21 -0400
Celejar <[EMAIL PROTECTED]> wrote:

> Thanks.  The problem was my non-zero last field, as per my other
> posts.  BTW, mounting by label / UUID is often a better idea,
> especially for removable storage, since it ensures consistency of
> mount points even when the connection order varies.  This may not be
> important to you, but it is to many.

Yes, you're right. I haven't really bothered with UUID, simply because
I've never been in a position where I've had to connect two removable
storage devices at the same time, so haven't really had the need for
it... plus I'm lazy and stuck in an old routine. ;)

Glad your issue is resolved.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: fstab and removable usb drives

2007-08-27 Thread Graham
On Mon, 27 Aug 2007 17:30:56 -0400
Celejar <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm experimenting with fstab lines to streamline mounting my removable
> usb drives (flash and HDD).  I have tried 'UUID-', 'LABEL-',
> and '/dev/disk/by-label/', but with any of these the system
> refuses to boot without manual intervention when the drive isn't
> attached (I am told to hit -D and something about maintenance
> mode).  This occurs even when I set 'noauto'.  Am I missing
> something, or are such fstab lines really illegal for setups where
> the volume may not be attached at boot?

I use what's below in fstab for manually mounting any USB device that I
attach after booting up.

/dev/sda1 /media/removable auto rw,noauto,user,exec,users 0 0

Be aware that this is only for the first USB drive you connect, any
additional ones connected up after the first one will have to
be /dev/sdb1 and so on. Change /media/removable to the mount point you
want.

I have no issues with booting my system with the above, nor do I have
issues with mounting USB devices.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



unattended-upgrades

2007-08-22 Thread graham

hi,

I just discovered the existence of unattended-upgrades for apt on 
debian. But I can't find any documentation for it (google gives me all 
ubuntu references, and not much of that with any detail). Is it safe to 
use on production machines? Should I just use it for security updates? 
Does it really never need manual intervention?


hopefully someone will now point me to the really obvious man page I 
missed and I will look embarassed ;-)


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-07 Thread graham

Florian Kulzer wrote:
> On Tue, Aug 07, 2007 at 12:06:25 +0100, graham wrote:
>> Florian Kulzer wrote:
>>

> That should be fixable by putting the "lp" module in /etc/modules.

You were right. I'd just assumed that was there by default.

After installing the lp module, I found that lprng behaved in exactly 
the same way as cups. Having established that the problem is not with 
cups but with the output filters in some way, I have now uninstalled 
lprng and returned to cups.


> It seems to me that your CUPS problem was fixed at some point (you could
> print the test page, right?)

It printed the test page correctly once, apparently randomly. After the 
next boot it stopped doing so, but this was before the lp module problem 
which only appeared after I removed cups and changed to lprng..



I can't afford to spend more time on this for now. I will have to find 
some other way to print (sneakernet to my wife's windows machine, I 
expect :-(


Thanks for all your help

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-07 Thread graham

Florian Kulzer wrote:



The changelog of the newest Sid version of cupsys gives me the
impression that there were some problems with the first Debian packages
of the new upstream cups release (version 1.2.12-1, in Lenny right now).
Maybe your problem ist just a case of installing at the wrong time. You
could try if you can install version 1.2.12-2 of cupsys, cupsys-common,
cupsys-client, and libcupsys2 (from Sid). Using "dpkg --purge
--force-depends" should allow you to temporarily purge the old packages
without removing anything else that depends on cups. This should be safe
if you reinstall the new (or old) packages again immediately. (Famous
last words...)



I'm starting to think it may be a kernel-related problem somehow. I 
removed cups completely and installed lprng and the foomatic filter. At 
first this gave me exactly the same problem as I had had with cups: 
using foomatic-gui to print a test page produces single lines of 
gibberish per page.


I then rebooted again. Now I am unable to get a test page to produce 
anything at all. When I do lpq -P lp0  I get:


[EMAIL PROTECTED]:~$ lpq -Plp0
Printer: [EMAIL PROTECTED] 'HL5040'
 Queue: 1 printable job
 Server: pid 3708 active
 Unspooler: pid 3709 active
 Status: cannot open '/dev/lp0' - 'No such file or directory', attempt 
2, sleeping 20 at 12:03:42.777

 Rank   Owner/ID   Pr/Class Job Files  Size Time
active [EMAIL PROTECTED]A   706 (STDIN)   27719 12:03:32


There is no /dev/lp0. dmesg says:

pnp: the driver 'parport_pc' has been registered
pnp: match found with the PnP device '00:0c' and the driver 'parport_pc'
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,EPP,ECP ,DMA]

parport0: Printer, Brother HL-5040 series

There are no further references to lp0 or parport0

Googling gives me a few vaguely related symptoms; following one of these 
I found the suggestion to modprobe ppdev. My kern.log then showed:


 Aug  7 11:51:56 dogmatix kernel: ppdev: user-space parallel port driver

but the symptoms didn't change.

My printcap is:

lp0|HL5040: \
:lp=/dev/lp0: \
:force_localhost: \
:if=/usr/bin/foomatic-rip: \
:ppd=/usr/local/ppd/Brother-HL-5040-hl1250.ppd: \
:sd=/var/spool/lpd/lp: \
:mx#0:sh:


Graham




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-06 Thread graham

Douglas Allan Tutty wrote:


This is, in fact, what I use.  Lpr with apsfilter.  Simple to setup,
well documented.  It works.


Since Florian Kulzer is being kind enough to attempt remote diagnosis, 
I'll see how that goes first (also because at some later point I'd like 
this to be a samba print server). If that fails, then I shall try to 
dredge up my memories of the 90s and getting the filter chain working 
again.. Thanks for letting me know it's still possible!


Graham



Doug.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-06 Thread graham

Florian Kulzer wrote:

On Mon, Aug 06, 2007 at 18:52:56 +0100, graham wrote:

Florian Kulzer wrote:

On Mon, Aug 06, 2007 at 17:02:07 +0100, graham wrote:
I have a standard printer with a reliable driver (Brother HL5040). It was 
working using the parallel port on my old PC. Said PC died, replaced it 
with a new one, installed 64bit lenny. Configured cups for printer, all 
appears ok (ie. ppd file ok, printer status recognized etc). On printing 
anything at all (including the test page) all I get is what appears to be 
misinterpreted postscript. One line of gibberish per page, followed by a 
page feed. 

Post your /etc/cups/printers.conf please. (Watch out, this file can





That looks pretty OK to me. There are a few things to check now (post
the results here):

- What are the permissions of /dev/lp0? ("ls -l /dev/lp0") Most likely
  they will be correct since you are allowed to access the printer, but
  it cannot hurt to check.


crw-rw 1 root lp 6, 0 2007-08-06 21:39 /dev/lp0


Also, are you a member of the lp and lpadmin   groups?


I was in lp, not lpadmin. Added myself to lpadmin; no change



- Is the printer reported correctly if you run
  /usr/lib/cups/backend/parallel
  ?


No:

[EMAIL PROTECTED]:~$ /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "Unknown" "LPT #1"




- Has the ppd file been copied to /etc/cups/ppd/HL-5040.ppd? 


Yes

The owner should be cupsys, group lp and the permissions should be 0644. 


The owner was root.root. Changed this to cupsys.lp and the test page 
printed ok from the CUPS frontend (tested this once only, since I 
assumed it was now ok).


However, printing from anything else still gave the same result as 
before. Tried rebooting (a la windows); the test page no longer prints 
from the CUPS frontend - the original problem returned.


Suspecting the permissions (everything else in the directory was also 
root.root or root.lp), I did


chown -R cupsys.lp /etc/cups

but the problem stayed unchanged

Current state:

[EMAIL PROTECTED]:~$ ls -al /etc/cups/ppd
total 24
drwxr-xr-x 2 cupsys lp  4096 2007-08-06 16:08 .
drwxr-sr-t 5 cupsys lp  4096 2007-08-06 16:08 ..
-rw-r--r-- 1 cupsys lp 12517 2007-08-06 16:08 HL-5040.ppd



You can
  check if the file corresponds to the correct driver with:
  grep '^*NickName:' /etc/cups/ppd/HL-5040.ppd



Yes thats fine.

*NickName:  "Brother HL-5040 Foomatic/hl1250 (recommended)"



- The foomatic-filters-ppds package has four different ppd files for the
  Brother HL-5040. Did you try them all?


No, but I don't believe that's the issue. This one has always worked 
fine for me before (several different systesm, none of which is 
unfortunately available for comparison).


Thanks for the help

Graham




There is a presumably unrelated second problem: I can send the test page 
from the server on port 631 ok (though it doesn't actually print 
correctly), but if I send it from the gnome printer admin applet, the job 
immediately appears as 'stopped' and I am unable to do anything further 
till I have removed it.


I don't know the Gnome printing utilities, so I cannot help here. In any
case, we first need to get the test page working when triggered from the
CUPS frontend.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-06 Thread graham

Douglas Allan Tutty wrote:

On Mon, Aug 06, 2007 at 05:02:07PM +0100, graham wrote:
Yet another cups problem (the one program which makes me feel like I do 
when running windows - like putting a foot through the computer).


So why run cups?  Use LPRng and Apsfilter or foomatic print filters.

Doug.



Cos what I'd understood from other threads was that this would mean 
swimming against the tide, since cups is now the default for both debian 
and gnome, and because I had understood that lprng was no longer 
supported. I'm really hoping to spend the minimum of time possible 
maintaining printers; they don't interest me much ;-)


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cups yet again

2007-08-06 Thread graham

Florian Kulzer wrote:

On Mon, Aug 06, 2007 at 17:02:07 +0100, graham wrote:


I have a standard printer with a reliable driver (Brother HL5040). It was 
working using the parallel port on my old PC. Said PC died, replaced it 
with a new one, installed 64bit lenny. Configured cups for printer, all 
appears ok (ie. ppd file ok, printer status recognized etc). On printing 
anything at all (including the test page) all I get is what appears to be 
misinterpreted postscript. One line of gibberish per page, followed by a 
page feed. 


Post your /etc/cups/printers.conf please. (Watch out, this file can
contain clear-text passwords if you have configured networked printing.
If this is the case then it is advisable to replace the sensitive data
with generic placeholders before posting.)



As follows (auto-generated, I have made no manual changes)

# Printer configuration file for CUPS v1.2.12
# Written by cupsd on 2007-08-06 16:08

Info HL-5040
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1186412905
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer


There is a presumably unrelated second problem: I can send the test page 
from the server on port 631 ok (though it doesn't actually print 
correctly), but if I send it from the gnome printer admin applet, the 
job immediately appears as 'stopped' and I am unable to do anything 
further till I have removed it.


Thanks
Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




cups yet again

2007-08-06 Thread graham
Yet another cups problem (the one program which makes me feel like I do 
when running windows - like putting a foot through the computer).


I have a standard printer with a reliable driver (Brother HL5040). It 
was working using the parallel port on my old PC. Said PC died, replaced 
it with a new one, installed 64bit lenny. Configured cups for printer, 
all appears ok (ie. ppd file ok, printer status recognized etc). On 
printing anything at all (including the test page) all I get is what 
appears to be misinterpreted postscript. One line of gibberish per page, 
followed by a page feed. Feels like I've hit a time warp and ended up in 
1990.


Any ideas? Logs are quiet. cupsd.conf refers to a 
/var/run/cups/printcap, which doesn't exist, but says it will be created 
automatically (there's no /etc/printcap)


Have uninstalled and reinstalled cupsys, no change.

Thanks
Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Help - Gnome won't rune

2007-07-14 Thread Graham
On Sat, 14 Jul 2007 07:33:28 -0500
"Dennis G. Wicks" <[EMAIL PROTECTED]> wrote:

> Ron Johnson wrote the following on 07/14/2007 05:49 AM:
> 
> > 
> > Dump gdm (or whichever is the display manager of your choice).
> > 
> >  From that command line, su and remove [xgk]dm and reboot.  Then
> > you'll get a console and log in using that, and type "startx" to
> > get to GNOME.
> > 
> 
> Thanks! That got me back on.
> 
> I figured you meant to rm /usr/sbin/gdm but I just mv'd it to a 
> different name. Just in case!

Actually, I believe he meant to use apt-get or aptitude to remove it.
Rename the gdm file back to its original name, then, in a root console,
enter "apt-get remove gdm" (no quotes). To remove a package, always use
the package manager.

> 
> So, what do I have to do to get gdm(?) to behave like it used to?
> 
> The ability to run more than one Gnome session is really handy.
> I mean what I happens when I do ctl-alt-F8, -F9, etc.

Well, if you've already run "startx" on a console, you can log into
another console (Ctrl+Alt+F2, seeing that F1 is already in use) and
then type "startx -- :1" (no quotes), then do your Ctrl+Alt+F8, and now
you'll have two graphical sessions running. If you want more, log into
another console (maybe Ctrl+Alt+F3), then "startx -- :2" (no quotes),
using Ctrl+Alt+F9 to go to your third graphical session. 


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Opera is faster, but...

2007-07-11 Thread Graham
On Wed, 11 Jul 2007 07:20:10 -0500
Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

> I know opera in Debian is faster on my two-seater than iceweasel. But 
> that is when it reads my wordpress blog. But in most other sites the 
> advertisements get in the way and then it is slower again.

Then block the adverts using Block Content in Opera (right-click on
the page, etc). You can use some simple regular expressions in the
Block Content configuration to remove some usual suspects, too. I
hardly see any ads when using Opera.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: system resource measurement

2007-07-11 Thread Graham
On Wed, 11 Jul 2007 00:39:59 -0400
Mark Grieveson <[EMAIL PROTECTED]> wrote:

> > > Hello.  Is there a command line utility for system resource
> > > measurement?
> 
> At some point a bit later, Roberto wrote:
> > Try top.  
> 
> Thanks Roberto.  That's great.

Another one to try would be htop (http://htop.sourceforge.net),
which you'll find in the repositories.


Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade problem

2007-07-08 Thread Graham Williams
Received Sun 08 Jul 2007  7:23pm +1000 from Jonathan Kaye:
> Zach wrote:
> 
> > On 7/8/07, Jonathan Kaye <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi Zach,
> >> It might be a better idea to run aptitude (or apt-get) upgrade rather
> >> than dist-upgrade as a matter of routine. I think you will avoid these
> >> kinds of problems this way.
> >> Cheers,
> >> Jonathan
> > 
> > Hi Jonathan,
> > 
> > Ok, I'm curious though 1) why it wants to install all the texlive-*
> > packages when I don't even have texlive installed and 2) how i could
> > force it to not install these during the dist-upgrade?
> > 
> > Zach
> I think you can mark them as "hold" as in aptitude hold texlive.
> I still don't know why you want to do a dist-upgrade rather than a simple
> upgrade as a matter of routine. Have you tried doing just aptitude upgrade
> and see if it still wants to install texlive? I would use dist-upgrade if I
> were going from Etch to Lenny for example. dist-upgrade is more agressive
> than upgrade about what it chooses to upgrade. Try reading the manual for a
> better description than mine.
> Cheers,
> Jonathan 

tetex no longer exists (except historically) and to automatically and seamlessly
transition people to the new TeX (texlive) the tetex packages are
probably empty packages depending on texlive. Thus apt-get is trying
to upgrade you.

Unless you have a specific reason to stay with tetex, might be best to
just go with the flow. My observation is that the transition, left to
apt-get, works just fine.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev rule writing help needed

2007-06-11 Thread Graham Evans
On Sun, 10 Jun 2007 19:30:16 +0200, Don Hayward wrote:

> I have a new Seagate FreeAgent usb hard drive.  After install, it spins
> down and when one tries to write to it, it gets marked read only. This
> can be prevented by running the following command line:
> 
> echo 1 > /sys/class/scsi_disk/14\:0\:0\:0/allow_restart
> 
> where this bit^^^ varies with each connection.
> 
> I'd like to get udev to set this for me, so I tried the following rule:
> 
> SYSFS{model}=="FreeAgentDesktop",RUN+="/bin/echo 1 >
> /sys/class/scsi_disk/%k/allow_restart"
> 
> It doesn't work.  Allow_restart is always 0 after a connection.
> 
> I've also tried:
> SYSFS{model}=="FreeAgentDesktop",RUN+="/bin/echo 1 >
> /sys/class/scsi_disk/%b/allow_restart"
> SYSFS{model}=="FreeAgentDesktop",RUN+="/bin/echo 1 >
> '/sys/class/scsi_disk/%k/allow_restart'"
> SYSFS{model}=="FreeAgentDesktop",RUN+="/bin/echo 1 >
> '/sys/class/scsi_disk/%b/allow_restart'"
> 
> because I'm confused about 1) which string substitution holds the
> identifier I need, and 2) the need for quoting or escaping the ':' in
> the line.
> 
> udevtest shows this:
> parse_file: reading '/etc/udev/rules.d/10-local.rules' as rules file and
> this
> main: run: 'socket:/org/freedesktop/hal/udev_event' so my rule seems to
> be picked up.
> 
> udevinfo -a -p /sys/block/sdd
> shows:
>looking at parent device
>'/devices/pci:00/:00:06.0/:02:0b.2/usb5/5-3/5-3:1.0/
host14/target14:0:0/14:0:0:0':
>  KERNELS=="14:0:0:0"
> ATTRS{model}=="FreeAgentDesktop"
> ...
> 
> So my questions are:
> 1) what string substitution do I use to get the needed bit into my
> command? 2) do I need quoting in the rule?
> 3) can this work anyway?
> 
> Thanks for any help.
> 
> Don
> 
I have found the rules easy to write and writing the executables called 
tricky.  This following is a kludge: with probably some over the top and 
uneccessary parts.  It is adapted from a udev triggered script I use to 
get my scripts to run in xterminals - perhaps that will help your script 
to work.  And perhaps someone here can help clean it up.

First put your line in a script (I am assuming you need to run the 
command as root - in which case you will need to set up sudo to work for 
this...):

#!/bin/bash
sudo echo 1 > /sys/class/scsi_disk/14\:0\:0\:0/allow_restart
#Delete the following 2 lines once everything is working
echo 'udev executed script finished: Press enter.'
read ARG

The effect of the last two lines is to give you a chance to see any 
relevant output for troubleshooting.  Call the script, say, 
scsiScriptForUdev.  Test it, make it executable and save it in /usr/
bin/...

#!/bin/bash
if [ "$ACTION" != 'add' ] ; then
exit
fi
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
LocalDisplay=':0'
X11User=`who | grep $LocalDisplay | sed -n 1p | cut -f 1 -d ' '`
Command='sudo xterm -e scsiScriptForUdev'
export DISPLAY=$LocalDisplay
nice -n 19 su $X11User -c "$Command &> /tmp/udevScriptErrorOutput.txt" & 

Seems crazy and I am sure there is a neater way to do it - but perhaps 
with the xterm output and the output in the /tmp/ text file you will have 
more information to work with.

If you do manage to get it working and/or optimise it let us know.

Graham



Re: RAW image file

2007-06-08 Thread Graham Evans
On Sat, 09 Jun 2007 00:10:11 +0200, jesus_arocho wrote:

> I use ufraw for nikon nef files and it works well.  Supposedly krita can
> open nefs but I have not been unable to get it to work.
> 
> On Friday 08 June 2007 17:25, Bernard wrote:
>> Hi,
>>
>> What kind of applications can open and use RAW image file created by
>> digital cameras?  Does such applications exist for Linux?
>>
>> Thanks,
>>
>> --
>> Bernard

dcraw

if you have dcraw and ... hmm not sure what other magic ... then Gnome 
works with these files transparently in Nautilus (preview and open).

The is a dcraw gimp plugin and I think a ufraw plugin too.

dcraw is generally a command line tool but the plug in has a gui.

Graham E



Re: Multimedia working in debian?

2007-06-01 Thread Graham Evans
On Fri, 01 Jun 2007 01:41:54 +, * charles wrote:

> hi all,
> 
> anyone know of a how-to to get all the multimedia stuff working in
> debian latest version?
> 
> thanks,
> charles.

just add software repositories debian-multimedia and debian-unofficial

I believe you can find all the instructions at www.debian-multimedia.org 
and www.debian-unofficial.org

Graham E



Re: pros/cons of installing from source

2007-05-04 Thread Daniel Graham Palmer
On Friday 04 May 2007 05:36, Greg Folkert wrote:
>  like encoders and decoders. Along with the entire

Going to be very machine specific... one of the biggest groans against GCC is 
that is supports so many target platforms but doesn't do any of them 
particularly well. Intel's compiler generates very "quick" code but IIRC only 
targets their processors.

Encoders and decoders, and things like emulators that use image scaling, 
generally contain code to take advantage of processor specific features at 
run time. For example if you build mplayer correctly it will detect and 
utilise the correct SIMD extensions for your hardware at runtime.

> emerge is very simple tool to use, especially if you just hunker down
> and use it. Selecting the right architecture and listings (I used
> "current" snapshots) is a big factor. I had everything up and running as
> soon as it stopped compiling and installing.

I reckon if we did the maths.. most "ricers" spend more time compiling stuff 
than the time they save by their system being subjectively "faster".

The only platform I've ever seen a real benefit from compiling everything with 
arch specific GCC flags is the 32bit SPARCs. Old SPARCs didn't have a 
hardware multiply or divide (I forget which) so GCC built code that didn't 
use it even on SPARCs that had the instruction. There again switching from a 
Linux based system to NetBSD on that hardware increased real world 
performance by a big big margin without it rumbling away for days building 
single large packages like perl.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: usb/cups printer problem after etch upgrade

2007-05-01 Thread graham

Hi Florian,

Unfortunately, I ran out of time to work on this. So I have abandoned my 
 print server and temporarily moved to using the printer as a local 
printer attached to the parallel port on my workstation. When it gets 
sufficiently annoying not to be able to print from other machines I will 
try stripping out cups and starting again.


Thanks for all your time

Graham

Florian Kulzer wrote:

On Mon, Apr 30, 2007 at 00:56:24 +0100, graham wrote:

Florian Kulzer wrote:


[...]


Compare a directory listing before and after you plug in the printer if
necessary. You can use something like
find /dev/ | sort > before.txt
< plug in the printer >
find /dev/ | sort > after.txt
diff -u before.txt after.txt

snoopy> diff -u before.txt after.txt


[ snip: I only kept the new device nodes below ]


+/dev/bus/usb/001/110
+/dev/.udev/db/[EMAIL PROTECTED]@usbdev1.110
+/dev/.udev/db/[EMAIL PROTECTED]@lp0
+/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL PROTECTED]@[EMAIL 
PROTECTED]:[EMAIL PROTECTED]/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL 
PROTECTED]:00:[EMAIL PROTECTED]@[EMAIL PROTECTED]:[EMAIL 
PROTECTED]/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@[EMAIL PROTECTED]
+/dev/usb
+/dev/usbdev1.110_ep00
+/dev/usbdev1.110_ep03
+/dev/usbdev1.110_ep82
+/dev/usb/lp0


[...]


snoopy>ls -al /dev/usb/lp0
crw-rw 1 root lp 180, 0 2007-04-30 00:34 /dev/usb/lp0


That all looks fine to me. For real bout of paranoia you can quickly
check if you are still a member of the "lp" group.


snoopy> udevinfo -a -p $(udevinfo -q path -n /dev/usb/lp0)


[...]


  looking at device '/class/usb/lp0':
KERNEL=="lp0"
SUBSYSTEM=="usb"
DRIVER==""
ATTR{dev}=="180:0"

  looking at parent device 
'/devices/pci:00/:00:03.0/usb1/1-1/1-1:1.0':

KERNELS=="1-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usblp"
ATTRS{modalias}=="usb:v04F9p0016d0100dc00dsc00dp00ic07isc01ip02"
ATTRS{bInterfaceProtocol}=="02"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bInterfaceClass}=="07"
ATTRS{bNumEndpoints}=="02"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceNumber}=="00"
ATTRS{ieee1284_id}=="MFG:Brother_CMD:PJL,PCL,PCLXL_MDL:HL-5040 
series_CLS:PRINTER_"


  looking at parent device '/devices/pci:00/:00:03.0/usb1/1-1':
KERNELS=="1-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{serial}=="L3J497500"
ATTRS{product}=="HL-5040"
ATTRS{manufacturer}=="Brother"
ATTRS{maxchild}=="0"
ATTRS{version}==" 1.10"
ATTRS{devnum}=="125"
ATTRS{speed}=="12"
ATTRS{bMaxPacketSize0}=="16"
ATTRS{bNumConfigurations}=="1"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceClass}=="00"
ATTRS{bcdDevice}=="0100"
ATTRS{idProduct}=="0016"
ATTRS{idVendor}=="04f9"
ATTRS{bMaxPower}=="100mA"
ATTRS{bmAttributes}=="c0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bNumInterfaces}==" 1"


[...]

I think we can now safely assume that udev works properly and that the
problem is with CUPS. (It is good to have these tests now in the archive
for other people to find.)

[...]


You could also try to find a serial number like this:
udevinfo -a -p $(udevinfo -q path -n /dev/usb/lp0)  | grep -i serial

ATTRS{serial}=="L3J497500"
ATTRS{serial}==":00:03.0"

I have tried setting:

DeviceURI usb://dev/usb/lp0?serial=L3J497500

and

DeviceURI usb://dev/usb/lp0?serial=:00:03.0

with no results.


Just for the sake of completeness I would also try:

DeviceURI usb://Brother/HL-5040%20series?serial=L3J497500

and

DeviceURI usb://Brother/HL-5040?serial=L3J497500

(":00:03.0" is the serial number of the OHCI Host Controller and
 should not be relevant for CUPS.)


Another thing that might be important is how you handled the cupsys
configuration files during the upgrade. Did you keep your old ones or
did you replace them with the maintainer's new versions?
I kept the original version of cupsd.conf, the only file the installer 
asked about.
When it didn't work I tried using the new cupsd.conf.dpkg-dist, with no 
more success


Just to be sure: Did you restart cupsys after making the change?


Also:

After I changed DeviceURI to /dev/usb/lp0, the cups admin panel immediately 
showed 'new printer found'. I added this new printer, then looked at the 
rewritten printers.conf. The line it had added was the same as the original 
version:


DeviceURI usb://Brother/HL-5040%20series

The name cups auto-assigne

Re: usb/cups printer problem after etch upgrade

2007-04-29 Thread graham

Florian Kulzer wrote:

On Sun, Apr 29, 2007 at 20:32:59 +0100, graham wrote:

Florian Kulzer wrote:


find /dev/ -name usblp0 -exec ls -l {} \;

   ^
I'd still like to see the output of the above command just to be sure.

Oops, sorry thought I'd checked this but I hadn't.
/dev/usblp0 does not exist. There is a /dev/usb/lp0, however. Here are all 
the usb devices:


snoopy> find /dev/ -name "usb*" -exec ls -l {} \;


[...]


crw-rw 1 root lp180,   0 2005-02-26 06:43 lp0
crw-rw 1 root lp180,   1 2005-02-26 06:43 lp1


[ snip: and so on ]

I think these are all from /dev/.static/dev/. You have to find out which
device node is created for the printer in /dev/ outside of .static.


There is both a /dev/.static/dev/usb/lp0 and a /dev/usb/lp0 (see below - 
the non-static one is created when I plug in the printer)



Compare a directory listing before and after you plug in the printer if
necessary. You can use something like

find /dev/ | sort > before.txt

< plug in the printer >

find /dev/ | sort > after.txt

diff -u before.txt after.txt


snoopy> diff -u before.txt after.txt
--- before.txt  2007-04-30 00:16:28.0 +0100
+++ after.txt   2007-04-30 00:14:39.0 +0100
@@ -6,6 +6,7 @@
 /dev/bus/usb
 /dev/bus/usb/001
 /dev/bus/usb/001/001
+/dev/bus/usb/001/110
 /dev/bus/usb/002
 /dev/bus/usb/002/001
 /dev/bus/usb/003
@@ -5774,9 +5775,11 @@
 /dev/.udev/db/[EMAIL PROTECTED]@ttyS2
 /dev/.udev/db/[EMAIL PROTECTED]@ttyS3
 /dev/.udev/db/[EMAIL PROTECTED]@usbdev1.1
+/dev/.udev/db/[EMAIL PROTECTED]@usbdev1.110
 /dev/.udev/db/[EMAIL PROTECTED]@usbdev2.1
 /dev/.udev/db/[EMAIL PROTECTED]@usbdev3.1
 /dev/.udev/db/[EMAIL PROTECTED]@usbdev3.2
+/dev/.udev/db/[EMAIL PROTECTED]@lp0
 /dev/.udev/db/[EMAIL PROTECTED]@vcs
 /dev/.udev/db/[EMAIL PROTECTED]@vcs1
 /dev/.udev/db/[EMAIL PROTECTED]@vcs2
@@ -5792,6 +5795,9 @@
 /dev/.udev/db/[EMAIL PROTECTED]@vcsa5
 /dev/.udev/db/[EMAIL PROTECTED]@vcsa6
 /dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@1-0:[EMAIL PROTECTED]
+/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL PROTECTED]@[EMAIL 
PROTECTED]:[EMAIL PROTECTED]/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL 
PROTECTED]:00:[EMAIL PROTECTED]@[EMAIL PROTECTED]:[EMAIL 
PROTECTED]/dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@[EMAIL PROTECTED]
 /dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@usbdev1.1_ep00
 /dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@2-0:[EMAIL PROTECTED]
 /dev/.udev/db/[EMAIL PROTECTED]:[EMAIL PROTECTED]:00:[EMAIL 
PROTECTED]@usbdev2.1_ep00
@@ -5809,6 +5815,10 @@
 /dev/.udev/failed/[EMAIL PROTECTED]@00:05
 /dev/.udev/uevent_seqnum
 /dev/urandom
+/dev/usb
+/dev/usbdev1.110_ep00
+/dev/usbdev1.110_ep03
+/dev/usbdev1.110_ep82
 /dev/usbdev1.1_ep00
 /dev/usbdev1.1_ep81
 /dev/usbdev2.1_ep00
@@ -5818,6 +5828,7 @@
 /dev/usbdev3.2_ep00
 /dev/usbdev3.2_ep02
 /dev/usbdev3.2_ep81
+/dev/usb/lp0
 /dev/vcs
 /dev/vcs1
 /dev/vcs2




I need to see the properties of the newly-created device node (and only
of this one). Make sure it is really /dev/usb/lp0.


snoopy>ls -al /dev/usb/lp0
crw-rw 1 root lp 180, 0 2007-04-30 00:34 /dev/usb/lp0

snoopy> udevinfo -a -p $(udevinfo -q path -n /dev/usb/lp0)

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/class/usb/lp0':
KERNEL=="lp0"
SUBSYSTEM=="usb"
DRIVER==""
ATTR{dev}=="180:0"

  looking at parent device 
'/devices/pci:00/:00:03.0/usb1/1-1/1-1:1.0':

KERNELS=="1-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usblp"
ATTRS{modalias}=="usb:v04F9p0016d0100dc00dsc00dp00ic07isc01ip02"
ATTRS{bInterfaceProtocol}=="02"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bInterfaceClass}=="07"
ATTRS{bNumEndpoints}=="02"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceNumber}=="00"
ATTRS{ieee1284_id}=="MFG:Brother_CMD:PJL,PCL,PCLXL_MDL:HL-5040 
series_CLS:PRINTER_"


  looking at parent device '/devices/pci:00/:00:03.0/usb1/1-1':
KERNELS=="1-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{serial}=="L3J497500"
ATTRS{product}=="HL-5040"
ATTRS{manufacturer}=="Brother"
ATTRS{maxchild}=="0"
ATTRS{version}==" 1.10"
ATTRS{devnum}=="125"
ATTRS{speed}=="12"
ATTRS{bMaxPacketSize0}=="16"
ATTRS{bNumConfigura

  1   2   3   4   5   6   >