Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Merciadri Luca
Yes, why not. But if they are in PDF format, how can I (re)structure
them better? Thanks.

Erik Heil wrote:
> 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.
>   


-- 
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: Creating a (bootable) DOS floppy disk image

2010-05-30 Thread Howard Eisenberger
On 2010-05-30, T o n g wrote:

> 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]

Depends what you want to do with the floppy. I won't comment on
MS-Windows, but a single-disk FreeDOS floppy such as BALDER will
boot to FreeDOS with vfat but not ntfs.

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/unofficial/balder/

Regards,

Howard E.


-- 
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/5me9d7-0ue@gonif.dnyndns.org



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

2010-05-30 Thread Stan Hoeppner
Stephen Powell put forth on 5/29/2010 9:48 AM:



> 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.

Implement VMware ESX and VMware Consolidate Backup (or whatever their
marketing calls them today).  The price is high, but the capability for
platform consistent PIT backup is unmatched.  Of course, you need at bare
minimum a small FC or iSCSI SAN, preferably FC as it's over 4 times the
throughput and lower latency.  You can build such a SAN with a Qlogic 8 port
4Gb FC switch, FC HBAs for 4 or so servers, a Nexsan SATABoy storage array
w/2GB cache and 14x500GB drives in RAID6 for about $20k USD.  At least, *I*
could build and integrate this relatively "low end" FC SAN for that.  Add
about $5k for the VCB server hardware and its largish 6TB worth of initial
scratch space.  I assume you already have an appropriate tape library.

You'd have to contact a VMware rep for current ESX and VCB pricing.  If an
organization can afford it, it's the only way to fly, especially VCB.

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



Re: Acroread: accelerating the search through a PDF

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

Ron Johnson  writes:

> 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.
You're right. Why not? I'll try it out. Thanks.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Better is the enemy of good.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkwCExYACgkQM0LLzLt8MhxGMwCfT09ERGobDPabVMreQEMrI4hi
FWcAoKoOdXgyifFBY8m10TosoyPkfTA2
=4N5y
-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/87ocfx26ll@merciadriluca-station.merciadriluca



Re: Creating a (bootable) DOS floppy disk image

2010-05-30 Thread Greg Madden
On Saturday 29 May 2010 09:16:16 pm T o n g wrote:
> 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/

There is the Freedos project for installing a DOS system, or the following  
might 
be  what you are looking for:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/unofficial/balder/

-- 
Peace,

Greg


-- 
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/201005292231.13949.gomadtr...@gci.net



Re: Running KDE apps under GNOME

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

Michael Kjorling  writes:

> 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.
Yes. That's true. And can I make the whole process quicker?
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Remember. If something can go wrong, it will. 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkwCE4oACgkQM0LLzLt8MhyiKgCgmwK4jqHabX25wzjZLSmFJspE
lokAnjKvb5Bzk7N+GkYinh6n5aEqDyoQ
=+HyG
-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/87zkzhrgqc@merciadriluca-station.merciadriluca



Re: Creating a (bootable) DOS floppy disk image

2010-05-30 Thread Sven Joachim
On 2010-05-30 07:16 +0200, T o n g wrote:

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

$ dd if=/dev/zero of=floppy-image bs=1440k count=1
$ /sbin/mkdosfs floppy-image 

You need the dosfstools package for the latter command.

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



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

2010-05-30 Thread Andrei Popescu
On Sat,29.May.10, 22:35:56, Stan Hoeppner wrote:
> 
> 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?

Worst case you'll have to pin lilo at 1001 and grub-pc at -1 before the 
upgrade ;)

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: Running KDE apps under GNOME

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 09:28:11, Merciadri Luca wrote:
> Michael Kjorling  writes:
> 
> > 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.
> Yes. That's true. And can I make the whole process quicker?

Xfce has an option to start Gnome and/or KDE services at startup. Maybe 
Gnome has something similar?

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: 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-30 Thread Lisi
On Sunday 30 May 2010 05:27:40 godo wrote:
> Hi,

Hi, Goran, and many thanks for your reply.

> > 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?

The only part that seemed in any way related was:
[0.290385] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.290652] TCP established hash table entries: 16384 (order: 5, 131072 
bytes)
[0.290860] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[0.291064] TCP: Hash tables configured (established 16384 bind 16384)
[0.291068] TCP reno registered
[0.291201] NET: Registered protocol family 1
[0.291350] checking if image is initramfs... it is

> > 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 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.

Tux:/home/lisi# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

Tux:/home/lisi#

> 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.

Tux:/home/lisi# firehol stop


WARNING
File '/etc/firehol/RESERVED_IPS' is more than 90 days old.
You should update it to ensure proper operation of your firewall.

Run the supplied get-iana script to generate this file.

FireHOL: Clearing Firewall: OK

I ran iptables -L again after firehol stop, and got:

Tux:/var/log# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
Tux:/var/log# 

I have also uninstalled shorewall and fwbuilder.  I have since restarted.  The 
situation is better now, tho' still problematic.  (I restarted because my 
system locked up. :-(  Probably due ot memory problems.  I have been 
dithering over getting myself some more memory for a couple of months.  This 
sttled it, and I took the plunge.

Shall now try to make myself drop this until the memory arrives.

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



Re: ls has stopped using the ISO date format

2010-05-30 Thread Andrei Popescu
On Sat,29.May.10, 22:58:59, Brian Marshall wrote:
> 
> 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.)

Why not? This way people using other languages now have a localized 
date.

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: ls has stopped using the ISO date format

2010-05-30 Thread Teemu Likonen
* 2010-05-29 22:58 (-0700), Brian Marshall wrote:

> Any idea why the default was changed?

No idea. Indeed, I think long-iso would be better default for this kind
of technical dates which are shown in tabular form. With fi_FI.UTF-8
locale the output of "ls -l" is difficult to read because the width of
the date column is not fixed. In practice TIME_STYLE=locale is not
usable at all (with "ls -l").

$ LC_TIME=fi_FI.UTF-8 TIME_STYLE=locale /bin/ls -l /

total 101
drwxr-xr-x   2 root root  4096 30.1. 21:55 bin
drwxr-xr-x   4 root root  1024 25.5. 20:33 boot
lrwxrwxrwx   1 root root11 16.8.2009 cdrom -> media/cdrom
drwxr-xr-x  17 root root  4200 30.5. 07:30 dev
drwxr-xr-x 122 root root 12288 30.5. 09:52 etc
drwxr-xr-x   4 root root  4096  1.5. 22:13 home
lrwxrwxrwx   1 root root28 16.8.2009 initrd.img -> [...]
drwxr-xr-x  16 root root 12288 23.1. 16:23 lib
drwx--   2 root root 16384 16.8.2009 lost+found
drwxr-xr-x   3 root root  4096 30.5. 06:58 media
drwxr-xr-x   5 root root  4096 16.8.2009 mnt
drwxr-xr-x   2 root root  4096 16.8.2009 opt
dr-xr-xr-x 124 root root 0 30.5. 06:58 proc
drwxr-xr-x  11 root root  4096  9.5. 13:58 root
drwxr-xr-x   2 root root  4096 11.3. 20:16 sbin
drwxr-xr-x   2 root root  4096 16.9.2008 selinux
drwxr-xr-x   2 root root  4096 16.8.2009 srv
drwxr-xr-x  11 root root 0 30.5. 06:58 sys
drwxrwxrwt  16 root root 16384 30.5. 10:37 tmp
drwxr-xr-x  12 root root  4096 16.8.2009 usr
drwxr-xr-x  15 root root  4096 16.8.2009 var
lrwxrwxrwx   1 root root25 16.8.2009 vmlinuz -> [...]


-- 
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/871vct4xu1@mithlond.arda



Re: ls has stopped using the ISO date format

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 11:04:59 +0300, Andrei Popescu wrote:

> On Sat,29.May.10, 22:58:59, Brian Marshall wrote:
>> 
>> 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.)
> 
> Why not? This way people using other languages now have a localized
> date.

Having an option to change the default is very good, but ISO date 
representation is there precisely to avoid the date localization madness, 
so I for one would also expect as default the using of ISO date standard.

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.30.09.19...@gmail.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Nuno Magalhães
On Sun, May 30, 2010 at 10:19, Camaleón  wrote:

> Having an option to change the default is very good, but ISO date
> representation is there precisely to avoid the date localization madness,
> so I for one would also expect as default the using of ISO date standard.

+1 for ISO as default

In any case if locales were the reasoning, pt_PT.UTF-8 oughta be "30
Mai 2010" or something when it's actually just a translation from
english, "Mai 30 2010".

Is there a way to push things into changing back?

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-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/aanlktimvwyopwuarxxzuyj_clnennkpndrfw2ekd6...@mail.gmail.com



Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Camaleón
On Sat, 29 May 2010 20:47:52 +0200, Merciadri Luca wrote:

> 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...

4000 pages? Wow, I think I never opened such a document :-)

If you provide a sample link, we could run some text search performance 
tests over the file.

Also, I don't have installed Acrobat on my linux boxes, but in windows, 
there are two search facilities, "find" and "advanced search". The latter 
is quicker.

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.30.09.54...@gmail.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Teemu Likonen
* 2010-05-30 10:44 (+0100), Nuno Magalhães wrote:

> +1 for ISO as default

> Is there a way to push things into changing back?

Use TIME_STYLE=long-iso or contact the GNU coreutils upstream. First
search their mailing list archives for related discussions:

http://lists.gnu.org/archive/html/bug-coreutils/
http://lists.gnu.org/archive/html/coreutils/

Then maybe report about problems:

http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#How-do-I-report-a-bug_003f

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



Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote:
> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina
>  wrote:
> >
> > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
> >
> > r...@sysresccd /root % mdadm --detail /dev/md0
> > /dev/md0:
> > ...
> >           UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
> 
> 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.

Already tried that. No success.
 
> 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?

I also tried that. It fails.
That UUID belongs to /root_vg-root_lv, where the root filesystem
resides.
The UUID can be confirmed at the grub propmt issuing
grub> ls (root_vg-root_ls)

Note that `boot' is a multidisk partition (sda1 and sdb1, which assemble
md0), thus root='(md0)' makes sense from a grub point of view. And md1
is the result of assembling sda2 and sdb2. This md device has only one VG 
on top of it, root_vg, with several LVs in it, one of these LVs being my 
root_lv.

This my default menuentry now:

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 lvm
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=15 quiet
echoLoading initial ramdisk ...
initrd  /initrd.img-2.6.32-3-686-bigmem
}

The `set root' entry says what is *root* for grub, I understand this as: 
where are /boot/grub/grub.cfg, /vmlinuz-`uname -r` and /initrd.img-`uname -r`
So IMHO it should be called boot='(md0)' for better undestanding and
disambiguation from the *other* root in the `linux' line.
The GRUB root device is not the same as the Linux kernel root= parameter.
BTW this command is undocummented in the wiki, still uses grub-legacy's
info, which doesn't apply anymore, given the `root' command has been
replaced.

The `search' line, as stated in the grub wiki:

Search devices by file, filesystem label or filesystem UUID. If --set
is specified, the first device found is set to a variable. If HD
variable name is specified, "root" is used.

I take this to mean that the first device found _which UUID is_ 785...
(the UUID of my root_gv-root_lv) will be the `root' filesystem.

And yet another definition of `root' after the `linux' call.
That one states that:

root=/dev/mapper/root_vg-root_lv  which could be written also as:
root=LABEL=root  or even
root=UUID=785366b0-d597-4e9c-9284-b6b9161236ed

The three of them should be right. None of them work.

If a suppress the `quiet' option from the `linux' line, what I can see
is LVM initializing *before* mdadm has get its job done:

"Volume group "root_vg-root_lv not found
 Skipping volume group root_vg
 Unable to find LVM volume root_vg-swap_lv
 mdadm:/dev/md0 has been started with two drives
 mdadm:/dev/md1 has been started with two drives
 Gave up waiting fot root device."

So it looks like a timming issue *but*, I have tried to issue manually
the commands in the right order at the grub prompt:
1) insmod-ing raid, mdraid, lvm and ext2; setting root to md0; 
2) searching for devices (also a variant without this step); 
3) calling linux with the right root device 
 (all three variants of this step: dev name, UUID and LABEL and with
 different rootdelay timmings, always without `quiet') and, finally;
4) calling initrd. 

Failure again. No way root_vg to be found.

One further question: after a reboot, while at the grub screen, before 
doing anything else, if a enter the command line and type `ls' at the 
prompt, I can see all of my LVs, and listing anyone of them returns: 
device name, filesystem type, label, last modification time and UUID. 
Where does this info come from? Supossedly, there aren't mods loaded to 
read that yet, until after `insmod' loads them, are there?


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


pgpcPfDpaijPe.pgp
Description: PGP signature


Re: ls has stopped using the ISO date format

2010-05-30 Thread Ron Johnson

On 05/29/2010 11:17 PM, Teemu Likonen wrote:
[snip]


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

 export TIME_STYLE=long-iso



Another method is the --time-style option.  For example:

$ alias dir='ls -aFl --time-style=+"%F %T"'

$ dir 19*jpg
-rw--- 1 me me 158770 2007-09-25 23:15:08 19_20_Aircraft10.jpg
-rw--- 1 me me 114455 2007-09-25 23:15:26 19_20_Aircraft11.jpg
-rw--- 1 me me 139353 2007-09-25 23:13:45 19_20_Aircraft12.jpg
-rw--- 1 me me  85438 2007-09-25 23:15:57 19_20_Aircraft6.jpg

--
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/4c024a0e.6050...@cox.net



Re: Running KDE apps under GNOME

2010-05-30 Thread Merciadri Luca
Andrei Popescu wrote:
> On Sun,30.May.10, 09:28:11, Merciadri Luca wrote:
>   
>
> Xfce has an option to start Gnome and/or KDE services at startup. Maybe 
> Gnome has something similar?
>   
I do not know. I've just tried to find such an option by Googling, but I
could not find any such option.

-- 
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.


Live as if you were to die tomorrow; learn as if you were to live
forever. (Mahatma Gandhi)



signature.asc
Description: OpenPGP digital signature


ISO date format (was: ls has stopped using the ISO date format)

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 13:01:25 +0300, Teemu Likonen wrote:

> * 2010-05-30 10:44 (+0100), Nuno Magalhães wrote:
> 
>> +1 for ISO as default
> 
>> Is there a way to push things into changing back?
> 
> Use TIME_STYLE=long-iso or contact the GNU coreutils upstream. 

It seems not working for Midnight Commander, but works fine for "ls -
l" :-?

I wish we had a general "switch" to set this as wide setting.

I mean, I'd like all applications (command line utilities and GUI ones), 
by default use the ISO standarized format but nowadays some do (i.e., 
Nautilus) and some don't (Icedove or Pan newsreader, for example).

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.30.11.56...@gmail.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Lisi
On Sunday 30 May 2010 10:44:38 Nuno Magalhães wrote:
> In any case if locales were the reasoning, pt_PT.UTF-8 oughta be "30
> Mai 2010" or something when it's actually just a translation from
> english, "Mai 30 2010".

Erratum:  American or American English.

English English is also not represented, since we too put day month year.

So +1 for ISO.  Does away with all this parochialism!

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



Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Eduardo M KALINOWSKI

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

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.
   


Well, if you need Adobe Acrobat Reader, complain to Adobe that it's slow 
and hope they fix it.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
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/4c0255ec.40...@kalinowski.com.br



Re: Running KDE apps under GNOME

2010-05-30 Thread AG

On 30/05/10 12:44, Merciadri Luca wrote:

Andrei Popescu wrote:
   

On Sun,30.May.10, 09:28:11, Merciadri Luca wrote:


Xfce has an option to start Gnome and/or KDE services at startup. Maybe
Gnome has something similar?

 

I do not know. I've just tried to find such an option by Googling, but I
could not find any such option.

   


Merciadri, I think that the closest you will come to this under GNOME is 
to do the following:


On the panel options, go to System/ Administration and then Services.  
This will allow you to identify those services you want available to you 
at start up.  Not quite the same as the Xfce4 option Andrei mentioned, 
but as close as you are likely to get with GNOME.


HTH ... a bit at least

AG


--
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/4c025dbc.2060...@gmail.com



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

2010-05-30 Thread thib

Stan Hoeppner wrote:

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?


Like any dist upgrade, squeeze will have release notes with upgrade 
instructions and I'm quite confident everything concerning lilo will be 
covered.  There are probably many upgrade test patterns they'll have to try, 
that's true, but I would hope the transition goes smoothly for most systems.


-t


--
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/4c026266.8020...@stammed.net



Re: Odd name resolution

2010-05-30 Thread vr
On Sat, 29 May 2010 08:57:28 + (UTC), Camaleón 
wrote:
> Do you have avahi daemon running in that host?
> 

Evidently I do. Thank you for pointing me in the right direction!


-- 
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/c1a84cfef6b9f79d189d9943a0e3c...@192.168.0.66



A question about services

2010-05-30 Thread AG

Hello list

I have some questions about the use of some of the services that are & 
can be initiated at start up.  I see these listed via the Administration 
menu option, using GNOME on an up-to-date testing Debian system.


1. The following describes my current requirements:

This machine is a single user desktop, provides CUPS server to an 
ethernet LAN-connected client Debian machine, and both machines access 
the Internet via a dedicated hardware firewall but separately connected 
to the pre-firewall hub.


I have no need for bluetooth, sane, power management options, and I 
don't have a NFS, nor wireless.  This machine runs Tor with Tor's new 
friend, polipo, with privoxy continuing to be updated but seemingly no 
longer required by Tor.


I have KDE4 installed and Xfce4 and I use GNOME daily.  KDE4 requires MySQL.

There is an external USB drive connected to my machine which I access 
frequently so is mounted at boot up.


2.  Services currently activated at start up (according to GNOME):

alsa-utils - audi settings (I'm okay with that)
anacron - actions scheduler (needed)
atd - actions scheduler (needed)
avahi-daemon - multicast DNS service discovery (do I need this?)
cpudfrequtils (shows useful info when called up with hardinfo)
cron - actions scheduler (needed)
cups - printer service (needed)
dirmngr - ? (no idea - sounds reasonable but ...?)
exim4 - mail agent (maybe needed for POP3 and accessing GMail from my 
email client?)

hal - ? (needed, I think)
kerneloops - automated crash reports support (can't be bad)
lm-sensors - hardware monitor (probably a good thing)
loadcpufreq - ? (maybe worth having enabled?)
mysql - database server (KDE4 seems to need it and it's handy if I 
needed a decent dBase)

polipo - ? (now seemingly relied on by Tor, which I do want)
portmap - rpc mapper (wasn't this the bette noire for crackers scanning 
ports?  Anyway, do I need it for mounting/ accessing the external USB 
drive?)
pyro-nsd - ? (seemingly necessary for Python calls & as I have a number 
of Python utilities and libraries loaded, so will keep that)

rsyslog - ? (systems logging - needed)
sudo - ? (needed)
tor - ? (needed)

3.  Questions:

3.1. Do I need anacron *and* atd *and* cron?  Do they all work together 
or am I wasting resources, etc., by having all going?  How do I figure 
out which one is the safest to stop?


3.2. Given the description of my system requirements, do I need to run 
services like:

* avahi-daemon
* dirmngr
* exim4
* portmap

Thanks for any opinions you can offer.

AG


--
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/4c0266ca.3080...@gmail.com



Re: Running KDE apps under GNOME

2010-05-30 Thread Merciadri Luca
AG wrote:
> Merciadri, I think that the closest you will come to this under GNOME
> is to do the following:
>
> On the panel options, go to System/ Administration and then Services. 
> This will allow you to identify those services you want available to
> you at start up.  Not quite the same as the Xfce4 option Andrei
> mentioned, but as close as you are likely to get with GNOME.
Nice idea, but all the listed services (winbind, anacron, atd,
alsa-utils, nfs-kernel-server, samba, gdm, smartmontools, exim4,
fetchmail, avahi-daemon, acpid, rsync, ssh, dbus, apache2) are already
activated. :-(

P.S.: My surname is actually `Luca' but that does not matter. This is my
fault: I misconfigured the client some years ago, and then, to be
logical with my error, I kept with it.

-- 
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-30 Thread Merciadri Luca
Eduardo M KALINOWSKI wrote:
> Well, if you need Adobe Acrobat Reader, complain to Adobe that it's
> slow and hope they fix it.
But I find it special that it does not go faster. Adobe wants everybody
to use its client. Then, why don't they make something more valuable?
Habitually, if you want something to look interesting to other's eyes,
you try to make it as much attractive as possible.

-- 
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: Dependency based boot sequence conversion

2010-05-30 Thread Hugo Vanwoerkom

Sven Joachim wrote:

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.



It just is not correct. This is what the start sequence in /etc/rc6.d 
before using insserv looks like:


S20sendsigs [1]
S30rsyslog
S30urandom
S31umountnfs.sh
S35networking
S36firehol
S36ifupdown
S40umountfs
S60mdadm-raid
S60umountroot 


S90reboot

and this is what it looks like after insserv:

S01reboot  [2]
S01sendsigs
S01umountfs
S01umountnfs.sh
S01umountroot
S02rsyslog
S03mdadm-raid
S11ifupdown
S14networking
S15firehol
S19urandom

Reboot first before anything else?
So I changed that to S90reboot but still something went wrong: the root 
fs was not unmounted right because at reboot he complained.
So I changed it back to what it was before as in [1] by hardcoding the 
priorities.


Secondly insserv got invoked when I wasn't looking: by the VMware server 
installer :-(  I had rebooted using kernel 2.6.34 from kernel.org and 
installed the VMware server, to see if he had problems with that new 
kernel version. Unbeknownst to me, he invokes insserv so dependency 
based boot was no longer only a test: it was a fact.


I have tried for the last 3 hours to make [2] look like [1] using the 
script headers, but no luck thusfar, I'd be grateful for some pointers, 
how does one make [2] look like [1] not by hardcoding the priorities but 
by using the script headers?


Even if you manage that, you are changing data that you then have to 
track at every upgrade.


Thanks.

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/httreq$qa...@dough.gmane.org



Conclusion: Creating a DOS floppy disk image

2010-05-30 Thread T o n g
On Sun, 30 May 2010 09:45:12 +0200, Sven Joachim wrote:

>> How can I make a DOS floppy disk image under Linux?
> 
> $ dd if=/dev/zero of=floppy-image bs=1440k count=1 
> $ /sbin/mkdosfs floppy-image
> 
> You need the dosfstools package for the latter command.

Thanks Sven, and every who replied as well.

Just for the archive, the '-C' option of mkdosfs can be used to create 
the new file system in a file instead of on a real  device, and to  
avoid  using  dd  in advance to create a file of appropriate size. 

-- 
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/httrg4$nb...@dough.gmane.org



Re: Running KDE apps under GNOME

2010-05-30 Thread David Jardine
On Sun, May 30, 2010 at 04:00:39PM +0200, Merciadri Luca wrote:
> 
> P.S.: My surname is actually `Luca' but that does not matter. This is my
> fault: I misconfigured the client some years ago, and then, to be
> logical with my error, I kept with it.

Are you sure you mean "surname" (= family name)?

David


-- 
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/20100530141504.ga2...@gennes.augarten



[SOLVED] Unbootable after kernel upgrade: Lilo can't load kernel

2010-05-30 Thread Stephen Powell
This is not a lilo bug.  The problem is that lilo's map installer
did not get run during the kernel upgrade process.  The fact that
the user was able to boot his old de-installed kernel is proof of
this.  The /boot/map file still pointed to the blocks in the file
system which formerly contained the old kernel and its initial RAM
file system image.  And since, fortunately, those blocks had not yet
been reused, the data was still there.  Modules which were
loaded from the initial RAM file system image loaded OK.  But once
the switch was made from the initial RAM file system to the
permanent root file system, further module loads could not be done,
since the modules had been erased.  When the user manually ran lilo's
map installer at the command line, the problem disappeared.

The real question is, "Why didn't the map installer get run during
the kernel upgrade?"  There is not sufficient data in the bug log
to determine the answer to that question, but I have observed that
"do_bootloader = yes" in /etc/kernel-img.conf no longer causes
lilo to be run when a new kernel is installed.  I believe that this
change in behavior was caused by changes to the kernel maintainer
scripts made around the time of the switch to grub version 1 as
the default boot loader.  "do_bootloader = yes" in /etc/kernel-img.conf
still causes zipl to be run on the s390 port, a port that neither
version of grub supports.  "do_bootloader = yes" should still be
specified in /etc/kernel-img.conf, however, so that "update-initramfs -u"
will cause lilo's map installer to be run when an initial RAM file
system is updated (but not when it is initially created).

So is this a bug in the kernel maintainer scripts?  Or is it a feature?
I don't know.  I'll leave that up to the kernel maintainers to decide.
A full discussion of how to make sure that lilo's map installer gets
run during the installation of a new kernel, taking into account all
types of kernels (official stock Debian kernels, custom kernels created
by make-kpkg, custom kernels created by "make deb-pkg", etc., is beyond
the scope of this bug log.  Interested readers may wish to look at my
web page on kernel building, particularly step 10, for further
information.  http://www.wowway.com/~zlinuxman/Kernel.htm  The instructions
for "customizing the Lenny environment" will work in Squeeze or Sid also,
provided that you use only official stock Debian kernels.  If you use
custom kernels in Squeeze or later, you *must* use hook scripts to ensure
that any post-installation activities, such as the creation of an initial
RAM file system, updating symlinks, or running a boot loader, take place.

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



Re: Dependency based boot sequence conversion

2010-05-30 Thread Sven Joachim
On 2010-05-30 16:07 +0200, Hugo Vanwoerkom wrote:

> Sven Joachim wrote:
>> On 2010-05-29 19:12 +0200, Hugo Vanwoerkom wrote:
>>
>>> 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.
>>
>
> It just is not correct. This is what the start sequence in /etc/rc6.d
> before using insserv looks like:
>
> S20sendsigs [1]
> S30rsyslog
> S30urandom
> S31umountnfs.sh
> S35networking
> S36firehol
> S36ifupdown
> S40umountfs
> S60mdadm-raid
> S60umountroot 
>
> S90reboot

The fact that you actually have any Snn* links in /etc/rc6.d is an
artifact of the old boot system with fixed numbers.  When you migrate to
dependency-based boot system, these will be converted to Knn* links (the
initscripts package special-cases runlevels 0 and 6, calling all scripts
with a stop argument, even for "start" links).

> and this is what it looks like after insserv:
>
> S01reboot  [2]
> S01sendsigs
> S01umountfs
> S01umountnfs.sh
> S01umountroot
> S02rsyslog
> S03mdadm-raid
> S11ifupdown
> S14networking
> S15firehol
> S19urandom

This is indeed not correct, but the conversion will turn these into Knn*
links first, and then you'll get a very different order.  Here's mine
for reference:

,
| $ ls -1 /etc/rc6.d
| K01alsa-utils
| K01anacron
| K01atd
| K01gpm
| K01lpd
| K01nfs-kernel-server
| K01postfix
| K01stop-readahead-fedora
| K01timidity
| K01urandom
| K01xdm
| K02bind9
| K03sendsigs
| K04rsyslog
| K05umountnfs.sh
| K06nfs-common
| K06portmap
| K07hwclock.sh
| K07networking
| K08ifupdown
| K09umountfs
| K10umountroot
| K11reboot
| README
`

> Secondly insserv got invoked when I wasn't looking: by the VMware
> server installer :-(  I had rebooted using kernel 2.6.34 from
> kernel.org and installed the VMware server, to see if he had problems
> with that new kernel version. Unbeknownst to me, he invokes insserv so
> dependency based boot was no longer only a test: it was a fact.

I'm sorry that this happened to you.

> I have tried for the last 3 hours to make [2] look like [1] using the
> script headers, but no luck thusfar, I'd be grateful for some
> pointers, how does one make [2] look like [1] not by hardcoding the
> priorities but by using the script headers?

By running "dpkg-reconfigure sysv-rc".  Note that this will convert S*
links in runlevels 0 and 6 to K* links, but as I tried to explain, this
is what you want.

> Even if you manage that, you are changing data that you then have to
> track at every upgrade.

You don't have to do that, insserv does it for you.

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



Re: unavailables RSS feeds on debian.net

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 00:07:52 +0200, Stéphane Blondon wrote:

> 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?

It seems someone wondered the same a few months ago:

***
debaday.debian.net?
http://lists.debian.org/debian-www/2009/12/msg00141.html
***

> What I tried:
> - The root of http://www.debian.net/ redirects to debian.org, so no page
> listing the services or a contact address. 

http://www.debian.org/contact.en.html

I would contact to "web page editors".

> - 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?

There is also an unanswered bug:

***
packages.debian.org: integration with debaday reviews
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543343
***
 
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.30.14.52...@gmail.com



Re: Acroread: accelerating the search through a PDF

2010-05-30 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
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...



A different solution would be to open it in OOo Writer (I've tried 
it with v3.2 from Sid).  I just tried it on a 125 page laptop 
Owner's Manual.  Took about 10 minutes to convert.  The results were 
passable and I could save it in ODT format.


For as huge a document as you have, probably the wise thing to do 
would be to add some sort *files* (see "man mkswap") and start the 
task on Friday night.  If that blows up on you, pdftk can split 
files into smaller chunks.


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



Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Eduardo M KALINOWSKI

[No need for CC, I'm subscribed to the list]

On 05/30/2010 11:01 AM, Merciadri Luca wrote:

Eduardo M KALINOWSKI wrote:
   

Well, if you need Adobe Acrobat Reader, complain to Adobe that it's
slow and hope they fix it.
 

But I find it special that it does not go faster. Adobe wants everybody
to use its client. Then, why don't they make something more valuable?
Habitually, if you want something to look interesting to other's eyes,
you try to make it as much attractive as possible.
   


Surprising as it may seem, maybe they never noticed that. (It is not the 
average pdf file or the average use). Or since nobody complained, they 
focused on other things.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
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/4c028244.5020...@kalinowski.com.br



Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Ron Johnson

On 05/30/2010 10:13 AM, 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
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...



A different solution would be to open it in OOo Writer (I've tried it
with v3.2 from Sid). I just tried it on a 125 page laptop Owner's
Manual. Took about 10 minutes to convert. The results were passable and
I could save it in ODT format.


Scratch that.  What OOo really does is convert it to ODG.

(I wrote what I wrote in anticipation of it completing, and clicked 
Send instead of Close.)



For as huge a document as you have, probably the wise thing to do would
be to add some sort *files* (see "man mkswap") and start the task on
Friday night. If that blows up on you, pdftk can split files into
smaller chunks.




--
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/4c028444.3080...@cox.net



Re: A question about services

2010-05-30 Thread Anand Sivaram
On Sun, May 30, 2010 at 18:53, AG  wrote:

> Hello list
>
> I have some questions about the use of some of the services that are & can
> be initiated at start up.  I see these listed via the Administration menu
> option, using GNOME on an up-to-date testing Debian system.
>
> 1. The following describes my current requirements:
>
> This machine is a single user desktop, provides CUPS server to an ethernet
> LAN-connected client Debian machine, and both machines access the Internet
> via a dedicated hardware firewall but separately connected to the
> pre-firewall hub.
>
> I have no need for bluetooth, sane, power management options, and I don't
> have a NFS, nor wireless.  This machine runs Tor with Tor's new friend,
> polipo, with privoxy continuing to be updated but seemingly no longer
> required by Tor.
>
> I have KDE4 installed and Xfce4 and I use GNOME daily.  KDE4 requires
> MySQL.
>
> There is an external USB drive connected to my machine which I access
> frequently so is mounted at boot up.
>
> 2.  Services currently activated at start up (according to GNOME):
>
> alsa-utils - audi settings (I'm okay with that)
> anacron - actions scheduler (needed)
> atd - actions scheduler (needed)
> avahi-daemon - multicast DNS service discovery (do I need this?)
> cpudfrequtils (shows useful info when called up with hardinfo)
> cron - actions scheduler (needed)
> cups - printer service (needed)
> dirmngr - ? (no idea - sounds reasonable but ...?)
> exim4 - mail agent (maybe needed for POP3 and accessing GMail from my email
> client?)
> hal - ? (needed, I think)
> kerneloops - automated crash reports support (can't be bad)
> lm-sensors - hardware monitor (probably a good thing)
> loadcpufreq - ? (maybe worth having enabled?)
> mysql - database server (KDE4 seems to need it and it's handy if I needed a
> decent dBase)
> polipo - ? (now seemingly relied on by Tor, which I do want)
> portmap - rpc mapper (wasn't this the bette noire for crackers scanning
> ports?  Anyway, do I need it for mounting/ accessing the external USB
> drive?)
> pyro-nsd - ? (seemingly necessary for Python calls & as I have a number of
> Python utilities and libraries loaded, so will keep that)
> rsyslog - ? (systems logging - needed)
> sudo - ? (needed)
> tor - ? (needed)
>
> 3.  Questions:
>
> 3.1. Do I need anacron *and* atd *and* cron?  Do they all work together or
> am I wasting resources, etc., by having all going?  How do I figure out
> which one is the safest to stop?
>
> 3.2. Given the description of my system requirements, do I need to run
> services like:
>* avahi-daemon
>* dirmngr
>* exim4
>* portmap
>
> Thanks for any opinions you can offer.
>
> AG
>
>
> --
> 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/4c0266ca.3080...@gmail.com
>
>
3.1 Do not touch cron/anacron  since they are used by logrotate etc.
3.2 You may disable them in case you with to so that at least your bootup
may be faster.


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

2010-05-30 Thread Paul E Condon
On 20100529_223556, Stan Hoeppner wrote:
> 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?

Yes, but ...

I don't have anything as difficult to manage as you. But I am also far
less adept. Long ago I gave up on dist-upgrade as a thing I wanted to
do.  I think I stopped using it even before it was renamed to
dist-upgrade.  Instead, I devote a few GB of hard disk to multiple
partitions on which I can install successively newer releases of
Debian, but only the parts that change in the new release. Thanks to
HFS it is easy to determine which those are. I make a new clean
install in a newly formatted partion. If it doesn't work, I can reboot
back into what I had been running minutes before.  It took me a while
to work out all the kinks, but it is well worth the trouble.  As an
added benefit of this way, I mount the older root partition under a
special non-standard mount point in the new installation. If(When) I get
into trouble, I can refer to that partition to see how things were set up
before I started mucking about. 

I know this is a waste of disk space, but it is impossible to buy a HD
so small that it cannot hold several full installations of
Debian/GNU/Linux.

I suggest you rearrange your disks to make room for additional base-installs.
Practice doing Lenny to Lenny transitions to make sure you have your plan
fully worked out. And then, wait for Squeeze with the sure knowledge that
you can reboot back into your existing software. 

I cannot believe Grub2 will remain in its current state of disarray
when release of Squeeze finally happens. The module that finds
pre-existing installs and adds them to the boot menu seems to work but
when you do reboot at the end of the install process, the
installations that were listed as having been found are not there in
the boot menu. Just issue update-grub and reboot again. It is fixed.

Does this post give you warm fuzzies about the coming release?

-- 
Paul E Condon   
pecon...@mesanetworks.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/20100530153745.ga29...@big.lan.gnu



Recurring warning when updating: AGAIN!

2010-05-30 Thread JW Foster
Below is a snip from the update of my Debian 'testing' system. I see
that there are again warnings that seem to be unresolved regarding
gconf2. I have been pondering if this should be filed as a bug report as
it is recurring though it does seem to be relative to some specific
upgrade & I'm not sure which one as I haven't kept records.
Both gconf2 & shared -mime-info seem to be the culprits. I know "it's
testing" but does anyone know how to fix this or any recommendations on
filing a bug report.
-snip
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for gconf2 ...
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
WARNING: node  not understood below 
Processing triggers for fontconfig ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'chemical/x-alchemy'

Unknown media type in type 'chemical/x-cache'

Unknown media type in type 'chemical/x-cactvs-ascii'

Unknown media type in type 'chemical/x-cactvs-binary'

Unknown media type in type 'chemical/x-cactvs-table'

Unknown media type in type 'chemical/x-cdx'

Unknown media type in type 'chemical/x-cdxml'

Unknown media type in type 'chemical/x-chem3d'

Unknown media type in type 'chemical/x-cif'

Unknown media type in type 'chemical/x-cml'

Unknown media type in type 'chemical/x-daylight-smiles'

Unknown media type in type 'chemical/x-dmol'

Unknown media type in type 'chemical/x-gamess-input'

Unknown media type in type 'chemical/x-gamess-output'

Unknown media type in type 'chemical/x-gaussian-input'

Unknown media type in type 'chemical/x-gaussian-log'

Unknown media type in type 'chemical/x-genbank'

Unknown media type in type 'chemical/x-gulp'

Unknown media type in type 'chemical/x-hin'

Unknown media type in type 'chemical/x-inchi'

Unknown media type in type 'chemical/x-inchi-xml'

Unknown media type in type 'chemical/x-jcamp-dx'

Unknown media type in type 'chemical/x-macromodel-input'

Unknown media type in type 'chemical/x-mdl-molfile'

Unknown media type in type 'chemical/x-mdl-rdfile'

Unknown media type in type 'chemical/x-mdl-rxnfile'

Unknown media type in type 'chemical/x-mdl-sdfile'

Unknown media type in type 'chemical/x-mdl-tgf'

Unknown media type in type 'chemical/x-mmcif'

Unknown media type in type 'chemical/x-mol2'

Unknown media type in type 'chemical/x-mopac-graph'

Unknown media type in type 'chemical/x-mopac-input'

Unknown media type in type 'chemical/x-mopac-out'

Unknown media type in type 'chemical/x-msi-car'

Unknown media type in type 'chemical/x-msi-hessian'

Unknown media type in type 'chemical/x-msi-mdf'

Unknown media type in type 'chemical/x-msi-msi'

Unknown media type in type 'chemical/x-ncbi-asn1'

Unknown media type in type 'chemical/x-ncbi-asn1-binary'

Unknown media type in type 'chemical/x-ncbi-asn1-xml'

Unknown media type in type 'chemical/x-pdb'

Unknown media type in type 'chemical/x-shelx'

Unknown media type in type 'chemical/x-vmd'

Unknown media type in type 'chemical/x-xyz'

Processing triggers for gnome-icon-theme ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
-end-snip




-- 
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/1275229672.2910.7.ca...@brutus



Re: A question about services

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 14:23:22 +0100, AG wrote:

> This machine is a single user desktop, provides CUPS server to an
> ethernet LAN-connected client Debian machine, and both machines access
> the Internet via a dedicated hardware firewall but separately connected
> to the pre-firewall hub.
> 
> I have no need for bluetooth, sane, power management options, and I
> don't have a NFS, nor wireless.  This machine runs Tor with Tor's new
> friend, polipo, with privoxy continuing to be updated but seemingly no
> longer required by Tor.
> 
> I have KDE4 installed and Xfce4 and I use GNOME daily.  KDE4 requires
> MySQL.

KDE4 requires MySQl? What an "excentric" requirement >:-)
 
> There is an external USB drive connected to my machine which I access
> frequently so is mounted at boot up.
> 
> 2.  Services currently activated at start up (according to GNOME):

> avahi-daemon - multicast DNS service discovery (do I need this?)

No, you can safely disable that service.

> dirmngr - ? (no idea - sounds reasonable but ...?) 

***
Dirmngr is a server for managing and downloading certificate revocation 
lists (CRLs) for X.509 certificates and for downloading the certificates 
themselves. Dirmngr also handles OCSP requests as an alternative to CRLs. 
Dirmngr is either invoked internally by gpgsm (from GnuPG 2) or when 
running as a system daemon through the dirmngr-client tool.
***

I would keep that service on.

> hal - ? (needed, I think)

Yes, keep it enabled.

> kerneloops - automated crash reports support (can't be bad) 

Not needed, AFAIK you can safely disable.

> lm-sensors - hardware monitor (probably a good thing) 

Yes, it monitors temperature sensors (motherboard, hard disks...)

> loadcpufreq - ? (maybe worth having enabled?) 

Yes, it allows putting the processor into different load status (economy, 
full-load, etc..)

> portmap - rpc mapper (wasn't this the bette noire for crackers scanning 
ports? 

AFAIK, needed for running RPC services (such NFS).

> Anyway, do I need it for mounting/ accessing the external USB drive?)

I guess no. That is a task for udev/devicekit.

> pyro-nsd - ? (seemingly necessary for Python calls & as I have a number
> of Python utilities and libraries loaded, so will keep that) 

This one I dunno.

> 3.  Questions:
> 
> 3.1. Do I need anacron *and* atd *and* cron?  Do they all work together
> or am I wasting resources, etc., by having all going?  How do I figure
> out which one is the safest to stop?

apt-cache show cron
apt-cache show anacron
apt-cache show at

To display what are they for and their priority. I would keep them all.

> 3.2. Given the description of my system requirements, do I need to run
> services like:
>  * avahi-daemon
>  * dirmngr
>  * exim4
>  * portmap
> 
> Thanks for any opinions you can offer.

Avahi-daemon no, for sure. The others maybe. You need a mail agent 
(exim4, postfix or any other lightweight MTA, but at least one has to be 
installed). For dirmngr and portmap I'm not sure :-?

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.30.15.57...@gmail.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 09:19:03, Camaleón wrote:
> 
> Having an option to change the default is very good, but ISO date 
> representation is there precisely to avoid the date localization madness, 

Why "madness"? IMHO the *default* output should be easy to understand by 
the user and a localized date makes sense.

> so I for one would also expect as default the using of ISO date 
> standard.

Even if ISO is a standard, it's not the *usual* representation of a date 
for too many users to use it as a default.

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-30 Thread Hugo Vanwoerkom

Sven Joachim wrote:

On 2010-05-30 16:07 +0200, Hugo Vanwoerkom wrote:


Sven Joachim wrote:

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


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.


It just is not correct. This is what the start sequence in /etc/rc6.d
before using insserv looks like:

S20sendsigs [1]
S30rsyslog
S30urandom
S31umountnfs.sh
S35networking
S36firehol
S36ifupdown
S40umountfs
S60mdadm-raid
S60umountroot 


S90reboot


The fact that you actually have any Snn* links in /etc/rc6.d is an
artifact of the old boot system with fixed numbers.  When you migrate to
dependency-based boot system, these will be converted to Knn* links (the
initscripts package special-cases runlevels 0 and 6, calling all scripts
with a stop argument, even for "start" links).


and this is what it looks like after insserv:

S01reboot  [2]
S01sendsigs
S01umountfs
S01umountnfs.sh
S01umountroot
S02rsyslog
S03mdadm-raid
S11ifupdown
S14networking
S15firehol
S19urandom


This is indeed not correct, but the conversion will turn these into Knn*
links first, and then you'll get a very different order.  Here's mine
for reference:

,
| $ ls -1 /etc/rc6.d
| K01alsa-utils
| K01anacron
| K01atd
| K01gpm
| K01lpd
| K01nfs-kernel-server
| K01postfix
| K01stop-readahead-fedora
| K01timidity
| K01urandom
| K01xdm
| K02bind9
| K03sendsigs
| K04rsyslog
| K05umountnfs.sh
| K06nfs-common
| K06portmap
| K07hwclock.sh
| K07networking
| K08ifupdown
| K09umountfs
| K10umountroot
| K11reboot
| README
`


Secondly insserv got invoked when I wasn't looking: by the VMware
server installer :-(  I had rebooted using kernel 2.6.34 from
kernel.org and installed the VMware server, to see if he had problems
with that new kernel version. Unbeknownst to me, he invokes insserv so
dependency based boot was no longer only a test: it was a fact.


I'm sorry that this happened to you.


I have tried for the last 3 hours to make [2] look like [1] using the
script headers, but no luck thusfar, I'd be grateful for some
pointers, how does one make [2] look like [1] not by hardcoding the
priorities but by using the script headers?


By running "dpkg-reconfigure sysv-rc".  Note that this will convert S*
links in runlevels 0 and 6 to K* links, but as I tried to explain, this
is what you want.


Even if you manage that, you are changing data that you then have to
track at every upgrade.


You don't have to do that, insserv does it for you.



Thanks Sven, Good explanation! I will back up the system and 
"dpkg-reconfigure sysv-rc" and see what happens. My lack of 
understanding of sysv-rc, thanks again for your time.


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/htu22m$em...@dough.gmane.org



firewire regression in newer kernels [was: Re: is firewire broken in Debain?]

2010-05-30 Thread H.S.
H.S. wrote:
> I used to grab video from my DCR TVR25 MiniDV camcorder without any
> problems in the past on Debian Testing using Kino or dvgrab. Since some
> kernel version and up, this has not been possible anymore.
> 
> I am now using Debian Testing, KDE and kernel 2.6.32-trunk-686.
> 
> I see that firewire is now handled differently in the kernel and that
> /dev/fw? devices are formed instead of /dev/raw1394. Since Kino demands
> the latter, I have created a symbolic link /dev/raw1394 to /dev/fw0 (or
> fw1, as the case may be).
> 
> I have these modules loaded:
> $> lsmod | grep fire
> firewire_sbp2   9575  0
> firewire_net9181  0
> firewire_ohci  16477  0
> firewire_core  30915  3 firewire_sbp2,firewire_net,firewire_ohci
> crc_itu_t   1035  1 firewire_core
> scsi_mod  101073  3 firewire_sbp2,sr_mod,libata
> 
> 
> When I connect the DV camera to the firewire port, I get these error
> messages in syslog (trimmed some irrelevant info for better formatting):
> 46:09 krnl [ 2422.285885] firewire_core: created device fw1: GUID
> 08004601024aca36, S100
> 46:09 krnl [ 2422.285897] firewire_core: phy config: card 0, new
> root=ffc1, gap_count=5
> 46:10 krnl [ 2423.440290] firewire_ohci: isochronous cycle inconsistent
> 46:10 krnl [ 2423.940722] firewire_core: phy config: card 0, new
> root=ffc1, gap_count=5

> 
> Kino still doesn't work, I complains that raw1394 module is not
> available. But those isochronous error message still trouble me. Anybody
> now what is going on? How is one supposed to get around this problem?
> 
> Thanks.
> 
> 
> 

I posted this problem over at linux1394-user mailing list (subject "Kino
and dvgrab not working with camcorder ", date 28 May 2010 11:39 PM).
Stefan Richter has been extremely helpful, and diligent, in tracking
down the problem. He has found its root and has proposed a solution.

So it is only fair to clarify that this is not a problem in Debian per
say, but has been discovered as (i) a regression in the kernel and (ii)
due to a bug in the camcorder's firmware (Sony DCR TRV25). I am sure we
can expect a solution in the new firewire stack in the linux kernel soon.


-- 

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/htu2nv$gg...@dough.gmane.org



Re: firewire regression in newer kernels [was: Re: is firewire broken in Debain?]

2010-05-30 Thread H.S.
H.S. wrote:
> 
> I posted this problem over at linux1394-user mailing list (subject "Kino
> and dvgrab not working with camcorder ", date 28 May 2010 11:39 PM).
> Stefan Richter has been extremely helpful, and diligent, in tracking
> down the problem. He has found its root and has proposed a solution.
> 
> So it is only fair to clarify that this is not a problem in Debian per
> say, but has been discovered as (i) a regression in the kernel and (ii)
> due to a bug in the camcorder's firmware (Sony DCR TRV25). I am sure we
> can expect a solution in the new firewire stack in the linux kernel soon.
> 
> 

Forgot to mention: the camcorder works in an older kernel (2.6.26-2-686)
without any problems. I had to change nothing (no modules, no udev
rules) from the newer kernel scenario.

The camcorder appears as:
$> ls -altr /dev/raw*
crw-rw 1 root video 171, 0 May 30 11:04 /dev/raw1394

So rebooting in to an older kernel is a workaround for the present.

Regards.

-- 

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/htu394$gg...@dough.gmane.org



Re: A question about services

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 14:23:22, AG wrote:
> 
> 2.  Services currently activated at start up (according to GNOME):
> 
> alsa-utils - audi settings (I'm okay with that)
> anacron - actions scheduler (needed)
> atd - actions scheduler (needed)
> avahi-daemon - multicast DNS service discovery (do I need this?)

This I always purge, but could be useful for automatic service 
discovery.

> cpudfrequtils (shows useful info when called up with hardinfo)
> cron - actions scheduler (needed)
> cups - printer service (needed)
> dirmngr - ? (no idea - sounds reasonable but ...?)
> exim4 - mail agent (maybe needed for POP3 and accessing GMail from
> my email client?)

No, it's a SMTP server, meant to receive mail on port 25, for example 
from cron. You could put it to good use to relay mail you send to your 
SMTP server (gmail or ISP), assuming you don't use webmail only.

cron can do without a MTA now and if you don't ever read root's mail you 
can get rid of it, but I'd rather recommend reading root's mail :) 

You could also replace it with a forwarding MTA, that doesn't run as a 
daemon, if you don't mind sending root's mail via the internet.

> hal - ? (needed, I think)
> kerneloops - automated crash reports support (can't be bad)
> lm-sensors - hardware monitor (probably a good thing)
> loadcpufreq - ? (maybe worth having enabled?)
> mysql - database server (KDE4 seems to need it and it's handy if I

I think you can disable it without affecting the functionality needed by 
KDE. You won't be able to remove/purge it unless you remove big parts of 
KDE.

> needed a decent dBase)
> polipo - ? (now seemingly relied on by Tor, which I do want)
> portmap - rpc mapper (wasn't this the bette noire for crackers

This I always purge.

> scanning ports?  Anyway, do I need it for mounting/ accessing the
> external USB drive?)
> pyro-nsd - ? (seemingly necessary for Python calls & as I have a
> number of Python utilities and libraries loaded, so will keep that)
> rsyslog - ? (systems logging - needed)

This one is very good for troubleshooting.

> sudo - ? (needed)
> tor - ? (needed)
> 
> 3.  Questions:
> 
> 3.1. Do I need anacron *and* atd *and* cron?  Do they all work
> together or am I wasting resources, etc., by having all going?  How
> do I figure out which one is the safest to stop?

anacron is useful if your machine is not on all the time, especially 
during the night, when most cronjobs are set to run.

atd is useful if you want to schedule one-time jobs, unlike cron, which 
is for jobs which have to be repeated on certain intervals.

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: lilo removal in squeeze (or, "please test grub2")

2010-05-30 Thread Stephan Seitz

On Fri, May 28, 2010 at 11:55:58PM -0400, Tom H wrote:

The reverse argument can be made too. Both grub1 and grub2 just work.


I accept this argument for grub1. Yes, I never had problems with grub1, 
but grub2 is simply not ready for prime time.


While grub2 works for simple workstations, it can’t redirect its output 
to serial console and monitor like grub1 and it doesn’t understand XEN 
hypervisor kernels.


As long as grub2 has so many missing features it should not be considered 
default bootloader in Debian.


Shade and sweet water!

Stephan

--
| Stephan Seitz E-Mail: s...@fsing.rootsland.net |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Acroread: accelerating the search through a PDF

2010-05-30 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
>> 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...
>>
>
> A different solution would be to open it in OOo Writer (I've tried it
> with v3.2 from Sid).  I just tried it on a 125 page laptop Owner's
> Manual.  Took about 10 minutes to convert.  The results were passable
> and I could save it in ODT format.
>
> For as huge a document as you have, probably the wise thing to do
> would be to add some sort *files* (see "man mkswap") and start the
> task on Friday night.  If that blows up on you, pdftk can split files
> into smaller chunks.
>
Okay. I'll try it too. 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.


Don't fall before you're pushed.



signature.asc
Description: OpenPGP digital signature


Re: ls has stopped using the ISO date format

2010-05-30 Thread Stephan Seitz

On Sat, May 29, 2010 at 10:58:59PM -0700, Brian Marshall wrote:

Any idea why the default was changed? I guess it didn't really make


The new default was the default years ago. Then it was changed to the ISO 
format output. Since then I hated it. The ISO format is wasting to much 
space and is more difficult to read.
I was told, that the ISO format was chosen to make it simplier to pipe 
the output to another program. Well, this is certainly true, but in most 
cases I don’t use a pipe.
Luckily, --time-style=locale changed the format back to the good old 
ways.


It seems, upstream is now thinking again, that the localized output is 
the better one.


Shade and sweet water!

Stephan

--
| Stephan Seitz E-Mail: s...@fsing.rootsland.net |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Merciadri Luca
Okay. I take account of it.

Ron Johnson wrote:
> On 05/30/2010 10:13 AM, 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
>>> 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...
>>>
>>
>> A different solution would be to open it in OOo Writer (I've tried it
>> with v3.2 from Sid). I just tried it on a 125 page laptop Owner's
>> Manual. Took about 10 minutes to convert. The results were passable and
>> I could save it in ODT format.
>
> Scratch that.  What OOo really does is convert it to ODG.
>
> (I wrote what I wrote in anticipation of it completing, and clicked
> Send instead of Close.)
>
>> For as huge a document as you have, probably the wise thing to do would
>> be to add some sort *files* (see "man mkswap") and start the task on
>> Friday night. If that blows up on you, pdftk can split files into
>> smaller chunks.
>>
>
>


-- 
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.


The eyes are the window of the soul.



signature.asc
Description: OpenPGP digital signature


Re: ls has stopped using the ISO date format

2010-05-30 Thread Ron Johnson

On 05/30/2010 11:23 AM, Stephan Seitz wrote:

On Sat, May 29, 2010 at 10:58:59PM -0700, Brian Marshall wrote:

Any idea why the default was changed? I guess it didn't really make


The new default was the default years ago. Then it was changed to the
ISO format output. Since then I hated it. The ISO format is wasting to
much space and is more difficult to read.
I was told, that the ISO format was chosen to make it simplier to pipe
the output to another program. Well, this is certainly true, but in most
cases I don’t use a pipe.
Luckily, --time-style=locale changed the format back to the good old ways.

It seems, upstream is now thinking again, that the localized output is
the better one.


Thus is the beauty of choice and FLOSS, since I *want* ISO format 
and frequently use it's regularized date format in filters.


--
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/4c029ae8.9090...@cox.net



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

2010-05-30 Thread Sven Joachim
On 2010-05-30 18:29 +0200, Stephan Seitz wrote:

> On Fri, May 28, 2010 at 11:55:58PM -0400, Tom H wrote:
>>The reverse argument can be made too. Both grub1 and grub2 just work.
>
> I accept this argument for grub1. Yes, I never had problems with
> grub1, but grub2 is simply not ready for prime time.
>
> While grub2 works for simple workstations, it can’t redirect its
> output to serial console and monitor like grub1 and it doesn’t
> understand XEN hypervisor kernels.

The main problem with grub1 is the same as with lilo: there is no
upstream maintainer, and crucial parts of the code are undocumented
and not understandable¹.

> As long as grub2 has so many missing features it should not be
> considered default bootloader in Debian.

So which bootloader should be the default?  Grub1 is also lacking
important features, albeit different ones than grub2 (e.g. ext4
support).

Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239111#237


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



Squeeze and mobile broadband

2010-05-30 Thread emigrant
hi,
this is my first question here,
i want to know whether, mobile broad band works out of the box in
squeeze?
i use huawei ce0862 dongle to connect.

it didn't work for me in lenny (in fact i didn't find a way to initiate
a mobile broadband connection at the first place).

have things changed from then??

would i be able to connect easily to the internet?

thank you very much.


-- 
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/1275242309.1547.34.ca...@arshad-desktop



Re: Dependency based boot sequence conversion

2010-05-30 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Sven Joachim wrote:

On 2010-05-30 16:07 +0200, Hugo Vanwoerkom wrote:


Sven Joachim wrote:

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


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.


It just is not correct. This is what the start sequence in /etc/rc6.d
before using insserv looks like:

S20sendsigs [1]
S30rsyslog
S30urandom
S31umountnfs.sh
S35networking
S36firehol
S36ifupdown
S40umountfs
S60mdadm-raid
S60umountroot
S90reboot


The fact that you actually have any Snn* links in /etc/rc6.d is an
artifact of the old boot system with fixed numbers.  When you migrate to
dependency-based boot system, these will be converted to Knn* links (the
initscripts package special-cases runlevels 0 and 6, calling all scripts
with a stop argument, even for "start" links).


and this is what it looks like after insserv:

S01reboot  [2]
S01sendsigs
S01umountfs
S01umountnfs.sh
S01umountroot
S02rsyslog
S03mdadm-raid
S11ifupdown
S14networking
S15firehol
S19urandom


This is indeed not correct, but the conversion will turn these into Knn*
links first, and then you'll get a very different order.  Here's mine
for reference:

,
| $ ls -1 /etc/rc6.d
| K01alsa-utils
| K01anacron
| K01atd
| K01gpm
| K01lpd
| K01nfs-kernel-server
| K01postfix
| K01stop-readahead-fedora
| K01timidity
| K01urandom
| K01xdm
| K02bind9
| K03sendsigs
| K04rsyslog
| K05umountnfs.sh
| K06nfs-common
| K06portmap
| K07hwclock.sh
| K07networking
| K08ifupdown
| K09umountfs
| K10umountroot
| K11reboot
| README
`


Secondly insserv got invoked when I wasn't looking: by the VMware
server installer :-(  I had rebooted using kernel 2.6.34 from
kernel.org and installed the VMware server, to see if he had problems
with that new kernel version. Unbeknownst to me, he invokes insserv so
dependency based boot was no longer only a test: it was a fact.


I'm sorry that this happened to you.


I have tried for the last 3 hours to make [2] look like [1] using the
script headers, but no luck thusfar, I'd be grateful for some
pointers, how does one make [2] look like [1] not by hardcoding the
priorities but by using the script headers?


By running "dpkg-reconfigure sysv-rc".  Note that this will convert S*
links in runlevels 0 and 6 to K* links, but as I tried to explain, this
is what you want.


Even if you manage that, you are changing data that you then have to
track at every upgrade.


You don't have to do that, insserv does it for you.



Thanks Sven, Good explanation! I will back up the system and 
"dpkg-reconfigure sysv-rc" and see what happens. My lack of 
understanding of sysv-rc, thanks again for your time.




Did the reconfigure. Boots and halts/reboots faster.
Thanks again Sven.

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/htu964$4l...@dough.gmane.org



Re: ls has stopped using the ISO date format

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 18:59:47 +0300, Andrei Popescu wrote:

> On Sun,30.May.10, 09:19:03, Camaleón wrote:
>> 
>> Having an option to change the default is very good, but ISO date
>> representation is there precisely to avoid the date localization
>> madness,
> 
> Why "madness"? IMHO the *default* output should be easy to understand by
> the user and a localized date makes sense.

No sir, the localized format it's a mess.

The only date format understable by *any* user in the world is the ISO 
format, we all should move to that. 
 
>> so I for one would also expect as default the using of ISO date
>> standard.
> 
> Even if ISO is a standard, it's not the *usual* representation of a date
> for too many users to use it as a default.

The usual representation is very fuzzy. Look:

s...@stt008:~$ locale | grep TIME
LC_TIME="es_ES.UTF-8"

s...@stt008:~$ ls -l
total 1
drwxr-xr-x 9 sm01 sm01 728 may 29 22:22 Desktop
drwxr-xr-x 9 sm01 sm01 240 may 16 16:13 Documentos
drwx-- 3 sm01 sm01  72 nov 14  2009 file:
drwxr-xr-x 2 sm01 sm01  48 dic 27 21:10 News
drwx-- 2 sm01 sm01  48 abr 30 21:22 PDF

"May 29"... from what year? Ah, o.k. as there is no year printed it 
should be the actual one, and the actual year is 2010. Fine.

"May 16", the same.

"Nov 14"?... ah, o.k., it's printed 2009.

"Dec 27"? oops, no "2009" printed? well, right, but 2010 cannot be 
(future date), then it must be 2009. I hope...

Let's try with the long iso format:

s...@stt008:~$ export TIME_STYLE=long-iso

s...@stt008:~$ ls -l
total 1
drwxr-xr-x 9 sm01 sm01 728 2010-05-29 22:22 Desktop
drwxr-xr-x 9 sm01 sm01 240 2010-05-16 16:13 Documentos
drwx-- 3 sm01 sm01  72 2009-11-14 19:58 file:
drwxr-xr-x 2 sm01 sm01  48 2009-12-27 21:10 News
drwx-- 2 sm01 sm01  48 2010-04-30 21:22 PDF

This way I have to think *less* to be sure about the date. No guessing.

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.30.18.05...@gmail.com



Squeeze and mobile broadbad...

2010-05-30 Thread arshad
hi,
this is my first question here,
i want to know whether, mobile broad band works out of the box in
squeeze?
i use huawei ce0862 dongle to connect.

it didn't work for me in lenny (in fact i didn't find a way to initiate
a mobile broadband connection at the first place).

have things changed from then??

would i be able to connect easily to the internet?

thank you very much.


-- 
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/1275242273.1547.33.ca...@arshad-desktop



Re: Ugrade from Lenny to Squeeze on old PC Box - fsck died with exit status 8

2010-05-30 Thread Celejar
On Fri, 28 May 2010 10:30:03 +0200
Paul Chany  wrote:

> Andrei Popescu  writes:
> 
> > On Fri,28.May.10, 10:07:38, Paul Chany wrote:
> >> Sven Joachim  writes:
> >> >
> >> > The new kernel is probably using libata instead of the old IDE drivers,
> >> > which means that your hard disk is called /dev/sda rather than /dev/hda.
> >> > You should use labels or UUIDs in /etc/fstab if you want to use both the
> >> > old and the new kernel.  The linux-base package from sid can help you
> >> > with the conversion.
> >> 
> >> I want to use only the newest kernel version 2.6.32-3-486.
> >> What can I do in this case?
> >
> > It might be enough to replace all instances of hdaX with the 
> > corresponding sdaX, but UUID or labels are much safer anyway. I think 
> > linux-base (pointed out by Sven) will even automate (most of) the 
> > transition.
> 
> If I change in fstab all instances of hdaX to sdaX and after reboot
> can't get the running system it would be bad. In that case shall I have
> the opportunity to fix the problem?

Just FTR, since I think you've posted that your transition worked,
there are a couple of other places that need to be checked for hdaX
references, e.g., if you're using crytpsetup / luks, "/etc/crypttab"
and your bootloader configuration (if you're using kernel options such
as cryptopts=source=hdaX).

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
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/20100530141759.f7ad9465.cele...@gmail.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Ron Johnson

On 05/30/2010 01:05 PM, Camaleón wrote:

On Sun, 30 May 2010 18:59:47 +0300, Andrei Popescu wrote:


On Sun,30.May.10, 09:19:03, Camaleón wrote:


Having an option to change the default is very good, but ISO date
representation is there precisely to avoid the date localization
madness,


Why "madness"? IMHO the *default* output should be easy to understand by
the user and a localized date makes sense.


No sir, the localized format it's a mess.

The only date format understable by *any* user in the world is the ISO
format, we all should move to that.


so I for one would also expect as default the using of ISO date
standard.


Even if ISO is a standard, it's not the *usual* representation of a date
for too many users to use it as a default.


The usual representation is very fuzzy. Look:

s...@stt008:~$ locale | grep TIME
LC_TIME="es_ES.UTF-8"

s...@stt008:~$ ls -l
total 1
drwxr-xr-x 9 sm01 sm01 728 may 29 22:22 Desktop
drwxr-xr-x 9 sm01 sm01 240 may 16 16:13 Documentos
drwx-- 3 sm01 sm01  72 nov 14  2009 file:
drwxr-xr-x 2 sm01 sm01  48 dic 27 21:10 News
drwx-- 2 sm01 sm01  48 abr 30 21:22 PDF

"May 29"... from what year? Ah, o.k. as there is no year printed it
should be the actual one, and the actual year is 2010. Fine.

"May 16", the same.

"Nov 14"?... ah, o.k., it's printed 2009.

"Dec 27"? oops, no "2009" printed? well, right, but 2010 cannot be
(future date), then it must be 2009. I hope...

Let's try with the long iso format:

s...@stt008:~$ export TIME_STYLE=long-iso

s...@stt008:~$ ls -l
total 1
drwxr-xr-x 9 sm01 sm01 728 2010-05-29 22:22 Desktop
drwxr-xr-x 9 sm01 sm01 240 2010-05-16 16:13 Documentos
drwx-- 3 sm01 sm01  72 2009-11-14 19:58 file:
drwxr-xr-x 2 sm01 sm01  48 2009-12-27 21:10 News
drwx-- 2 sm01 sm01  48 2010-04-30 21:22 PDF

This way I have to think *less* to be sure about the date. No guessing.



Proof of your brilliance is that you think just like me!

--
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/4c02acff.4080...@cox.net



Re: ls has stopped using the ISO date format

2010-05-30 Thread Camaleón
On Sun, 30 May 2010 13:22:55 -0500, Ron Johnson wrote:

> On 05/30/2010 01:05 PM, Camaleón wrote:

(...)

>> This way I have to think *less* to be sure about the date. No guessing.
>>
>>
> Proof of your brilliance is that you think just like me!

Oh. I'll take that as a "compliment".

(He, he... just joking. That was a good one) ;-)

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.30.18.41...@gmail.com



Re: [SOLVED] Unbootable after kernel upgrade: Lilo can't load kernel

2010-05-30 Thread Frans Pop
reopen 505609 
reassign 505609 linux-2.6
affects 505609 lilo
thanks

Stephen Powell wrote:
> The real question is, "Why didn't the map installer get run during
> the kernel upgrade?"
[...]
> So is this a bug in the kernel maintainer scripts?  Or is it a feature?
> I don't know.  I'll leave that up to the kernel maintainers to decide.

Reopening and reassigning to the kernel team.


-- 
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/201005302059.16911.elen...@planet.nl



Re: ls has stopped using the ISO date format

2010-05-30 Thread Brian Marshall
On Sun, May 30, 2010 at 10:44:38AM +0100, Nuno Magalhães wrote:
> In any case if locales were the reasoning, pt_PT.UTF-8 oughta be "30
> Mai 2010" or something when it's actually just a translation from
> english, "Mai 30 2010".

That looks like a bug in the pt_PT.UTF-8 locale. de_DE.UTF-8 gets it
right with "30. Mai 2010", so ideally, the locales *should* be fully
localized and not just translated.

Brian


signature.asc
Description: Digital signature


Re: Recurring warning when updating: AGAIN!

2010-05-30 Thread Liam O'Toole
On 2010-05-30, JW Foster  wrote:
> Below is a snip from the update of my Debian 'testing' system. I see
> that there are again warnings that seem to be unresolved regarding
> gconf2. I have been pondering if this should be filed as a bug report as
> it is recurring though it does seem to be relative to some specific
> upgrade & I'm not sure which one as I haven't kept records.
> Both gconf2 & shared -mime-info seem to be the culprits. I know "it's
> testing" but does anyone know how to fix this or any recommendations on
> filing a bug report.
> -snip
> Processing triggers for man-db ...
> Processing triggers for menu ...
> Processing triggers for gnome-menus ...
> Processing triggers for desktop-file-utils ...
> Processing triggers for gconf2 ...
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> WARNING: node  not understood below 
> Processing triggers for fontconfig ...
> Processing triggers for shared-mime-info ...
> Unknown media type in type 'chemical/x-alchemy'
---SNIP---
> Unknown media type in type 'chemical/x-xyz'
>
> Processing triggers for gnome-icon-theme ...
> Processing triggers for doc-base ...
> Processing 1 changed doc-base file(s)...
> -end-snip
>

The "Unknown media type" messages have been discussed on the list
before. They are due to some KDE packages(s), apparently. Inspection of
the files in /usr/share/mime/packages/ should identify the culprit.

-- 
Liam O'Toole
Birmingham, United Kingdom --> Cork, Ireland



-- 
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/slrni05dsj.4k0.liam.p.oto...@dipsy.selfip.org



Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread Stan Hoeppner
What happens when you use LILO instead of Grub?

d.sastre.med...@gmail.com put forth on 5/30/2010 6:13 AM:
> On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote:
>> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina
>>  wrote:
>>>
>>> Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
>>>
>>> r...@sysresccd /root % mdadm --detail /dev/md0
>>> /dev/md0:
>>> ...
>>>   UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
>>
>> 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.
> 
> Already tried that. No success.
>  
>> 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?
> 
> I also tried that. It fails.
> That UUID belongs to /root_vg-root_lv, where the root filesystem
> resides.
> The UUID can be confirmed at the grub propmt issuing
> grub> ls (root_vg-root_ls)
> 
> Note that `boot' is a multidisk partition (sda1 and sdb1, which assemble
> md0), thus root='(md0)' makes sense from a grub point of view. And md1
> is the result of assembling sda2 and sdb2. This md device has only one VG 
> on top of it, root_vg, with several LVs in it, one of these LVs being my 
> root_lv.
> 
> This my default menuentry now:
> 
> 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 lvm
> 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=15 quiet
> echoLoading initial ramdisk ...
> initrd  /initrd.img-2.6.32-3-686-bigmem
> }
> 
> The `set root' entry says what is *root* for grub, I understand this as: 
> where are /boot/grub/grub.cfg, /vmlinuz-`uname -r` and /initrd.img-`uname -r`
> So IMHO it should be called boot='(md0)' for better undestanding and
> disambiguation from the *other* root in the `linux' line.
> The GRUB root device is not the same as the Linux kernel root= parameter.
> BTW this command is undocummented in the wiki, still uses grub-legacy's
> info, which doesn't apply anymore, given the `root' command has been
> replaced.
> 
> The `search' line, as stated in the grub wiki:
> 
> Search devices by file, filesystem label or filesystem UUID. If --set
> is specified, the first device found is set to a variable. If HD
> variable name is specified, "root" is used.
> 
> I take this to mean that the first device found _which UUID is_ 785...
> (the UUID of my root_gv-root_lv) will be the `root' filesystem.
> 
> And yet another definition of `root' after the `linux' call.
> That one states that:
> 
> root=/dev/mapper/root_vg-root_lv  which could be written also as:
> root=LABEL=root  or even
> root=UUID=785366b0-d597-4e9c-9284-b6b9161236ed
> 
> The three of them should be right. None of them work.
> 
> If a suppress the `quiet' option from the `linux' line, what I can see
> is LVM initializing *before* mdadm has get its job done:
> 
> "Volume group "root_vg-root_lv not found
>  Skipping volume group root_vg
>  Unable to find LVM volume root_vg-swap_lv
>  mdadm:/dev/md0 has been started with two drives
>  mdadm:/dev/md1 has been started with two drives
>  Gave up waiting fot root device."
> 
> So it looks like a timming issue *but*, I have tried to issue manually
> the commands in the right order at the grub prompt:
> 1) insmod-ing raid, mdraid, lvm and ext2; setting root to md0; 
> 2) searching for devices (also a variant without this step); 
> 3) calling linux with the right root device 
>  (all three variants of this step: dev name, UUID and LABEL and with
>  different rootdelay timmings, always without `quiet') and, finally;
> 4) calling initrd. 
> 
> Failure again. No way root_vg to be found.
> 
> One further question: after a reboot, while at the grub screen, before 
> doing anything else, if a enter the command line and type `ls' at the 
> prompt, I can see all of my LVs, and listing anyone of them returns: 
> device name, filesystem type, label, last modification time and UUID. 
> Where does this info come from? Supossedly, there aren't mods loaded to 
> read that yet, until after `insmod' loads them, are there?
> 
> 


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

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

2010-05-30 Thread Stan Hoeppner
Paul E Condon put forth on 5/30/2010 10:37 AM:
> On 20100529_223556, Stan Hoeppner wrote:

>> I'm far more concerned at this point with distribution upgrades than new
>> installs. 
>>
>> 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?

> I don't have anything as difficult to manage as you. 

These systems are a breeze to manage currently, not difficult at all.

> But I am also far
> less adept. Long ago I gave up on dist-upgrade as a thing I wanted to
> do.  I think I stopped using it even before it was renamed to
> dist-upgrade.  Instead, I devote a few GB of hard disk to multiple
> partitions on which I can install successively newer releases of
> Debian, but only the parts that change in the new release. Thanks to
> HFS it is easy to determine which those are. I make a new clean
> install in a newly formatted partion. If it doesn't work, I can reboot
> back into what I had been running minutes before.

Herein lies the problem with changing bootloaders.  Your "safe recovery"
methodology (which is quite smart btw and I've used it myself over the years)
goes out the window in this case because the bootloader controls loading every
one of your parallel installations.  If the bootloader gets hosed, you can't
load any of them.  You're fscked.

> I know this is a waste of disk space, but it is impossible to buy a HD
> so small that it cannot hold several full installations of
> Debian/GNU/Linux.

Not a waste of space at all, but a very good use of a tiny percentage of the
space available on current drives.  With 500GB drives at ~$50 USD, and a
typical Debian install being ~5GB, you could have 10 parallel installations
using only 10% of the drive's space.  That's a smart investment in potential
severe headache prevention.  Ten parallel installs is extreme, but I'm simply
demonstrating the "cost" of storage aspect.

> I suggest you rearrange your disks to make room for additional base-installs.
> Practice doing Lenny to Lenny transitions to make sure you have your plan
> fully worked out. And then, wait for Squeeze with the sure knowledge that
> you can reboot back into your existing software. 

What you suggest here doesn't really come into play.  This isn't an issue of
going from Lenny to Squeeze.  This isn't about different package revs.  It's
not about Squeeze having problems and wanting to boot back into Lenny.  The
problem, in and of itself, is booting.  Period.  There is not way to test it
but to replace LILO with Grub2 and see if the system boots afterward.  I
cannot do this on production servers, obviously.  Cloning drives to play with
on a lab machine would be a good idea, but I can't take production servers
offline to clone the disks.  The only real way to test this is to build a
fresh Lenny test rig from scratch with LILO, tweak it to match my production
systems, then install Grub2 and see what, if anything, breaks, and figure out
how to get around the breakage.

> I cannot believe Grub2 will remain in its current state of disarray
> when release of Squeeze finally happens. The module that finds
> pre-existing installs and adds them to the boot menu seems to work but
> when you do reboot at the end of the install process, the
> installations that were listed as having been found are not there in
> the boot menu. Just issue update-grub and reboot again. It is fixed.

I hope it's ready for prime time by then.

> Does this post give you warm fuzzies about the coming release?

I'm not worried about the release.  I've taken these machines through four
live online apt upgrades all the way back from Woody to Lenny, 4 releases,
without major issues.  However, the bootloader never changed.  LILO all the
way through.  This upgrade will be radically different in this respect.

I guess I could start looking for an aftermarket bootloader to avoid this mess
altogether, although I'd rather use a FOSS solution.  Maybe extlinux.  From
what others have said here it shows some promise.

-- 
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/4c02c573.4070...@hardwarefreak.com



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

2010-05-30 Thread Stephan Seitz

On Sun, May 30, 2010 at 07:11:19PM +0200, Sven Joachim wrote:

The main problem with grub1 is the same as with lilo: there is no
upstream maintainer, and crucial parts of the code are undocumented
and not understandable¹.


But at least grub1 is working in a wider field than grub2. And lilo is 
still working, too. Maybe not with the current Debian kernel, but it 
works for people building their own kernel.



So which bootloader should be the default?  Grub1 is also lacking
important features, albeit different ones than grub2 (e.g. ext4
support).


Maybe, but ext4 support is not really crucial. Simply make /boot ext2.

I would say, the default bootloader should be grub1, expert installation 
can offer grub2 as well. Lilo should be in the distribution as well, so 
people can switch after installation. At least for the next release.


Shade and sweet water!

Stephan

--
| Stephan Seitz E-Mail: s...@fsing.rootsland.net |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Acroread: accelerating the search through a PDF

2010-05-30 Thread Celejar
On Sat, 29 May 2010 20:47:52 +0200
Merciadri Luca  wrote:

> 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...

Don't know how useful it is, but I recently noticed that pdfgrep has
been added to Sid:

$ apt-cache show pdfgrep 
Package: pdfgrep

...

Description: search in pdf files for strings matching a regular expression
 Pdfgrep is a tool to search text in PDF files. It works similar to
 `grep'.
 .
 Features:
  - search for regular expressions.
  - support for some important grep options, including:
+ filename output.
+ page number output.
+ optional case insensitivity.
+ count occurrences.
  - and the most important feature: color output!
Homepage: http://pdfgrep.sourceforge.net/> 

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
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/20100530165147.b0fd53b5.cele...@gmail.com



popularity contest : not sending email via HTTP

2010-05-30 Thread Bruno Costacurta

Hello,

I installed and activated the popularity contest package
(note : goal of this package is to gather statistics about package  
usage and report them to Debian).


Option http is activate to send the statistics (in place of email protocol).

cat /etc/popularity-contest.conf :
...
PARTICIPATE="yes"
USEHTTP="yes"
...

However mailer is complaining :

From MAILER-DAEMON Sat May 22 06:26:23 2010
...etc...
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  sur...@popcon.debian.org
Mailing to remote domains not supported
...etc..

How to send email to popularity contest ?
Why is http not used ?

Thanks for help

Bye,
Bruno

--
Linux Counter #353844
http://counter.li.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/20100530225747.12801wolfxqxs...@webmail.costacurta.org



Re: Squeeze and mobile broadband...

2010-05-30 Thread Peter Beck
On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
> i want to know whether, mobile broad band works out of the box in
> squeeze? have things changed from then??

I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had to use
the tools from betavine, now in squeeze it's working out of the box with
networkmanager 0.8

> would i be able to connect easily to the internet?

absolutely easy. for me at least.

Regards
Peter


-- 
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/1275254878.2619.4.ca...@rapunzel.datentraeger.li



Re: Squeeze and mobile broadbad...

2010-05-30 Thread lrhorer
arshad wrote:

> hi,
> this is my first question here,
> i want to know whether, mobile broad band works out of the box in
> squeeze?
> i use huawei ce0862 dongle to connect.

No,I don't think so, but it's not terribly difficult to set up - once
you know how.

> it didn't work for me in lenny (in fact i didn't find a way to
> initiate a mobile broadband connection at the first place).
> 
> have things changed from then??
> 
> would i be able to connect easily to the internet?

Yes, but it probably requires a little setup.  First of all, if the
modem is a "flip-flop" device, you will need to get usb_modeswitch to
switch the modem from storage mode to modem mode.  Go to the following
link to read up on these devices and verify your dongle is supported.

http://www.draisberghof.de/usb_modeswitch

If the modem is not a "flip-flop" device, things get simpler, but I
strongly suspect the device you have is a "flip-flop" device.  Assuming
it is, you will need to download usb_modeswitch, use apt-get to obtain
pppd and probably a front-end for dialing.  There are a number
available, and which one you use depends on your personal tastes, the
desktop interface you are using, and how you will be using the device.

If you choose,it's pretty simple to write a script which loads at boot
time and waits for the USB dongle to be inserted, then configures the
dongle and automatically connects to the internet.  Otherwise, you can
create a simpler script which you run manually whenever you want to
access the internet.  You could also create a hybrid setup which
configures the modem whenever it is inserted, but does not dial out. 
Then you can initiate a dial-out connection when you want to connect. 
It's also possible to have ppp wait for an attempt to access the
internet before dialing out.  It all depends on what you want to do.


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



Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote:
> What happens when you use LILO instead of Grub?

I haven't tried that yet. 

First thing would be to know if the bootloader is to blame for not
having a bootable system. As of now, it would be some timming issues
related to initramfs-tools' scripts (wild guess).

Then, I'd need to know if LILO supports the configuration described
before, i.e., md0 contains /boot and md1 contains LVs, one of them
being /dev/mapper/root_vg-root_lv.

After that, I'd need to test the proper way to install/uninstall
software from an unbootable machine. I guess d-i allows installing
LILO on top of grub.
The purpose is either reinstalling grub-pc, downgrading to grub-legacy, 
or installing LILO.
Other option would be using rescueCD, chroot into my system and install 
from there. Suggestions are welcome.

But first I'll need to refresh my LILO skills. It's been a while :)

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


pgpELQ6lE3Mv2.pgp
Description: PGP signature


Re: popularity contest : not sending email via HTTP

2010-05-30 Thread Alan Ianson
On Sun May 30 2010 01:57:47 pm Bruno Costacurta wrote:
> Hello,
>
> I installed and activated the popularity contest package
> (note : goal of this package is to gather statistics about package
> usage and report them to Debian).
>
> Option http is activate to send the statistics (in place of email
> protocol).
>
> cat /etc/popularity-contest.conf :
> ...
> PARTICIPATE="yes"
> USEHTTP="yes"
> ...
>
> However mailer is complaining :
>
>  From MAILER-DAEMON Sat May 22 06:26:23 2010
> ...etc...
> This message was created automatically by mail delivery software.
>
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
>sur...@popcon.debian.org
>  Mailing to remote domains not supported
> ...etc..
>
> How to send email to popularity contest ?

Run "dpkg-reconfigure exim4-config" and set it up to use a smarthost, your 
usual email smtp address will probably be ok.

> Why is http not used ?

That I don't know.


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



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

2010-05-30 Thread Mark
On Sun, May 30, 2010 at 1:50 PM, Stephan Seitz <
stse+deb...@fsing.rootsland.net > wrote:

>
> I would say, the default bootloader should be grub1, expert installation
> can offer grub2 as well. Lilo should be in the distribution as well, so
> people can switch after installation. At least for the next release.
>
>
I have a question related to this: recently the screen on a dual boot
(XP/Lenny) laptop got busted pretty badly (almost to the point where grub1's
blue splash screen menu is not visible at all), and since the primary
purpose of this laptop is now to boot to XP to use Netflix's Microsoft
Silverlight-based movie player while connected to an hdtv for on-line movie
watching, I just booted to Lenny, changed the "default=0" value to
"default=3" in /boot/grub/menu.lst so it now boots to XP by default.  My
limited experience with grub2 in Squeeze didn't appear to have this ability,
so what would I have done in this case?  Would I be fscked?

Thanks,
Mark


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

2010-05-30 Thread Brian Marshall
On Sun, May 30, 2010 at 03:02:23PM -0700, Mark wrote:
>   I just booted to Lenny, changed the "default=0" value to
> "default=3" in /boot/grub/menu.lst so it now boots to XP by default.  My
> limited experience with grub2 in Squeeze didn't appear to have this ability,
> so what would I have done in this case?  Would I be fscked?

It's still there, just moved. Edit /etc/default/grub, change
GRUB_DEFAULT to 3 and run update-grub.

Brian


signature.asc
Description: Digital signature


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

2010-05-30 Thread Mark
On Sun, May 30, 2010 at 3:12 PM, Brian Marshall wrote:

> On Sun, May 30, 2010 at 03:02:23PM -0700, Mark wrote:
> >   I just booted to Lenny, changed the "default=0" value to
> > "default=3" in /boot/grub/menu.lst so it now boots to XP by default.  My
> > limited experience with grub2 in Squeeze didn't appear to have this
> ability,
> > so what would I have done in this case?  Would I be fscked?
>
> It's still there, just moved. Edit /etc/default/grub, change
> GRUB_DEFAULT to 3 and run update-grub.
>

Very helpful, thank you Brian.


Re: ls has stopped using the ISO date format

2010-05-30 Thread Kelly Clowers
On Sat, May 29, 2010 at 21:17, 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.
>
>> 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

I almost missed this thread, but it's a good thing I didn't.  I had been
using LC_TIME=en_DK.UTF-8 to get ISO format, but at some point that
stopped working, and I couldn't figure out what had happened.

And I have to agree with Camaleón and Ron that the ISO
format is a lot less confusing.


Cheers,
Kelly Clowers


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



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

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 22:50:44, Stephan Seitz wrote:
> On Sun, May 30, 2010 at 07:11:19PM +0200, Sven Joachim wrote:
> >The main problem with grub1 is the same as with lilo: there is no
> >upstream maintainer, and crucial parts of the code are undocumented
> >and not understandable¹.
> 
> But at least grub1 is working in a wider field than grub2. And lilo
> is still working, too. Maybe not with the current Debian kernel, but
> it works for people building their own kernel.
> 
> >So which bootloader should be the default?  Grub1 is also lacking
> >important features, albeit different ones than grub2 (e.g. ext4
> >support).
> 
> Maybe, but ext4 support is not really crucial. Simply make /boot ext2.

Having /boot on a separate partition for robustness, security or 
advanced features (encrypted LVM and stuff) is one thing, but having it 
because the default bootloader doesn't support current (ext4) and future 
(btrfs) filesystems seems like a hack to me.

> I would say, the default bootloader should be grub1, expert
> installation can offer grub2 as well. Lilo should be in the
> distribution as well, so people can switch after installation. At
> least for the next release.

Is it just me or does this sound like the KDE3 -> KDE4 debate all over 
again?

Don't get me wrong, I've had my part of headaches with grub2 (I switched 
quite early), but most are fixed, so grub2 does almost everything *I* 
need. Also, the config has become so complicated you need another config 
file (/etc/default/grub) to configure how it will be generated :(

I read grub2 is still missing features (like simultaneous display on a 
serial console and VGA), and it is (still?) incompatible with some 
software (Stephen's case), but we have to face it:

* LILO is not developed anymore
* Grub1 is not developed anymore

Unless there are people interested in further developing those code 
bases they will be gone sooner or later. And my feeling (as a 
non-programmer) is that they have become unmaintainable, or at least it 
has become too much work compared to writing something from scratch 
(grub2, extlinux, ...).

AFAICT, the only thing that we as users can do (short of putting up 
bounties) is to push for the missing features to be implemented and the 
bugs to be fixed. But none of this will happen unless we are at least 
willing to *test* the new stuff. At least the regulars on this list 
should know how to recover from an unbootable system, or not? 

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


signature.asc
Description: Digital signature


Booting from an SD card?

2010-05-30 Thread Marc Shapiro
My wife has an early eeepc with a 4GB SSD running Xandros.  She would like to 
change the OS so that she can install other software easily.  I have a newer 
eeepc with a 160GB HD that came with the OS that must not be named and now also 
has Eeebuntu 3.0.

I wanted to install Debian on my eeepc.

On mine, I installed Lenny, then upgraded to Squeeze to get the 2.6.32 kernel 
so that all of the hardware would work properly.  So far, so good.  Then, after 
a dist-upgrade, the wireless started to have problems.  I could connect 
anywhere EXCEPT at home.  Unsecured, or not, I could connect when not at home.  
My home wireless, with WEP security, would not connect.

I came across a site with with a Lenny installer but with the 2.6.32 kernel.  I 
created a 4 GB partition on my eeepc to simulate what the installation would be 
like on my wife's eeepc and how much space could be made available with only a 
4 GB SSD.  I did the install, updated grub, installed Gnome and rebooted.  
Everything worked fine, including connecting to my wireless network at home.  
Life is good.  I expect to blow away the Squeeze install that will not connect 
to my wireless, and replace it with this Lenny install.  I can do a 
dist-upgrade when Squeeze goes stable.

Now, I have a 4 GB SD card that I want to install Lenny on, just like the 
installation to my hard drive.  That way, my wife can try it out on her eeepc 
WITHOUT MAKING ANY CHANGES TO HER HD.  I have gone through the install, but can 
not boot from it.  I am 99% certain that it is just a case of getting grub 
properly installed on the SD card.  From MY pc, how do I install grub on the SD 
card to that Lenny can boot directly from the SD card (on my box, or my wife's) 
without affecting the booting of my machine, or needing to change anything on 
my wife's machine?

I expect that I will need to make changes to /etc/grub/menu.lst on my box, then 
run 'grub-install' to install grub on the SD card, and restore the original 
/etc/grub/menu.lst for my box.  I also expect that I may need to make changes 
to /etc/grub/menu.lst on the SD card.  My problem is that I hafe used LILO 
since Debian Bo (and am by NO means a bootloader guru) and I do not know what 
changes need to be made to  /etc/grub/menu.lst on either my box, or the SD 
card, to make this work.

Can anyone help me with this?

 
 Marc Shapiro
mshapiro...@yahoo.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/733264.38405...@web55501.mail.re4.yahoo.com



Re: ls has stopped using the ISO date format

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 18:05:43, Camaleón wrote:
 
> The usual representation is very fuzzy. Look:
> 
> s...@stt008:~$ locale | grep TIME
> LC_TIME="es_ES.UTF-8"
> 
> s...@stt008:~$ ls -l
> total 1
> drwxr-xr-x 9 sm01 sm01 728 may 29 22:22 Desktop
> drwxr-xr-x 9 sm01 sm01 240 may 16 16:13 Documentos
> drwx-- 3 sm01 sm01  72 nov 14  2009 file:
> drwxr-xr-x 2 sm01 sm01  48 dic 27 21:10 News
> drwx-- 2 sm01 sm01  48 abr 30 21:22 PDF
> 
> "May 29"... from what year? Ah, o.k. as there is no year printed it 
> should be the actual one, and the actual year is 2010. Fine.
> 
> "May 16", the same.
> 
> "Nov 14"?... ah, o.k., it's printed 2009.
> 
> "Dec 27"? oops, no "2009" printed? well, right, but 2010 cannot be 
> (future date), then it must be 2009. I hope...
 
I haven't read the manpage, but it seems like a bug.

> Let's try with the long iso format:
> 
> s...@stt008:~$ export TIME_STYLE=long-iso
> 
> s...@stt008:~$ ls -l
> total 1
> drwxr-xr-x 9 sm01 sm01 728 2010-05-29 22:22 Desktop
> drwxr-xr-x 9 sm01 sm01 240 2010-05-16 16:13 Documentos
> drwx-- 3 sm01 sm01  72 2009-11-14 19:58 file:
> drwxr-xr-x 2 sm01 sm01  48 2009-12-27 21:10 News
> drwx-- 2 sm01 sm01  48 2010-04-30 21:22 PDF
> 
> This way I have to think *less* to be sure about the date. No guessing.

You example shows only dates where it is quite obvious what date format 
is used. Let me see...

-rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
-rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg

Can you tell if these files were created 5th march or 3rd may? How (I'd 
really like to know)?

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: Acroread: accelerating the search through a PDF

2010-05-30 Thread John Hasler
Merciadri Luca writes:
> But I find it special that it does not go faster. Adobe wants everybody
> to use its client. 

No.  They want everybody who creates "content" to buy Acrobat.  Giving
away Acroread is just part of the marketing thereof.

> Then, why don't they make something more valuable?

Incompetence?

> Habitually, if you want something to look interesting to other's eyes,
> you try to make it as much attractive as possible.

And so they market it heavily.  Thus the Web sites that say "To read
this you need Acroread", not "To read this you need a PDF viewer".
-- 
John Hasler


-- 
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/878w71dop5@thumper.dhh.gt.org



Re: ls has stopped using the ISO date format

2010-05-30 Thread Brian Marshall
On Mon, May 31, 2010 at 01:51:14AM +0300, Andrei Popescu wrote:
> -rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
> -rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg
> 
> Can you tell if these files were created 5th march or 3rd may? How (I'd 
> really like to know)?

I've never heard of a -dd-mm format. All the other formats usually
put the year at the end, and if they don't, they're probably using
slashes or something else instead of hyphens. That's sufficient to
distinguish the ISO format from the rest, I think.

Brian


signature.asc
Description: Digital signature


Re: ls has stopped using the ISO date format

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 12:04:47, Brian Marshall wrote:
> On Sun, May 30, 2010 at 10:44:38AM +0100, Nuno Magalhães wrote:
> > In any case if locales were the reasoning, pt_PT.UTF-8 oughta be "30
> > Mai 2010" or something when it's actually just a translation from
> > english, "Mai 30 2010".
> 
> That looks like a bug in the pt_PT.UTF-8 locale. de_DE.UTF-8 gets it
> right with "30. Mai 2010", so ideally, the locales *should* be fully
> localized and not just translated.

At least for Romanian it's not a bug in the locale, but rather missing 
feature, because only %c and %x are defined. Neither are suitable for ls 
(%c includes the weekday and %x doesn't include the time) so it is using 
it's own format. I'll report a bug for Romanian.

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: ls has stopped using the ISO date format

2010-05-30 Thread Andrei Popescu
On Sun,30.May.10, 16:21:26, Brian Marshall wrote:
> On Mon, May 31, 2010 at 01:51:14AM +0300, Andrei Popescu wrote:
> > -rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
> > -rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg
> > 
> > Can you tell if these files were created 5th march or 3rd may? How (I'd 
> > really like to know)?
> 
> I've never heard of a -dd-mm format. All the other formats usually
> put the year at the end, and if they don't, they're probably using
> slashes or something else instead of hyphens. That's sufficient to
> distinguish the ISO format from the rest, I think.

Sure, but I can't tell for sure unless I read strftime(3) or so...
For me dd mmm  is very clear, but I don't like the suppressing of 
the current year either :(

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


signature.asc
Description: Digital signature


problem running kernel compiled on different machine

2010-05-30 Thread H.S.

I am testing a patch for the Debian kernel (regarding the firewire bug I
reported earlier in this list). I have been sent the patch and I
followed the Debian way of compiling the kernel after patching the source.

The kernel was compiled (and the deb created) on an AMD64 bit machine
which is running a 32 bit kernel (2.6.32-5-686-bigmem). The deb created
can be installed without any problems on this host machine. However, if
I try to install that deb on a target machine (Intell 32 bit processor),
the installation gives errors and I cannot boot into that kernel:

$> sudo dpkg -i
~/tmp/tmp/linux-image-2.6.32.100528-firewire_2.6.32.100528-firewire-10.00.Custom_i386.deb
Selecting previously deselected package linux-image-2.6.32.100528-firewire.
(Reading database ... 247095 files and directories currently installed.)
Unpacking linux-image-2.6.32.100528-firewire (from
.../linux-image-2.6.32.100528-firewire_2.6.32.100528-firewire-10.00.Custom_i386.deb)
...
Done.
Setting up linux-image-2.6.32.100528-firewire
(2.6.32.100528-firewire-10.00.Custom) ...


(  Here's is the installation error -->> )
 Hmm. There is a symbolic link /lib/modules/2.6.32.100528-firewire/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.32.100528-firewire/build

(  Here's is the installation error -->> )
 Hmm. The package shipped with a symbolic link
/lib/modules/2.6.32.100528-firewire/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.32.100528-firewire/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
2.6.32.100528-firewire /boot/vmlinuz-2.6.32.100528-firewire
run-parts: executing /etc/kernel/postinst.d/pm-utils
2.6.32.100528-firewire /boot/vmlinuz-2.6.32.100528-firewire
run-parts: executing /etc/kernel/postinst.d/update-notifier
2.6.32.100528-firewire /boot/vmlinuz-2.6.32.100528-firewire
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32.100528-firewire
Found initrd image: /boot/initrd.img-2.6.32.100528-firewire
Found linux image: /boot/vmlinuz-2.6.32-trunk-686
Found initrd image: /boot/initrd.img-2.6.32-trunk-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
Found linux image: /boot/vmlinuz-2.6.30-2-686
Found initrd image: /boot/initrd.img-2.6.30-2-686
Found linux image: /boot/vmlinuz-2.6.26-2-686
Found initrd image: /boot/initrd.img-2.6.26-2-686
Found Microsoft Windows XP Professional on /dev/hda1
Found Fedora release 9 (Sulphur) on /dev/hda13
done



Anybody know why I am getting this error? Also AFAIK, a 32 bit kernel
can be compiled on a 64 bit machine as long as it is running a 32 bit
OS. Correct?



The steps that I followed to compile and create the deb of the custom
kernel:
#
Downloaded kernel source:
$> sudo aptitude install linux-source-2.6.32

Removed symlink in /usr/src directory:
$> rm linux


Expanded the downloaded source tar ball:
$> tar jxf linux-source-2.6.32.tar.bz2


Now create the symlink
$> ln -s /path/to/linux-source-2.6.32 linux

So now "linux" points to our current kernel source tree.

Check for requirements by running the script in the kernel tree:
$> cd linux/scripts/
$> ./ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
NOTE: fdformat was not found (but we don't need it .. I think).


Use menuconfig to load the current config from /boot and save and exit
$> cp /boot/config-`uname -r` ./.config
$> make oldconfig
(no questions were asked by the last command)


Save the patch to be applied in a directory. I put it in
/usr/src/linux/patches_hs/firewire_trv25_bug.patch

Then apply the patch
$> patch --verbose -p1 < patches-hs/firewire_trv25_bug.patch


Start build commands sequence:
$> fakeroot make-kpkg clean

Use 2 cores:
$> export CONCURRENCY_LEVEL=2


$> time nice fakeroot make-kpkg --append-to-version=.100528-firewire
kernel_image

Remove symlink:
$> rm /usr/src/linux
rm: remove symbolic link `linux'? y
#


Thanks.

-- 

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/htuuo4$2d...@dough.gmane.org



Force reinstall of /etc files without purge/install cycle?

2010-05-30 Thread Todd A. Jacobs
I can't find an option within aptitude to force a reinstall of /etc
files. I know that aptitude will not overwrite them by default, but
isn't there a way to force a package's conf files back to a pristine
state?

The purge/install cycle isn't always an option, since in many cases it
will want to uninstall all of gnome or kde.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


-- 
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/20100530235711.gd7...@penguin.codegnome.org



Re: Squeeze and mobile broadband...

2010-05-30 Thread lrhorer
Peter Beck wrote:

> On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
>> i want to know whether, mobile broad band works out of the box in
>> squeeze? have things changed from then??
> 
> I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had to use
> the tools from betavine, now in squeeze it's working out of the box
> with networkmanager 0.8
> 
>> would i be able to connect easily to the internet?
> 
> absolutely easy. for me at least.

The question is, "Does he have a PCMCIA card or a dedicated USB modem,
or is it one of the multi-function USB dongles?"  If the latter, he's
going to need usb_modeswitch.


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



Re: Squeeze and mobile broadband...

2010-05-30 Thread emigrant
On Sun, 2010-05-30 at 19:04 -0500, lrhorer wrote:
> Peter Beck wrote:
> 
> > On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
> >> i want to know whether, mobile broad band works out of the box in
> >> squeeze? have things changed from then??
> > 
> > I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had to use
> > the tools from betavine, now in squeeze it's working out of the box
> > with networkmanager 0.8
> > 
> >> would i be able to connect easily to the internet?
> > 
> > absolutely easy. for me at least.
> 
> The question is, "Does he have a PCMCIA card or a dedicated USB modem,
> or is it one of the multi-function USB dongles?"  If the latter, he's
> going to need usb_modeswitch.
> 
> 

hi,
thanks all for your replies.
what i can say of my modem is,
its like a pen drive in shape and is only used as a modem. 
and it work out of the box in ubuntu and pclos (those are the two
distros iv checked so far)


-- 
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/1275266622.1547.37.ca...@arshad-desktop



Re: Force reinstall of /etc files without purge/install cycle?

2010-05-30 Thread Jordan Metzmeier

On 05/30/2010 07:57 PM, Todd A. Jacobs wrote:

I can't find an option within aptitude to force a reinstall of /etc
files. I know that aptitude will not overwrite them by default, but
isn't there a way to force a package's conf files back to a pristine
state?

The purge/install cycle isn't always an option, since in many cases it
will want to uninstall all of gnome or kde.

   

The option will likely be the --force-confmiss dpkg option.

From the IRC bot:

The reason you have to use dpkg --force-confmiss is because whenever 
your config files () are gone, dpkg assumes you deleted them 
on purpose, and that you want them to stay deleted.  You can also 
reinstall them using the following apt-get line: apt-get -o 
DPkg::Options::="--force-confmiss" --reinstall install ; or 
using aptitude, aptitude -o DPkg::Options::="--force-confmiss" reinstall 
;



--
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/4c03060a.6030...@gmail.com



Install squeeze in VM but couldn't not find network-manager

2010-05-30 Thread emigrant
hi,
i installed squeeze in sun virtual box by only downloading the first cd
image.
i couldn't find the network-manager,
doesn't it come by default?
and how can i install it?

i gave 
su-
gave password and gave:

apt-get install network-manager

but it says the package may be refered to by another source.

how can i get this thing installed?

thanks.


-- 
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/1275267130.1547.39.ca...@arshad-desktop



Re: ls has stopped using the ISO date format

2010-05-30 Thread Brian Marshall
On Mon, May 31, 2010 at 02:52:52AM +0300, Andrei Popescu wrote:
> On Sun,30.May.10, 16:21:26, Brian Marshall wrote:
> > On Mon, May 31, 2010 at 01:51:14AM +0300, Andrei Popescu wrote:
> > > -rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
> > > -rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg
> > > 
> > > Can you tell if these files were created 5th march or 3rd may? How (I'd 
> > > really like to know)?
> > 
> > I've never heard of a -dd-mm format. All the other formats usually
> > put the year at the end, and if they don't, they're probably using
> > slashes or something else instead of hyphens. That's sufficient to
> > distinguish the ISO format from the rest, I think.
> 
> Sure, but I can't tell for sure unless I read strftime(3) or so...
> For me dd mmm  is very clear, but I don't like the suppressing of 
> the current year either :(

I see what you mean. Any date format that only uses numbers risks
confusing the user about which number is the month and which is the day.
The point of using an international standard for dates is to avoid that
confusion, but "May 30 2010" is clear as long as you understand "May",
so I guess it's a moot point in this case.

Brian


signature.asc
Description: Digital signature


Re: Force reinstall of /etc files without purge/install cycle?

2010-05-30 Thread Jordan Metzmeier

On 05/30/2010 07:57 PM, Todd A. Jacobs wrote:

I can't find an option within aptitude to force a reinstall of /etc
files. I know that aptitude will not overwrite them by default, but
isn't there a way to force a package's conf files back to a pristine
state?

The purge/install cycle isn't always an option, since in many cases it
will want to uninstall all of gnome or kde.

   


Sorry about splitting this into two emails, but the reason that it wants 
to remove those packages is because they are "automatically installed" 
either via recommends or depends. You can mark them as manually 
installed with aptitude unmarkauto . Sometimes you can easily 
unmark many packages at once with aptitude keep-all (by removing the 
package with dpkg so that the other actions are "pending" as far as 
aptitude is concerned).



--
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/4c0307c1.90...@gmail.com



Re: Squeeze and mobile broadband...

2010-05-30 Thread lrhorer
emigrant wrote:

> On Sun, 2010-05-30 at 19:04 -0500, lrhorer wrote:
>> Peter Beck wrote:
>> 
>> > On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
>> >> i want to know whether, mobile broad band works out of the box in
>> >> squeeze? have things changed from then??
>> > 
>> > I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had to
>> > use the tools from betavine, now in squeeze it's working out of the
>> > box with networkmanager 0.8
>> > 
>> >> would i be able to connect easily to the internet?
>> > 
>> > absolutely easy. for me at least.
>> 
>> The question is, "Does he have a PCMCIA card or a dedicated
>> USB modem,
>> or is it one of the multi-function USB dongles?"  If the latter, he's
>> going to need usb_modeswitch.
>> 
>> 
> 
> hi,
> thanks all for your replies.
> what i can say of my modem is,
> its like a pen drive in shape and is only used as a modem.
> and it work out of the box in ubuntu and pclos (those are the two
> distros iv checked so far)

That doesn't really say anything.  With the modem plugged in, what is
the result of

`lsusb -v`


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



Re: Squeeze and mobile broadband...

2010-05-30 Thread emigrant
On Sun, 2010-05-30 at 19:57 -0500, lrhorer wrote:
> emigrant wrote:
> 
> > On Sun, 2010-05-30 at 19:04 -0500, lrhorer wrote:
> >> Peter Beck wrote:
> >> 
> >> > On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
> >> >> i want to know whether, mobile broad band works out of the box in
> >> >> squeeze? have things changed from then??
> >> > 
> >> > I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had to
> >> > use the tools from betavine, now in squeeze it's working out of the
> >> > box with networkmanager 0.8
> >> > 
> >> >> would i be able to connect easily to the internet?
> >> > 
> >> > absolutely easy. for me at least.
> >> 
> >> The question is, "Does he have a PCMCIA card or a dedicated
> >> USB modem,
> >> or is it one of the multi-function USB dongles?"  If the latter, he's
> >> going to need usb_modeswitch.
> >> 
> >> 
> > 
> > hi,
> > thanks all for your replies.
> > what i can say of my modem is,
> > its like a pen drive in shape and is only used as a modem.
> > and it work out of the box in ubuntu and pclos (those are the two
> > distros iv checked so far)
> 
> That doesn't really say anything.  With the modem plugged in, what is
> the result of
> 
> `lsusb -v`
> 
> 



lsusb -v

Bus 003 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220
HSDPA Modem / E270 HSDPA/HSUPA Modem
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x12d1 Huawei Technologies Co., Ltd.
  idProduct  0x1003 E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
  bcdDevice0.00
  iManufacturer   3 
  iProduct2 
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  108
bNumInterfaces  4
bConfigurationValue 1
iConfiguration  1 
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   3
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   5
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval  32
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval  32
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval  32
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval  32
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber2
  bAlternateSetting   0
  bNumEndpoints   2

Automatic partial archive mirroring

2010-05-30 Thread Cameron Hutchison
I have a few debian unstable boxes that I like to keep up-to-date.

Currently, I run apt-cacher-ng (a proxy for apt-get which stores
packages so they don't need to be downloaded again) on my gateway box
(lenny 32-bit), so I don't double download from my couple of other boxes
(sid 64-bit). This works well enough, but I want to make it better.

My internet connection has an off-peak period (2am-8am) where downloads
are not counted in the monthly quota. I want my downloads to occur
during this window, automatically.

The problem is that the sid boxes are not powered-up during this window
so I cannot just simply schedule a cronjob to do an apt-get -d
dist-upgrade.

I would like my lenny box to do this on behalf of my sid boxes. I dont
really want to mirror the whole archive. Is there some way to do an
intelligent partial mirror of the archive of what is installed on other
boxes, without too much overhead of managing a package list? (i.e. I dont
want to have to manually update some package list on my lenny box when I
install a new package on a sid box).

I've looked at apt-proxy, apt-cacher, apt-cacher-ng and approx, but they
all appear to download on demand, not according to a schedule.


-- 
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/85e.4c0313ab.76...@getafix.xdna.net



Re: ls has stopped using the ISO date format

2010-05-30 Thread Ron Johnson

On 05/30/2010 06:21 PM, Brian Marshall wrote:

On Mon, May 31, 2010 at 01:51:14AM +0300, Andrei Popescu wrote:

-rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
-rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg

Can you tell if these files were created 5th march or 3rd may? How (I'd
really like to know)?


I've never heard of a -dd-mm format. All the other formats usually
put the year at the end, and if they don't, they're probably using
slashes or something else instead of hyphens. That's sufficient to
distinguish the ISO format from the rest, I think.



DD-AAA- is common in the US Navy.  It sucks, though, as a 
collating format.


--
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/4c031dcf.90...@cox.net



Re: Squeeze and mobile broadband...

2010-05-30 Thread lrhorer
emigrant wrote:

> On Sun, 2010-05-30 at 19:57 -0500, lrhorer wrote:
>> emigrant wrote:
>> 
>> > On Sun, 2010-05-30 at 19:04 -0500, lrhorer wrote:
>> >> Peter Beck wrote:
>> >> 
>> >> > On Sun, 2010-05-30 at 23:27 +0530, arshad wrote:
>> >> >> i want to know whether, mobile broad band works out of the box
>> >> >> in squeeze? have things changed from then??
>> >> > 
>> >> > I am using a Qualcomm MSM6275 UMTS PCMCIA card, in Lenny i had
>> >> > to use the tools from betavine, now in squeeze it's working out
>> >> > of the box with networkmanager 0.8
>> >> > 
>> >> >> would i be able to connect easily to the internet?
>> >> > 
>> >> > absolutely easy. for me at least.
>> >> 
>> >> The question is, "Does he have a PCMCIA card or a
>> >> dedicated USB modem,
>> >> or is it one of the multi-function USB dongles?"  If the latter,
>> >> he's going to need usb_modeswitch.
>> >> 
>> >> 
>> > 
>> > hi,
>> > thanks all for your replies.
>> > what i can say of my modem is,
>> > its like a pen drive in shape and is only used as a modem.
>> > and it work out of the box in ubuntu and pclos (those are the two
>> > distros iv checked so far)
>> 
>> That doesn't really say anything.  With the modem plugged in, what is
>> the result of
>> 
>> `lsusb -v`
>> 
>> 
> 
> 
> 
> lsusb -v
> 
> Bus 003 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220
> HSDPA Modem / E270 HSDPA/HSUPA Modem
> Device Descriptor:
>   bLength18
>   bDescriptorType 1
>   bcdUSB   2.00
>   bDeviceClass0 (Defined at Interface level)
>   bDeviceSubClass 0
>   bDeviceProtocol 0
>   bMaxPacketSize064
>   idVendor   0x12d1 Huawei Technologies Co., Ltd.
>   idProduct  0x1003 E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
>   bcdDevice0.00
>   iManufacturer   3
>   iProduct2
>   iSerial 0
>   bNumConfigurations  1



> Interface Descriptor:
>   bLength 9
>   bDescriptorType 4
>   bInterfaceNumber2
>   bAlternateSetting   0
>   bNumEndpoints   2
>   bInterfaceClass 8 Mass Storage
>   bInterfaceSubClass  6 SCSI
>   bInterfaceProtocol 80 Bulk (Zip)



Yep, it's a Huawei E220.  If you will look on the link I sent you, you
will see it there.  It's a "flip-flop" device, also called "Zero-CD". 
When first inserted into a USB port, it is a drive device, similar to a
USB "thumbdrive".  It contains the software windows needs to load in
order to access the device.  Note the description:

Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber3
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk (Zip)

The dongle looks like a SCSI device to the OS.  It needs to have its
mode switched so it looks and acts like a modem (or in general whatever
the secondary device might be), rather than a USB drive.  That's the
purpose of usb_modeswitch.  After the switch takes place, it will look
and act like a usb dial-up modem as far as Linux is concerned. (Some
dongles also have drive devices built in to read and write memory
sticks as well as their modem function.) Usb-modeswitch and
usb-modeswitch-data are both part of the Debian "Squeeze" distro,
although it doesn't look as if they are loaded automatically.  You will
need to use apt-get (or aptitude, or synaptic, ...) to install them. 
Once usb_modeswitch is run, the output of lsusb will show something
like:

Bus 006 Device 002: ID 1f28:0020 Cal-Comp
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass2 Communications
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x1f28 Cal-Comp
  idProduct  0x0020
  bcdDevice0.00
  iManufacturer   1 Cal-comp E&CC Limited
  iProduct2 Cal-comp CDMA USB Modem A600
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  189
bNumInterfaces  7
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 2 Communications
  bInterfaceSubClass  2 Abstract (modem)
  bInterfaceProtocol  1 AT-commands (v.25ter)
  iInterface  3 Data Interface

How automated the use of the dongle can be under "Squeeze" 

Re: ls has stopped using the ISO date format

2010-05-30 Thread Ron Johnson

On 05/30/2010 05:51 PM, Andrei Popescu wrote:
[snip]


You example shows only dates where it is quite obvious what date format
is used. Let me see...

-rwx-- 1 amp amp 891837 2010-05-03 22:55 03052010065.jpg
-rwx-- 1 amp amp 733361 2010-05-03 22:55 03052010066.jpg

Can you tell if these files were created 5th march or 3rd may? How (I'd
really like to know)?



That's the point...  Which is why -MM-DD HH:mm is the only 
rational format.


--
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/4c031e9f.8010...@cox.net



Re: How do I fsck an XFS file system in "Squeeze"

2010-05-30 Thread lrhorer
Stan Hoeppner wrote:

> lrhorer put forth on 5/20/2010 6:09 PM:
>> 
>> OK, I'm stumped.  I was having some problems which were
>> likely related
>> to the old kernel in Debian "Lenny", so I upgraded to "Squeeze" in
>> order to alleviate the issue, which it apparently has.  Now, however,
>> I
>> need to fsck the main array on the box, which is formatted as XFS. 
>> The
>> xfs-repair utility is not on the upgraded system.  (I was forced to
>> do
>> a fresh install of the boot drive.)  How can I obtain the XFS file
>> utilities - particularly xfs-repair - under "Squeeze"?
> 
> Unless you're seeing XFS errors in your logs or on the console you
> don't
> need to run xfs_check or xfs_repair.  Typically these tools are only
> used when an XFS filesytem becomes damaged badly enough that it won't
> mount, or when XFS logs serious errors.
> 
> For the most part XFS is self healing but for the most serious errors,
> which
> usually result from defective disk and/or controller hardware.  XFS
> journal replay after power outages and kernel panics will either
> delete or zero files and directories that weren't fully written at the
> time of the crash, but the XFS filesystem itself will be fully intact.
> 
> What is it that leads you to believe you need to perform a filesystem
> check or repair on your XFS filesystem?

Well, first of all, even if it is not needed now, it may be in the
future.  To answer your question, however, it was needed because the
underlying array suffered a catastrophic failure, and has since been
rebuilt.  Having rebuilt the array, and knowing that at least some data
had possibly been lost at the block device level, it is at least
prudent to double-check the health of the file system structures. 
Indeed, xfs_repair found and repaired some corrupted structures.  The
files were extracted and re-written to the drive from storage using
rsync.

The simple answer to my original question was, "xfsprogs".  Doing a
synaptic search for "xfs" returns far, far too many results through
which to easily sift, and searching for "xfs_repair" returns none at
all.


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



Re: problem running kernel compiled on different machine

2010-05-30 Thread H.S.
H.S. wrote:
> I am testing a patch for the Debian kernel (regarding the firewire bug I
> reported earlier in this list). I have been sent the patch and I
> followed the Debian way of compiling the kernel after patching the source.
> 
> The kernel was compiled (and the deb created) on an AMD64 bit machine
> which is running a 32 bit kernel (2.6.32-5-686-bigmem). The deb created
> can be installed without any problems on this host machine. However, if
> I try to install that deb on a target machine (Intell 32 bit processor),
> the installation gives errors and I cannot boot into that kernel:


Some more info. I tried the --initrd this time while compiling the
kernel with the above mentioned patch. So different.

What I actually get while booting in the new kernel is a problem with
ext3 or something where the system cannot find ext3 and cannot mount my
partitions. The messages are similar to this (copied from a post elsewhere):
fsck.ext3: no such file or directory while trying to open /dev/hda4
/dev/hda4
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else) then the superblock


This is not the exact working, but close to what I get during the
reboot. The system than asks for root password for maintenance. I
eventually have to force a hardware restart of the system.

My next step is compile the ext3 support in the kernel and not as a
module. Currently, it is:
CONFIG_EXT3_FS=m
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y

I will change that to:
CONFIG_EXT3_FS=y


But what beats me is that the host machine has no problem with the
current config and boot properly.

Any further info as to what I am missing here?




-- 

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/htv9r8$on...@dough.gmane.org



Re: How do I fsck an XFS file system in "Squeeze"

2010-05-30 Thread Cameron Hutchison
lrhorer  writes:

>> lrhorer put forth on 5/20/2010 6:09 PM:
>>> 
>>> How can I obtain the XFS file
>>> utilities - particularly xfs-repair - under "Squeeze"?

>The simple answer to my original question was, "xfsprogs".  Doing a
>synaptic search for "xfs" returns far, far too many results through
>which to easily sift, and searching for "xfs_repair" returns none at
>all.

The meta-answer to your original question is http://packages.debian.org
from which you can search the contents of packages if you know what
file you're looking for. At the bottom of that page is a section titled
"Search the contents of packages".

It's so useful that I have a iceweasel/firefox smart bookmark set up for
it, so I can just type "dpcs xfs_repair" into my address bar and I get
the answer you were looking for (dpcs == debian package content search)


-- 
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/b15.4c032b08.16...@getafix.xdna.net



Re: Automatic partial archive mirroring

2010-05-30 Thread Celejar
On Mon, 31 May 2010 01:40:59 -
Cameron Hutchison  wrote:

> I have a few debian unstable boxes that I like to keep up-to-date.
> 
> Currently, I run apt-cacher-ng (a proxy for apt-get which stores
> packages so they don't need to be downloaded again) on my gateway box
> (lenny 32-bit), so I don't double download from my couple of other boxes
> (sid 64-bit). This works well enough, but I want to make it better.
> 
> My internet connection has an off-peak period (2am-8am) where downloads
> are not counted in the monthly quota. I want my downloads to occur
> during this window, automatically.
> 
> The problem is that the sid boxes are not powered-up during this window
> so I cannot just simply schedule a cronjob to do an apt-get -d
> dist-upgrade.
> 
> I would like my lenny box to do this on behalf of my sid boxes. I dont
> really want to mirror the whole archive. Is there some way to do an
> intelligent partial mirror of the archive of what is installed on other
> boxes, without too much overhead of managing a package list? (i.e. I dont
> want to have to manually update some package list on my lenny box when I
> install a new package on a sid box).
> 
> I've looked at apt-proxy, apt-cacher, apt-cacher-ng and approx, but they
> all appear to download on demand, not according to a schedule.

You could use use the output of 'dpkg --get-selections' on the Sid
boxes, pruning it using grep or similar to keep only the lines ending
with 'install'.  Combine the results from the various Sid boxes, and
then have the gateway box get those packages.  This could be scripted
easily enough, and there would be no need for manually updating
anything.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
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/20100530232849.13be6e74.cele...@gmail.com



  1   2   >