Re: e2fsck /dev/md0 issues

2008-12-21 Thread M.Lewis


Boyd Stephen Smith Jr. wrote:

On Sunday 2008 December 21 01:02:04 M.Lewis wrote:

Boyd Stephen Smith Jr. wrote:

On Saturday 2008 December 20 22:42:10 M.Lewis wrote:

The filesystem size (according to the superblock) is 24419 blocks

   ^


The physical size of the device is 244189984 blocks

 ^

24419 > 244189984.  You need to resize your filesystem to actually
fit on /dev/md0.

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes

I'm confused. It's complaining about bad partition or superblock. You
said I need to resize my fs, but according to fdisk, they are the same.
Aren't they?


Your filesystem isn't on raw partitions.  It is on the /dev/md0 device.  That 
device is 244189984 blocks, as e2fsck told you.  You could also use 
blockdev --getsize64 to get the size of the device in bytes.


The "bad partition" part of the message is a bit misleading, it means "bad 
block device" but was written with the assumption that the block device the 
filesystem is on is a partition and not something else.  In your case it is a 
software RAID device.  The "bad ... superblock" it is talking about is the 
ext2/3 superblock that contains the filesystem information.


The block device (/dev/md0) and the ext2/3 superblock (stored multiple times 
on /dev/md0) disagree on the size of the filesystem.  The boot process (IIRC, 
mount in specific) correctly assumes that one of them must be wrong and 
thus "bad".


I assume that /dev/md0 knows it's size, so the filesystem superblock is bad 
and you should correct it by resizing the filesystem.


Is there a way to know for certain that /dev/md0 knows the correct size?

Maybe what I should do is break the array and start over? Making sure 
that e2fsck on both drives is good to go beforehand of course.


Maybe that is a more drastic action than is needed though.




Are you talking about LVM sizing?


I'm not sure what you mean by "LVM sizing".  I am talking about the size of 
the device you've put the filesystem on, and it really doesn't matter if it's 
on a LV or not.


Well, part of my confusion is over my previous topic of reorgainizing 
LVM. Same machine, still working on it.


At the moment, the RAID1 array is not part of LVM.



BTW, in case you didn't know, modern software RAID uses some space on the 
component block devices to store a RAID superblock that contains the UUID of 
array, among other things, by default.  This can be turned off, but it would 
require re-creating the array.  This means that a RAID-1 over two devices 
will be slightly smaller than the smallest device and RAID-0 over two devices 
will be slightly smaller than twice the smallest device.


No, I wasn't aware of that. Thanks.

--

 IBM: Innovation By Management
  01:55:01 up 4 days,  1:32,  1 user,  load average: 0.04, 0.03, 0.01

 Linux Registered User #241685  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




Re: iPod

2008-12-21 Thread Bernd Kloss
Am Sonntag, 21. Dezember 2008 schrieb JoeHill:
> Raquel wrote:
> > On Sat, 20 Dec 2008 22:57:31 -0500
> >
> > JoeHill  wrote:
> > > Daryl Styrk wrote:
> > > > > Rockbox is not recommended, that entails completely replacing
> > > > > the iPod's software.
> > > >
> > > > I have only heard good things about it from the LUG.  But I
> > > > suppose if you can pull it off without it I'd say rock on..
> > >
> > > I have nothing against Rockbox, in fact once they support current
> > > gen iPods I'll definitely give it a shot. For one thing it supports
> > > a lot more cool features and formats than the default iPod software.
> > >
> > > --
> > > J
> >
> > What I understand, from reading their website is that they don't
> > support Gen4 Nanos ... and that's what I'm getting Trish.  Do I
> > understand correctly that Rhythmbox does a good job of syncing with
> > the Nano?
>
> It should, however I've had much much better results with gtkpod. Very easy
> to use, simple interface. I've never had a single problem.
>
> --
> J
Hello,

on Lenny I asked aptitude about gtkpod and it proposes also the installation 
of

faac
faad

Why encoders?

mp3gain

Is this only modifying mp3's you put in the ipod or is it changing the sources 
before transferring songs to an ipod?

Regards
Bernd


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



Re: nrg2iso

2008-12-21 Thread steef

Gabriel Parrondo wrote:

El sáb, 20-12-2008 a las 09:45 +, steef escribió:
  

Eduard Bloch wrote:


[...]
  
  
  

*sudo nrg2iso /home/steef/Desktop/PF2.nrg /home/steef/Desktop/PF3.iso
it seemed to work,
and i burnt the result, PF3.iso, onto a dvd
with # growisofs -dvd-compat -Z /dev/scd0:/home/steef/Desktop/PF3.iso



Try this:

mount foo.nrg /bla -oloop,offset=307200

If you can read the files in /bla directory then you can try to burn
from the intermediate loop device with a command like

wodim -dev=/dev/scd0 -isosize /dev/loopX

You can identify your loop device via "mount | grep loop". Or RTFM of
the losetup command if you don't like the mount command above.

But, as said, I would just use NeroLinux.

  

[...]
  
  
  
thanks eduard, i'll was already experimenting with loop && to get a 
sight on how things are in my iso_files.





So, what are the results of those experiments?


[...]
  

hi gabriel,

i'll let you know as soon as i can. i have no time till tonight. it is 
weekend and i have a large family to attend to,


cheers,

steef

--

drs. steef van duin
publicist, research-journalist


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




Re: e2fsck /dev/md0 issues

2008-12-21 Thread Boyd Stephen Smith Jr.
On Sunday 21 December 2008, "M.Lewis"  wrote about 'Re: 
e2fsck /dev/md0 issues':
>Boyd Stephen Smith Jr. wrote:
>> I assume that /dev/md0 knows it's size, so the filesystem superblock is
>> bad and you should correct it by resizing the filesystem.
>
>Is there a way to know for certain that /dev/md0 knows the correct size?

Well, not that I know of off the top of my head.  Perhaps there is 
some "check" mode to mdadm?

Even if it were somehow "wrong" it would still be right.  Let me explain.  
The md driver that determines the devices size is the same driver that 
controls all reads and writes to the device.  It won't let you (or a 
filesystem) read/write into areas it doesn't think are there, based on the 
size it reports.  So, even if the size it reports is calculated 
erroneously, you (or a filesystem) won't be able to read or write to the 
device outside of the bounds implied by the reported size.

In short, unless you have some good reason to suspect your md driver is 
broken, trust it.

>Maybe what I should do is break the array and start over? Making sure
>that e2fsck on both drives is good to go beforehand of course.
>
>Maybe that is a more drastic action than is needed though.

Yep.  You just need to resize your filesystem to the correct size, as 
reported by the /dev/md0 device and suggested by my earlier email.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
bs...@volumehost.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: e2fsck /dev/md0 issues

2008-12-21 Thread M.Lewis


Boyd Stephen Smith Jr. wrote:
On Sunday 21 December 2008, "M.Lewis"  wrote about 'Re: 
e2fsck /dev/md0 issues':

Boyd Stephen Smith Jr. wrote:



Maybe what I should do is break the array and start over? Making sure
that e2fsck on both drives is good to go beforehand of course.

Maybe that is a more drastic action than is needed though.


Yep.  You just need to resize your filesystem to the correct size, as 
reported by the /dev/md0 device and suggested by my earlier email.


Ok, now this is all sinking in I think. Thanks for the detailed 
explanation and time you spent to do it. It is appreciated.


So all I need to do is 'resize2fs /dev/md0 244189984'. Then e2fsck 
should run with no errors.

--

 Computers are unreliable, but humans are even more unreliable.  - Gilb
  03:40:01 up 4 days,  3:17,  1 user,  load average: 0.12, 0.07, 0.05

 Linux Registered User #241685  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




Re: Re: Read-only USB scan

2008-12-21 Thread Bhasker C V

Ron Johnson wrote:
(Please 
don't top-post.)


On 12/20/08 18:18, Bhasker C V wrote:

Hi,

 hdparm -r1 /dev/sda
  works and I get this output when I read back the information with 
plain '-r'


  $ sudo hdparm -r /dev/sda

/dev/sda:
 readonly =  1 (on)


Does this make it really read-only ?


That's what happens on my Firewire/SATA hard drive.

# hdparm -r1 /dev/sdc1

/dev/sdc1:
 setting readonly to 1 (on)
 readonly  =  1 (on)

# mount -v /data/02
mount: block device /dev/sdc1 is write-protected, mounting read-only
/dev/sdc1 on /data/02 type ext3 (ro)

# dd count=10 if=/dev/hda1 of=/data/02/foo.bar
dd: opening `/data/02/foo.bar': Read-only file system


My harddisk is having a PV and then a VG ... LV which if i mount, 
still is able to write to it ? [ VG activation is successful ]


(dont know if 'write' means really write a large file but I checked 
using touch command and I am still able to create the file)


My kernel is 2.6.21.1

Is there anything I am missing here ?


Since you've got so many layers logicalness between the app and the 
spindles, maybe you aren't really writing to the spindle you think you 
are writing to?  Or LVM is setting the read flag?




I tried this too ... But i am sure that the data is getting written to 
be spindle. I deactivated the usb drive and then re-activated the VG and 
LVs in it and could see the data writeen intact !


So, my guess is that hdparm -r1 does not work on USB scanned devices and 
there is no method to make the device read-only [unless we try to stick 
out head into the physical hardware ] ? Is that what we are concluding ?



Ron Johnson wrote:
On 
12/20/08 12:32, Bhasker C V wrote:

Hi all,


I have a server where there is a USB SCSI disk with lots of 
important data.
The only problem is accidentally people try to understand some other 
similar ide-scsi disk (sdb may be) as the

 first one (sda) and delete data.

I was going to find out if there is any method so that I can make a 
disk (a particular device) read-only. i.e in case
I insert this disk with very important data, I must be able to make 
this disk (may be scanned as sdX) as readonly
so that people are only able to see the partition, mount it and use 
it ratherthan try to accidentally delete data which

will result in disk reporting it as read-only

[ PS: I am not referring a workaround of mouting a partition 
read-only which can still help, but i want the whole disk

  to be made read-only ]


# hdparm -r

You might have to crack open the USB enclosure and physically install 
the drive in a PC in order for this to work.










--
Bhasker C V
Registered Linux user: #306349 (counter.li.org)
The box said "Requires Windows 95, NT, or better", so I installed Linux.


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




Re: [OT]I just got a phish call!!!

2008-12-21 Thread Mark Allums

Michael Marsh wrote:

On Sat, Dec 20, 2008 at 10:18 AM, Mark Allums  wrote:

 In the US, get on the Do Not Call List.  http://www.donotcall.gov/

 Might help a little.


People prepared to commit fraud don't particularly care about the Do
Not Call List.  If you can't get their phone number or company name
(they hang up or give you a bogus name when you ask), it's difficult
to report them.  What I'd like is one of those *-codes to
automatically report a call, since the phone company has a much better
idea of who called than I do.

If they're cracking PBXs, it might not help much, though the PBX
owners could be fined for maintaining an attractive nuisance without
adequate security.




Well, after I wrote, I realized my error about Asterix, but notice, I 
*did* say, "a little."  It doesn't hurt to be on the DNC list, even if 
it doesn't help so much.


Mark Allums




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




Re: [OT]I just got a phish call!!!

2008-12-21 Thread Angus Auld

--- On Sun, 12/21/08, Mark Allums  wrote:

> From: Mark Allums 
> Subject: Re: [OT]I just got a phish call!!!
> To: debian-user@lists.debian.org
> Date: Sunday, December 21, 2008, 11:30 AM
> Michael Marsh wrote:
> > On Sat, Dec 20, 2008 at 10:18 AM, Mark Allums
>  wrote:
> >>  In the US, get on the Do Not Call List. 
> http://www.donotcall.gov/
> >> 
> >>  Might help a little.
> > 
> > People prepared to commit fraud don't particularly
> care about the Do
> > Not Call List.  If you can't get their phone
> number or company name
> > (they hang up or give you a bogus name when you ask),
> it's difficult
> > to report them.  What I'd like is one of those
> *-codes to
> > automatically report a call, since the phone company
> has a much better
> > idea of who called than I do.
> > 
> > If they're cracking PBXs, it might not help much,
> though the PBX
> > owners could be fined for maintaining an attractive
> nuisance without
> > adequate security.
> > 
> 
> 
> Well, after I wrote, I realized my error about Asterix, but
> notice, I *did* say, "a little."  It doesn't
> hurt to be on the DNC list, even if it doesn't help so
> much.
> 
> Mark Allums
>
We have a DNC list here in Canada too. And it does help a lot when it comes to 
telephone soliciting. However, I think legit charities are still allowed to 
call.

https://www.lnnte-dncl.gc.ca/index-eng

 
-- 
Angus

"All churches, whether Jewish, Christian, or Muslim, appear 
to me no other than human inventions, setup to terrify and 
enslave mankind - and to monopolize power and profit."
-- 
Thomas Paine (1737-1809)

##Laptop powered by Linux##
##Reg. Linux User #278931##



  


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



cannot boot after update

2008-12-21 Thread Simon Kranz

Hello,
I run debian etchnhalf 4.0r5a AMD64.
I just installed a new desktop system (std and desktop packages).  Since 
then i have done very little to add to it.  Just installed foo2qpdl for 
my printer and also dvdrip from debian multimedia.
Once in gnome i was informed of some new updated packages, so i did the 
update.  However i cannot recall which packages were in there.


Since the update, i now cannot boot into the system anymore.  Symptoms 
are as follows:


- display switches from normal 80x25 into framebuffer type higher 
resolution mode during boot where as before it didn't change to framebuffer.
- will not show xserver, but monitor stays on with just backlight black 
screen.

- I cannot change consoles using ctrl+alt+F1 or whatever.
- tried booting using vga=normal at grub prompt but didn't make a 
difference -> it still switches to framebuffer higher resolution display 
during boot and then crashes.


This also occurred the other day (wednesday) to my previous debian 
installation, which was etch 4.0r5 AMD64 (normal etch but updated to 
etchnhalf kernel), i think also after a recommended update.


Any ideas?

My hardware is as follows:

Phenom 3 8450
2Gb ram
ATI radeon X300 PCIe card
gigabyte ga-ma770-s3 mobo

If you need some logs or whatever, i can try to boot with live cd to 
access them and then i can post.


Thanks,

Simon


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




Re: e2fsck /dev/md0 issues

2008-12-21 Thread subscriptions
On Sun, 2008-12-21 at 05:42 +0100, M.Lewis wrote:
> 
> I having an issue with my RAID array. I get some errors on boot, but the
> boot process is going beyond them and mounting the drive anyhow. So far
> as I can tell, all the data is present and readable. I would like to
> resolve these errors though. I'm not sure if it matters, but LVM is not
> installed on /dev/md0.
> 
> I've tried all the possible (I think) combinations of 'e2fsck -b x
> /dev/md0' with no luck at all. Google searches have not yet produced
> anything that has seemed to help.
> 
> rattler:~# e2fsck /dev/md0
> e2fsck 1.41.3 (12-Oct-2008)
> The filesystem size (according to the superblock) is 24419 blocks
> The physical size of the device is 244189984 blocks
> Either the superblock or the partition table is likely to be corrupt!
> Abort? no
> 
> /dev/md0 contains a file system with errors, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> /dev/md0: 430478/61054976 files (0.6% non-contiguous),
> 81536022/24419 blocks
> rattler:~#
> 
> Even if I abort the above check, the error is still present.
> 
> Thanks,
> M
> --

Better use smart control (smartctl or smartd) to check the disks.

If there is an error logged, just replace the disk.

Best,

Rob



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



How to change Icedove default browser?

2008-12-21 Thread Dennis Wicks

Greetings;

Icedove is using the Gnome(?) browser and I want to use 
Iceweasel.


I found a post from 2007 that said to use 
"update-alternatives --config x-www-browser"
but although that "worked" it didn't work, even though I 
bounced Icedove.


And I can't find any thing about wihich browser Icedove uses 
in any of the preferences or about:config.


Anybody know the answer?

BTW: Icedove=2.0.0.17 running on Lenny

TIA!
Dennis


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




Re: How to change Icedove default browser?

2008-12-21 Thread Sven Joachim
On 2008-12-21 14:35 +0100, Dennis Wicks wrote:

> Greetings;
>
> Icedove is using the Gnome(?) browser and I want to use Iceweasel.
>
> I found a post from 2007 that said to use "update-alternatives
> --config x-www-browser"
> but although that "worked" it didn't work, even though I bounced
> Icedove.
>
> And I can't find any thing about wihich browser Icedove uses in any of
> the preferences or about:config.
>
> Anybody know the answer?

I found the following in /etc/icedove/pref/icedove.js:

// if you are not using gnome
pref("network.protocol-handler.app.http", "x-www-browser");
pref("network.protocol-handler.app.https", "x-www-browser");

Don't remember how these settings came in there, but I think you can
also set them in user.js or prefs.js in your profile directory.

Sven


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



MonoDevelop 2.0 Alpha 2

2008-12-21 Thread Jose G. Lopez

Hello,

I have been searching for a debian package but I couldn't find anything.
Where can I find MonoDevelop 2.0 Alpha 2 deb package.

Thanks in advance.


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




Re: How to change Icedove default browser? (Solved)

2008-12-21 Thread Dennis Wicks

Sven Joachim wrote the following on 12/21/2008 07:46 AM:

On 2008-12-21 14:35 +0100, Dennis Wicks wrote:


Greetings;

Icedove is using the Gnome(?) browser and I want to use Iceweasel.

I found a post from 2007 that said to use "update-alternatives
--config x-www-browser"
but although that "worked" it didn't work, even though I bounced
Icedove.

And I can't find any thing about wihich browser Icedove uses in any of
the preferences or about:config.

Anybody know the answer?


I found the following in /etc/icedove/pref/icedove.js:

// if you are not using gnome
pref("network.protocol-handler.app.http", "x-www-browser");
pref("network.protocol-handler.app.https", "x-www-browser");

Don't remember how these settings came in there, but I think you can
also set them in user.js or prefs.js in your profile directory.

Sven



Sven,

Thanks for the suggestion! Sometimes my brain needs a little 
prodding to get started down the right path.


I am using Gnome so ...

I found the correct option in Gnome: System > Preferences > 
Preferred Applications


When I changed that it took effect immediately!

Thanks!
Dennis


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




Re: nrg2iso

2008-12-21 Thread steef

Gabriel Parrondo wrote:

El sáb, 20-12-2008 a las 09:45 +, steef escribió:
  

Eduard Bloch wrote:


[...]
  
  
  

*sudo nrg2iso /home/steef/Desktop/PF2.nrg /home/steef/Desktop/PF3.iso
it seemed to work,
and i burnt the result, PF3.iso, onto a dvd
with # growisofs -dvd-compat -Z /dev/scd0:/home/steef/Desktop/PF3.iso



Try this:

mount foo.nrg /bla -oloop,offset=307200

If you can read the files in /bla directory then you can try to burn
from the intermediate loop device with a command like

wodim -dev=/dev/scd0 -isosize /dev/loopX

You can identify your loop device via "mount | grep loop". Or RTFM of
the losetup command if you don't like the mount command above.

But, as said, I would just use NeroLinux.

  

[...]
  
  
  
thanks eduard, i'll was already experimenting with loop && to get a 
sight on how things are in my iso_files.





So, what are the results of those experiments?


[...]
  

hi eduardo,

i did:

st...@etchschijf:~$ sudo mount /home/steef/Desktop/pf2.iso 
/home/steef/Desktop/ISO  -t iso9660 -o loop

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
  missing codepage or other error
  In some cases useful info is found in syslog - try
  dmesg | tail  or so
the same thing happened with the original nrg_file out of which pdf2.iso 
was derived.


i'll look into the logs, allthough i know for sure the pdf2.iso file is 
corrupt.
the command mounted another non-corrupt iso.file without a problem in 
the ISO directory.




regards and thanks for your kind help,

steef

--
steef van duin

publicist, research-journalist


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




Re: cannot boot after update

2008-12-21 Thread Hugo Vanwoerkom

Simon Kranz wrote:

Hello,
I run debian etchnhalf 4.0r5a AMD64.
I just installed a new desktop system (std and desktop packages).  Since 
then i have done very little to add to it.  Just installed foo2qpdl for 
my printer and also dvdrip from debian multimedia.
Once in gnome i was informed of some new updated packages, so i did the 
update.  However i cannot recall which packages were in there.


Since the update, i now cannot boot into the system anymore.  Symptoms 
are as follows:





What do dmesg, syslog, Xorg.0.log say?
Do you use a display manager? If so, use Knoppix to turn it off and boot 
again, if this is your only partition, that is.


Hugo


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




Re: clamd consuming 99.6% cpu

2008-12-21 Thread frank
On Sat, 2008-12-20 at 17:29 +0800, Stephen Liu wrote:

> After running update and upgrade.  On running 'top' it is discovered
> that "clamd" continuously consuming 99.6% CPU.  Please advise how to
> fix the problem.  TIA

Maybe your clamd version is broken. Check with strace what clamd is
doing. I ll bet its reading the heuristic file. If so use another
version. I got a fixed one from here.

deb http://volatile.debian.org/debian-volatile etch/volatile main
contrib non-free
deb-src http://volatile.debian.org/debian-volatile etch/volatile main
contrib non-free

Bye
Frank


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



Re: iPod

2008-12-21 Thread JoeHill
Raquel wrote: 

> On Sun, 21 Dec 2008 01:12:24 -0500
> JoeHill  wrote:
> 
> > Raquel wrote: 
> >   
> > > On Sun, 21 Dec 2008 00:18:51 -0500
> > > JoeHill  wrote:
> > >   
> > > > Raquel wrote: 
> > > > 
> > > > > 
> > > > > What I understand, from reading their website is that they
> > > > > don't support Gen4 Nanos ... and that's what I'm getting
> > > > > Trish.  Do I understand correctly that Rhythmbox does a good
> > > > > job of syncing with the Nano? 
> > > > 
> > > > It should, however I've had much much better results with
> > > > gtkpod. Very easy to use, simple interface. I've never had a
> > > > single problem.
> > > > 
> > > > -- 
> > > > J
> > > > 
> > > 
> > > Is that with Etch?  
> > 
> > No, I'm on Testing. What versions of libgpod and gtkpod show as
> > available for Etch?
> > 
> > -- 
> > J  
> 
> U, libgpod0 = 0.3.2-1.1 -\
>libgpod1 = 0.4.2-0.1 --- all 3 seem to be installed
>libgpod3 = 0.60-3-bp -/
>gtkpod = .99.4-2

libgpod3 should have the right stuff to communicate with your iPod. It was at
that point support was added for latest generation iPods.

-- 
J


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



Re: Read-only USB scan

2008-12-21 Thread Ron Johnson

On 12/21/08 05:01, Bhasker C V wrote:

Ron Johnson wrote:
(Please 
don't top-post.)


On 12/20/08 18:18, Bhasker C V wrote:

Hi,

 hdparm -r1 /dev/sda
  works and I get this output when I read back the information with 
plain '-r'


  $ sudo hdparm -r /dev/sda

/dev/sda:
 readonly =  1 (on)


Does this make it really read-only ?


That's what happens on my Firewire/SATA hard drive.

# hdparm -r1 /dev/sdc1

/dev/sdc1:
 setting readonly to 1 (on)
 readonly  =  1 (on)

# mount -v /data/02
mount: block device /dev/sdc1 is write-protected, mounting read-only
/dev/sdc1 on /data/02 type ext3 (ro)

# dd count=10 if=/dev/hda1 of=/data/02/foo.bar
dd: opening `/data/02/foo.bar': Read-only file system


My harddisk is having a PV and then a VG ... LV which if i mount, 
still is able to write to it ? [ VG activation is successful ]


(dont know if 'write' means really write a large file but I checked 
using touch command and I am still able to create the file)


My kernel is 2.6.21.1

Is there anything I am missing here ?


Since you've got so many layers logicalness between the app and the 
spindles, maybe you aren't really writing to the spindle you think you 
are writing to?  Or LVM is setting the read flag?




I tried this too ... But i am sure that the data is getting written to 
be spindle. I deactivated the usb drive and then re-activated the VG and 
LVs in it and could see the data writeen intact !


So, my guess is that hdparm -r1 does not work on USB scanned devices and 
there is no method to make the device read-only [unless we try to stick 
out head into the physical hardware ] ? Is that what we are concluding ?


Well, *you*, who are closer to the problem than I, are concluding it.

All I *know* is that "-r1" works on SCSI-over-Firewire and that it 
apparently does not work on LVM over SCSI-over-USB.  Unless you are 
doing something "else" which seems so innocuous that you've failed 
to mention it.


--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: iPod

2008-12-21 Thread JoeHill
Bernd Kloss wrote: 

> Am Sonntag, 21. Dezember 2008 schrieb JoeHill:
> > Raquel wrote:  
> > > On Sat, 20 Dec 2008 22:57:31 -0500
> > >
> > > JoeHill  wrote:  
> > > > Daryl Styrk wrote:  
> > > > > > Rockbox is not recommended, that entails completely replacing
> > > > > > the iPod's software.  
> > > > >
> > > > > I have only heard good things about it from the LUG.  But I
> > > > > suppose if you can pull it off without it I'd say rock on..  
> > > >
> > > > I have nothing against Rockbox, in fact once they support current
> > > > gen iPods I'll definitely give it a shot. For one thing it supports
> > > > a lot more cool features and formats than the default iPod software.
> > > >
> > > > --
> > > > J  
> > >
> > > What I understand, from reading their website is that they don't
> > > support Gen4 Nanos ... and that's what I'm getting Trish.  Do I
> > > understand correctly that Rhythmbox does a good job of syncing with
> > > the Nano?  
> >
> > It should, however I've had much much better results with gtkpod. Very easy
> > to use, simple interface. I've never had a single problem.
> >
> > --
> > J  
> Hello,
> 
> on Lenny I asked aptitude about gtkpod and it proposes also the installation 
> of
> 
> faac
> faad
> 
> Why encoders?
> 
> mp3gain
> 
> Is this only modifying mp3's you put in the ipod or is it changing the
> sources before transferring songs to an ipod?

It definitely does not do anything to the source files. mp3gain allows gtkpod
to normalize the volume of mp3's on your device. As for faac and faad, IIANM
that is to facilitate loading of compliant video files on the iPod, but I
thought that was only for gtkpod-aac. Not totally sure on that one.

-- 
J


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



Re: iPod

2008-12-21 Thread Raquel
On Sun, 21 Dec 2008 12:14:36 -0500
JoeHill  wrote:

> Raquel wrote: 
> 
> > On Sun, 21 Dec 2008 01:12:24 -0500
> > JoeHill  wrote:
> > 
> > > Raquel wrote: 
> > >   
> > > > On Sun, 21 Dec 2008 00:18:51 -0500
> > > > JoeHill  wrote:
> > > >   
> > > > > Raquel wrote: 
> > > > > 
> > > > > > 
> > > > > > What I understand, from reading their website is that they
> > > > > > don't support Gen4 Nanos ... and that's what I'm getting
> > > > > > Trish.  Do I understand correctly that Rhythmbox does a
> > > > > > good job of syncing with the Nano? 
> > > > > 
> > > > > It should, however I've had much much better results with
> > > > > gtkpod. Very easy to use, simple interface. I've never had a
> > > > > single problem.
> > > > > 
> > > > > -- 
> > > > > J
> > > > > 
> > > > 
> > > > Is that with Etch?  
> > > 
> > > No, I'm on Testing. What versions of libgpod and gtkpod show as
> > > available for Etch?
> > > 
> > > -- 
> > > J  
> > 
> > U, libgpod0 = 0.3.2-1.1 -\
> >libgpod1 = 0.4.2-0.1 --- all 3 seem to be installed
> >libgpod3 = 0.60-3-bp -/
> >gtkpod = .99.4-2
> 
> libgpod3 should have the right stuff to communicate with your iPod.
> It was at that point support was added for latest generation iPods.
> 
> -- 
> J
> 

Joe, I really do appreciate you spending the time with me on this.
The new Nano will be here late on the 23rd and I may have just enough
time to get her music loaded before having to wrap it.

-- 
Raquel
http://www.byraquel.com

The worst guilt is to accept an unearned guilt.

  --Ayn Rand


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



Re: iPod

2008-12-21 Thread JoeHill
Raquel wrote: 

> On Sun, 21 Dec 2008 12:14:36 -0500
> JoeHill  wrote:
> 
> > Raquel wrote: 
> >   
> > > On Sun, 21 Dec 2008 01:12:24 -0500
> > > JoeHill  wrote:
> > >   
> > > > Raquel wrote: 
> > > > 
> > > > > On Sun, 21 Dec 2008 00:18:51 -0500
> > > > > JoeHill  wrote:
> > > > > 
> > > > > > Raquel wrote: 
> > > > > >   
> > > > > > > 
> > > > > > > What I understand, from reading their website is that they
> > > > > > > don't support Gen4 Nanos ... and that's what I'm getting
> > > > > > > Trish.  Do I understand correctly that Rhythmbox does a
> > > > > > > good job of syncing with the Nano?   
> > > > > > 
> > > > > > It should, however I've had much much better results with
> > > > > > gtkpod. Very easy to use, simple interface. I've never had a
> > > > > > single problem.
> > > > > > 
> > > > > > -- 
> > > > > > J
> > > > > >   
> > > > > 
> > > > > Is that with Etch?
> > > > 
> > > > No, I'm on Testing. What versions of libgpod and gtkpod show as
> > > > available for Etch?
> > > > 
> > > > -- 
> > > > J
> > > 
> > > U, libgpod0 = 0.3.2-1.1 -\
> > >libgpod1 = 0.4.2-0.1 --- all 3 seem to be installed
> > >libgpod3 = 0.60-3-bp -/
> > >gtkpod = .99.4-2  
> > 
> > libgpod3 should have the right stuff to communicate with your iPod.
> > It was at that point support was added for latest generation iPods.
> > 
> > -- 
> > J
> >   
> 
> Joe, I really do appreciate you spending the time with me on this.
> The new Nano will be here late on the 23rd and I may have just enough
> time to get her music loaded before having to wrap it.

Not a problem, I needed a lot of help with my iPod when I first got it :-)

Also, I will be around on the 23rd, and yes I'm enough of a nerd to be
reading my e-mail that close to Christmas ;)

-- 
J


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



Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
Hello,

If I plug in Canon A520 digital camera to my Testing desktop, it is not
detected. The memory card in it works if I use card reader. At the same
time, the camera is detected if I plug it in a Debian Unstable computer
whose /var/log/syslog shows:
Dec 21 13:17:18 gurh kernel: [  379.888540] usb 1-5: new full speed USB
device using ohci_hcd and address 4
Dec 21 13:17:18 gurh kernel: [  380.101901] usb 1-5: configuration #1
chosen from 1 choice
Dec 21 13:17:18 gurh kernel: [  380.104983] usb 1-5: New USB device
found, idVendor=04a9, idProduct=30c1
Dec 21 13:17:18 gurh kernel: [  380.106836] usb 1-5: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Dec 21 13:17:19 gurh kernel: [  380.114987] usb 1-5: Product: Canon
Digital Camera
Dec 21 13:17:19 gurh kernel: [  380.116739] usb 1-5: Manufacturer: Canon
Inc.
Dec 21 13:17:21 gurh chipcardd[3634]: devicemanager.c: 3373: Changes in
hardware list


usbview does not show the camera in the Testing machine and nothing
comes up in /var/log/syslog. Other USB stuff is, however, detected
properly (mouse, card reader, etc.).

What gives? What am I missing?

Running 2.6.26-1-686 kernel. I belong to groups camera, plugdev, audio
and video among others. IIRC, the camera used to work earlier in the
year; I had been using a card reader for the past some months.

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



Re: dircolors - debian etch - broken by design?

2008-12-21 Thread Edward J. Shornock
* Chris Jones  [20-12-2008 06:27 EET]:
> My .bashrc has the usual:
> 
>   eval `dircolors -b` 

[...]

> So I figured I just needed to issue a "dircolors -p .dircolors" .. edit
> the .dircolors file to my liking .. and then follow up with a "dircolors
> -b .dircolors" and that should do it, right?


All that should be needed is 
   dircolors -p > ~/.dircolors
edit ~/.dircolors to your liking
test your edits with "eval `dircolors ~/.dircolors`"

If you're happy with your results, change ~/.bashrc from
 eval `dircolors -b`
to read
 eval `dircolors -b ~/.dircolors`

Or you can--of course--just set LS_COLORS manually.

It's working as it should with Debian Sid installation.

$ dircolors --version
dircolors (GNU coreutils) 6.10


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



Re: nrg2iso

2008-12-21 Thread Gabriel Parrondo
El dom, 21-12-2008 a las 15:52 +, steef escribió:
> > El sáb, 20-12-2008 a las 09:45 +, steef escribió:
> >> Eduard Bloch wrote:
[...] 
> >>> Try this:
> >>>
> >>> mount foo.nrg /bla -oloop,offset=307200
[...]
> hi eduardo,
> 
> i did:
> 
> st...@etchschijf:~$ sudo mount /home/steef/Desktop/pf2.iso 
> /home/steef/Desktop/ISO  -t iso9660 -o loop
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
> the same thing happened with the original nrg_file out of which pdf2.iso 
> was derived.
> 
> i'll look into the logs, allthough i know for sure the pdf2.iso file is 
> corrupt.
> the command mounted another non-corrupt iso.file without a problem in 
> the ISO directory.
> 


I just found this:

> I have successfully mounted several .NRG files under Linux. The key:
> it appears that an .NRG file has 300KB (75x4096) = 307200 bytes
> pre-pended to the ISO image.
> 
> So I was able to do this as root:
> 
> mkdir /media/loop_cd
> mount -o norock,map=off,loop,offset=307200
> imagefile.nrg /media/loop_cd
> 
> and it worked. (the norock,map-off options are optional)
> 
> One could then easily convert NRG to ISO by using dd like this:
> 
>dd if=imagefile.nrg of=isofile.iso bs=4096 skip=75
> 
> I'm not sure if the offset is always 4096x75 bytes, but it has been in
> all the .NRG files that I've tried.
> 
> TECHNICAL DETAILS:
> 
> If you do this on an .NRG file:
> 
> linuxprompt$ od -Ad -c file.nrg | more
> 
> you see output like this:
> 
> 000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
> *
> 0339968 001 C D 0 0 1 001 \0
> 0339984
> 
> while on an ISO you see this:
> 
> 000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
> *
> 0032768 001 C D 0 0 1 001 \0 W i n 3 2
> 0032784
> 
> Note that the line with the CD001 signature is at address 32768 on the
> real .ISO file, while it is at address 339968 in the .NRG file. A
> simple calculation then reveals the offset:
> 
> 339968 - 32768 = 307200.
> 
> So, if the offset of 307200 doesn't work for you on an .NRG file, just
> try the "od" command above on the file to see the offset is the same.
> It might be that on multisession images, or on other types of source
> discs (DVD, etc), or maybe even different versions of Nero, that the
> offset changes.
> 

Taken from: 
https://answers.launchpad.net/ubuntu/+question/5979



I don't have any nrg image here to try it...








signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread Ron Johnson

On 12/21/08 13:22, H.S. wrote:

Hello,

If I plug in Canon A520 digital camera to my Testing desktop, it is not
detected. The memory card in it works if I use card reader. At the same
time, the camera is detected if I plug it in a Debian Unstable computer
whose /var/log/syslog shows:
Dec 21 13:17:18 gurh kernel: [  379.888540] usb 1-5: new full speed USB
device using ohci_hcd and address 4
Dec 21 13:17:18 gurh kernel: [  380.101901] usb 1-5: configuration #1
chosen from 1 choice
Dec 21 13:17:18 gurh kernel: [  380.104983] usb 1-5: New USB device
found, idVendor=04a9, idProduct=30c1
Dec 21 13:17:18 gurh kernel: [  380.106836] usb 1-5: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Dec 21 13:17:19 gurh kernel: [  380.114987] usb 1-5: Product: Canon
Digital Camera
Dec 21 13:17:19 gurh kernel: [  380.116739] usb 1-5: Manufacturer: Canon
Inc.
Dec 21 13:17:21 gurh chipcardd[3634]: devicemanager.c: 3373: Changes in
hardware list


usbview does not show the camera in the Testing machine and nothing
comes up in /var/log/syslog. Other USB stuff is, however, detected
properly (mouse, card reader, etc.).


Nothing?  At all?  What about dmesg?


What gives? What am I missing?

Running 2.6.26-1-686 kernel. I belong to groups camera, plugdev, audio
and video among others. IIRC, the camera used to work earlier in the
year; I had been using a card reader for the past some months.


--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
Ron Johnson wrote:
> On 12/21/08 13:22, H.S. wrote:
>>
>> usbview does not show the camera in the Testing machine and nothing
>> comes up in /var/log/syslog. Other USB stuff is, however, detected
>> properly (mouse, card reader, etc.).
> 
> Nothing?  At all?  What about dmesg?

Nada.

Nothing in dmesg either.


BTW, if I try to use cfdisk on the device (while it is mounted from a
card reader), it shows:
--
FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk
  Press any key to exit cfdisk
--


Also, to see the label, I get
--
$> mlabel -s i:
Total number of sectors (1000215) not a multiple of sectors per track (63)!
Add mtools_skip_check=1 to your .mtoolsrc file to skip this test
--



And fisk -l gives:
--
Disk /dev/sdb: 512 MB, 512229376 bytes
9 heads, 8 sectors/track, 13895 cylinders
Units = cylinders of 72 * 512 = 36864 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   4   13896  500107+   6  FAT16
--




And finally the output from fdisk. Does the output below show that my cf
card's partition is corrupted? (though camera works, I can transfer
images from a card reader, camera woks in Unstable)

--
$> sudo fdisk /dev/sdb1

Command (m for help): p

Disk /dev/sdb1: 512 MB, 512110080 bytes
16 heads, 62 sectors/track, 1008 cylinders
Units = cylinders of 992 * 512 = 507904 bytes
Disk identifier: 0x73657250

This doesn't look like a partition table
Probably you selected the wrong device.

 Device Boot  Start End  Blocks   Id  System
/dev/sdb1p1   ? 1884648 3664955   883032122   74  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
 phys=(288, 115, 35) logical=(1884647, 13, 32)
Partition 1 has different physical/logical endings:
 phys=(82, 111, 32) logical=(3664954, 8, 41)
Partition 1 does not end on cylinder boundary.
/dev/sdb1p2   ? 1833514 1840216 3324218+  6f  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
 phys=(66, 107, 32) logical=(1833513, 9, 57)
Partition 2 has different physical/logical endings:
 phys=(288, 111, 52) logical=(1840215, 10, 47)
Partition 2 does not end on cylinder boundary.
/dev/sdb1p3   4   4   0   70  DiskSecure
Multi-Boot
Partition 3 has different physical/logical beginnings (non-Linux?):
 phys=(0, 0, 0) logical=(3, 1, 35)
Partition 3 has different physical/logical endings:
 phys=(0, 0, 0) logical=(3, 1, 34)
Partition 3 does not end on cylinder boundary.
/dev/sdb1p4 1135261 3300083  1073751719+  42  SFS
Partition 4 has different physical/logical beginnings (non-Linux?):
 phys=(73, 0, 0) logical=(1135260, 15, 46)
Partition 4 has different physical/logical endings:
 phys=(329, 77, 2) logical=(3300082, 15, 60)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Command (m for help):
--

-- 

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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread Eduardo M KALINOWSKI
H.S. wrote:
> $> sudo fdisk /dev/sdb1
>
> Command (m for help): p
>
> Disk /dev/sdb1: 512 MB, 512110080 bytes
> 16 heads, 62 sectors/track, 1008 cylinders
> Units = cylinders of 992 * 512 = 507904 bytes
> Disk identifier: 0x73657250
>
> This doesn't look like a partition table
> Probably you selected the wrong device.
>
>  Device Boot  Start End  Blocks   Id  System
> /dev/sdb1p1   ? 1884648 3664955   883032122   74  Unknown
> Partition 1 has different physical/logical beginnings (non-Linux?):
>  phys=(288, 115, 35) logical=(1884647, 13, 32)
> Partition 1 has different physical/logical endings:
>  phys=(82, 111, 32) logical=(3664954, 8, 41)
> Partition 1 does not end on cylinder boundary.
> /dev/sdb1p2   ? 1833514 1840216 3324218+  6f  Unknown
> Partition 2 has different physical/logical beginnings (non-Linux?):
>  phys=(66, 107, 32) logical=(1833513, 9, 57)
> Partition 2 has different physical/logical endings:
>  phys=(288, 111, 52) logical=(1840215, 10, 47)
> Partition 2 does not end on cylinder boundary.
> /dev/sdb1p3   4   4   0   70  DiskSecure
> Multi-Boot
> Partition 3 has different physical/logical beginnings (non-Linux?):
>  phys=(0, 0, 0) logical=(3, 1, 35)
> Partition 3 has different physical/logical endings:
>  phys=(0, 0, 0) logical=(3, 1, 34)
> Partition 3 does not end on cylinder boundary.
> /dev/sdb1p4 1135261 3300083  1073751719+  42  SFS
> Partition 4 has different physical/logical beginnings (non-Linux?):
>  phys=(73, 0, 0) logical=(1135260, 15, 46)
> Partition 4 has different physical/logical endings:
>  phys=(329, 77, 2) logical=(3300082, 15, 60)
> Partition 4 does not end on cylinder boundary.
>
> Partition table entries are not in disk order
>
> Command (m for help):
>   

I've seen weird output like this is devices in which there are no
partitions, you mount the whole device: mount /dev/sdb /mnt/camera.
Worth giving a try.

-- 
The problem with any unwritten law is that you don't know where to go
to erase it.
-- Glaser and Way

Eduardo M KALINOWSKI
edua...@kalinowski.com.br
http://move.to/hpkb


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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
Eduardo M KALINOWSKI wrote:

>>   
> 
> I've seen weird output like this is devices in which there are no
> partitions, you mount the whole device: mount /dev/sdb /mnt/camera.
> Worth giving a try.
> 

I will give it a shot.

I have a 1G memory stick lying around. If I insert that in my card
reader with the Testing machine, it doesn't mount and gives some errors
like these:
Dec 21 15:31:25 bijli kernel: [ 5784.072103] usb 2-1: device descriptor
read/64, error -110
Dec 21 15:31:40 bijli kernel: [ 5799.288080] usb 2-1: device descriptor
read/64, error -110


However, that same stick mounts properly in a machine running Unstable
and in a different card reader. So looks like it is some kind of a
hardware problem. But the confounding thing is that an SD card does not
work if it is in a camera (card reader not being used) but works when it
is inserted the card reader on the Testing machine -- showing that the
card reader is working for at least the SD card and the camera is not
working in Testing. That same camera works in Unstable.



-- 

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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
H.S. wrote:
> Eduardo M KALINOWSKI wrote:
> 
>>>   
>> I've seen weird output like this is devices in which there are no
>> partitions, you mount the whole device: mount /dev/sdb /mnt/camera.
>> Worth giving a try.
>>
> 
> I will give it a shot.
> 
> I have a 1G memory stick lying around. If I insert that in my card
> reader with the Testing machine, it doesn't mount and gives some errors
> like these:
> Dec 21 15:31:25 bijli kernel: [ 5784.072103] usb 2-1: device descriptor
> read/64, error -110
> Dec 21 15:31:40 bijli kernel: [ 5799.288080] usb 2-1: device descriptor
> read/64, error -110
> 
> 
> However, that same stick mounts properly in a machine running Unstable
> and in a different card reader. So looks like it is some kind of a
> hardware problem. But the confounding thing is that an SD card does not

Well, part of the problem was hardware related. Apparently the card
reader has been sitting around for quite a while on my desk and is
connected through a USB extension cable. Reinsert all the plugs and
joints seemed to have given me some progress.

The camera is being detected now. I see a camera icon on the desktop
with label "USB Imaging Interface". I started doing all this to fix this
label. My idea was to check what is the volume label on the card in the
camera and to give a specific one to see if it helps the label I get on
the desktop.

Mounting the 1G memory stick from the card reader is taking a while
though. And it is still ending up with the weird errors:
Dec 21 15:44:03 bijli kernel: [ 6541.920046] usb 2-1: device descriptor
read/64, error -110
Dec 21 15:44:18 bijli kernel: [ 6557.136116] usb 2-1: device descriptor
read/64, error -110

But this same memory stick is working in another card reader I just
fished out from my desk. So as far as memory stick is concerned, I think
it is the MS slot on the card reader that is the problem.

I also tried the SD card in the new card reader and the partition table
still shows four partition I pasted earlier.

I think I will just try reformatting the cards and see how that works out.





-- 

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



start urxvt so that the prompt shows the desired directory

2008-12-21 Thread Csanyi Pal
Hi,

can one start urxvt so that the prompt shows the desired directory,
like: 

usern...@system-name:~/desired/directory$

from another urxvt?

urxvt -e cd /home/username/desired/directory/

doesn't work.

I want to start sometimes an urxvt from the menu of the Window Maker
but want to start urxvt othertimes so that I get the /home/username/
directory as usually.

Any advices will be appreciated!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


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



Re: e2fsck /dev/md0 issues

2008-12-21 Thread Alex Samad
On Sun, Dec 21, 2008 at 03:44:04AM -0600, M.Lewis wrote:
>
> Boyd Stephen Smith Jr. wrote:
>> On Sunday 21 December 2008, "M.Lewis"  wrote about 
>> 'Re: e2fsck /dev/md0 issues':
>>> Boyd Stephen Smith Jr. wrote:
>>
>>> Maybe what I should do is break the array and start over? Making sure
>>> that e2fsck on both drives is good to go beforehand of course.
>>>
>>> Maybe that is a more drastic action than is needed though.
>>
>> Yep.  You just need to resize your filesystem to the correct size, as  
>> reported by the /dev/md0 device and suggested by my earlier email.
>
> Ok, now this is all sinking in I think. Thanks for the detailed  
> explanation and time you spent to do it. It is appreciated.
>
> So all I need to do is 'resize2fs /dev/md0 244189984'. Then e2fsck  
> should run with no errors.

I would suggest maybe a resize2fs /dev/md0 and see what that does first
?  The other question to ask is how it ended up like this. as somebody
else suggested maybe a smartctl on the to base drives to check them
might be in order!


> -- 
>
>  Computers are unreliable, but humans are even more unreliable.  - Gilb
>   03:40:01 up 4 days,  3:17,  1 user,  load average: 0.12, 0.07, 0.05
>
>  Linux Registered User #241685  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
>
>

-- 
"I'm also mindful that man should never try to put words in God's mouth. I 
mean, we should never ascribe natural disasters or anything else, to God. We 
are in no way, shape, or form should a human being, play God."

- George W. Bush
01/14/2005
Washington, DC
Appearing on ABC's 20/20


signature.asc
Description: Digital signature


Re: Difference between Lenny/testing?

2008-12-21 Thread Paul E Condon
On Thu, Dec 18, 2008 at 06:39:25AM -0500, Paul Cartwright wrote:
> On Thu December 18 2008, Paul E Condon wrote:
> > Some time after the release of Lenny, the name of the next release
> > after Lenny will become useful as a synonym of testing. Your first use
> > of steps 1-5 will be in the transition to that release from Lenny.
> 
> just curious, do you know where kde4 lives in this equation?
> right now I am running Lenny..
> 

Sorry, no. I don't follow kde news and developments. My comments on
Xwindows give a clue as to how I might deal with it if it were a
problem for me: Watch for complaints in re. kde packages and act
with defensive intelligence. 

This behavior does not contribute much to finding and fixing bugs.
But it also does not contribute noise to the bugreport system from
a user who really doesn't understand. ;-)

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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
H.S. wrote:

> I think I will just try reformatting the cards and see how that works out.


I have formatted the SD card and tried it again in the camera. I
formatted as type 0B filesystem (W95 Fat32) and made a filesystem using
sudo fsck.msdos /dev/sdc1

But now when the camera is mounted, I also see these folders which I
never saw before:
store_00010001
store_8001
about.txt <-- file
summary.txt <-- file

and the usual DCIM and MISC folders are within the first folder above.

Anybody have any idea what is going on?

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



Re: start urxvt so that the prompt shows the desired directory

2008-12-21 Thread Boyd Stephen Smith Jr.
On Sunday 2008 December 21 14:50:45 Csanyi Pal wrote:
> Hi,
>
> can one start urxvt so that the prompt shows the desired directory,
> like:
>
> usern...@system-name:~/desired/directory$
>
> from another urxvt?
>
> urxvt -e cd /home/username/desired/directory/
>
> doesn't work.

Might try:
( cd /desired/directory && urxvt )

If you need a single command (e.g. for a .desktop file) you might use:
/bin/sh -c 'cd /desired/directory && urxvt'
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: Difference between Lenny/testing?

2008-12-21 Thread Boyd Stephen Smith Jr.
On Thursday 2008 December 18 05:39:25 Paul Cartwright wrote:
> On Thu December 18 2008, Paul E Condon wrote:
> > Some time after the release of Lenny, the name of the next release
> > after Lenny will become useful as a synonym of testing. Your first use
> > of steps 1-5 will be in the transition to that release from Lenny.
>
> just curious, do you know where kde4 lives in this equation?
> right now I am running Lenny..

From what I understand, KDE 4 will not be introduced to Lenny either now, or 
during it's time as stable.  I really have no idea whether bp.o will provide 
KDE 4 packages for Lenny during it's time as stable.

Squeeze, the release after Lenny, will phase out KDE 3 in favor of KDE 4 as 
packages come in from unstable.  KDE 4 is currently only in experimental.

If you need any more details, you might ask on debian-kde, but running though 
the archives for that list first would probably be good.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread Ron Johnson

On 12/21/08 15:21, H.S. wrote:

H.S. wrote:


I think I will just try reformatting the cards and see how that works out.



I have formatted the SD card and tried it again in the camera. I
formatted as type 0B filesystem (W95 Fat32) and made a filesystem using
sudo fsck.msdos /dev/sdc1

But now when the camera is mounted, I also see these folders which I
never saw before:
store_00010001
store_8001
about.txt <-- file
summary.txt <-- file

and the usual DCIM and MISC folders are within the first folder above.

Anybody have any idea what is going on?


Might they be normal?

Also, have you tried detecting the camera with gphoto2?

--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
H.S. wrote:
> H.S. wrote:
> 
>> I think I will just try reformatting the cards and see how that works out.
> 
> 
> I have formatted the SD card and tried it again in the camera. I
> formatted as type 0B filesystem (W95 Fat32) and made a filesystem using
> sudo fsck.msdos /dev/sdc1
> 
> But now when the camera is mounted, I also see these folders which I
> never saw before:
> store_00010001
> store_8001
> about.txt <-- file
> summary.txt <-- file
> 
> and the usual DCIM and MISC folders are within the first folder above.
> 

Aha! That is because I was supposed to format that as type 6, FAT16.
That fixed the 'hidden folders' problem. Now I get the usual DCIM and
MISC folders.



-- 

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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
Ron Johnson wrote:
> On 12/21/08 15:21, H.S. wrote:
>> H.S. wrote:
>>
>>> I think I will just try reformatting the cards and see how that works
>>> out.
>>
>>
>> I have formatted the SD card and tried it again in the camera. I
>> formatted as type 0B filesystem (W95 Fat32) and made a filesystem using
>> sudo fsck.msdos /dev/sdc1
>>
>> But now when the camera is mounted, I also see these folders which I
>> never saw before:
>> store_00010001
>> store_8001
>> about.txt <-- file
>> summary.txt <-- file
>>
>> and the usual DCIM and MISC folders are within the first folder above.
>>
>> Anybody have any idea what is going on?
> 
> Might they be normal?

Perhaps. And I have no reason to believe they are not so I am not
worrying about these. Just their appearance in konqueror was a bit
surprising.

> Also, have you tried detecting the camera with gphoto2?
> 

Yes, and it didn't find anything at that time. Now, however, after
fiddling with the cables as I mentioned earlier, the camera is working.
Points of interest:
1. The camera is shown as "USB Imaging Interface" on desktop. Clicking
on that icon shows the above mentioned folders and files in konqeuror.
2. The same SD card if read in a card reader, however, does not show
those folders and files, just DICM and MISC as before. This is with
FAT16 formatting (type 6).

Anyhow, the camera appears to be working now.

What I originally wanted to do was to see if I can format the card and
change its volume information through the camera itself (without needing
the card reader). Still looking if this is doable.

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



Re: e2fsck /dev/md0 issues

2008-12-21 Thread Boyd Stephen Smith Jr.
On Sunday 2008 December 21 15:00:44 Alex Samad wrote:
> On Sun, Dec 21, 2008 at 03:44:04AM -0600, M.Lewis wrote:
> > Boyd Stephen Smith Jr. wrote:
> >> On Sunday 21 December 2008, "M.Lewis"  wrote about
> >> 'Re: e2fsck /dev/md0 issues':
> >>> Maybe what I should do is break the array and start over?
> >>> Maybe that is a more drastic action than is needed though.
> >>
> >> Yep.  You just need to resize your filesystem to the correct size, as
> >> reported by the /dev/md0 device and suggested by my earlier email.
> >
> > So all I need to do is 'resize2fs /dev/md0 244189984'. Then e2fsck
> > should run with no errors.
>
> I would suggest maybe a resize2fs /dev/md0 and see what that does first?
> The other question to ask is how it ended up like this.

Probably by imaging and deploying the fs with dd.  Either that or some 
ill-informed forcing of the filesystem to the larger size.

I really don't think there's anything wrong with the drives or the md device.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: Copy a file one hundred times

2008-12-21 Thread Jörg-Volker Peetz
Osamu Aoki wrote:
> On Sat, Dec 13, 2008 at 09:13:07PM +, Tzafrir Cohen wrote:
>> On Sun, Dec 14, 2008 at 03:50:31AM +0900, Osamu Aoki wrote:
>>> On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote:
 I need the right syntax to copy file.jpg 100 times with one command so to 
 get
 100 files named file1.jpg, file2.jpg, ..., file100.jpg.

 Can anybody suggest how to achieve that?
>>>
>>> ere is one without looping :-)

> $ seq 1 100 | sed "s/^\(.*\)$/file\1.jpg/" |xargs -n1 cp file.jpg
> 

And even shorter:

$ seq -w 1 1 10 | xargs -i -n1 cp file.jpg file{}.jpg

-- 
Regards,
Jörg-Volker.


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



Re: tcpip stops working after some time

2008-12-21 Thread Bob Cox
On Sun, Dec 21, 2008 at 23:51:02 +0200, Micha Feigin (mi...@post.tau.ac.il) 
wrote: 

[...]

> I have no idea on how to read this. It seems that regular traceroute fails 
> (-n)
> tcp traceroute works (-n -T) and telnet www.yahoo.com 80 fails (same with
> google and a few others I testes)
> 
> Any ideas?
> 
> vivalunalitshi:mpi$ sudo traceroute -n  www.yahoo.com
> traceroute to www.yahoo.com (69.147.76.15), 30 hops max, 60 byte packets
>  1  * * *
>  2  * * *
>  3  * * *
>  4  * * *

[...]

Just a thought... what does traceroute -I www.yahoo.com (as root) give
you?


-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/


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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
H.S. wrote:

> 1. The camera is shown as "USB Imaging Interface" on desktop. Clicking
> on that icon shows the above mentioned folders and files in konqeuror.
> 2. The same SD card if read in a card reader, however, does not show
> those folders and files, just DICM and MISC as before. This is with
> FAT16 formatting (type 6).
>

Another thing I just realized. To write a filesystem, one needs to have
the partition unmounded. In KDE, however, one must /not/ "Safely remove"
to do this operation. One must only "sudo umount /media/"
before trying to write the filesystem.

That "Safely remove" option in Konqueror somehow just eliminates the
whole device from the system! Didn't know this before.


-- 

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



Totem - satanta BB

2008-12-21 Thread admin
Hi, can anyone tell me how to setup setanta sports playing on debian??

I got it yesterday and used it on m$ and it was fine for an hour and
then i went out. came home and fitted a new grafix card and PC went beep
beep beep.

I thought I did something wrong, not much chance but only option
available. Put a new M$ box on and started setanta again ti finish
viewing and  an hr later box unhappy, restarted and same, beep beep
beep, no startup. 

So, 2 M$-windoze boxes in 2 hours crashed. only new event was
introduction of this live feed from setanta.

Someone is hacking. we know that.

Initial Q is: Can I run a M$ music player sudo on debian.

Please advise, some jerk is ruining my viewing and only reason I run
windoze is for this kind of situation

I am firewalled with zone alarms and running AVG AV, nothing seems to
help, but thats not the issue.

Have we a plugin that copes with this need??

TIA

Dave
 


Re: tcpip stops working after some time

2008-12-21 Thread Micha Feigin
On Fri, 19 Dec 2008 12:37:44 -0800 (PST)
Jeff D  wrote:

> On Fri, 19 Dec 2008, Micha Feigin wrote:
> 
> > On Sat, 13 Dec 2008 01:07:12 +0200
> > subscriptions  wrote:
> >
> > > On Fri, 2008-12-12 at 22:10 +0100, Micha Feigin wrote:
> > > >
> > > > For some reason after a few days of uptime , tcp stops working on my
> > > > machine.
> > > > Ping and dns lookups work, tcp doesn't. I tried both wired and
> > > > wireless,
> > > > removing the firewall and unloading all firewall related modules but
> > > > nothing
> > > > seems to change.
> > > >
> > > > Only restarting seems to help
> > > >
> > > > Any ideas what else could it be?
> > > >
> > > > Thanks
> > >
> > > Try 'netstat -atn' to see if you have filled all ports.
> > >
> >
> > Here's the output, doesn't seem to me that I filled the ports, but I may be
> > wrong. Not sure what are all those open ports at the 4-6 range
> > I also it seems that the connection is not all dead, it's just really slow
> > (I sometime get a reply to telnet www.google.com 80 after a couple of
> > minutes although it mostly times out. ping works fine. nada
> > in /var/log/syslog and /var/log/messages
> >
> > vivalunalitshi:tmp# netstat -atn
> > Active Internet connections (servers and established)
> > Proto Recv-Q Send-Q Local Address   Foreign Address State
> > tcp0  0 192.168.1.11:55178  132.66.7.110:80
> > ESTABLISHED tcp0  1 192.168.1.100:51591
> > 132.66.7.110:80 SYN_SENT tcp0  0
> > 192.168.1.100:51593 132.66.7.110:80 ESTABLISHED tcp
> > 0  1 192.168.1.100:49378 74.125.79.109:995   SYN_SENT
> > tcp0  1 192.168.1.100:51590 132.66.7.110:80
> > SYN_SENT tcp0  0 192.168.1.100:57531
> > 130.83.165.8:3250   ESTABLISHED tcp0  0
> > 192.168.1.100:42224 87.70.122.110:43754 ESTABLISHED tcp
> > 0  1 192.168.1.100:43329 132.66.7.110:80 SYN_SENT
> > tcp0  0 192.168.1.100:39098 77.127.241.67:10184
> > ESTABLISHED
> >
> > > Best,
> > >
> > > Rob
> 
> are you seeing issues with all tcp or just web traffic? One other thing
> you might want to try out is to fire up tcpdump (tcpdump -i eth0 -n ) and
> run:
> traceroute -n google.com
> and
> traceroute -n -T google.com
> 
> The -T there, tells traceroute to send out tcp packets.  It could give you
> some insight on what may be causing this issue, or at least where the
> issue might be.
> 

I have no idea on how to read this. It seems that regular traceroute fails (-n)
tcp traceroute works (-n -T) and telnet www.yahoo.com 80 fails (same with
google and a few others I testes)

Any ideas?

vivalunalitshi:mpi$ sudo traceroute -n  www.yahoo.com
traceroute to www.yahoo.com (69.147.76.15), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
vivalunalitshi:mpi$ sudo traceroute -n -T  www.yahoo.com
\traceroute to www.yahoo.com (69.147.76.15), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  69.147.76.15  225.569 ms  225.608 ms  180.227 ms
vivalunalitshi:mpi$ telnet www.yahoo.com 80
Trying 69.147.76.15...


> Jeff


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



Re: start urxvt so that the prompt shows the desired directory

2008-12-21 Thread Csanyi Pal
"Boyd Stephen Smith Jr."  writes:

> On Sunday 2008 December 21 14:50:45 Csanyi Pal wrote:
>> Hi,
>>
>> can one start urxvt so that the prompt shows the desired directory,
>> like:
>>
>> usern...@system-name:~/desired/directory$
>>
>> from another urxvt?
>>
>> urxvt -e cd /home/username/desired/directory/
>>
>> doesn't work.
>
> Might try:
> ( cd /desired/directory && urxvt )

It works! Thanks!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


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



Re: Totem - satanta BB

2008-12-21 Thread Ron Johnson

On 12/21/08 15:15, admin wrote:

Hi, can anyone tell me how to setup setanta sports playing on debian??


What's Setanta Sports?


I got it yesterday and used it on m$ and it was fine for an hour and
then i went out. came home and fitted a new grafix card and PC went beep
beep beep.

I thought I did something wrong, not much chance but only option
available. Put a new M$ box on and started setanta again ti finish
viewing and  an hr later box unhappy, restarted and same, beep beep
beep, no startup. 


So, 2 M$-windoze boxes in 2 hours crashed. only new event was
introduction of this live feed from setanta.

Someone is hacking. we know that.

Initial Q is: Can I run a M$ music player sudo on debian.


Hardware or software?


Please advise, some jerk is ruining my viewing and only reason I run
windoze is for this kind of situation

I am firewalled with zone alarms and running AVG AV, nothing seems to
help, but thats not the issue.

Have we a plugin that copes with this need??


--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: Copy a file one hundred times

2008-12-21 Thread Ron Johnson

On 12/21/08 15:58, Jörg-Volker Peetz wrote:

Osamu Aoki wrote:

On Sat, Dec 13, 2008 at 09:13:07PM +, Tzafrir Cohen wrote:

On Sun, Dec 14, 2008 at 03:50:31AM +0900, Osamu Aoki wrote:

On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote:

I need the right syntax to copy file.jpg 100 times with one command so to get
100 files named file1.jpg, file2.jpg, ..., file100.jpg.

Can anybody suggest how to achieve that?

ere is one without looping :-)



$ seq 1 100 | sed "s/^\(.*\)$/file\1.jpg/" |xargs -n1 cp file.jpg



And even shorter:

$ seq -w 1 1 10 | xargs -i -n1 cp file.jpg file{}.jpg


What's with the {}?  An implied variable?

--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: start urxvt so that the prompt shows the desired directory

2008-12-21 Thread s. keeling
Csanyi Pal :
> 
>  can one start urxvt so that the prompt shows the desired directory,
>  like: 
> 
>  usern...@system-name:~/desired/directory$
> 
>  from another urxvt?

That's controlled by the PS1 environment variable.  You can search for
where it's set with "grep PS1 ~/.*" then change it there.  I like
this:

   export PS1='($?) $(hostname) ${PWD}_ '

for user and this for root:

   export PS1='($?) $(hostname) [root] ${PWD}_ '

You then need to source the file you changed, then run urxvt.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



Re: Copy a file one hundred times

2008-12-21 Thread Tzafrir Cohen
On Sun, Dec 21, 2008 at 04:45:21PM -0600, Ron Johnson wrote:
> On 12/21/08 15:58, Jörg-Volker Peetz wrote:
>> $ seq -w 1 1 10 | xargs -i -n1 cp file.jpg file{}.jpg
>
> What's with the {}?  An implied variable?

$ LANG=C man xargs | grep -C 2 '{}'
   -i[replace-str]
  This  option  is  a  synonym for -Ireplace-str if replace-str is
  specified, and for -I{} otherwise.  This option  is  deprecated;
  use -I instead.

--
   example:

   somecommand | xargs -s 5 echo | xargs -I '{}' -s 10 rm '{}'

   Here, the first invocation of xargs has no input line length limit  be-

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


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



Re: Totem - satanta BB

2008-12-21 Thread Carl Fink
On Sun, Dec 21, 2008 at 09:15:17PM +, admin wrote:
> Hi, can anyone tell me how to setup setanta sports playing on debian??

It would be quite helpful to anyone who wanted to assist, if you would
explain what the heck "setanta sports" is and perhaps give a URL and some
information about how it works.  For instance, does it require a special
client or run in a browser?

This may be useful to you:
http://www.catb.org/~esr/faqs/smart-questions.html
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



[OT] bouncing list spam via Gmail's and other smarthosts

2008-12-21 Thread Celejar
Hi,

I zealously bounce listspam to report-lists...@lists.debian.org.
Recently, the listmaster notified me that he was getting the impression
from the bounced spam that *I* was the spammer.  We discussed the
problem, and it turns out that the issue is that Gmail's SMTP server
rewrites message-from headers, so a spam message with this message-from:

From: "Evil Spammer" 

will end up in the spam mailbox looking like this:

From: "Evil Spammer 

[Some free smarthosts simply refuse to accept mail unless the
message-from is set to the user's account name, but Gmail accepts it
and rewrites it.]

The listmaster told me not to bounce mail under such circumstances.

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



Re: dircolors - debian etch - broken by design?

2008-12-21 Thread Chris Jones
On Sun, Dec 21, 2008 at 02:09:08PM EST, Edward J. Shornock wrote:
> * Chris Jones  [20-12-2008 06:27 EET]:
> > My .bashrc has the usual:
> > 
> >   eval `dircolors -b` 
> 
> [...]
> 
> > So I figured I just needed to issue a "dircolors -p .dircolors" .. edit
> > the .dircolors file to my liking .. and then follow up with a "dircolors
> > -b .dircolors" and that should do it, right?
> 
> 
> All that should be needed is 
>dircolors -p > ~/.dircolors
> edit ~/.dircolors to your liking
> test your edits with "eval `dircolors ~/.dircolors`"
> 
> If you're happy with your results, change ~/.bashrc from
>  eval `dircolors -b`
> to read
>  eval `dircolors -b ~/.dircolors`
> 
> Or you can--of course--just set LS_COLORS manually.
> 
> It's working as it should with Debian Sid installation.
> 
> $ dircolors --version
> dircolors (GNU coreutils) 6.10

Thanks a bunch!

The above absolutely did the trick .. why this wasn't working earlier is
a mystery .. since I could've sworn I was doing exactly the same thing.

With about 100 colors in my .dircolors .. ls output on my test directory
now looks like a bloody rainbow.

Sigh ... I will probably never know why this was not working earlier.

My guess is that there was some kind of syntax error in my input file
and that dircolors silently exited w/o an error message or anything. 

Bastard doesn't have a "verbose" option that I could see.

Thanks again and Merry Xmas!

CJ


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



Re: Canon A520 not detected in Testing, but works in Unstable

2008-12-21 Thread H.S.
H.S. wrote:

>>>
>> I will give it a shot.
>>
>> I have a 1G memory stick lying around. If I insert that in my card
>> reader with the Testing machine, it doesn't mount and gives some errors
>> like these:
>> Dec 21 15:31:25 bijli kernel: [ 5784.072103] usb 2-1: device descriptor
>> read/64, error -110
>> Dec 21 15:31:40 bijli kernel: [ 5799.288080] usb 2-1: device descriptor
>> read/64, error -110
>>

I looked up the specs for the card reader I am using. It is Sandisk,
Imagemate 6 in 1 card reader, model SDDR-86. It turns out that its specs
 mentioned on the device do not list Pro and Pro Duo memory sticks are
being supported. So perhaps that is the real problem. That "-110" error
actually appears to be a kernel error where the device was just not
recognizable.

The card reader in which I am able to read that Pro Duo memory stick has
 "MS/Pro/Duo" written on that relevant slot.

Sorry for all this noise. I hardly use Memory sticks and didn't realize
that simple MS and Pro and Pro Duo are so different that they may or may
not be supported in a card reader device.


-- 

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



Re: clamd consuming 99.6% cpu

2008-12-21 Thread Stephen Liu

--- frank  wrote:

> On Sat, 2008-12-20 at 17:29 +0800, Stephen Liu wrote:
> 
> > After running update and upgrade.  On running 'top' it is
> discovered
> > that "clamd" continuously consuming 99.6% CPU.  Please advise how
> to
> > fix the problem.  TIA
> 
> Maybe your clamd version is broken. Check with strace what clamd is
> doing. I ll bet its reading the heuristic file. If so use another
> version. I got a fixed one from here.


Hi Frank,


Thanks for your advice.


This mail server is running on a Xen box as guest.  The host is a
Debian Etch workstation.  I also ran "aptitute update/upgrade" on the
host.  This is no problem afterwards up to now.


I found a solution, maybe a temporary one as follow;


Edited /etc/clamav/clamd.conf
adding a line "PhishingScanURLs no" to the end of the file.  Rebooted
the guest, the mail server, then problem gone.


Performed following test;

Delete the the above line on /etc/clamav/clamd.conf

Problem re-occurs


# ls -l /etc/clamav/clamd.conf
-rw-r--r-- 1 root root 1212 2008-12-22 00:10 /etc/clamav/clamd.conf


# grep clamav /etc/group
amavis:x:108:clamav
clamav:x:109:


# strace clamd
execve("/usr/sbin/clamd", ["clamd"], [/* 15 vars */]) = 0
uname({sys="Linux", node="xen13.satimis.com", ...}) = 0
brk(0)  = 0x8055000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f59000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=14291, ...}) = 0
mmap2(NULL, 14291, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f55000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/usr/lib/libclamav.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=385156, ...}) = 0
mmap2(NULL, 384116, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ef7000
mmap2(0xb7f53000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5c) = 0xb7f53000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\0\000"...,
512) = 512fstat64(3, {st_mode=S_IFREG|0644, st_size=76548, ...}) = 0
mmap2(NULL, 87808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ee1000
mmap2(0xb7ef3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7ef3000
mmap2(0xb7ef5000, 5888, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ef5000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240H\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=89370, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ee
mmap2(NULL, 74200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ecd000
mmap2(0xb7edc000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7edc000
mmap2(0xb7ede000, 4568, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ede000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1253680, ...}) = 0
mmap2(NULL, 1259676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d99000
mmap2(0xb7ec3000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7ec3000
mmap2(0xb7eca000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eca000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/libbz2.so.1.0", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\20"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=66200, ...}) = 0
mmap2(NULL, 65060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d89000
mmap2(0xb7d98000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb7d98000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/usr/lib/libgmp.so.3", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\200"...,
512) = 512fstat64(3, {st_mode=S_IFREG|0644, st_size=273532, ...}) = 0
mmap2(NULL, 272424, PROT_READ|PROT_EXEC, MAP_P

Need help finding social networking package.

2008-12-21 Thread Dennis Wicks

Greetings;

I am looking for a social networking package, OS & GPL if 
possible.


Does anyone have a suggestion or two?

I have looked in all the usual places, that I know of 
anyway, and haven't found one that sounds good yet.


I would like one that allows people to set up their own 
groups/forums, sort of like Yahoo groups or MSN and similar.


TIA for any suggestions or pointers to sources.

Dennis


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




Re: Totem - satanta BB

2008-12-21 Thread admin
On Sun, Dec 21, 2008 at 09:15:17PM +, admin wrote:
> Hi, can anyone tell me how to setup setanta sports playing on debian??

Sorry, www.setanta.com Its a live feed, I hope this helps you understand
my issue

It would be quite helpful to anyone who wanted to assist, if you would
explain what the heck "setanta sports" is and perhaps give a URL and
some
information about how it works.  For instance, does it require a special
client or run in a browser?

This may be useful to you:
http://www.catb.org/~esr/faqs/smart-questions.html
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: Totem - satanta BB

2008-12-21 Thread Ron Johnson

On 12/21/08 20:06, admin wrote:

On Sun, Dec 21, 2008 at 09:15:17PM +, admin wrote:
 > Hi, can anyone tell me how to setup setanta sports playing on debian??

Sorry, www.setanta.com  Its a live feed, I hope 
this helps you understand my issue


So what exactly did you "get"?  Do you mean that you subscribed to 
the Broadband Service?



It would be quite helpful to anyone who wanted to assist, if you would
explain what the heck "setanta sports" is and perhaps give a URL and some
information about how it works.  For instance, does it require a special
client or run in a browser?

This may be useful to you:
http://www.catb.org/~esr/faqs/smart-questions.html
--
Carl Fink   nitpick...@nitpicking.com 
 


Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: Need help finding social networking package.

2008-12-21 Thread Richard Hector
On Sun, 2008-12-21 at 19:38 -0600, Dennis Wicks wrote:
> Greetings;
> 
> I am looking for a social networking package, OS & GPL if 
> possible.
> 
> Does anyone have a suggestion or two?
> 
> I have looked in all the usual places, that I know of 
> anyway, and haven't found one that sounds good yet.
> 
> I would like one that allows people to set up their own 
> groups/forums, sort of like Yahoo groups or MSN and similar.
> 
> TIA for any suggestions or pointers to sources.

You could try Mahara - it's in lenny, but I'm told the lenny packages
(and the sid ones) work fine in etch. I'm also told the README.Debian is
worth reading if you do decide to try it.

Disclaimer: I work for the company that maintains it.

Richard



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



mugshot packages

2008-12-21 Thread lostson

 Hello 
 I was looking around for mugshot packages but no luck so far. It seems the 
only downloads on the actual mugshot site is through cvs. Does anyone know how 
to get mugshot working? I am using lenny btw, thanks.

-- 

LostSon

http://lostsonsvault.org


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



Automatically Update/Upgrade

2008-12-21 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear all

I have some computers running Debian. It's more than 3. And it's
consume my time, if I have to run

# apt-get update
then
# apt-get upgrade

manually, if there's new patch/update. Is it possible that I run this
on command with script? Cron maybe? What' the ideal interval? How do I
write the script? Any example?

Thank you, for the attention.

- --
Zaki Akhmad


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklPCd8ACgkQT4k8JfIMt5fCzgCfTKxgb5SAoDe1TdKT470Nj6uX
/uYAn0CzVBiDquaA4kpIclCwXs8fhTJG
=+bHy
-END PGP SIGNATURE-


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



Re: Copy a file one hundred times

2008-12-21 Thread Slim Joe
2008/12/14, Rodolfo Medina :
> I need the right syntax to copy file.jpg 100 times with one command so to
> get
> 100 files named file1.jpg, file2.jpg, ..., file100.jpg.
>
> Can anybody suggest how to achieve that?

You could try something like:

cat file.pdf | tee `seq -w 0 100 | sed 's+.*+file_&.pdf+'` > /dev/null

(1) The "cat" command pipes the contents of the file "file.pdf"
to the command "tee" which can dump the contents of the file
to both a file (or files) and to stdout.

(2) The `seq -w [...]` creates the file names.

(3) The "> /dev/null" is necessary unless you want the contents of
the file to pollute your screen.


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



E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-21 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I met this error while trying to upgrade with

# apt-get upgrade
...
...
...
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-1-686
Found kernel: /boot/vmlinuz-2.6.25-2-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done

Preparing to replace libcomerr2 1.41.2-1 (using
.../libcomerr2_1.41.3-1_i386.deb) ...
Unpacking replacement libcomerr2 ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Someone could give me a hint? I can't find error on /var/log/syslog

- --
Zaki Akhmad


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklPDVkACgkQT4k8JfIMt5fQ+ACdGunu1fgQzcmR89csIdUSEyhr
uM0An2PY0Mk70JrvdlbkfJY+YFWs8LQ4
=wISd
-END PGP SIGNATURE-


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



Re: Automatically Update/Upgrade

2008-12-21 Thread Ron Johnson

On 12/21/08 21:30, Zaki Akhmad wrote:


Dear all

I have some computers running Debian. It's more than 3. And it's


4?  Or 4?


consume my time, if I have to run

# apt-get update
then
# apt-get upgrade

manually, if there's new patch/update. Is it possible that I run this
on command with script? Cron maybe? What' the ideal interval? How do I
write the script? Any example?


cron-apt.  But tell it to only update and "--download-only upgrade", 
because a "real" upgrade might do something that you don't want it 
to do, like delete important packages, or not download needed packages.


I download nightly, but update weekly.  With downloads happening 
automatically in the middle of the night, upgrading one machine per 
day shouldn't burden you too much.


--
Ron Johnson, Jr.
Jefferson LA  USA

I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.


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




Re: Automatically Update/Upgrade

2008-12-21 Thread Douglas A. Tutty
On Mon, Dec 22, 2008 at 10:30:44AM +0700, Zaki Akhmad wrote:
> I have some computers running Debian. It's more than 3. And it's
> consume my time, if I have to run
> 
> # apt-get update
> then
> # apt-get upgrade
> 
> manually, if there's new patch/update. Is it possible that I run this
> on command with script? Cron maybe? What' the ideal interval? How do I
> write the script? Any example?

If the time for updating is internet bandwidth related, install
apt-cacher on your internet-connected box.  Then point all boxes to that
box in /etc/apt/sources.list.  

This way, the first box you update and upgrade will do so at internet
speed, but subsequent boxes connect at your local network speed.  

Doug.


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



Re: Totem - satanta BB

2008-12-21 Thread Carl Fink
Please learn to quote correctly.  I've fixed the quotes below for my own
convenience.  Also, using the name "admin" is silly in this context.

Also, please read the essay on how to ask questions that I linked to.

On Mon, Dec 22, 2008 at 02:06:51AM +, admin wrote:


On Sun, Dec 21, 2008 at 09:15:17PM +, admin wrote:

> Carl (ca...@panix.com) wrote:

>Admin Wrote:
>>> Hi, can anyone tell me how to setup setanta sports playing on debian??

>> It would be quite helpful to anyone who wanted to assist, if you would
>> explain what the heck "setanta sports" is and perhaps give a URL and some
>> information about how it works.  For instance, does it require a special
>> client or run in a browser?

>> This may be useful to you:
>> http://www.catb.org/~esr/faqs/smart-questions.html
 
>Sorry, www.setanta.com Its a live feed, I hope this helps you understand
>my issue

OK, after digging through the FAQ there, they appear to stream in WMV
format.  You should be able to play the stream using either mplayer or
totem, with their respective Firefox plugins, if you install the w32codecs
package, from debian-multimedia.org.  Assuming you're using an Intel 32-bit
system.

You might want to give more information, and more useful information, the
next time you ask a question.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: LVM reorganization [follow-up]

2008-12-21 Thread M.Lewis

Boyd Stephen Smith Jr. wrote:

On Wednesday 2008 December 17 23:30:04 M.Lewis wrote:

Boyd Stephen Smith Jr. wrote:

On Wednesday 2008 December 17 23:00:41 M.Lewis wrote:

Given a Lenny LVM setup as follows:

Is it possible to reorganize the current LVM to separate out say /var &
/tmp into their on LV?

Any free space on the VG? Or, can you make some by shrinking one of the
filesystems and then shrinking it's associated VG?

No, free space is all used in LVs. Yes, I can shrink /home easily by
10-20GB.


Then, I'd:
--- Prep ---
 1. Go down to or boot into single-user mode.
 2. Unmount /home
 3. Size down /home and then rattler/home
 4. Optional: make sure the /home filesystem is still fine -- at this point 
reverting the lv shrinking is fairly easy.
--- 
 5. Make new lvs for /var and /tmp. (BTW, if you have 1G or more, you might  
just put /tmp on tmpfs.)

 6. Make the new filesystems for /var and /tmp.
 7. If possible, remount / read-only.  If writing isbeing done to files in the 
old /var or /tmp during or after the rsync, you'll lose some of that data

 8. Mount the new /var and /tmp in the right place.
--- Data Migration ---
 9. Mount with -o bind / on /mnt.
10. Rsync /mnt/var/. to /var and /mnt/tmp/. to /tmp.
11. rm -rf /mnt/{var,tmp}/{.[!.],}*
12. Umount /mnt.
--- Finishing touches --
13. Add new /var and /tmp to /etc/fstab.
14. Reboot normally or simply walk the system up to your normal multi-user run 
level.




For those that might have been following this thread, the process has 
been completed now and all went well. Many thanks to Boyd for the 
detailed explanations along the way.


This was all brought about my my stupidly selecting auto-partitioning 
with a separate /home during the install.


The detailed steps follow (hopefully the wrapping doesn't screw up):

Boot the machine with the Knoppix Live CD
Open a shell window.
Become root.

lvm vgchange --ignorelockingfailure -P -a y	# this is done to make the 
vg 'live' on the target machine


e2fsck -f /dev/curley/home			# check consistency before starting (may be 
required by resize2fs?)
resize2fs /dev/curley/home 30G			# change the size of (fs) 
/dev/curley/home from whatever it is, to 30GB

lvreduce -L 30G /dev/curley/home# change the size of the lv to 
30G

lvcreate -L8500M -nvar curley   # make 1/2 of the new space 
into lv var
lvcreate -L8500M -ntmp curley   # make 1/2 of the new space 
into lv tmp

mkfs.ext3 -j /dev/curley/var# format the new var fs
mkfs.ext3 -j /dev/curley/tmp# format the new tmp fs

mkdir /mnt/root # make a mounting point for the 
root fs
mkdir /mnt/newtmp   # make a mounting point for the 
new tmp fs
mkdir /mnt/newvar   # make a mounting point for the 
new var fs

mount /dev/curley/root /mnt/root# mount the root fs of the 
target drive
mount /dev/curley/var /mnt/newvar   # mount the new var fs
mount /dev/curley/tmp /mnt/newtmp   # mount the new tmp fs

rsync -avH /mnt/root/var/* /mnt/newvar  # rsync oldvar to newvar
rsync -avH /mnt/root/tmp/* /mnt/newtmp  # rsync oldtmp to newtmp

rm -fr /mnt/root/var# remove old /var
rm -fr /mnt/root/tmp# remove old /tmp

edit /mnt/root/etc/fstab# add the new var & tmp 
mountings to /etc/fstab

mkdir /mnt/root/tmp # I'm not sure why this was 
necessary
chmod 1777 /mnt/root/tmp# change the perms for /tmp


--

 LISP: To call a spade a thpade.
  00:45:01 up 5 days, 22 min,  1 user,  load average: 0.00, 0.04, 0.01

 Linux Registered User #241685  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




Re: [OT]I just got a phish call!!!

2008-12-21 Thread M.Lewis


Paul Cartwright wrote:

On Sat December 20 2008, Ron Johnson wrote:

Without that explanation, which I knew already, could we safely assume
you live in a church, Ron?  ;-)

Maybe it's because I haven't had my coffee yet, but I don't
understand what you just wrote.


your original post contained Jefferson Parrish.. as in Church Parrish.. Not 
being from Louisiana they don't know that you have parrishes, not counties..




s/Parrish/Parish/g

--

 I modem, but they grew back.
  01:20:01 up 5 days, 57 min,  1 user,  load average: 0.02, 0.04, 0.04

 Linux Registered User #241685  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




Re: e2fsck /dev/md0 issues

2008-12-21 Thread M.Lewis


Boyd Stephen Smith Jr. wrote:

On Sunday 2008 December 21 15:00:44 Alex Samad wrote:

On Sun, Dec 21, 2008 at 03:44:04AM -0600, M.Lewis wrote:

Boyd Stephen Smith Jr. wrote:

On Sunday 21 December 2008, "M.Lewis"  wrote about
'Re: e2fsck /dev/md0 issues':

Maybe what I should do is break the array and start over?
Maybe that is a more drastic action than is needed though.

Yep.  You just need to resize your filesystem to the correct size, as
reported by the /dev/md0 device and suggested by my earlier email.

So all I need to do is 'resize2fs /dev/md0 244189984'. Then e2fsck
should run with no errors.

I would suggest maybe a resize2fs /dev/md0 and see what that does first?
The other question to ask is how it ended up like this.


Probably by imaging and deploying the fs with dd.  Either that or some 
ill-informed forcing of the filesystem to the larger size.


I really don't think there's anything wrong with the drives or the md device.


I wondered myself how it got that way to start with. The drives in 
question are ~ 2 months old. I can safely say that 'dd' has never been 
used on them. LVM is not installed on them.


I know at one point, the mirror was broken and reassembled, but I 
wouldn't think that would have caused the issue. Maybe so.


--

 Structured Programming supports the law of the excluded muddle.
  01:40:01 up 5 days,  1:17,  1 user,  load average: 0.01, 0.04, 0.02

 Linux Registered User #241685  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




Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-21 Thread Sven Joachim
On 2008-12-22 04:45 +0100, Zaki Akhmad wrote:

> I met this error while trying to upgrade with
>
> # apt-get upgrade
> ...

Somewhere here there should be the error message.

> ...
> ...
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.26-1-686
> Found kernel: /boot/vmlinuz-2.6.25-2-686
> Found kernel: /boot/vmlinuz-2.6.18-4-686
> Updating /boot/grub/menu.lst ... done
>
> Preparing to replace libcomerr2 1.41.2-1 (using
> .../libcomerr2_1.41.3-1_i386.deb) ...
> Unpacking replacement libcomerr2 ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Someone could give me a hint? I can't find error on /var/log/syslog

If you still have your terminal open, send the complete output of the
"apt-get upgrade" run.  Otherwise, try "apt-get upgrade" again.

Sven


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