Re: USB flash drive: permissions, etc.

2010-05-29 Thread d . sastre . medina
On Fri, May 28, 2010 at 10:06:21PM -0400, john wrote:
> On 28/05/10 19:04, d.sastre.med...@gmail.com wrote:
> > sfdisk -l /dev/sda
> 
> Disk /dev/sda: 1023 cylinders, 64 heads, 62 sectors/track
> Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0
> 
> Device Boot Start End   #cyls#blocks   Id  System
> /dev/sda1   ? 196102+ 483781- 287679- 570754815+  72  Unknown
>   start: (c,h,s) expected (1023,63,62) found (357,116,40)
>   end: (c,h,s) expected (1023,63,62) found (357,32,45)
> /dev/sda2   ?  42512+ 530422- 487911- 968014120   65  Novell Netware 386
>   start: (c,h,s) expected (1023,63,62) found (288,115,43)
>   end: (c,h,s) expected (1023,63,62) found (367,114,50)
> /dev/sda3   ? 471240+ 959150- 487911- 968014096   79  Unknown
>   start: (c,h,s) expected (1023,63,62) found (366,32,33)
>   end: (c,h,s) expected (1023,63,62) found (357,32,43)
> /dev/sda4   ? 727238+ 727252- 14- 27749+   d  Unknown
>   start: (c,h,s) expected (1023,63,62) found (372,97,50)
>   end: (c,h,s) expected (1023,63,62) found (0,10,0)
> r...@debian:/home/john
> 
> The flash is not partitioned and I can mount it and rw as a user on 
> another box. Also I have the same problems using another flash drive.

The other box is GNU/Linux too?
The other flash shows the same output if you sfdisk -l it?
 
> I think I'm just have to be a little more careful in what I delete in 
> the future.

I'm not sure it has to do with anything being deleted...
It looks like it has partitions. Only they are unrecognized.
I still suggest to format (previous back up) it.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpZXncXg7NyM.pgp
Description: PGP signature


Re: Encrypted /tmp fails after recent kernel upgrade

2010-05-29 Thread François TOURDE
Le 14758ième jour après Epoch,
Todd A. Jacobs écrivait:

> After a recent kernel upgrade to 2.6.32-5-amd64, I now get the following
> when trying to mount an encrypted /tmp with dev/mapper:
>
> $ sudo mount /tmp
> mount: wrong fs type, bad option, bad superblock on /dev/mapper/tmp,
>  missing codepage or helper program, or other error
>  In some cases useful info is found in syslog - try
>  dmesg | tail  or so

Maybe bug #581203 [1].

swap is probably less impacted by this bug.

[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581203


--
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/87aarjcf1c@fermat.tourde.home



Re: (OT) suggestion on terse wording of "IT Helpdesk"

2010-05-29 Thread Zhang Weiwu
On 2010年05月28日 05:05, Andrei Popescu wrote:
>
> Yes, and it's an interesting trick you thought of.
>
> But, wouldn't the CDCSS people all send mail from the same domain? This 
> way you can just filter on the domain part of the From: e-mail address, 
> or am I missing something?
>   
But I am also in charge of the web projects of CDCSS and half of the
people I deal on their Web projects are also the people I deal with
their IT helpdesk needs. In fact, this is a usual situation if you run a
small company targeting small customers: you run several types
businesses with them, and every one from them work on several types of
needs.


-- 
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/4c00d51a.3020...@realss.com



Re: Odd name resolution

2010-05-29 Thread Camaleón
On Fri, 28 May 2010 22:44:37 -0400, vr wrote:

> On my host I'm not sure why I'm able to ping "hostname.local" and get a
> reply from my local IP. For example, the hosts name in question is
> sager.mydomain.tld.

(...)

Do you have avahi daemon running in that host?

stt008:~# hostname -f 
stt008.linux.site


stt008:~# ping -c 3 stt008.local
PING stt008.local (192.168.0.8) 56(84) bytes of data.
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=1 ttl=64 time=0.012 ms
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=2 ttl=64 time=0.009 ms
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=3 ttl=64 time=0.014 ms
--- stt008.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.009/0.011/0.014/0.004 ms


stt008:~# /etc/init.d/avahi-daemon stop
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.


stt008:~# ping -c 3 stt008.local
ping: unknown host stt008.local


Greetings,

-- 
Camaleón


-- 
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/pan.2010.05.29.08.57...@gmail.com



Re: Encrypted /tmp fails after recent kernel upgrade

2010-05-29 Thread Sebastian Ramacher
François TOURDE  tourde.org> writes:
> Todd A. Jacobs écrivait:
> > After a recent kernel upgrade to 2.6.32-5-amd64, I now get the following
> > when trying to mount an encrypted /tmp with dev/mapper:
> >
> > $ sudo mount /tmp
> > mount: wrong fs type, bad option, bad superblock on /dev/mapper/tmp,
> >missing codepage or helper program, or other error
> >In some cases useful info is found in syslog - try
> >dmesg | tail  or so
> 
> Maybe bug #581203 [1].
> 
> swap is probably less impacted by this bug.
> 
> [1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581203

No, seems to be a problem with recent upgrade of e2fsprogs to 1.41.12-1. Before
upgrading e2fsprogs yesterday everything worked fine for me.

Regards



-- 
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/loom.20100529t112509-...@post.gmane.org



Re: is firewire broken in Debain?

2010-05-29 Thread Stefano Rivera
Hi H.S. (2010.05.29_03:37:19_+0200)
> In today's Debian Testing, is there anyone here who has successfully
> grabbed dv video from a MiniDV camcorder at all using the newer
> firewire stack?

Yes. I have had some trouble with it (dvgrab refusing to find the
camera), but I blamed that on the camera. Unplugging and re-plugging in
the firewire cable tended to do the trick.

There was a point when I couldn't get dvgrab to work, but it worked
every time when I ran it under strace, so there could be timing issues.

Unfortunately, I can only give these anecdotes and can't really help
you, the DV camera was stolen last week and I don't think I'll get
another one.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


-- 
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/20100529094704.gh24...@bach



Filezilla: always trust a domain's certificate

2010-05-29 Thread Merciadri Luca
Hi,

How can I tweak some setting so that Filezilla will never ask me again
if I want to trust a given domain's certificate? I often connect to some
machines of montefiore.ulg.ac.be through SFTP, but the fact is that I
connect to different machines (sometimes, some are dead), and that, for
each machine, I am asked if I want to trust its certificate.

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


Love is like war, Easy to start, Hard to end, Impossible to forget.
The difference between friendship and love is how much you can hurt each
other. (Ashleigh Brilliant)



signature.asc
Description: OpenPGP digital signature


Re: Filezilla: always trust a domain's certificate

2010-05-29 Thread Camaleón
On Sat, 29 May 2010 12:04:42 +0200, Merciadri Luca wrote:

> How can I tweak some setting so that Filezilla will never ask me again
> if I want to trust a given domain's certificate? I often connect to some
> machines of montefiore.ulg.ac.be through SFTP, but the fact is that I
> connect to different machines (sometimes, some are dead), and that, for
> each machine, I am asked if I want to trust its certificate.

That is how ssh authentication works.

For every client machine you are connecting from, you need to first 
accept the certificate. Is a one time step, you will never be asked again 
provided that:

a/ You do not delete the certificate on the client
b/ The server does not change the key
c/ You connect always from/to the same hosts

Greteings,

-- 
Camaleón


-- 
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/pan.2010.05.29.10.28...@gmail.com



Re: Filezilla: always trust a domain's certificate

2010-05-29 Thread Jochen Schulz
Merciadri Luca:
> 
> How can I tweak some setting so that Filezilla will never ask me again
> if I want to trust a given domain's certificate? I often connect to some
> machines of montefiore.ulg.ac.be through SFTP, but the fact is that I
> connect to different machines (sometimes, some are dead), and that, for
> each machine, I am asked if I want to trust its certificate.

I don't know whether Filezilla uses that setting, but for OpenSSH
there's StrictHostKeyChecking (see man 5 ssh_config).

J.
-- 
I think the environment will be okay.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: (OT) suggestion on terse wording of "IT Helpdesk"

2010-05-29 Thread Erwan David
Le Sat 29/05/2010, Zhang Weiwu disait
> On 2010年05月28日 05:05, Andrei Popescu wrote:
> >
> > Yes, and it's an interesting trick you thought of.
> >
> > But, wouldn't the CDCSS people all send mail from the same domain? This 
> > way you can just filter on the domain part of the From: e-mail address, 
> > or am I missing something?
> >   
> But I am also in charge of the web projects of CDCSS and half of the
> people I deal on their Web projects are also the people I deal with
> their IT helpdesk needs. In fact, this is a usual situation if you run a
> small company targeting small customers: you run several types
> businesses with them, and every one from them work on several types of
> needs.

I handle this having virtual addressesby function.

support.produ...@company.tlp, support.produ...@company.tld etc.

it makes also things easier, when someone leaves for redirecting the mail to 
the right person.

-- 
Erwan


-- 
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/20100529105209.gb15...@rail.eu.org



Re: Filezilla: always trust a domain's certificate

2010-05-29 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Okay. Thanks for your answers. I'll check this later.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Don't have too many irons in the fire.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkwBBWwACgkQM0LLzLt8MhxiHwCeMPBEEjVsovSvMlYvX3jOEND+
PoUAn2iSKrQbH/odeSUmlj7fZkWswBLl
=C0JJ
-END PGP SIGNATURE-


-- 
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/87bpbyvr83@merciadriluca-station.merciadriluca



Re: IPP client-error-document-format-not-supported

2010-05-29 Thread Camaleón
On Fri, 28 May 2010 14:53:50 +0700, Sthu Deus wrote:

> I can not print on Epson matrix printer LQ100 after upgrade of some
> package using testing repo.

(...)

Have you tried to purge and reinstall cups packages again?

I know is a bit drastic measure but it usually works.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.05.29.13.50...@gmail.com



Re: Not resuming from hibernation; doing normal reboot instead

2010-05-29 Thread Camaleón
On Fri, 28 May 2010 12:59:33 +0430, Nima Azarbayjany wrote:

> I have a recent install of Squeeze on my HP Pavilion dv5 laptop and
> hibernate is not working for me. The system does a normal hibernation
> but upon starting the machine, it does a normal boot seemingly ignoring
> the resume image. The effects of hibernation seem to limit to disk
> checks during boot (instead of resuming from hibernation) and disabled
> networking in Gnome. Any ideas? Let me add that I chose LVM when I was
> setting up partitions. Is this possible that the resume image is not
> seen because the swap partition might be unavailable?

Check if that report fits with your issue:

***
lvm2: Can't resume from a uswsusp hibernation on LVM swap
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544641
***

Greetings,

-- 
Camaleón


-- 
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/pan.2010.05.29.13.54...@gmail.com



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Stephen Powell
On Fri, 28 May 2010 21:26:01 -0400 (EDT), Stan Hoeppner wrote:
> Stephen Powell put forth on 5/28/2010 9:45 AM:
>> The problem can be circumvented by taking an image backup
>> instead of a logical backup, but that gets into special backup
>> requirements.
> 
> Can you mix and match?  Does the image backup grab the entire disk or does it
> work at the partition level?  Can you, say, do an image backup of the MBR and
> boot sector and the /boot partition, and then use file backup on the rest of
> the disk.

I'm not sure.  But the whole point is for the backup people to be able
to backup and restore a Linux server using the same procedure as they
would for a Windows server.  And their standard method is to take a
logical backup of the entire disk.

>
> What backup software are you using that can take an image backup of a Linux
> boot disk?  Does it install a local agent for this?  Or are you booting from
> SAN?  If so, you should have all kinds of backup flexibility, depending on
> whose storage arrays you use.

The machine is backed up by doing a PXE network boot directly from the
hardware BIOS.  The backup client does not exist on the hard drive
that is being backed up.  It is downloaded over the network, just as
the netboot operating system is.  The backup itself is done by connecting to
a backup server and sending the data over the network.  There is no
local tape drive or anything of that nature.  The restore procedure
is similar.

Yes, there is backup
flexibility.  But the whole goal here is to make the backup process
standard for every server, regardless of whether it runs Windows or
Linux.  I don't want the backup people to have to make a decision.
"OK, now let's see.  Is this a Linux server or a Windows server?
If it's a Linux server I have to remember to take the backup this
special way.  Otherwise, I do it the standard way."  They'll forget.
Or a new guy will come along who doesn't know to do it differently
for a Linux server and he won't do it right.  And then, if we have
to restore from the backup that wasn't taken the proper way, the machine
won't boot.  And then Linux looks bad.  I want the standard method that
they use for Windows machines to work for a Linux server too.  And as
long as I live within the restrictions of supported file systems and
boot loaders, the backup and restore software understands the file system
and can backup the disk on a file-by-file basis, and the restore software
knows how to patch the boot loader after the restore to make the machine
bootable.

As time goes on, these restrictions are getting more restrictive.
And we are looking at alternatives to our existing backup software.
But for now, I have to live within these restrictions.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/115102933.148780.1275144536082.javamail.r...@md01.wow.synacor.com



Re: USB flash drive: permissions, etc.

2010-05-29 Thread john

On 29/05/10 03:51, d.sastre.med...@gmail.com wrote:

On Fri, May 28, 2010 at 10:06:21PM -0400, john wrote:

On 28/05/10 19:04, d.sastre.med...@gmail.com wrote:

sfdisk -l /dev/sda


Disk /dev/sda: 1023 cylinders, 64 heads, 62 sectors/track
Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0

 Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   ? 196102+ 483781- 287679- 570754815+  72  Unknown
start: (c,h,s) expected (1023,63,62) found (357,116,40)
end: (c,h,s) expected (1023,63,62) found (357,32,45)
/dev/sda2   ?  42512+ 530422- 487911- 968014120   65  Novell Netware 386
start: (c,h,s) expected (1023,63,62) found (288,115,43)
end: (c,h,s) expected (1023,63,62) found (367,114,50)
/dev/sda3   ? 471240+ 959150- 487911- 968014096   79  Unknown
start: (c,h,s) expected (1023,63,62) found (366,32,33)
end: (c,h,s) expected (1023,63,62) found (357,32,43)
/dev/sda4   ? 727238+ 727252- 14- 27749+   d  Unknown
start: (c,h,s) expected (1023,63,62) found (372,97,50)
end: (c,h,s) expected (1023,63,62) found (0,10,0)
r...@debian:/home/john

The flash is not partitioned and I can mount it and rw as a user on
another box. Also I have the same problems using another flash drive.


The second box is runnig lenny and the result of fdisk -l /dev/sda is:

Disk /dev/sda: 1023 cylinders, 64 heads, 62 sectors/track
Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from
0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   ? 196102+ 483781- 287679- 570754815+  72  Unknown
start: (c,h,s) expected (1023,63,62) found (357,116,40)
end: (c,h,s) expected (1023,63,62) found (357,32,45)
/dev/sda2   ?  42512+ 530422- 487911- 968014120   65  Novell Netware 386
start: (c,h,s) expected (1023,63,62) found (288,115,43)
end: (c,h,s) expected (1023,63,62) found (367,114,50)
/dev/sda3   ? 471240+ 959150- 487911- 968014096   79  Unknown
start: (c,h,s) expected (1023,63,62) found (366,32,33)
end: (c,h,s) expected (1023,63,62) found (357,32,43)
/dev/sda4   ? 727238+ 727252- 14- 27749+   d  Unknown
start: (c,h,s) expected (1023,63,62) found (372,97,50)
end: (c,h,s) expected (1023,63,62) found (0,10,0)

Using a different usb flash (8g vs 4g) drive on the lenny box gives the 
following:


Disk /dev/sda: 1022 cylinders, 247 heads, 62 sectors/track
Warning: The partition table looks like it was made
  for C/H/S=*/20/16 (instead of 1022/247/62).
For this listing I'll assume that geometry.
Units = cylinders of 163840 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   *  0+  48947-  48947-   7831512c  W95 FAT32 (LBA)
start: (c,h,s) expected (0,5,1) found (0,1,1)
end: (c,h,s) expected (1023,19,16) found (505,19,16)
/dev/sda2  0   -   0  00  Empty
/dev/sda3  0   -   0  00  Empty
/dev/sda4  0   -   0  00  Empty

Both drives are made by lexar and have never been formatted so they come 
with vfat.



John





--
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/4c011217.6040...@kos.net



[ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread David Sastre Medina
Hello,

Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
The error is "can't find root_vg-root_lv". After that, it drops me to
a initrd shell, but my USB keyboard stops working, so I must
button-reboot.
There are two kernels installed. 
I've attached grub.cfg. It's an automated cfg from update-grub2.
I already tried adding rootdelay without success in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=15 quiet"

Weird stuff: I have upgraded this box from lenny a week ago or
so. No problems booting.
It used to have a bpo kernel, but since squeeze's repo has the
same (2.6.32-3) kernel, I installed it and uninstalled the bpo one.
No problems booting yet.
Afterwards, I had to `/etc/init.d/vbox setup' to be able to use VBox
again (dkms failed, it seems) and re-run the makeselved script to
install the ATI propietary driver. This box has an ATI Radeon
HD 4550.
Kernel 2.6.32-2 stops booting, so I use 2.6.32-2 while I do some
research about it.
Yesterday, 2.6.32-2 booted without problems, but
since I had ATI propietary driver installed only for 2.6.32-3, I run
the installer in 2.6.32-2. Today this kernel doesn't boot either.

Follows some commands' ouput from within a rescueCD session.

r...@sysresccd /root % ll /mnt/md0
total 16M
drwxr-xr-x  4 root root 4.0K 2010-05-28 20:45 .
drwxr-xr-x 11 root root  180 2010-05-29 10:28 ..
-rw-r--r--  1 root root 109K 2010-02-11 07:48
config-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 109K 2010-02-25 09:01
config-2.6.32-3-686-bigmem
drwxr-xr-x  3 root root 4.0K 2010-05-25 20:52 grub
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-3-686-bigmem
drwx--  2 root root  16K 2010-01-24 11:12 lost+found
-rw-r--r--  1 root root 1.3M 2010-02-11 07:48
System.map-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 1.3M 2010-02-25 09:01
System.map-2.6.32-3-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-11 07:47
vmlinuz-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-25 09:00
vmlinuz-2.6.32-3-686-bigmem

r...@sysresccd /root % mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
  Creation Time : Sun Jan 24 10:10:43 2010
 Raid Level : raid1
 Array Size : 979840 (957.04 MiB 1003.36 MB)
  Used Dev Size : 979840 (957.04 MiB 1003.36 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat May 29 10:29:40 2010
  State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

   UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
 Events : 0.4

Number   Major   Minor   RaidDevice State
   0   8   170  active sync   /dev/sdb1
   1   8   331  active sync   /dev/sdc1

r...@sysresccd /root % vgdisplay root_vg
  --- Volume group ---
  VG Name   root_vg
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  19
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV11
  Open LV   0
  Max PV0
  Cur PV1
  Act PV1
  VG Size   148.11 GB
  PE Size   4.00 MB
  Total PE  37917
  Alloc PE / Size   15984 / 62.44 GB
  Free  PE / Size   21933 / 85.68 GB
  VG UUID   XN1x4E-uBFZ-svSP-hQMr-kSHe-Ry3s-VtBcsH

r...@sysresccd /root % lvdisplay /dev/mapper/root_vg-root_lv
  --- Logical volume ---
  LV Name/dev/root_vg/root_lv
  VG Nameroot_vg
  LV UUIDFx1w1w-6nvb-aMh1-6iG1-pruF-VuiH-okk9cw
  LV Write Accessread/write
  LV Status  available
  # open 0
  LV Size952.00 MB
  Current LE 238
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:5


Any help is appreciated.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
  fi
}
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root='(root_vg-usr_lv)'
search --no-floppy --fs-uuid --set a800ad33-1549-4f09-a187-d5c6f13942c4
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
# For backward compatibility w

Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread d . sastre . medina
I think my previous post requires some more info:

I've got three HDs, two of them (twin disks) have two partitions,
one /boot partition (md0) and the other one for LVM filesystems (md1),
where root_vg-root_lv lives (among others). The third disk is unpatitioned,
and has one only lv (var_lv)

So, provided this autogenerated grub.cfg entry:

menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class debian 
--class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed
echoLoading Linux 2.6.32-3-686-bigmem ...
linux   /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv 
ro  rootdelay=25 quiet
echoLoading initial ramdisk ...
initrd  /initrd.img-2.6.32-3-686-bigmem
}

...and compared to the examples in the grub wiki¹:

Example grub.cfg for LVM

Below is a sample grub.cfg using LVM. Linux is installed under
MainGroup-linuxLV where MainGroup is the VolumeGroup und linuxLV is
the logical volume. Notice that vmlinuz (the linux kernel) and
initrd.img are lying in the logical volume and can be accessed by
symlinks.

set timeout=20
set default=0
menuentry "Linux on LVM" {
insmod lvm
set root=(MainGroup-linuxLV)
linux /vmlinuz root=/dev/mapper/MainGroup-linuxLV
initrd /initrd.img
} 

Example grub.cfg for RAID

This is an example of grub.cfg when the /boot filesystem is on a RAID
device.

insmod raid
set root=(md0)
search --fs-uuid --set 155c8fdb-607f-45a4-bd6d-0dd89f21eac2

menuentry "Linux" {
insmod raid
set root=(md0)
search --fs-uuid --set 155c8fdb-607f-45a4-bd6d-0dd89f21eac2
linux/vmlinuz-2.6.31 root=LABEL=root ro
initrd   /initrd.img-2.6.31
} 

I can't find documented the scenario when /boot resides in /dev/md0
and root filesystem is mounted in /dev/mapper/root_vg-root_lv (md1, in
my case).

Removing the `quiet' option shows LVM log lines appearing *before*
mdadm lines, which suggest some timming issues in the init scripts(?).

Again, any hints are appreciated.

Regards.

¹ http://grub.enbug.org/LVMandRAID

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpyXJEYlBCLi.pgp
Description: PGP signature


Installing memtest86 in Lenny fails to copy the actual binary

2010-05-29 Thread Klistvud

Howdy, fellow Debianites!

I tried to install memtest86 on my Lenny box (using Synaptic).  
Everything appeared to go smoothly, even a new "memtest" entry wass  
added to my grub.cfg - but the actual memtest86.bin file was never  
copied to disk! Interestingly enough, the same happened when I tried to  
install memtest86+ ... Of course, the "memtest" grub entry now fails  
with a "file not found" error.

Any ideas? Happened to anybody else?
Let me just add that my / partition is not full.

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
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/1275152342.2364...@compax



Re: Dependency based boot sequence conversion

2010-05-29 Thread Hugo Vanwoerkom

Sven Joachim wrote:

On 2010-05-27 20:26 +0200, Hugo Vanwoerkom wrote:


I just finished a dist-upgrade (1107 packages) and found out that Sid
is moving (has moved?) to a dependency based boot sequence.


This happened quite some time ago, yes.


That explains why the prior dist-upgrade was a failure because the
partition became unbootable. I since overlaid that partition so I
cannot research whether insserv was involved or not, but what happened
is the boot sequence in /etc/rc.d was altered by something and you
could not boot anymore. It felt unsafe to proceed so I abandoned the
upgrade.

This time luck would have it that:

...
dpkg: considering deconfiguration of sysv-rc, which would be broken by
installation of insserv ...
dpkg: yes, will deconfigure sysv-rc (broken by insserv).
...


This is normal, no need to worry.


and

...
Setting up sysv-rc (2.88dsf-5) ...
info: Checking if it is safe to convert to dependency based boot.

error: Unable to migrate to dependency based boot sequencing.
error: Problems detected:
...


I suspect this will happen to many people.  If you don't purge removed
old packages, it is expected to have old init scripts around that lack
the LSB headers with the necessary dependency information.


So I have corrected the errors but before I commit myself with
'dpkg-reconfigure sysv-rc' I want to know what the new boot sequence
*will look like*.


The numbers in the [SK][0-9[0-9]* links will be lower, and the order
will differ somewhat.  "Start" links in /etc/rc[06].d will be converted
to stop links.


I have looked at the dependency graph per
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
but that is too unwieldy: it doesn't fit the screen and doesn't answer
my question:

What will the boot sequence be when I convert?


This really depends on which init scripts you have.


Anybody know how to wring that out of insserv?


Try the following (you don't have to be root for that):

$ cp -a /etc/{init,rc?}.d /tmp/
$ /sbin/insserv -p /tmp/init.d/

And inspect the /tmp/rc?.d directories.



Sven, That is exactly the trick that I was looking for.
The result looks scary :-(

Hugo


















--
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/htrhts$ub...@dough.gmane.org



Making use of volume control keys

2010-05-29 Thread Michael Goetze

Hi list,

I've just gotten a new laptop (Dell Latitude E4200), and it has some 
keys for adjusting the volume, which I'd like to configure to work with 
Debian. I'm using the awesome window manager.


They keys already get usefully recognized, as evidenced by the following 
xev output:


KeyPress event, serial 28, synthetic NO, window 0x281,
root 0x109, subw 0x0, time 8996889, (4,158), root:(665,178),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), 
same_screen YES,

XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x281,
root 0x109, subw 0x0, time 8996972, (4,158), root:(665,178),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), 
same_screen YES,

XLookupString gives 0 bytes:
XFilterEvent returns: False

Now all I need is for them to interface with my sound hardware. :) I 
tried installing pulseaudio and running gnome-volume-control-applet in 
my systray, but it didn't have any effect. (The hotkeys for setting the 
LCD backlight interfaced nicely with the gnome-power-manager applet.)


Please CC me on replies, as I am not subscribed.

Thanks,
Michael


--
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/4c014323.2010...@mgoetze.net



Re: is firewire broken in Debain?

2010-05-29 Thread H.S.
Stefano Rivera wrote:
> Hi H.S. (2010.05.29_03:37:19_+0200)
>> In today's Debian Testing, is there anyone here who has successfully
>> grabbed dv video from a MiniDV camcorder at all using the newer
>> firewire stack?
> 
> Yes. I have had some trouble with it (dvgrab refusing to find the
> camera), but I blamed that on the camera. Unplugging and re-plugging in
> the firewire cable tended to do the trick.

Well, that doesn't sound very encouraging.


> There was a point when I couldn't get dvgrab to work, but it worked
> every time when I ran it under strace, so there could be timing issues.

No luck here with this either.


> Unfortunately, I can only give these anecdotes and can't really help
> you, the DV camera was stolen last week and I don't think I'll get
> another one.

Sorry about that. What a shame.


This 'problem' has been around for at least 1.5 years, as far as I can
remember. I couldn't even find a list of hardware that the newer stack
explicitly does not work on.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
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/htrjdq$3a...@dough.gmane.org



konsole sound (again)

2010-05-29 Thread Hugo Vanwoerkom

Hi,

I have Konsole and Kedit installed but not KDE (but Fvwm).

After my recent dist-upgrade in Sid hal and friend consolekit appeared 
again.

So I did:

h...@debian:/tmp/sdb6$ aptitude why hal
i   konsole Dependskdebase-runtime
i A kdebase-runtime Recommends hal
h...@debian:/tmp/sdb6$ aptitude why consolekit
i   konsole Dependskdebase-runtime
i A kdebase-runtime Recommends hal
i A hal Recommends consolekit (>= 0.3)

So I say what the heck, recommendations only, get rid of them.

So I did.

But then the sound stops working in Konsole, with a message that he 
can't find the sound device, but is now using the side speakers... 
(what?!) but still no sound.


The solution: disable play a sound in settings->configure notifications
and say: play /usr/share/sounds/KDE-Sys-Warning.ogg in 
settings->configure notifications->run command.


Hugo


--
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/htrkcp$60...@dough.gmane.org



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Carl Johnson
Per Lundberg  writes:

> Hi there!
>
> Isn't there any XDMCP-capable server available in squeeze that can
> speak ipv4 any more?
>
> I read about the "net.ipv6.bindv6only" issue (in a bug report).
> However, that setting is most assuredly set to 0 when I check with
> sysctl -a.
> I also forcibly disabled IPv6 support altogether (since I don't need
> it), also by using a sysctl interface, but it still doesn't help me.

It can't be binding to an interface that doesn't exist, so it sounds
as though you haven't disabled it properly.  You can type
'/sbin/ifconfig' and look for inet6 entries.  You shouldn't have any
if IPv6 is disabled.  You can check for anything listening on IPv6
with 'netstat -l6'.  Have you looked at the Debian wiki page at
'http://wiki.debian.org/DebianIPv6'?  If you have followed those
directions for disabling, did you reboot afterwards?

> Both when trying with xdm and gdm, they *only* bind to the udp6
> socket. Quite broken if you ask me, _especially when ipv6 support is
> disabled in the kernel_!

I just looked at mine (kdm) and it only seems to be listening to IPv6,
but I am pretty sure it will also connect to IPv4.  I just checked
google and there are some similar problems listed and some suggestions
on how to solve them.  One suggests using module aliases to prevent
loading the IPv6 module
(http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html).
 

> I haven't tried with KDM so far (and I'd rather not, since I have no
> interest in running KDE).

I wouldn't expect it to be different.

> Any hints? The reason I want IPv4 XDMCP is that I will connect to the
> server from a Windows XP machine, using Xming. I wasn't aware that
> this has suddenly become an awful lot of work, since the introduction
> of the wonderful new toy called IPv6... :-)
>
> (Please, Cc any replies to my email address since I don't subscribe to
> the mailing list. Thanks)

Done.

-- 
Carl Johnsonca...@peak.org


-- 
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/877hmmr3nl@cjlinux.localnet



Re: Making use of volume control keys

2010-05-29 Thread Andrei Popescu
On Sat,29.May.10, 18:38:59, Michael Goetze wrote:
> 
> Now all I need is for them to interface with my sound hardware. :) I
> tried installing pulseaudio and running gnome-volume-control-applet
> in my systray, but it didn't have any effect. (The hotkeys for
> setting the LCD backlight interfaced nicely with the
> gnome-power-manager applet.)

I'm setting a keybinding in the WM/DE:

XF86AudioLowerVolume:   amixer set Master 10%-

and so on. See 'man amixer'

> Please CC me on replies, as I am not subscribed.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Dependency based boot sequence conversion

2010-05-29 Thread Sven Joachim
On 2010-05-29 19:12 +0200, Hugo Vanwoerkom wrote:

> Sven Joachim wrote:
>> On 2010-05-27 20:26 +0200, Hugo Vanwoerkom wrote:
>>
>>> Anybody know how to wring that out of insserv?
>>
>> Try the following (you don't have to be root for that):
>>
>> $ cp -a /etc/{init,rc?}.d /tmp/
>> $ /sbin/insserv -p /tmp/init.d/
>>
>> And inspect the /tmp/rc?.d directories.
>>
>
> Sven, That is exactly the trick that I was looking for.
> The result looks scary :-(

Why?  Only because it is unfamiliar?  Or do you have concrete indication
that the boot order is not correct?

I've been using insserv for almost two years, and when I now look at the
backup of /etc/rc?d which it made, _that_ looks scary to me, because the
order of the symlinks and their numbers appear to be without logic,
almost random.

Sven


-- 
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/87hblq1tdx@turtle.gmx.de



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Andreas Barth
* Stephen Powell (zlinux...@wowway.com) [100523 21:21]:
> On Sat, 22 May 2010 23:39:52 -0400 (EDT), William Pitcock wrote:
> > After some discussion about lilo on #debian-devel in IRC, it has pretty
> > much been determined that kernel sizes have crossed the line past where
> > lilo can reliably determine the payload size.

We're speaking about #505609 I assume?


I'm not sure this bug requires an removal of lilo (see below), however
I think this means we should strongly discourage usage of lilo.


> > (1) The release notes need to be updated to reflect that lilo is no
> > longer a bootloader option;

The release notes should be updated in case we keep lilo that we
recommend to move to another boot loader now.


> > (2) The debian-installer team needs to remove the lilo-installer udeb;

This should indeed happen - if someone activly requires lilo, then
doing it by hand should be ok-ish.



> I am not a Debian package maintainer or a Debian developer.  I am just an
> ordinary system administrator.  So I'm sure that my opinion will not count
> for much.  But I am opposed to the removal of lilo.  Both grub-legacy and
> grub-pc use sectors on the hard disk outside of the master boot record
> (cylinder 0, head 0, sector 1).  In other words they use cylinder 0, head 0,
> sector 2 and possibly subsequent sectors on cylinder 0 head 0.  This breaks
> the design of the backup software that my employer uses.  This backup software
> backs up the master boot record and all partitions; but since the extra
> sectors used by grub-legacy and grub-pc are outside the master boot record
> and are not part of any partition, they don't get backed up.  Consequently,
> if we have a hard drive failure and restore from a backup, we have an
> unbootable machine.  Lilo uses only the master boot record.  A lilo-booted
> machine can be backed up and restored with our existing backup software
> just fine.  Given these requirements, I wouldn't use grub-pc even if it
> were bug free and well documented.  (But neither is the case!)

Would it be possible to move (perhaps optionally) the extra grub sectors
into an (perhaps dummy) partition (this question is for the
grub2-people)? Would that be ok for you?


> As for the claims that kernels are too big now, I find that hard to
> believe, especially now that we have the large-memory option available.
> The standard stock Debian kernel image file that I use for Squeeze,
> vmlinuz-2.6.32-3-686, is currently 2234080 bytes.  Are you trying to tell
> me that there's no room for a 2M kernel below the start of the EBDA?
> 
> I am able to load *both* the kernel *and* the initial RAM filesystem
> below the EBDA (i.e. the large-memory option is not used) if I use
> MODULES=dep instead of MODULES=most in the initial RAM filesystem
> under Lenny.  I'll bet I can do it with Squeeze too.

This sounds like we should add an wrapper around lilo that warns that
lilo is deprecated and warns if the images are too large.



Andi


-- 
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/20100529184041.gk13...@mails.so.argh.org



Acroread: accelerating the search through a PDF

2010-05-29 Thread Merciadri Luca
Hi,

I sometimes have really long documents (>4000 p) for specs., or for
other purely technical stuff. I sometimes look for a given model, or for
a given word. The fact is that acroread reads ~8 pg/s, and, thus, if I
do not know that my keyword is simply at the last page of the document,
it takes 500s ~8 minutes and a half. How can I speed it up? Why is it so
sluggish? Do not tell me that it is limited by R/W access on the HDD...

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.







signature.asc
Description: OpenPGP digital signature


Re: Acroread: accelerating the search through a PDF

2010-05-29 Thread Ron Johnson

On 05/29/2010 01:47 PM, Merciadri Luca wrote:

Hi,

I sometimes have really long documents (>4000 p) for specs., or for


Wow.  How big is that?


other purely technical stuff. I sometimes look for a given model, or for
a given word. The fact is that acroread reads ~8 pg/s, and, thus, if I
do not know that my keyword is simply at the last page of the document,
it takes 500s ~8 minutes and a half. How can I speed it up? Why is it so
sluggish?  Do not tell me that it is limited by R/W access on the HDD...



Have you tried other PDF readers?  Searched for Linux-based PDF 
indexers?


Do you hear the disk spin up when you start the search?

In Edit->Preferences->Search there is a knob or two you can diddle with.

Lastly, acroread is free-as-in-beer.  Adobe wants you to buy Acrobat 
to get the Good Stuff.


--
Dissent is patriotic, remember?


--
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/4c016ac0.4030...@cox.net



Re: Acroread: accelerating the search through a PDF

2010-05-29 Thread Merciadri Luca
Ron Johnson wrote:
> On 05/29/2010 01:47 PM, Merciadri Luca wrote:
>> Hi,
>>
>> I sometimes have really long documents (>4000 p) for specs., or for
>
> Wow.  How big is that?
Well, there are many bigger works, such as encyclopedias!
>
>> other purely technical stuff. I sometimes look for a given model, or for
>> a given word. The fact is that acroread reads ~8 pg/s, and, thus, if I
>> do not know that my keyword is simply at the last page of the document,
>> it takes 500s ~8 minutes and a half. How can I speed it up? Why is it so
>> sluggish?  Do not tell me that it is limited by R/W access on the HDD...
>>
>
> Have you tried other PDF readers?  Searched for Linux-based PDF indexers?
As I said in another topic, I am totally okay for free stuff (if it was
not the case, I would not be using Debian: thinking unfree but using
free is cowardice), but the fact is that I have not found a reader whose
range of compatibility with the PDF standard is as high as in acroread.
Acroread is slow, boring, sometimes buggy, but I need to use it as long
as I do not find a PDF reader which has such a big compatibility range.
> Do you hear the disk spin up when you start the search?
Not at all. I have a HDD load monitor, and I do not even see any trace
of some HDD use. Such documents often contain no pictures (only
schematics, as you might guess), and are thus light, so I do not expect
acroread to use the HDD a lot when looking for a word.
> In Edit->Preferences->Search there is a knob or two you can diddle with.
Yes, I tried. But nothing better.
> Lastly, acroread is free-as-in-beer.  Adobe wants you to buy Acrobat
> to get the Good Stuff.
That's a fact. That's the less attractive counterpart of acroread.


-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


Big thunder. Little rain.



signature.asc
Description: OpenPGP digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 8:58 PM, Carl Johnson  wrote:

Hi Carl, and thanks for your reply!

(I'll include my full original email, since I extended the audience to
the debian-devel list as well)

> Per Lundberg  writes:
>
>> Isn't there any XDMCP-capable server available in squeeze that can
>> speak ipv4 any more?
>>
>> I read about the "net.ipv6.bindv6only" issue (in a bug report).
>> However, that setting is most assuredly set to 0 when I check with
>> sysctl -a.
>> I also forcibly disabled IPv6 support altogether (since I don't need
>> it), also by using a sysctl interface, but it still doesn't help me.
> It can't be binding to an interface that doesn't exist, so it sounds
> as though you haven't disabled it properly.  You can type
> '/sbin/ifconfig' and look for inet6 entries.  You shouldn't have any
> if IPv6 is disabled.  You can check for anything listening on IPv6
> with 'netstat -l6'.  Have you looked at the Debian wiki page at
> 'http://wiki.debian.org/DebianIPv6'?  If you have followed those
> directions for disabling, did you reboot afterwards?

Yes, the sysctl thing from the Wiki page is exactly the same method
I'm using. I just rebooted, and this is the output from netstat -l6
afterwards:

p...@terah:~$ netstat -l6
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp6   0  0 [::]:ssh[::]:*  LISTEN
tcp6   0  0 [::]:microsoft-ds   [::]:*  LISTEN
tcp6   0  0 [::]:netbios-ssn[::]:*  LISTEN
tcp6   0  0 [::]:57650  [::]:*  LISTEN
udp6   0  0 [::]:xdmcp  [::]:*

The sysctl is definitely in effect, though:

p...@terah:/etc/sysctl.d$ /sbin/sysctl -a | grep ipv6 | grep disable
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1
net.ipv6.conf.eth2.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

...and ifconfig doesn't show any ipv6 addresses.

> I just looked at mine (kdm) and it only seems to be listening to IPv6,
> but I am pretty sure it will also connect to IPv4.  I just checked
> google and there are some similar problems listed and some suggestions
> on how to solve them.  One suggests using module aliases to prevent
> loading the IPv6 module
> (http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html).

Yeah, I read the idea about module aliases as well, but it seems
pointless since IPv6 isn't a module on my system (using the
2.6.32-3-amd64 kernel from squeeze).

It's interesting however that you say that you expect it to work with
IPv4 even though it has only bound the ipv6 socket. I guess you could
be right (depending on how the actual ipv4-to-ipv6 stuff works...). In
my case however, I can't get a working XMDCP login screen so I'm
suspecting this is the problem.

(Please, Cc any replies to my email address since I don't subscribe to
the mailing lists. Thanks)
-- 
Best regards,
Per Lundberg


--
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/aanlktikbzdjjfe0joda0hqxd4qfcfvibw_yhcfciw...@mail.gmail.com



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 22:32:07 +0300, Per Lundberg wrote:

> >> Isn't there any XDMCP-capable server available in squeeze that can
> >> speak ipv4 any more?

I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
squeeze, because I tested them (and made them work with the bindv6only=1
setting) a month or two ago.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 23:16:06 +0300, Per Lundberg wrote:

> On Sat, May 29, 2010 at 10:54 PM, Julien Cristau  wrote:
> 
> Hi Julien,
> 
> > I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
> > squeeze, because I tested them (and made them work with the bindv6only=1
> > setting) a month or two ago.
> 
> OK, that's interesting... Just for the sake of it, I even tried
> enabling the bindv6only (net.ipv6.bindv6only=1) setting, to see if it
> would make any difference. Negative; it still only binds to the udp6
> socket.
> 
> p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
> udp6   0  0 :::177  :::*
>  1632/xdm
> 
That's fine, bind() on in6addr_any lets you receive ipv4 packets when
IPV6_V6ONLY is turned off (which xdm does even if the system default is
backwards).

> Do you have any active XDM setup where you could try this yourself? As
> I hinted in my previous email, I'm not 100% sure of this, but doesn't
> the above udp6 line mean that it will *only* work from an ipv6-capable
> client...?

Sorry, I can't test right now, but no, as I said above an udp6 socket
can talk to ipv4 hosts.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 10:54 PM, Julien Cristau  wrote:

Hi Julien,

> I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
> squeeze, because I tested them (and made them work with the bindv6only=1
> setting) a month or two ago.

OK, that's interesting... Just for the sake of it, I even tried
enabling the bindv6only (net.ipv6.bindv6only=1) setting, to see if it
would make any difference. Negative; it still only binds to the udp6
socket.

p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
udp6   0  0 :::177  :::*
 1632/xdm

Do you have any active XDM setup where you could try this yourself? As
I hinted in my previous email, I'm not 100% sure of this, but doesn't
the above udp6 line mean that it will *only* work from an ipv6-capable
client...?
-- 
Best regards,
Per Lundberg


-- 
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/aanlktik_mqieqcabeulryw9r7josiyjxovib3ff28...@mail.gmail.com



Re: USB flash drive: permissions, etc. [SOLVED-partial]

2010-05-29 Thread john

On 29/05/10 03:51, d.sastre.med...@gmail.com wrote:

On Fri, May 28, 2010 at 10:06:21PM -0400, john wrote:

On 28/05/10 19:04, d.sastre.med...@gmail.com wrote:

sfdisk -l /dev/sda


Disk /dev/sda: 1023 cylinders, 64 heads, 62 sectors/track
Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0

 Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   ? 196102+ 483781- 287679- 570754815+  72  Unknown




I'm not sure it has to do with anything being deleted...
It looks like it has partitions. Only they are unrecognized.
I still suggest to format (previous back up) it.



I installed the earlier kernel image 2.6..30-2-686 in place of
2.6.30-3.686.

I can now rw as user but require root priviliges to unmount
the clue was when I ran #ls -l I saw all media even the floppy
required root. I think I need to look at the change log and go from there.

Thanks for your help, I was just about ready to reinstall.


Johjn.


--
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/4c017b52.7040...@kos.net



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Stephen Powell
On Sat, 29 May 2010 14:40:41 -0400 (EDT), Andreas Barth wrote:
> Stephen Powell wrote:
>> On Sat, 22 May 2010 23:39:52 -0400 (EDT), William Pitcock wrote:
>>> After some discussion about lilo on #debian-devel in IRC, it has pretty
>>> much been determined that kernel sizes have crossed the line past where
>>> lilo can reliably determine the payload size.
>>
>
> We're speaking about #505609 I assume?

I hope not.  Strictly speaking, 505609 is not a lilo bug.  The key is
that he was still able to boot his old kernel that had been de-installed.
That's a sure sign that lilo's map installer did not get run during the
kernel upgrade process.  It used to be that if

   do_bootloader = yes

was specified in /etc/kernel-img.conf that installing a new kernel would
cause lilo to be run.  That is no longer the case.  "update-initramfs -u ..." 
will cause lilo to be run if this option is set; but "update-initramfs -c ..."
(or mkinitramfs ...) which is what is run during installation of a new kernel,
will not.  I have created my own hook script to fix that problem on my system.
Strangely, though, "do_bootloader = yes" in /etc/kernel-img.conf still
causes zipl to be run during kernel installation on the s390 platform.
Something must have changed in the kernel maintainer script or in
update-initramfs that causes the lilo map installer to not be run anymore
under conditions that used to cause it to be run.

Look carefully at the console log.  There is no output from the map installer
until he manually runs lilo.  He apparently thinks that running lilo from
the command line simply lists the installed kernels.  No.  Running lilo
from the command line is what fixed the problem.

If there's a bug here, it's somewhere else in the kernel installation
process, not in lilo itself.  If this so-called bug in lilo is what
prompted the decision to drop lilo, then the decision was based on bad data.
lilo, at least in this case, is working as designed.  The problem is that
the lilo map installer did not get run during the kernel installation
process.  I've helped a number of people on debian-user with problems
like this, and in every case so far running lilo at the command line
fixed the problem.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/267435255.153128.1275165812236.javamail.r...@md01.wow.synacor.com



Running KDE apps under GNOME

2010-05-29 Thread Merciadri Luca
Hi,

I have noticed that running KDE apps under GNOME takes a lot of time
once I have not launched any such apps since the beginning of the
session. I do not use a lot of KDE apps, but I prefer e.g. Kile to
TexMaker. Is that a crime? Is it engineered to be well-supported, or is
it simply a matter of coincidence?

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.







signature.asc
Description: OpenPGP digital signature


Re: Running KDE apps under GNOME

2010-05-29 Thread Michael Kjorling
On May 29 2010 22:53 +0200, from luca.mercia...@student.ulg.ac.be (Merciadri 
Luca):
> I have noticed that running KDE apps under GNOME takes a lot of time
> once I have not launched any such apps since the beginning of the
> session.

I believe this is normal. If you run the KDE application from within a
terminal, you should see a lot of support services being started
before the application actually launches.

-- 
Michael Kjörling .. mich...@kjorling.se .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP keys: 0x32D6B8C6, 0xBDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 11:22 PM, Julien Cristau  wrote:
> On Sat, May 29, 2010 at 23:16:06 +0300, Per Lundberg wrote:
>> p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
>> udp6       0      0 :::177                  :::*
>>          1632/xdm
>>
> That's fine, bind() on in6addr_any lets you receive ipv4 packets when
> IPV6_V6ONLY is turned off (which xdm does even if the system default is
> backwards).

You were right - thanks! It turned out that I needed to modify the
/etc/X11/xdm/Xaccess file to be able to give the client the right to
use the login daemon... Now, it worked better. :-)
-- 
Best regards,
Per Lundberg


--
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/aanlktimdsjlzwew4a8bry8flw2ezxyemadshlta0a...@mail.gmail.com



Kernel not counting trasmitted data

2010-05-29 Thread Raven
Hi all.
At the office, we have a debian server to take care of routing &
transparent proxy'ing.
I recently installed vnstat to monitor the bandwidth usage (turns out
some of the employees spent their day downloading with uTorrent, but
that's another story..) and for the last week or so I noticed that some
of the values drastically dropped.

The gateway server has two network interfaces, with eth0 connected to
the local network and eth1 to the cisco router. Iptables takes care of
the routing between them.

The local i'face seems to be fine, but eth1's data is really hard to
believe:


> r...@dl580:/home/config# ifconfig 
> eth0  Link encap:Ethernet  HWaddr 00:03:47:42:5c:17  
>   inet addr:10.0.1.2  Bcast:10.0.1.255  Mask:255.255.255.0
>   inet6 addr: fe80::203:47ff:fe42:5c17/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:31640949 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:18811757 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000 
>   RX bytes:595968566 (568.3 MiB)  TX bytes:128856216 (122.8
> MiB)
> 
> eth1  Link encap:Ethernet  HWaddr 00:03:47:42:5c:18  
>   inet addr:***  Bcast:***  Mask:255.255.255.248
>   inet6 addr: fe80::203:47ff:fe42:5c18/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:7700 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:13057486 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000 
>   RX bytes:2652885 (2.5 MiB)  TX bytes:1146875616 (1.0 GiB)
> 

Most of the traffic is inbound, so it should show up in the RX bytes for
eth1. But it doesn't..
Any clue?

-RV



-- 
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/1275168564.32442.13.ca...@osmosis.gnet.eu



Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread Tom H
On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina
 wrote:
>
> Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
> The error is "can't find root_vg-root_lv". After that, it drops me to
> a initrd shell, but my USB keyboard stops working, so I must
> button-reboot.
> There are two kernels installed.
> I've attached grub.cfg. It's an automated cfg from update-grub2.
> I already tried adding rootdelay without success in /etc/default/grub
> GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=15 quiet"
> Weird stuff: I have upgraded this box from lenny a week ago or
> so. No problems booting.
> It used to have a bpo kernel, but since squeeze's repo has the
> same (2.6.32-3) kernel, I installed it and uninstalled the bpo one.
> No problems booting yet.
> Afterwards, I had to `/etc/init.d/vbox setup' to be able to use VBox
> again (dkms failed, it seems) and re-run the makeselved script to
> install the ATI propietary driver. This box has an ATI Radeon
> HD 4550.
> Kernel 2.6.32-2 stops booting, so I use 2.6.32-2 while I do some
> research about it.
> Yesterday, 2.6.32-2 booted without problems, but
> since I had ATI propietary driver installed only for 2.6.32-3, I run
> the installer in 2.6.32-2. Today this kernel doesn't boot either.
>
> r...@sysresccd /root % mdadm --detail /dev/md0
> /dev/md0:
> ...
>           UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c

Although unrelated to your ati install and what it may have done, I
see two possible problems when looking at your grub.cfg.

1. There isn't an "insmod lvm" within the menuentry stanza. ext2,
raid, and mdraid are insmod'd twice in the header and once in the
menuentry and lvm is inmod'd just once in the header. (This is one of
the grub2 mysteries; why multiple insmods of the same modules?). I
doubt that this is the source of the problem (the first insmod must be
enough!) but you could add "insmod lvm" within the menuentry.

2. In the uuid of the search line, what is
785366b0-d597-4e9c-9284-b6b9161236ed? One of your /dev/sX1's uuid?
Since raid and mdraid are loaded, can't you/shouldn't you use the md0
uuid above?


--
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/aanlktinol3roxqykv5bcb9orgzofdvrccrj88prit...@mail.gmail.com



Re: Acroread: accelerating the search through a PDF

2010-05-29 Thread Erik Heil
hi. Just posting this reply to the list/usenet newsgroup, so others
can benefit from this, and so it an be properly archived. i'm using
Gmail ere, and there doesn't seem to be a way to disable the
"Conversations" view. So, you get confused when yu use the "Quick
Reply" feature.
---Erik
-- Forwarded message --
From: Erik Heil 
Date: Sat, 29 May 2010 16:15:20 -0400
Subject: Re: Acroread: accelerating the search through a PDF
To: luca.mercia...@student.ulg.ac.be

Hi.
What you may have to look at is the possibility of a document
management system. For your needs, you won't need anything upscale,
just something that can process the PDF documents, index the text, and
open it within Acroread, or optionally another reader. Since indexing
generates compressed versions of the document, you should be able to
get reasonable search times. Perhaps have a chron job nightly to index
new documents--don't know how often you add new documents. Just ideas
for you tto play with. i'm sure Debian has something like this to
offer. Maybe not? Perhaps more people here would have more knowledge
of this.
--Erik

On 5/29/10, Merciadri Luca  wrote:
> Ron Johnson wrote:
>> On 05/29/2010 01:47 PM, Merciadri Luca wrote:
>>> Hi,
>>>
>>> I sometimes have really long documents (>4000 p) for specs., or for
>>
>> Wow.  How big is that?
> Well, there are many bigger works, such as encyclopedias!
>>
>>> other purely technical stuff. I sometimes look for a given model, or for
>>> a given word. The fact is that acroread reads ~8 pg/s, and, thus, if I
>>> do not know that my keyword is simply at the last page of the document,
>>> it takes 500s ~8 minutes and a half. How can I speed it up? Why is it so
>>> sluggish?  Do not tell me that it is limited by R/W access on the HDD...
>>>
>>
>> Have you tried other PDF readers?  Searched for Linux-based PDF indexers?
> As I said in another topic, I am totally okay for free stuff (if it was
> not the case, I would not be using Debian: thinking unfree but using
> free is cowardice), but the fact is that I have not found a reader whose
> range of compatibility with the PDF standard is as high as in acroread.
> Acroread is slow, boring, sometimes buggy, but I need to use it as long
> as I do not find a PDF reader which has such a big compatibility range.
>> Do you hear the disk spin up when you start the search?
> Not at all. I have a HDD load monitor, and I do not even see any trace
> of some HDD use. Such documents often contain no pictures (only
> schematics, as you might guess), and are thus light, so I do not expect
> acroread to use the HDD a lot when looking for a word.
>> In Edit->Preferences->Search there is a knob or two you can diddle with.
> Yes, I tried. But nothing better.
>> Lastly, acroread is free-as-in-beer.  Adobe wants you to buy Acrobat
>> to get the Good Stuff.
> That's a fact. That's the less attractive counterpart of acroread.
>
>
> --
> Merciadri Luca
> See http://www.student.montefiore.ulg.ac.be/~merciadri/
> I use PGP. If there is an incompatibility problem with your mail
> client, please contact me.
>
>
> Big thunder. Little rain.
>
>


-- 
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/aanlktilf9b2euhkfmaj5zzryzysyl0vylygyti4im...@mail.gmail.com



unavailables RSS feeds on debian.net

2010-05-29 Thread Stéphane Blondon
Hello,

I installed Liferea (and I really enjoy using it) and some feeds are
provided with the package.
They all work except:
- Debian Package a Day: http://debaday.debian.net/feed/atom/
- Debian Times: http://times.debian.net/?format=rss20.xml

They are unavailable since I installed Liferea (more than one week).
The problem doesn't come from the reader.

I'd like to know if those feeds are definitively stopped or provided
at an other URL. Do you have idea where to find infos about those feed
or who I have to contact?

What I tried:
- The root of http://www.debian.net/ redirects to debian.org, so no
page listing the services or a contact address.
- In the whois, the e-mail is something like hostm_s...@spi-inc.org
(same for Administrative Contact and Technical Contact) so I don't
think I will have the good person.
- Asking on IRC at #debian and #debian-fr didn't help.
- Perhaps I can send a bug against www.debian.org pseudo-package?


Knowing that, I plan to:
- If the feeds are broken, I'd like to alert the right webmaster.
- Else, I will send a bug report against liferea (to remove them from
the package ou update URLs).


Please cc me in your reply because I didn't subscribed to the mailing list.

-- 
Stéphane


--
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/aanlktikxvwemln7appfe8vv4mzryq3njs2geoci0y...@mail.gmail.com



virtual box permissions ?

2010-05-29 Thread briand
What's the correct way to set-up virtual box so that a user can use it ?

I found lot's of issues surrounding the use vboxusers group, but under
sid it seems to be very broken.

The udev file which is supposed to set things up does not seem to exist
in the package and the group is does not exist.

Yes, I know I can fix all this, my question is whether or not this has
been superceded by some other method.

If not, well, and vboxusers is the correct method, then it appears to be
broken.

Thanks,

Brian


-- 
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/20100529171919.6ed94...@windy.deldotd.com



Re: Acroread: accelerating the search through a PDF

2010-05-29 Thread Ron Johnson

On 05/29/2010 02:34 PM, Merciadri Luca wrote:

Ron Johnson wrote:

[snip]


Have you tried other PDF readers?  Searched for Linux-based PDF indexers?

As I said in another topic, I am totally okay for free stuff (if it was
not the case, I would not be using Debian: thinking unfree but using
free is cowardice), but the fact is that I have not found a reader whose
range of compatibility with the PDF standard is as high as in acroread.
Acroread is slow, boring, sometimes buggy, but I need to use it as long
as I do not find a PDF reader which has such a big compatibility range.


Nothing says that you must only use one reader at a time. ;)

If poppler, for example, doesn't render *exactly* but searches 
/rapidly/, then you could search using poppler and "read" using 
Acroread.


Alternatively, install poppler-utils for it's pdftohtml.  Certainly 
it won't be perfect, but a browser might be faster than Acroread.


--
Dissent is patriotic, remember?


--
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/4c01afdd.7050...@cox.net



Re: Installing memtest86 in Lenny fails to copy the actual binary

2010-05-29 Thread Arthur Marsh

Klistvud wrote, on 30/05/10 02:29:

Howdy, fellow Debianites!

I tried to install memtest86 on my Lenny box (using Synaptic).
Everything appeared to go smoothly, even a new "memtest" entry wass
added to my grub.cfg - but the actual memtest86.bin file was never
copied to disk! Interestingly enough, the same happened when I tried to
install memtest86+ ... Of course, the "memtest" grub entry now fails
with a "file not found" error.
Any ideas? Happened to anybody else?
Let me just add that my / partition is not full.



Are you running i386 or amd64 hardware and distribution?

What files do you see in /boot:

$ ls -al /boot/mem*
-rw-r--r-- 1 root root 124648 Mar 15 04:21 /boot/memtest86.bin
-rw-r--r-- 1 root root 160284 Jan 28 04:03 /boot/memtest86+.bin
-rw-r--r-- 1 root root 162464 Jan 28 04:03 /boot/memtest86+_multiboot.bin

I have a separate /boot partition and sometimes it gets un-mounted 
without me doing anything )-:.


I've had problems with the memtest86+_multiboot.bin on i386 under GRUB 
1.98, but need to do more investigation.


Arthur.


--
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/qgq8d7-ut4@ppp121-45-136-118.lns11.adl6.internode.on.net



Update GRUB to GRUB2 / Lenny to Squeeze

2010-05-29 Thread lrhorer

I upgraded a box from "Lenny" to "Squeeze", but the update of GRUB to
GRUB2 failed.  The box is running a pair of IDE hard drives with three
partitions each.  Each partition on each drive is a RAID1 mirror of the
same partition on the other drive.  The first partitions on both drives
are members of /dev/md1, whihc is mounted as /boot.  When I run

`dpkg --configure grub-pc`

I get the following:

Backup:/# dpkg --configure grub-pc
Setting up grub-pc (1.98-1) ...
Generating core.img
/usr/sbin/grub-probe: error: no mapping exists for `md1'.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit
status 1
Errors were encountered while processing:
 grub-pc

I searched the web for errors relating to this issue, and I found quite
a number of references, but none were really helpful in resolving the
issue.  (The fact it has been fixed in Ubuntu or Fedora and is going to
be fixed in Debian really doesn't help me much.)  Where do I modify the
package configuration to let grub-probe know which modules to load?  If
GRUB2 were already configured, then I think I could manually modify the
grub.cfg file to get it to work, but if GRUB2 were already configured,
I wouldn't have the problem inthe first place, and until GRUB2 is at
least partially configured grub.cfg won't even exist.


-- 
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/hpydnamsfowskpzrnz2dnuvz_redn...@giganews.com



Re: Acroread: accelerating the search through a PDF

2010-05-29 Thread Erik Heil
Hi there.
I believe that I have some sollutions to your problems. First of all,
you need to see whether or not your documentts are in some kind of
structured format. if they are, say DocBookXML, or something similar,
you may  be able to find a quick solution to the searching problem. if
the documents are structured, you can probably parce them by entety
type. of course, this depends on how well they are marked up. Like
I've stated earlier, they key item here is to generate rapidly
searchable indexes that can be quaried against. I'm assuming that
since you deal with highly technical data, it is more or less in a
structured form. You could even generate SQL statements and possibly
use SQLLite if you don't want a full DB as overhead. Anyways, I'm more
than willing to help in any way with this project of yours. Let me
know what you think.
--Erik

On 5/29/10, Ron Johnson  wrote:
> On 05/29/2010 02:34 PM, Merciadri Luca wrote:
>> Ron Johnson wrote:
> [snip]
>>>
>>> Have you tried other PDF readers?  Searched for Linux-based PDF indexers?
>> As I said in another topic, I am totally okay for free stuff (if it was
>> not the case, I would not be using Debian: thinking unfree but using
>> free is cowardice), but the fact is that I have not found a reader whose
>> range of compatibility with the PDF standard is as high as in acroread.
>> Acroread is slow, boring, sometimes buggy, but I need to use it as long
>> as I do not find a PDF reader which has such a big compatibility range.
>
> Nothing says that you must only use one reader at a time. ;)
>
> If poppler, for example, doesn't render *exactly* but searches
> /rapidly/, then you could search using poppler and "read" using
> Acroread.
>
> Alternatively, install poppler-utils for it's pdftohtml.  Certainly
> it won't be perfect, but a browser might be faster than Acroread.
>
> --
> Dissent is patriotic, remember?
>
>
> --
> 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/4c01afdd.7050...@cox.net
>
>


-- 
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/aanlktil7rpw7qqyqmpmbbkzvwea2a3ns8fqczfa43...@mail.gmail.com



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Stan Hoeppner
thib put forth on 5/28/2010 9:44 PM:

>   * If yes, should it still be presented as an "expert" option in d-i? 
> Why not, I guess.  If not, should extlinux be extensively tested to be
> provided as an alternative choice in d-i?  I really don't know how much
> work would be needed for this.

I'm far more concerned at this point with distribution upgrades than new
installs.  I've a number of production Lenny servers all using LILO.  What
will happen to the bootloader config on these machines when I perform a dist
upgrade after Squeeze becomes Stable?  These machines all use custom rolled
kernels from kernel.org source (installed the Debian way), if that makes any
difference.  Also, the kernel images are in /boot, not in / with the
traditional symlinks.

My gut instinct is that due to the above reasons and possibly others, the next
dist upgrade is going to hose all my production servers whilst trying to
forcibly convert them to Grub2.  Is my instinct correct?

-- 
Stan


-- 
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/4c01dd1c.1090...@hardwarefreak.com



ls has stopped using the ISO date format

2010-05-29 Thread Brian Marshall
Hi all,

Recently, I noticed that the date format in the output from "ls -l" has
changed in squeeze. Before, it used the ISO standard (2010-05-29 20:00)
but now it's started printing "May 29 20:00" or "May 29 2009" if it's
not the current year.

My locale, which hasn't changed in years, is en_US.UTF-8. If I run ls
with LC_TIME="ja_JP.UTF-8", I get the ISO format, so ls is still capable
of displaying it.

Two servers running lenny and a box running Ubuntu 10.04, all with the
en_US.UTF-8 locale, display the ISO format.

I suspect it's coreutils' fault, because while the version of the
locales package is about the same in Ubuntu and Debian (2.11 and 2.10),
coreutils is significantly newer in Debian (8.5 compared to 7.4).

Can anyone else confirm this issue? Is it a bug or a feature? How can I
get ls to print the ISO date format again?

Thanks,
Brian


signature.asc
Description: Digital signature


Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Stan Hoeppner
Tom H put forth on 5/28/2010 10:55 PM:
> On Fri, May 28, 2010 at 9:50 PM, Stan Hoeppner  wrote:
>> Roger Leigh put forth on 5/28/2010 11:39 AM:
> 
>>> For the most part, grub is a vast
>>> improvement over LILO, and except for the odd corner cases which
>>> grub doesn't cover,
>>
>> In what way is it a vast improvement over LILO? I've never had a problem with
>> LILO. It's always "just worked", which is what a bootloader should do. So
>> how exactly would grub be a better choice for me?
> 
> The reverse argument can be made too. Both grub1 and grub2 just work.
> Unless you are continually installing dual- and triple-boot this or
> that, you are not going to be changing you config continually no
> matter what bootloader you use and you will therefore not be
> interacting with it that much. So, except for Stephen P's case, what's
> the big deal?

I frequently roll new kernels from kernel.org source using the Debian
installation method, once every couple of months.  I'm very comfortable with
using LILO for this.  I've pretty much zero experience with Grub (any
version).  If something goes wrong converting from LILO to Grub2, I'm screwed.
 And I'll probably have an unwanted and unneeded learning curve while
continuing my current practice of rolling kernels frequently.

Please don't debate the merits of customs kernels.  I have very valid reasons
for doing so.  Let's focus on why or why not Grub2 will work for my needs, and
not hose my systems either during the migration from LILO to Grub2, or
installing custom kernels after the fact.

-- 
Stan


-- 
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/4c01dfb1.8010...@hardwarefreak.com



Re: Blockage on Internet maps - is a firewall intervening? Was: Re: PART DIAGNOSED: Re: Trying to install Google Earth on Lenny. How on earth??????

2010-05-29 Thread godo

Hi,


But Firehol is complaining when I boot up that some
config file or other that it uses is not yet configured.  I don't have time
to read the message properly as it flashes past, but it is marked as an error
during the booting process.


Can you maybe find that message in /var/log/syslog
or somewhere in /var/log/ or dmesg?


So it looks as tho' at least Firehol is trying to do something.  Could this
therefore be the problem?  As I say, my ignorance on the topic of firewalls
is distressingly abysmal.  :-(  I am at a loss to know where to start or what
to look at, or even what question to ask Google.  I could obviously purge all
of them and see if that solved the problem, but am afraid that purging them
would not totally remove every trace, and therefore might make things
worse. :-(  And I still need to learn about firewalls.

I would value, and be very grateful for, any advice on the best procedure to
follow - or what FM to read - _before_ I manage to kybosh my entire system,
rather than after.

Thanks,
Lisi


I really don't anything about firewalls but if I correct understud what 
I was read on the net  Firehol corresponding with iptables.


'iptables -L'  will list all rules so maybe somebody from the list will 
notice something.


On this site http://pwet.fr/man/linux/administration_systeme/firehol is 
written:
'firehol stop' "Stops a running iptables firewall by running 
CW/etc/init.d/iptables stop. This will allow all traffic to pass unchecked."


So you can stop him and check is it problem in him or somewhere else.

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
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/4c01e93c.7000...@dobosevic.com



Re: ls has stopped using the ISO date format

2010-05-29 Thread Teemu Likonen
* 2010-05-29 20:25 (-0700), Brian Marshall wrote:

> Recently, I noticed that the date format in the output from "ls -l"
> has changed in squeeze. Before, it used the ISO standard (2010-05-29
> 20:00) but now it's started printing "May 29 20:00" or "May 29 2009"
> if it's not the current year.

> I suspect it's coreutils' fault, because while the version of the
> locales package is about the same in Ubuntu and Debian (2.11 and
> 2.10), coreutils is significantly newer in Debian (8.5 compared to
> 7.4).
>
> Can anyone else confirm this issue? Is it a bug or a feature? How can
> I get ls to print the ISO date format again?

Yes, the default has changed. You can change the default with TIME_STYLE
environment variable, like this:

export TIME_STYLE=long-iso

Related tips here:

http://people.debian.org/~osamu/pub/po4a/html/ch09.en.html#_customized_display_of_time_and_date

-- 
Feel free to Cc me your replies if you want to make sure I'll notice
them. I can't read all the list mail.


-- 
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/87aari3twk@mithlond.arda



Re: ls has stopped using the ISO date format

2010-05-29 Thread Teemu Likonen
* 2010-05-30 07:17 (+0300), Teemu Likonen wrote:

> Related tips here:

Here's a better link which points to the Debian Reference manual:

http://www.debian.org/doc/manuals/debian-reference/debian-reference.en.html#_customized_display_of_time_and_date


-- 
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/8763263tpw@mithlond.arda



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Mark Allums
For yet another view on this, Grub2 is pants.  I see no good reason to 
eliminate both lilo and GRUB at the same time.  Eliminate lilo or GRUB 
but not both, and let the user choose to use Grub2 or the older method. 
 When Grub2 matures some more, move to it, but it's not ready yet to 
take on the full responsibility of booting all of creation.


MAA


--
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/4c01ec35.6020...@allums.com



Re: lilo removal in squeeze (or, "please test grub2")

2010-05-29 Thread Lisi
On Sunday 30 May 2010 05:40:21 Mark Allums wrote:
> For yet another view on this, Grub2 is pants.  I see no good reason to
> eliminate both lilo and GRUB at the same time.  Eliminate lilo or GRUB
> but not both, and let the user choose to use Grub2 or the older method.
>   When Grub2 matures some more, move to it, but it's not ready yet to
> take on the full responsibility of booting all of creation.
>
> MAA

+1

I am accustomed to GRUB 1.  But if I have to change, I would rather change to 
LILO than to GRUB 2. :-(

Lisi


-- 
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/201005300606.34893.lisi.re...@gmail.com



Creating a (bootable) DOS floppy disk image

2010-05-29 Thread T o n g
Hi,

How can I make a DOS floppy disk image under Linux?

[OT]
Moreover, my experience with DOS was back in stone age when you use 

 sys A:

to make it boot-able. Now with Win NT/XP etc, I hear that merely copying 
ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody 
know if it is true?
[/OT]

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
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/htssb0$bu...@dough.gmane.org



Re: ls has stopped using the ISO date format

2010-05-29 Thread Brian Marshall
On Sun, May 30, 2010 at 07:17:31AM +0300, Teemu Likonen wrote:
> * 2010-05-29 20:25 (-0700), Brian Marshall wrote:
> 
> > Recently, I noticed that the date format in the output from "ls -l"
> > has changed in squeeze. Before, it used the ISO standard (2010-05-29
> > 20:00) but now it's started printing "May 29 20:00" or "May 29 2009"
> > if it's not the current year.

> Yes, the default has changed. You can change the default with TIME_STYLE
> environment variable, like this:
> 
> export TIME_STYLE=long-iso

Thanks, this works.

On Sun, May 30, 2010 at 07:21:31AM +0300, Teemu Likonen wrote:
> Here's a better link which points to the Debian Reference manual:
> 
> http://www.debian.org/doc/manuals/debian-reference/debian-reference.en.html#_customized_display_of_time_and_date

Thanks for the link.

Any idea why the default was changed? I guess it didn't really make
sense to change the date format based on whether it was an ISO-8859 or
UTF-8 locale? (en_US.ISO-8859, to my knowledge, has always used the date
format that en_US.UTF-8 is now using.)

Brian


signature.asc
Description: Digital signature


Re: Creating a (bootable) DOS floppy disk image

2010-05-29 Thread Alan Ianson
On Sat May 29 2010 10:16:16 pm T o n g wrote:
> Hi,
>
> How can I make a DOS floppy disk image under Linux?

I haven't made a dos disk in ages but I think mkdosfs from the dosfstools 
package will do this.


-- 
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/201005292329.58313.agian...@gmail.com