PAE Kernel to generic

2011-08-19 Thread Sudheendra .
Dear All,

recently, I have upgraded kernel version from 2.6.32 to 2.6.39 through
synaptic on my laptop.
Now, not able to compile ALSa package as it says that no kernel module
found. after searching in google, i found out that this is because of *pae
kernel* which required for the system more than 4GB Ram.

I have 2 GB Ram and i need to switch back to generic kernel version,

how i could do that?

Regards,
Sudhi


Re: Just a Quick Question

2011-08-19 Thread Bob Proulx
RiverWind wrote:
> Ok, so I do indeed have an "ssh" server, and I am able to ssh into
> my ISP's shell account. However, I can not ssh over to my linux box.
> In other words, I can get out but not in.

Out uses ssh client.  In uses ssh server.

Start back at the list at step 4 or before and see where things work
and not work.  Then don't say "doesn't work" but instead show us
exactly the commands you are issuing and the exact output that you are
experiencing.  We can't help you otherwise.

Bob


signature.asc
Description: Digital signature


Re: How to read .so lib file

2011-08-19 Thread lina
On Fri, Aug 19, 2011 at 6:26 AM, shawn wilson  wrote:
> first, there's a #re channel on freenode that might be able to help
> you better. though, i'd first brush up on my assembly and gdb before
> looking there :)

#re channel on freenode?

>
> basically, you can link a program against a library (or find a program
> that calls a library - ldd or strace come to mind), open it up with
> gdb, run it, disassemble it, and then step through it and look at how
> registers change. but, if you have no idea what a library is for, i
> don't know how you'd link against it to start that process
>
> also, you might look at 'Lenas Reversing for Newbies' it is mainly
> windows, but same concepts.

Thanks.

>
> all that said, i have a feeling i've misunderstood your question or
> you have no idea what a linkable library is (for)?

I am afraid so. I tried to google "a linkable library".

>
> On Thu, Aug 18, 2011 at 15:36, Wayne Topa  wrote:
>>
>> On Aug 19, 2011, at 0:57, Wayne Topa  wrote:
>>
>
>> Putting this back on the list.  It is against DU Code of Conduct to reply to
>> list messages off list unless asked to.
>>
>> Others may have the same question and it is unfair to them to take it off
>> list.
>>
>>
>>
>>
>>> On 08/18/2011 12:37 PM, lina wrote:

 Hi,

 I don't know how to read the .so file under /usr/lib/

 the Binary file.

>>>
>>> Then it probably will not help you but you can read a binary file by using
>>> 'more', instead of 'less' but you wont be able to understand it.
>>
>> SORRY I missed typed I meant to write most , NOT more
>>
 Then how does someone can use some bash script or sed command work >> on
 .so file without reading it.
>>
>> They don't.  .so files are library files and users do not normally do
>> ANYTHING to them other them use them.
>>
>> Try using most filename.whatever.so to read them and you will see why I said
>> you would not understand it.
>>
>>
 I tried cat, all unreadable.
>> cat, less and more are used to read ASCII files.  see man most
>>
>> Here is a small example:
>>  most  /lib/libproc-3.2.8.so
>> 0x: 7F454C46 02010100       .ELF
>> 0x0010: 03003E00 0100 B041      ..>.°A..
>> 0x0020: 4000  801E0100      @...
>> 0x0030:  40003800 06004000 1D001C00     @.8...@.
>> 0x0040: 0100 0500       
>> 0x0050:         
>> 0x0060: 74060100  74060100      t...t...
>> 0x0070: 2000  0100 0600     .. .
>> 0x0080: 00100100  00102100      ..!.
>> 0x0090: 00102100  840D      ..!.
>> 0x00A0: 583D0100  2000      X= .
>> 0x00B0: 0200 0600 40170100      @...
>> 0x00C0: 40172100  40172100      @.!.@.!.
>> 0x00D0: E001  E001      à...à...
>> 0x00E0: 0800  0400 0400     
>> 0x00F0: 9001  9001      
>> 0x0100: 9001  2400      $...
>> 0x0110: 2400  0400      $...
>> 0x0120: 50E57464 0400 B8F7      Påtd¸÷..
>> 0x0130: B8F7  B8F7      ¸÷..¸÷..
>> 0x0140: E402  E402      ä...ä...
>> 0x0150: 0400  51E57464 0600     Qåtd
>> 0x0160:         
>> 0x0170:         
>> 0x0180:   0800      
>> 0x0190: 0400 1400 0300 474E5500     GNU.
>> 0x01A0: 0AF01829 963B92EE 4123DA14 E0EBADCE     .ð.).;.îA#Ú.àë­Î
>> 0x01B0: 2D19665C  8300 9900     -.f\
>>
>> Wayne
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
>> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>> Archive: http://lists.debian.org/4e4d69b4.2020...@gmail.com
>>
>>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/cah_obiduvyab5qby_an-u_pzsq1+pdvyvm1phyftxkfamqk...@mail.gmail.com
>
>



-- 
Best Regards,

lina


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAG9cJmmXxPGhh_Cf0u=GktfbLfav0K-e6wcJ1BMj=djtpdx...@mail.gmail.com



Re: how can I obtain the old fglrx_drv.so?

2011-08-19 Thread lina
Thanks for Camaleón and johan's advice.



2011/8/20 Johan Grönqvist :
> 2011-08-19 21:03, Camaleón skrev:
>>
>> On Thu, 18 Aug 2011 13:24:11 +0800, lina wrote:
>>
>>> can I use the old fglrx_drv.so installed before, such as the squeeze
>>> one, to substitute the new one,
>>> /usr/lib/xorg/modules/drivers/fglrx_drv.so, installed in wheezy?
>>
>
> I agree that it might not work, and I would not try it, but there are
> several versions available at
> . The .deb file is a
> compressed file, that can be opened by, e.g., the gnome archive manager, and
> there, under /usr/lib/fglrx/, there is a file named fglrx_drv.so.

I found the fglrx_drv.so from version 11-6-3 and substitute the
present 11-7- one.

something went wrong, so I came back to the new one.

There is a script I downloaded which could help to get rid of the
watermark which showed "AMD unsupported hardware".

The script is as followed, it's targeted on the old fglrx_drv.so,

#!/bin/sh
DRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.so
for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print
"\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
 sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
done

while for the version after 11-7-* when I used it, it showed:

$ ./ATI_driver_fglrx.sh
sed: -e expression #1, char 45: Unmatched [ or [^

is it possible to compare the two fglrx_drv.so, and modify this script
to fit for the new one, so can remove the water mark.

Thanks,

>
>
> / johanan
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/j2mg8h$h8s$1...@dough.gmane.org
>
>



-- 
Best Regards,

lina


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



Re: cannot find and install some dev packages

2011-08-19 Thread Johan Grönqvist

2011-08-20 06:08, H.S. skrev:

Hello.

I am trying to install the following dev packages but aptitude keeps
telling me it can't find them:
libopencv-highgui-dev
libglew1.5-dev

The package's developer information, however, lists them (I have Testing
on an amd64).

Could somebody tell me what I am missing here?



Where do you find them listed?

I find it (the first one you mention) as being available in 
experimental, not in testing, and I also see that in my package manager.


Do you have a line for experimental packages in your /etc/apt/sources.list ?

(In case you did not know, you should be careful when upgrading parts of 
your system to experimental, unless you know what you are doing.)


/ johan


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

Archive: http://lists.debian.org/j2nhgn$rcl$1...@dough.gmane.org



Re: Hardware failure: power-off

2011-08-19 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thank you very much, Camaleón!

On 08/19/2011 09:10 PM, Camaleón wrote:
> Also check the hardware monitor section of the BIOS, if possible, they 
> will give you an accurate measure. You can also check the output of "acpi 
> -V" to find out additional data for trip points (is available).
> 
> Is it a laptop or a desktop computer?

It's a laptop. I couldn't find a hardware monitor in the BIOS. Also I
can't find the 'acpi' command, not even with apt-file.

> By your explanation, yep, looks like the micro is reaching a high 
> temperature and it shutdowns to avoid damage. Keep the system running 
> with the BIOS screen opened and watch fans speed rotation and system 
> temps... and keep it so for a while to see if it also powers-off.

I opened the laptop and cleaned the fan's airduct. Then the laptop was
stable for many hours.

But. Before going to sleep, I activated a 3D screensaver. When I woke-up
the laptop had powered-off again.

When using glxgears, the CPU cores' temperature skyrockets very fast,
and the fan becomes very noisy.

I missed something, something I didn't clean. Do you think I can resolve
this on my own (I am abroad), or should I pay a technician when I get home?

- -- 
Best regards,
Panayiotis Karabassis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOT0kNAAoJEN7RcJcJCZJiM7IH/RcO+987pEPKlsPUu0RAbImt
4J+JYZTrYXe0sfCZp2h+S4Gkarg2AA1l2gEtavTISC/W6lyEVjSCVxCGzm0Ckuv8
NfyNkJIQki3dYcOxTtH3EcJ+hecMFKukZqbYsSxDBkNLrWTPlJq9vrdkRRhC/sEn
gsWWpodDPvMNzLJgf7XUKbERB3jMzQwSYX8qJYdw1Rq8Ze0YkoxlhCFVy4K5o5st
b2fxTqeDNwLWJ8PhWyBIjByB6kDdL3k97QFVgA+lu3leBzyAu2g65PCTJ6teFKO+
M/XQqV9CtdHFueoPwwQbH2NYTIKiMbdWjy4cDvX1f80nVug43NMHyHNKGsoeRXE=
=7GtV
-END PGP SIGNATURE-


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



cannot find and install some dev packages

2011-08-19 Thread H.S.
Hello.

I am trying to install the following dev packages but aptitude keeps
telling me it can't find them:
libopencv-highgui-dev
libglew1.5-dev

The package's developer information, however, lists them (I have Testing
on an amd64).

Could somebody tell me what I am missing here?

Thanks.


-- 

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j2nc0c$1n4$1...@dough.gmane.org



Re: Just a Quick Question

2011-08-19 Thread RiverWind
Ok, so I do indeed have an "ssh" server, and I am able to ssh into my 
ISP's shell account. However, I can not ssh over to my linux box. In other 
words, I can get out but not in.


Riv


Feel free to visit my website and my blog and learn more about me
and what I stand for.
My Website @ http://riverwind.shellworld.net
My Blog http://windraven13.livejournal.com/

On Fri, 19 Aug 2011, Bob Proulx wrote:


Including the mailing list back in the discussion...

RiverWind wrote:

I do not seem to have an ssh server installed on my system. How
could I get one, and how extensive would the config process bee?


Easy!

 # apt-get install openssh-server

That is all that you need to do.  The server will be configured and
started automatically.


Thanks so much for your first response; it was quite helpful to say
the least.


Glad to help.

Bob


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819232552.ga24...@hysteria.proulx.com





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

Archive: 
http://lists.debian.org/pine.bsf.4.64.1108192327410.2...@server1.shellworld.net



Re: OT questions about noscript and notscript

2011-08-19 Thread Scott Ferguson
On 20/08/11 03:50, consul tores wrote:
> 2011/8/18 Scott Ferguson :
>> On 19/08/11 04:01, Paul E Condon wrote:
>>> I'm curious about the differences between noscript and notscript.



>>
> 
> Some people think that both, could be a security risk, because they
> run under java, Is not it?
> 
> 
Wow! You don't half like to load and sophist-i-cate a question do you? :-D

Noscript does not run "under" Java.

People *can* be a security risk, but not necessarily because they run
under java.

I would not trust people who ran under flash.

Cheers

-- 
"You ever look at their faces? "We're pro-life." Don't they look it?
Don't they just exude joie de vivre?"
~ Bill Hicks


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



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Scott Ferguson
On 20/08/11 02:18, Richard Owlett wrote:
> Scott Ferguson wrote:
>> On 19/08/11 22:41, Richard Owlett wrote:


>> Of the distributions you've mentioned, with the exception of Multicore
>> which I've never heard of, all should support the US Robotics modem,
>> have dialers, can support NTFS, and will support some sorts of WiFi.
>>
> 
> But the primary problem is bootstrapping the system.

A few distros don't default boot with Thinkpads/Leveno laptops.

> 
>>>
>>> I've roamed the web for a couple of months 

Then you'll be aware of the advantages of installing Debian to a hard
drive, the various arguments about USB stick wear, and the problems
associated with using Linux to manage Windoof filesystems.

>>>(no longer sure Google is
>>> really a friend ;) I was originally referred to Ubuntu but I've come
>>> to think is fundamentally I need Debian style repository
>>
>> ?
>> Debian and Ubuntu both use Debian style repositories.
> 
> That's why I posted here. I think I was pointed to Ubuntu because my
> friend liked the "user experience". I didn't find it that great and
> sometime next year support for at least one dialer will be dropped.

Debian has different "user experiences", and, more choices. As long as
ppp continues, then dialers will be available. TTBOMK wvdial isn't about
to vanish

> 
>>
>>> , much else is negotiable.
>>>
>>>
>>
>> It "sounds" like you want to install a Debian desktop to a USB key, use
>> it to access an NTFS partition on the laptop, and, use (the laptop's)
>> wifi connection, as well as access internet via the US Robotics modem
>> (and the WiFi?)... is that correct??
> 
> Essentially.
> The desktop will connect only thru the US Robotics modem.
> The laptop will connect typically through WiFi (use the US Robotics
> modem when laptop is being used as a backup).
> 

Wasn't sure when you'd said "desktop" if you meant a machine, or an
interface.
So... you have a home machine (desktop) and a portable machine (laptop)??

And you'd like the build on the USB stick to use with both machines??

I'm assuming the laptop is the least powerful machine?
In which case build your USB stick OS for the laptop, and it should
"just work" on the Desktop machine.



>>
>> What Desktop Environment were you after?
> 
> Any GUI. I'm from era of 026's, KSR-33's, and "glass teletypes".

The more "integrated" the DE, the less choices you'll have to make about
applications.

> 
>> What tasks do you want to do on this Desktop?
> 
> Vast majority will be text based. The remainder will be using Tc/Tl or
> gnu plot. Even my use of internet will be strongly text oriented. The
> one proprietary program I will want is known to run fine under WINE.

K... so nothing that manipulates large files, or requires a lot of
resources??
And nothing that can't be done with a standard set of system tools and
desktop applications??



>> What chipset is the WiFi?
> 
> I couldn't identify it.

"WiFi" do you mean using the laptop's Bluetooth??

> 
>> What make and model is your laptop?
> 
> IBM Thinkpad (Lenovo T43)

There's a few variables with that machine
Using Windoof - what is the maximum screen resolution?
eg. 1024x768 or 1400x1050
Is that a 14.1 or 15" screen?
output from lspci will prove useful
model number?
eg. 187x, 276x, 278x


> 
>> How much RAM does your laptop have installed?
> 
> 1 GB
>>
>> Cheers
>>

If you allocate 5GB to system, leaving you up to 11 GB for /home.

With 5GB of space, and the minimum specs of the T43, you could, with a
little work, use Gnome or KDE as a desktop. Though I'd suggest something
lighter - Fluxbox, Blackbox, XFCE, fvwn, etc, etc (I mainly use KDE, so
I'll leave alternative suggestions to the more knowledgeable).

Having decided on a Desktop and applications, you will need to chose a
format.
There are two main approaches to permanently running from a USB stick -
live (and save settings), or standard (except don't have a swap).

My personal choice is standard - set your DE to no dancing bears (turn
off bling) - and don't create a swap partition. USB sticks are cheap -
backup from one stick to another regularly and you should be fine. I've
had linux installed native to a USB stick for several years without
problems so far - but others have strong beliefs on the subject of wear
levelling.

Refs:-
http://live.debian.net
http://en.wikipedia.org/wiki/Desktop_environment
http://www.thinkwiki.org/wiki/Category:T43
http://www.linux-laptop.net/ibm.html
http://www.foosel.org/linux/t43
http://wiki.debian.org/InstallingDebianOn/Thinkpad

Gather the required system info (and model number), choose a DE, pick
some applications, determine what style of installation you want.

I'm guessing you're going to want to do the actual install at the library?

Cheers

-- 
"You ever look at their faces? "We're pro-life." Don't they look it?
Don't they just exude joie de vivre?"
~ Bill Hicks


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

Re: wifi disconnection / deauthenticating from ... by local choice (reason=3)

2011-08-19 Thread Vincent Lefevre
On 2011-08-20 01:25:15 +0200, Vincent Lefevre wrote:
> I use wicd, but its logs at this time are:
> 
> 2011/08/19 01:48:46 :: attempting to set hostname with dhclient
> 2011/08/19 01:48:46 :: using dhcpcd or another supported client may work 
> better
> 2011/08/19 01:48:47 :: attempting to set hostname with dhclient
> 2011/08/19 01:48:47 :: using dhcpcd or another supported client may work 
> better

but in debug mode, wicd also writes:

2011/08/20 02:39:40 :: Forced disconnect on

So, it is the cause of the disconnection. I've reported the bug:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638591

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110820011556.ga13...@xvii.vinc17.org



Re: Just a Quick Question

2011-08-19 Thread Bob Proulx
Including the mailing list back in the discussion...

RiverWind wrote:
> I do not seem to have an ssh server installed on my system. How
> could I get one, and how extensive would the config process bee?

Easy!

  # apt-get install openssh-server

That is all that you need to do.  The server will be configured and
started automatically.

> Thanks so much for your first response; it was quite helpful to say
> the least.

Glad to help.

Bob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819232552.ga24...@hysteria.proulx.com



Re: wifi disconnection / deauthenticating from ... by local choice (reason=3)

2011-08-19 Thread Vincent Lefevre
On 2011-08-19 13:36:37 +0100, Brian wrote:
> On Fri 19 Aug 2011 at 02:18:47 +0200, Vincent Lefevre wrote:
> > Anyone knows where the following problem comes from?
> > 
> > In the last hours, I've had a wifi disconnection twice, while I had
> > never had such a problem before. Concerning the second connection and
> > disconnection (at 01:48), the kernel and dhclient logs contain:
> 
> The problem hasn't happened again?

Not yet, but I don't use the wifi very often.

> > Aug 19 01:48:46 xvii kernel: [83869.510308] wlan0: deauthenticating from
> > 00:00:c5:b4:98:74 by local choice (reason=3)
> 
> 'Reason: 3' means deauthentication took place. Some process on the
> machine has decided to do this. NM? wicd? Perhaps it did it because
> there is no address to connect to?

I use wicd, but its logs at this time are:

2011/08/19 01:48:46 :: attempting to set hostname with dhclient
2011/08/19 01:48:46 :: using dhcpcd or another supported client may work better
2011/08/19 01:48:47 :: attempting to set hostname with dhclient
2011/08/19 01:48:47 :: using dhcpcd or another supported client may work better

then when I reconnected, as usual:

2011/08/19 01:49:20 :: Connecting to wireless network vinc17
2011/08/19 01:49:20 :: attempting to set hostname with dhclient
2011/08/19 01:49:20 :: using dhcpcd or another supported client may work better
2011/08/19 01:49:20 :: attempting to set hostname with dhclient
2011/08/19 01:49:20 :: using dhcpcd or another supported client may work better
2011/08/19 01:49:21 :: Putting interface down
2011/08/19 01:49:21 :: Releasing DHCP leases...
2011/08/19 01:49:21 :: attempting to set hostname with dhclient
2011/08/19 01:49:21 :: using dhcpcd or another supported client may work better
2011/08/19 01:49:21 :: Setting false IP...
2011/08/19 01:49:21 :: Stopping wpa_supplicant
2011/08/19 01:49:21 :: Flushing the routing table...
2011/08/19 01:49:21 :: Putting interface up...
2011/08/19 01:49:23 :: Generating psk...
2011/08/19 01:49:23 :: Attempting to authenticate...
2011/08/19 01:49:24 :: Running DHCP with hostname xvii
2011/08/19 01:49:24 :: attempting to set hostname with dhclient
2011/08/19 01:49:24 :: using dhcpcd or another supported client may work better
2011/08/19 01:49:24 :: Internet Systems Consortium DHCP Client 4.1.1-P1
[...]

So, it seems that wicd wasn't responsible of the reason=3, unless
it didn't log what it did.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819232515.ga3...@xvii.vinc17.org



Re: LVM write performance

2011-08-19 Thread Stan Hoeppner
On 8/19/2011 4:38 PM, Dion Kant wrote:

> I now think I understand the "strange" behaviour for block sizes not an
> integral multiple of 4096 bytes. (Of course you guys already knew the
> answer but just didn't want to make it easy for me to find the answer.)
> 
> The newer disks today have a sector size of 4096 bytes. They may still
> be reporting 512 bytes, but this is to keep some ancient OS-es  working.
> 
> When a block write is not an integral of 4096 bytes, for example 512
> bytes, 4095 or 8191 bytes, the driver must first read the sector, modify
> it and finally write it back to the disk. This explains the bi and the
> increased number of interrupts.
> 
> I did some Google searches but did not find much. Can someone confirm
> this hypothesis?

The read-modify-write performance penalty of unaligned partitions on the
"Advanced Format" drives (4KB native sectors) is a separate unrelated issue.

As I demonstrated earlier in this thread, the performance drop seen when
using dd with block sizes less than 4KB affects traditional 512B/sector
drives as well.  If one has a misaligned partition on an Advanced Format
drive, one takes a double performance hit when dd bs is less than 4KB.

Again, everything in (x86) Linux is optimized around the 'magic' 4KB
size, including page size, filesystem block size, and LVM block size.

BTW, did you run your test with each of the elevators, as I recommended?
 Do the following, testing dd after each change.

$ echo deadline > /sys/block/sdX/queue/scheduler
$ echo noop > /sys/block/sdX/queue/scheduler
$ echo cfq > /sys/block/sdX/queue/scheduler

Also, just for fun, and interesting results, increase your read_ahead_kb
from the default 128 to 512.

$ echo 512 > /sys/block/sdX/queue/read_ahead_kb

These changes are volatile so a reboot clears them in the event you're
unable to change them back to the defaults for any reason.  This is
easily avoidable if you simply cat the files and write down the values
before changing them.  After testing, echo the default values back in.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4ee96b.4060...@hardwarefreak.com



ALSA fail on wheezy.

2011-08-19 Thread R. Clayton
I'm running testing

  $ cat /proc/version | fmt
  Linux version 3.0.0-1-686-pae (Debian 3.0.0-1) (b...@decadent.org.uk)
  (gcc version 4.5.3 (Debian 4.5.3-3) ) #1 SMP Sun Jul 24 14:27:32 UTC 2011

  $

on a ibm thinkpad a22m that's got one of these

  $ lspci | grep -i audio | fmt
  00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30
  [CrystalClear SoundFusion Audio Accelerator] (rev 01)

  $

and have installed ALSA

  $ dpkg -l | grep -i alsa
  ii  alsa-base   1.0.23+dfsg-4   ALSA driver configuration files
  ii  alsa-oss1.0.17-5ALSA wrapper for OSS applications
  ii  alsa-utils  1.0.24.2-1  Utilities for configuring and using ALSA
  ii  bluez-alsa  4.94-3  Bluetooth ALSA support
  ii  libasound2  1.0.24.1-2  shared library for ALSA applications
  ii  linux-sound-bas 1.0.23+dfsg-4   base package for ALSA and OSS sound 
systems

  $ lsmod | grep snd
  snd_cs46xx 23523  0 
  gameport   13404  1 snd_cs46xx
  snd_seq_midi   12744  0 
  snd_seq_midi_event 13124  1 snd_seq_midi
  snd_rawmidi22621  2 snd_cs46xx,snd_seq_midi
  snd_ac97_codec 84197  1 snd_cs46xx
  ac97_bus   12462  1 snd_ac97_codec
  snd_pcm53315  2 snd_cs46xx,snd_ac97_codec
  snd_seq39539  2 snd_seq_midi,snd_seq_midi_event
  snd_timer  22027  2 snd_pcm,snd_seq
  snd_seq_device 12985  3 snd_seq_midi,snd_rawmidi,snd_seq
  snd38562  8 
snd_cs46xx,snd_rawmidi,snd_ac97_codec,snd_pcm,thinkpad_acpi,snd_seq,snd_timer,snd_seq_device
  soundcore  12992  1 snd
  snd_page_alloc 12899  2 snd_cs46xx,snd_pcm

  $

But it's not working at all

  $ alsamixer
  cannot open mixer: No such file or directory

  $ ls /dev | grep -i mix

  $ aplay /usr/share/sounds/alsa/Noise.wav
  ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such file or directory
  ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned 
error: No such file or directory
  ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
  ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
  ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or 
directory
  ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
  aplay: main:660: audio open error: No such file or directory

  $ cat /proc/asound/cards
  29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
ThinkPad Console Audio Control at EC reg 0x30, fw 
unknown

  $

These commands also fail for root in the same way, and yes

  $ groups
  rclayton cdrom floppy audio dip video plugdev netdev bluetooth

  $

What is the explanation for the evident mixer and card problems, and how do I
fix them?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sjox138t@ulanbator.myhome.westell.com



Re: LVM write performance

2011-08-19 Thread Dion Kant
On 08/14/2011 02:30 PM, Dion Kant wrote:
> On 08/14/2011 01:23 PM, Dion Kant wrote:
>> Forget
>> about the previous results, they will be wrong because of libgcc stream
>> buffering and I did not check how these buffers are actually written to
>> kernel space.
> libgcc uses writev to write out an array of buffers to kernel space
>
> User bs  Actual bs
>18191
>28192
>48192
>88192
>   168192
>   328192
>   648192
>  1288192
>  2568192
>  5128192
> 10241024
> 20482048
> 40964096
> 81928192
>
> Except for writing single user bytes, libgcc does a good job in gathering the 
> data into buffers with an integral buffer size of 8192 bytes. From a user bs 
> of 1024 and further, it sticks to this buffer size for writing the data to 
> kernel space. So that explains the results I obtained with the write method 
> of ofstream. For all cases the kernel is addressed with a buffer size which 
> is an integral multiple of 4096 the performance is good.
>
> I think the one to less buffer size for the single byte case provides an 
> option for improvement of libgcc.
>
> Dion

I now think I understand the "strange" behaviour for block sizes not an
integral multiple of 4096 bytes. (Of course you guys already knew the
answer but just didn't want to make it easy for me to find the answer.)

The newer disks today have a sector size of 4096 bytes. They may still
be reporting 512 bytes, but this is to keep some ancient OS-es  working.

When a block write is not an integral of 4096 bytes, for example 512
bytes, 4095 or 8191 bytes, the driver must first read the sector, modify
it and finally write it back to the disk. This explains the bi and the
increased number of interrupts.

I did some Google searches but did not find much. Can someone confirm
this hypothesis?

Best regards,

Dion


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4ed7e2.6090...@concero.nl



Re: smbpasswd -a unsuccessful

2011-08-19 Thread Camaleón
On Fri, 19 Aug 2011 15:21:46 -0500, Kent West wrote:

> Camaleón wrote:
>> On Fri, 19 Aug 2011 15:10:15 -0500, Kent West wrote:
>>
>> (...)
>>
>>
>>> westk[@]goshen]:/home/westk:> sudo smbpasswd -a amyld New SMB
>>> password: Retype new SMB password:
>>> Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add
>>> entry for user amyld.
>>> Failed to modify password entry for user amyld
>>> 
>>> 
>> (...)
>>
>> Does the same happen when adding the user with "pdbedit"?
>>  
>>
>>
> pdbedit -a amyld
> 
> does work! 

Hey, great! :-)

> Is "pdbedit" the preferred way now instead of using "smbpasswd -a"? If
> so, I'm content with this as a fix, so long as it doesn't hurt anything
> that "smbpasswd -a" is broken.
> 
> Thanks!

I can't tell what's better or worse... last time I had to setup my samba 
users I went with pdbedit, it seemed to me more complete:

http://www.samba.org/samba/docs/man/Samba3-HOWTO/passdb.html#acctmgmttools

OTOH, both tools should work over the same user database you have setup, 
whatever it is (smbpasswd, tdbsam...).

Greetings,

-- 
Camaleón


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



Re: backlight control lost after resume - screen black after hibernate

2011-08-19 Thread Camaleón
On Fri, 19 Aug 2011 16:49:49 +0200, Stefan Rutzinger wrote:

> I run Wheezy on a quite new sony vaio PCG laptop with GeForce GT 555M
> (GF106) and a second intel 2D video card and nouveau FB.
> 
> After resume from suspend or hibernate, the backlight control gets lost.
> I still can echo and cat to /sys/class/backlight/acpi_video[0,1]/ but it
> has no effect. After a fresh boot, everything behaves as expected and
> e.g. FN-Brightness keys work well.

(...)

It can be a bug in the nouveau driver, like this:

New: Backlight off after suspend-to-disk on Powerbook   
https://bugs.freedesktop.org/show_bug.cgi?id=31120

or this one:

Brightness stuck to low value after suspend/resume
https://bugs.freedesktop.org/show_bug.cgi?id=39550

You can:

- Try blacklisting nouveau for hibernating
- Try with another driver (the nvidia closed one)

Greetings,

-- 
Camaleón


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



Re: Is there a safe way of upgrading to Xfce4.8 on stable?

2011-08-19 Thread AG

On 19/08/11 12:54, Brian wrote:

On Fri 19 Aug 2011 at 09:42:29 +0100, AG wrote:


On stable, I am currently running Xfce4.6.  I notice that in the sid
repos, Xfce4.8 is available.  Is there a safe way of upgrading to 4.8 in
a manner that will not break my system, or is it really only a matter of
waiting for Xfce4.8 to make its way through the repos to stable?

About the safest way would be via backports to Squeeze - provided
Xfce4.8 is there.

http://backports-master.debian.org/Packages/

Otherwise you have an eighteen month or so wait before stable has
anything other than Xfce4.6. Squeeze will always have Xfce4.6.



Thanks Brian

Unfortunately, it looks as if I will have to wait.  Xfce4.8 is in 
testing though, so I may work up the nerve to update to testing one of 
these days, but will otherwise just wait.


Cheers

AG


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

Archive: http://lists.debian.org/4e4ec5c9.6040...@gmail.com



Re: smbpasswd -a unsuccessful

2011-08-19 Thread Kent West

Camaleón wrote:

On Fri, 19 Aug 2011 15:10:15 -0500, Kent West wrote:

(...)

  

westk[@]goshen]:/home/westk:> sudo smbpasswd -a amyld New SMB password:
Retype new SMB password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add entry
for user amyld.
Failed to modify password entry for user amyld



(...)

Does the same happen when adding the user with "pdbedit"?
 
Greetings,


  

pdbedit -a amyld

does work! Is "pdbedit" the preferred way now instead of using 
"smbpasswd -a"? If so, I'm content with this as a fix, so long as it 
doesn't hurt anything that "smbpasswd -a" is broken.


Thanks!

--
Kent


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

Archive: http://lists.debian.org/4e4ec5da.2070...@acu.edu



Re: smbpasswd -a unsuccessful

2011-08-19 Thread Camaleón
On Fri, 19 Aug 2011 15:10:15 -0500, Kent West wrote:

(...)

> westk[@]goshen]:/home/westk:> sudo smbpasswd -a amyld New SMB password:
> Retype new SMB password:
> Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add entry
> for user amyld.
> Failed to modify password entry for user amyld

(...)

Does the same happen when adding the user with "pdbedit"?
 
Greetings,

-- 
Camaleón


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



Re: smbpasswd -a unsuccessful

2011-08-19 Thread Roberto De Oliveira
Could you send the output of testparm -v ?

-- 
Saludos,
Roberto De Oliveira


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



Re: how can I obtain the old fglrx_drv.so?

2011-08-19 Thread Johan Grönqvist

2011-08-19 21:03, Camaleón skrev:

On Thu, 18 Aug 2011 13:24:11 +0800, lina wrote:


can I use the old fglrx_drv.so installed before, such as the squeeze
one, to substitute the new one,
/usr/lib/xorg/modules/drivers/fglrx_drv.so, installed in wheezy?




I agree that it might not work, and I would not try it, but there are 
several versions available at 
. The .deb file is a 
compressed file, that can be opened by, e.g., the gnome archive manager, 
and there, under /usr/lib/fglrx/, there is a file named fglrx_drv.so.



/ johan


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

Archive: http://lists.debian.org/j2mg8h$h8s$1...@dough.gmane.org



smbpasswd -a unsuccessful

2011-08-19 Thread Kent West

kernel - 2.6.34-1-686 #1 SMP

westk[@]goshen]:/home/westk:> cat /etc/debian_version
5.0.8

westk[@]goshen]:/home/westk:> aptitude show samba
Package: samba
State: installed
Automatically installed: no
Version: 2:3.2.5-4lenny15

westk[@]goshen]:/home/westk:> sudo pdbedit -L
params.c:Parameter() - Ignoring badly formed line in configuration file: 
** To fix broken Macintosh OS/X symlinks

davey:1005:David H,,,
alex:1013:Alexander K,,,
backup:34:backup


westk[@]goshen]:/home/westk:> sudo smbpasswd -a amyld
New SMB password:
Retype new SMB password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user amyld.
Failed to modify password entry for user amyld

I've googled and found this symptom a lot (apparently related to 
deleting a/any user account from the Debian system itself breaking the 
Samba passdb.tdb file), but not a fix. It seems there was a bug that was 
fixed in version 3.3, but that's not available in the lenny archives.


If I delete /var/lib/passdb.tdb, I can then get the command to work, but 
then I've lost all my other users' access.


Thanks for any help!

--
Kent West<*)))><
http://kentwest.blogspot.com
Praise Yah! \o/



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

Archive: http://lists.debian.org/4e4ec327.5070...@acu.edu



Re: Fwd: Billion 7800N

2011-08-19 Thread Camaleón
On Thu, 18 Aug 2011 16:02:17 +1000, Heddle Weaver wrote:

> I don't know what's happening any more. I think I'm being haunted.

Greemlins are anywhere and they like computers so much, keep your eyes 
opened! X-)

> I've just reset the modem to see if I could access the modem url to set
> it up properly.

Hum... I hope the router restores fine from a reset with all the wan 
settings already predefined for your ISP. Resetting the router is not a 
task you have to do every day, just avoid to do that unless is strictly 
necessary :-)
 
> I've got four green leds up, Power; Lan; Wireless (The laptop doesn't
> have a wireless card) DSL.
> The 5th light is for 'net, and it's orange, which means no connection,
> but I'm sending this on my gmail account through that same laptop.
> 
> I'm going to need more than a pair of low-slung six-guns to get me out
> of this!

Usually, the orange light of the Internet port means the router is trying 
to get an IP for the ISP, after a reset this can be normal.

And don't worry for Gmail, this is another "beast" and does its own 
"caching magic" in the background...

Greetings,

-- 
Camaleón


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



Re: Fwd: Billion 7800N

2011-08-19 Thread Camaleón
On Thu, 18 Aug 2011 13:54:13 +1000, Heddle Weaver wrote:

> On 16 August 2011 22:12, Camaleón  wrote:

(...)

>> > --2011-08-16 06:08:23--  (try: 3)  http://192.168.1.254/ Connecting
>> > to 192.168.1.254:80... failed: Connection timed out. Retrying.
>>
>> Hum... are you sure your router is still at "192.168.1.254"?
>>
>>
> Now I'm getting this from /sbin/ifconfig:

(...)

Wait... what are those "pppx" connections? Where are they coming from? 
Are you using another device to get connected on Internet?

> And I can't see the address anywhere. Also, according to the manual, the
> mask address is supposed to be 225.25.225.0
> 
> There is something evil happening.
> I can't actually remember adjusting anything, yet the connection, far
> from good, is the best I've had so far.

The above data is very clear: your ethernet device has lost (again) its 
configuration. what I dunno is what are the remainder ppp connections :-?

Can you explain how did you connect your windows computer to Internet? 
What steps did you follow? Maybe this way we can understand what is going 
on...

Greetings,

-- 
Camaleón


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



Re: Fwd: Billion 7800N

2011-08-19 Thread Camaleón
On Thu, 18 Aug 2011 07:18:37 +1000, Heddle Weaver wrote:

> On 16 August 2011 22:12, Camaleón  wrote:

>> > weaver@Bandit:~$ su
>> > Password:
>> > Bandit:/home/weaver# wget 192.168.1.254 --2011-08-16 06:06:49--
>> > http://192.168.1.254/ Connecting to 192.168.1.254:80... failed:
>> > Connection timed out. Retrying.
>> >
>> > --2011-08-16 06:07:36--  (try: 2)  http://192.168.1.254/ Connecting
>> > to 192.168.1.254:80... failed: Connection timed out. Retrying.
>> >
>> > --2011-08-16 06:08:23--  (try: 3)  http://192.168.1.254/ Connecting
>> > to 192.168.1.254:80... failed: Connection timed out. Retrying.
>>
>> Hum... are you sure your router is still at "192.168.1.254"?
>>
>>
> Yes, because I'm still getting some connections. Every now and again, I
> get some connections I haven't been able to, e.g., This is the first
> time I've been able to get access to gmail for two days.

That's so weird. I would try with another ethernet interface (if you're 
running a laptop, there are some cheap USB to RJ-45 adapters).

>> > I'm thinking it must be something under the network config. Something
>> > in the O.S. itself that has come adrift. I'll try a reinstall. My
>> > /home partition is on an external drive, so the data is safe and a
>> > reinstall doesn't represent as much of a problem as it would
>> > otherwise.
>>
>> Reinstalling is a "no-no" in the linux ecosphere, is the last resort
>> for the brave and valiants riders (just kidding :-P)... and in this
>> case I'm afraid you won't obtain any gain in doing it. You better hang
>> in there and try to solve the mistery by yourself :-)
>>
>>
> I understand, but I notice things like the port light on a the laptop's
> ethernet outlet doesn't seem as busy as it should be and I suspect that,
> in an eight year old laptop, the main-board may have problems. This is
> beyond the Lone Ranger, or even the Silver Surfer to solve with a script
> or two. Regards,

If you're facing a hardware issue here, reinstalling won't solve so 
much ;-(. Anyway, better that reinstalling is testing a LiveCD of your 
choice, it's a less-aggressive approach.

Greetings,

-- 
Camaleón


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



Lost wifi connection

2011-08-19 Thread Stefan Rutzinger

Hello,

yet another problem. Randomly, my wifi card drops its connection. It seems 
to forget its setting but everything which can be found in the logs is 
shown below. It needs ifdown wlan0; ifup wlan0 to recover.


This seems to be related to the link quality because this occurs more 
often when the signal is poor. However it's annoying having to restart the 
network whenever the signal strength dropped just for a second.


# cat /var/log/messages
kernel: [  363.852630] cfg80211: Calling CRDA to update world regulatory
domain
kernel: [  374.473765] ADDRCONF(NETDEV_UP): wlan0:
link is not ready
kernel: [  375.484569] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready

# cat /proc/version
Linux version 3.0.0-1-amd64 (Debian 3.0.0-1) (b...@decadent.org.uk) (gcc 
version 4.5.3 (Debian 4.5.3-4) ) #1 SMP Sun Jul 24 02:24:44 UTC 2011


# lspci | grep Wi
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) (rev 01)


Does anybody know about such a behaviour?
Stefan


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

Archive: 
http://lists.debian.org/alpine.deb.2.00.1108192134080.26...@valhalla.fs.tum.de



Re: Running a script on monitor connect/disconnect

2011-08-19 Thread Camaleón
On Wed, 17 Aug 2011 22:20:21 +0200, Ralf Jung wrote:

(...)

>> Oh, I didn't know. The nvidia counterpart tool is very nice, maybe I
>> overestimate the ATI one :-)

> OTOH, the ATI driver supports xrandr 1.2 perfectly (as far as I can
> tell), so I can use the common open-source configuration tools ;-) .
> IMHO, that's better than a well-working vendor-provided tool (from all I
> read, NVidia barely supports xrandr).

(...)

And who needs xrandr if you can have the layout you want in a 
straightforward way by directly editing the xorg.conf file or by using 
nvidia-settings tool? (we are now in a loop ;-P)

>> May I ask why not using the open source driver (radeon)? For non
>> intensive 3D tasks should be just fine, in fact nowadays I'd say is the
>> best shaped VGA open source driver available.

> I'd like to run some Windows (DX9) games in wine, which works fine with
> fglrx, but last time I tried did not work at all using the open-source
> driver. Even simple games like Neverball or Supertux did not work. So,
> no go here :(

Uh? That's strange. Maybe you had a problem for getting the radeon 3D 
acceleration features enabled... did you review this list of supported 
games/cards on wine/native environment?

http://www.x.org/wiki/RadeonProgram

Greetings,

-- 
Camaleón


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



Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Doug

On 08/19/2011 06:39 AM, Scott Ferguson wrote:

On 19/08/11 19:34, Lisi wrote:

On Friday 19 August 2011 01:38:58 Scott Ferguson wrote:

For me the biggest problem is CD labels - my writing makes the reading
even harder. Now if someone created a simple system that announced the
title of any cd placed in the drive based on information burned to the
CD

Can you read Braille?

Lisi



No.
But I did try dynamo labels (once)... some-days I'm dumber than others :-(

Printed labels work. Even 12 point I can read with the magnifying sheet.
But I've added the "cd labeller"/"label reader" to my list of things
I'll do when I get time.

Cheers


Brother makes label-makers that produce very thin plastic labels on 2-layer
9/16" tape with characters at least 1/4" (6mm) high. Then you peel the tape
apart, and have an adhesive label that you can stick to a CD, or a binder,
or whatever. The model I have is called "P-Touch." I think it will also
use wider tapes and make bigger letters, I'm not sure. The characters are
black on a white background, and both upper and lower case are supported.
Input is via a small qwerty keyboard.

--doug


--
Blessed are the peacemakers...for they shall be shot at from both sides. --A. 
M. Greeley


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

Archive: http://lists.debian.org/4e4eb96f.9020...@optonline.net



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Richard Owlett

Darac Marjal wrote:

On Fri, Aug 19, 2011 at 10:31:16AM -0500, Richard Owlett wrote:

Rob Owens wrote:

On Fri, Aug 19, 2011 at 07:41:57AM -0500, Richard Owlett wrote:

I'm currently a Windows user who's trying to escape.


[cut]


My goal is to sit down at keyboard and not be able to tell whether
Linux resided on a USB stick or on the hard drive (cf the old AI
goal of having computer indistinguishable from human.)


For the record, it is possible to install a full-fledged Linux
distribution onto a USB stick. That way, it truly is indistinguishable
(I'm assuming we're ignoring things like the USB stick flashing at you
- what matters is the user experience).

However, it's not really recommended. USB keys are slow and unreliable
compared to hard drives.



Sounds like a Microsoft exec - we know better




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

Archive: http://lists.debian.org/4e4eb6c6.7040...@pcnetinc.com



Re: Hardware failure: power-off

2011-08-19 Thread Camaleón
On Fri, 19 Aug 2011 07:46:55 +0200, Panayiotis Karabassis wrote:

> This is almost certainly a hardware problem, but I think readers of this
> list are knowledgeable enough to help me.
> 
> My laptop shuts down at unexpected times. There are no messages in the
> logs at the time of shutdown, but there are some ACPI failures at boot
> time.
> 
> When the power-off occurs, if I reboot the computer, another power-off
> occurs very shortly, and so on. It seems I have to let the computer
> "cool down" for a while, so I suspect this may be temperature related.
> 
> I have started monitoring the laptop temperatures through the
> sensors-applet package, and they seem to be within ranges.

Also check the hardware monitor section of the BIOS, if possible, they 
will give you an accurate measure. You can also check the output of "acpi 
-V" to find out additional data for trip points (is available).

Is it a laptop or a desktop computer?
 
> Also the power-off are less likely, if gdm3 has managed to start.
> 
> I appreciate any advice.

By your explanation, yep, looks like the micro is reaching a high 
temperature and it shutdowns to avoid damage. Keep the system running 
with the BIOS screen opened and watch fans speed rotation and system 
temps... and keep it so for a while to see if it also powers-off.

Greetings,

-- 
Camaleón


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



Re: Just a Quick Question

2011-08-19 Thread Bob Proulx
RiverWind wrote:
> I used to be able to "ssh" from my shellworld account into my Linux
> box before I got the latest version of the squeeze disk. I am not
> able to do so now. Exactly what needs to be set up or in place in
> order for me to once again be able to access my Linux box via "ssh"
> or "telnet" from another site?

1. Ensure that openssh-server is installed.

$ dpkg -l openssh-server
ii  openssh-server 1:5.8p1-7  secure shell (SSH) server ...

2. Ensure that sshd is listening on port 22.

$ netstat -na | grep '0.0.0.0:22'
tcp0  0 0.0.0.0:22  0.0.0.0:*LISTEN

3. Ensure that you can connect to the sshd port from the local host.
   Do this on the local host.

$ telnet localhost 22
...
Escape character is '^]'.
SSH-2.0-OpenSSH_5.8p1 Debian-7
^]<-- Use Control-] to escape
telnet> quit  <-- Then type quit to exit

4. Ensure that you can connect to the sshd port from the remote host.
   Do this from the remote host.

$ telnet yourlinuxhost 22
...same as above...  ...escape to command prompt and quit ...

   If that fails look for a firewall that is blocking the connection.

# less /var/log/kern.log

5. Ensure that you can ssh to the remote host.
   Do this on the remote host.

$ ssh yourlinuxhost

6. Increase debug level.  Use one or two -v's to increase verbosity.

$ ssh -v yourlinuxhost

7. Look in /var/log/auth.log on host to determine why sshd failed.

# less /var/log/auth.log

8. Start your own debugging version of sshd and see all messages
   inline.

# /usr/sbin/sshd -d -p    <-- On the local host.
$ ssh -p  yourlinuxhost   <-- On the remote host.

If any of the above steps fail then stop there and fix that part
before proceeding further.

Bob


signature.asc
Description: Digital signature


Re: how can I obtain the old fglrx_drv.so?

2011-08-19 Thread Camaleón
On Thu, 18 Aug 2011 13:24:11 +0800, lina wrote:

> can I use the old fglrx_drv.so installed before, such as the squeeze
> one, to substitute the new one,
> /usr/lib/xorg/modules/drivers/fglrx_drv.so, installed in wheezy?

Why you want the old version? I dunno if that will work...

> how can I obtain the old one if I don't want to install the whole.

That's the closed sourced ATI drivers, right? Then it should be in the 
non-free repos:

http://ftp.de.debian.org/debian/pool/non-free/

Greetings,

-- 
Camaleón


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



All GNUstep-based graphical apps fault with SIGSEGV

2011-08-19 Thread Vecu BOSSEUR
Hello, the List.

I run Debian Wheezy (testing) on amd64 and with a few packages from
Sid (unstable), i.e. the kernel.

All GNUstep-based graphical apps fault with SIGSEGV ; if I try lets
say AClock, I get:

[ WITH libpixman-1-0 0.22.2-1 ]

testr@valentin-laptop:~$ AClock
Segmentation fault
testr@valentin-laptop:~$

And dmesg says:

AClock[28182]: segfault at 8 ip 7f06f8208c5e sp 7fff532feeb0
error 4 in libpixman-1.so.0.22.2[7f06f81d6000+6f000]

[/ WITH libpixman-1-0 0.22.2-1 ]


[ WITH libpixman-1-0 0.23.2-1 ]

testr@valentin-laptop:~$ AClock
Segmentation fault
testr@valentin-laptop:~$

AClock[29355]: segfault at 8 ip 7f40357dfac3 sp 7fffb565e840
error 4 in libpixman-1.so.0.23.2[7f40357ab000+73000]

[/ WITH libpixman-1-0 0.23.2-1 ]

But this bug happens with all GNUstep-based graphical apps. I've not
been able to install GNUstep from experimental.

I hesitate to file a bug report on Debian BTS because one can suspect
the bug be in "gnustep-back0.18-cairo", "libcairo2", or
"libpixman-1-0" for example.

I've made traces of AClock (aclock.app package) using 'strace' and
'strace' tools, and I've made both partial and full core dumps.

Here follows the listing of my core files I can upload somewhere upon request.

testr@valentin-laptop:~$ ls -l core_AClock\=aclock.app_*
-r 1 testr testr   8708096 18 août  17:04
core_AClock=aclock.app_DEFAULT_libpixman_0.22.2-1
-r--r--r-- 1 testr testr   1309463 18 août  17:12
core_AClock=aclock.app_DEFAULT_libpixman_0.22.2-1.tar.bz2
-r 1 testr testr   8744960 18 août  17:07
core_AClock=aclock.app_DEFAULT_libpixman_0.23.2-1
-r--r--r-- 1 testr testr   1297619 18 août  17:12
core_AClock=aclock.app_DEFAULT_libpixman_0.23.2-1.tar.bz2
-r 1 testr testr 141176832 18 août  17:01
core_AClock=aclock.app_FULL_libpixman_0.22.2-1
-r--r--r-- 1 testr testr  10614028 18 août  17:12
core_AClock=aclock.app_FULL_libpixman_0.22.2-1.tar.bz2
-r 1 testr testr 141225984 18 août  16:56
core_AClock=aclock.app_FULL_libpixman_0.23.2-1
-r--r--r-- 1 testr testr  10582652 18 août  17:12
core_AClock=aclock.app_FULL_libpixman_0.23.2-1.tar.bz2
testr@valentin-laptop:~$

Are you affected too by tis bug ?

Please, tell me what I can do to help sort this problem out.

You can find the "ltrace" trace in appendix.

I can't join the "strace" trace nor publish it on paste.debian.org
because of its size.

I you want the "strace" trace or any of the 4 aforementioned core
dumps, please ask me them directly at :
vecu.boss...@gmail.com

Sincerely,
Valentin QUEQUET

APPENDIX:

testr@valentin-laptop:~$ cat AClock.ltrace.txt
__libc_start_main(0x401320, 1, 0x7fffeacd43e8, 0x407340, 0x407330

__objc_exec_class(0x60e3c0, 0x7fffeacd43e8, 0x7fffeacd43f8, 0,
0x7fc5a3cf6320) = 0
__objc_exec_class(0x60bbc0, 0, 0x1182060, 0, 0x1229890) = 0
__objc_exec_class(0x609640, 0, 0x1182060, 0, 0x121de70) = 0
objc_get_class(0x407424, 0x7fffeacd43e8, 0x7fffeacd43f8, 0, 116) =
0x7fc5a4b9cea0
objc_msg_lookup(0x7fc5a4b9cea0, 0x6095e0, 0x407434, 0x407424, 108) =
0x7fc5a4760910
objc_get_class(0x407436, 272, 0, 0x7fc5a45c82a0, 0x7fc5a3cf6fc8) =
0x7fc5a52b0860
objc_msg_lookup(0x7fc5a52b0860, 0x6095f0, 0x407442, 0x407436, 110) =
0x7fc5a4e45b10
objc_msg_lookup(0x12def70, 0x609600, 0, 0x170001, 1) = 0x7fc5a4e460e0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
testr@valentin-laptop:~$


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



Re: pdfedit

2011-08-19 Thread Camaleón
On Wed, 17 Aug 2011 18:03:20 -0400, Rick Pasotto wrote:

> I have a pdf document that I would like to add two lines of text to
> (different positions, different fonts). Under the 'Page' menu I see an
> icon for adding text but it is greyed out. I don't see that icon
> anywhere else on the screen.

Check first if the PDF is not encrypted nor secured in any way, maybe you 
are facing a simple problem of locked options here.

Anyway, there is a brief how-to for the most used options in howtoforge:

http://www.howtoforge.com/editing_pdf_files_pdfedit_ubuntu_feisty_p2

Greetings,

-- 
Camaleón


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



Re: bugs with debian small install

2011-08-19 Thread Camaleón
On Wed, 17 Aug 2011 05:28:44 -0400, Scott Reagan wrote:

> I tried to install the small verion of debian, the 32 bit version and it
> wouldn't read my dvd rom so I couldn't finish the install. please help.
> I really want this os system and have heard great things about it.

You can try to install from an USB device.

Greetings,

-- 
Camaleón


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



Re: 2TB file system

2011-08-19 Thread Camaleón
On Wed, 17 Aug 2011 07:11:12 -0500, Stan Hoeppner wrote:

> On 8/16/2011 12:30 PM, Camaleón wrote:
> 
>> A single volume of 2 TiB is very big (and big file systems are more
>> prone to errors and hard to recover in the event of a corruption...
>> fsck can take... ages? :-P).
> 
> I've never seen a correlation between filesystem size and probability of
> FS corruption.  FS corruptions are always due to singular events, such
> as hardware failures and kernel bugs, neither of which correlate to
> filesystem size.  Thus, this is a non issue.

It is a issue if your single volume is corrupted, the bigger it is the 
more files can store and the more files you can lose, don't find strange 
reasons for the above statement, it was just a simple equation. I don't 
like partitioning so much but having a single 2 TiB volumen is nothing I 
would do (without additional measures, I mean, RAID or LVM underneath).

> EXT3/4, XFS, JFS are all journaling filesystems.  Thus the need to
> manually run a check will be very rare, especially in the case of XFS.
> Thus I wouldn't shy away from a single 2TB filesystem.  The average XFS
> filesystem size of machines in the wild today is well over 20TB.  There
> are many multi-hundred terabyte XFS filesystems in existence, and there
> exist CXFS filesystems over 1 petabyte.

ReiserFS is another journaled file system and does the fsck quite well (I 
mean, fast and when it finds inconsistencies, not arbitrarily).

>> Also, if you plan to host specifically multimedia files you could
>> consider using XFS instead, I've been told is very good for such
>> purpose ;-)
> 
> It is.  But keep in mind that XFS is not a filesystem for noobies--not
> plug 'n chug.  One need take some time to learn XFS.  For instance,
> fsck.xfs doesn't exist.  The proper command is "xfs_check" or
> "xfs_repair -n".  This is but one example of why "learn then do" is the
> way to go, not the other way around.

Many people have had to learn in the last years how to tweak ext4 to 
avoid file system corruption and data loss... I mean, learning how stuff 
works is a linux user must, nothing new.

Greetings,

-- 
Camaleón


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



Re: 2TB file system

2011-08-19 Thread Camaleón
On Wed, 17 Aug 2011 01:11:32 +0200, Eduard Bloch wrote:

> #include 
> * Camaleón [Tue, Aug 16 2011, 05:30:07PM]:
>> On Tue, 16 Aug 2011 12:31:53 -0400, Rick Pasotto wrote:
>> 
>> > I recently acquired a 2TB SATA HD that I have not yet installed. It
>> > will be used entirely to store media files. Would there be any
>> > problems in
> ^
> 
>> > Any other considerations?
>> 
>> Hum... Reconsider partitioning or even reconsider the file system.
> 
> That really depends on what "media files" means. It can be anything,
> from 2MiB music files to 200GiB raw video streams.
> 
> For many, many thousands of small files, smaller partitions make sense.
> But for other cases... is it really worth it?

That's why I said he should reconsider the filesystem to use. There are 
better options for specific requirements, right? 

(sigh...) 

Multimedia files + a unique 2 TiB file system tends to mean that the user 
is going to store very big files on it and that's the target of XFS, but 
who knows what are the OP thoughts. My mind-reader device is a bit 
limited...

>> A single volume of 2 TiB is very big (and big file systems are more
>> prone to errors and hard to recover in the event of a corruption...
>> fsck can take... ages? :-P).
> 
> You blatantly ignore the real question... why would fsck take ages?
> Because of the file count or because of the overall data size?

I don't mind the why but the fact it takes almost 10 minutes for a volume 
of 500 GiB that is only used for backup files. ReiserFS does a better job 
when it comes to fsck, is very fast.
 
>> Also, if you plan to host specifically multimedia files you could
>> consider using XFS instead, I've been told is very good for such
>> purpose ;-)
> 
> I have been told many things, and some of them aren't something you
> should believe if you want to stay sane and healthy.

Sorry, but what you believe or not is nothing I really care about, sir.

Greetings,

-- 
Camaleón


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



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Rob Owens
On Fri, Aug 19, 2011 at 10:31:16AM -0500, Richard Owlett wrote:
> Rob Owens wrote:
> >Did you know that most live USB systems can use a mode called
> >"persistence" that allows you to install new software?
> 
> I heard _of_ "persistence" when I first attempted to use Ubuntu.
> I'm not sure if that is quite what I'm aiming at. I encountered it
> when I discovered that changes to display preferences did not hold
> across sessions. I *THINK* I followed instructions to use
> "persistence". It was unsuccessful ;(
> 
> My goal is to sit down at keyboard and not be able to tell whether
> Linux resided on a USB stick or on the hard drive (cf the old AI
> goal of having computer indistinguishable from human.)
> 
Persistence will give you this (except that performance is slightly
slower from USB than from a hard drive).  For Debian Live, set it up
something like this:

1)  download or build an image
2)  dd if=image.iso of=/dev/sdX (your usb stick)
3)  fdisk /dev/sdX
3a) create a new partition in the empty space on your usb stick
4)  mkfs.ext4 -L live-rw /dev/sdX2
5)  boot your usb stick with the parameter "persistent"
5a) optionally change the /syslinux/live.cfg to permanently include
"persistent" as a boot paramenter

Note:  in step 4, it is critical to label the partition "live-rw" --
that's what makes it work.

> >
> >With Debian Live, you should be able to install a dialer (kppp is one
> >that comes to mind).
> 
> Chuckle - it's the "chicken and egg" problem.
> My starting point is I have to take my Windows laptop to local
> library for high speed access. The nearest known LUG is >200 miles
> away (am in rural SW Missouri). Then I need either to identify an
> iso with active dialer OR have a way to download the dialer and
> dependencies using Windows.
> 
If you've got a broadcom wifi card, you'll need firmware-b43-installer,
which depends on b43-fwcutter.  You can download them from
packages.debian.org.  I think b43-fwcutter might download firmware files
when it is run, so you'll need to try to fetch those ahead of time, too.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819182359.ga18...@aurora.owens.net



Just a Quick Question

2011-08-19 Thread RiverWind


Hey There,

I used to be able to "ssh" from my shellworld account into my Linux
box before I got the latest version of the squeeze disk. I am not
able to do so now. Exactly what needs to be set up or in place in
order for me to once again be able to access my Linux box via "ssh"
or "telnet" from another site?

I need to be able to do this if I am going to be able to set up my
email so that it will work with Alpine. This is because I am much
more comfortable with using Jaws for DOS as apposed to using Orca's
speech package.

I really would need to know the entire procedure. After having a
more comfortable work environment, I will then be able to work more
freely with my Linux system, as I learn the os.

As always, thanks so much in advance.

cheerio,
Riv

Feel free to visit my website and my blog and learn more about me
and what I stand for.
My Website @ http://riverwind.shellworld.net
My Blog http://windraven13.livejournal.com/


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

Archive: 
http://lists.debian.org/pine.bsf.4.64.1108191420001.88...@server1.shellworld.net



Re: How to add a driver to kernel

2011-08-19 Thread shawn wilson
http://www.lmgtfy.com/?q=linux+compile+driver

The first link I get answers your question directly. However, I highly doubt
you need to compile this...
On Aug 19, 2011 1:57 PM, "abdelkader belahcene" 
wrote:
> Hi every body
> I got a driver for networking ( the c code) i want to add it to the kernel
> before compiling the kernel.
>
> How to do it.
> Is it enough to put the code in the directory src/linux-2.6.39/drivers/net
> and run the compilation procedure.
>
> Or I have to declare somewhere the name, in order that menuconfig can find
> it??
>
> thanks for help


How to add a driver to kernel

2011-08-19 Thread abdelkader belahcene
Hi every body
I got a driver for networking   ( the c code) i want to add it to the kernel
before compiling the kernel.

How to do it.
Is it enough to put the code in the directory  src/linux-2.6.39/drivers/net
and run the compilation procedure.

Or I have to declare somewhere the name, in order that menuconfig can find
it??

thanks for help


Re: OT questions about noscript and notscript

2011-08-19 Thread consul tores
2011/8/18 Scott Ferguson :
> On 19/08/11 04:01, Paul E Condon wrote:
>> I'm curious about the differences between noscript and notscript.
>> I ask here because this is the list on which I discovered the
>> existence of (and the need for) these add-ons to web browsers.
>
> 
> NotScripts uses a unique and novel method to provide this “NoScript”
> like functionality in Google Chrome that was not previously possible. It
> introduces a break through technique of intelligent HTML5 storage
> caching to over come the limitations in Google Chrome that prevented an
> extension like this from being made before. This is one of the key
> extensions that many people have been waiting for since Google Chrome
> came out.
>
> NotScripts is inspired by the “NoScript” addon for Firefox and seeks to
> emulate it within the limitations of the Google Chrome extensions
> API:-
> http://optimalcycling.com/other-projects/notscripts/
>
> NOTE: "unique" and "novel" are sometimes synonyms for "interesting" and
> "unusual".
> eg. Setting yourself on fire is a unique, novel, and interesting way of
> seeing in the dark.
>
>>
>> 1. There seems not to be a direct, feature for feature add-on to
>> Chrome that corresponds to noscript for Iceweasel. Correct?
>
> Yes.
>
> Apparently - "The reason is very simple: Chrome is still lacking the
> required infrastructure for selective script disablement and object
> blocking.":-
> http://hackademix.net/2009/12/10/why-chrome-has-no-noscript/
>
>
>>
>> 2. Setup of notscript involves choosing a rather long password.
>> There is no such requirement in noscript for iceweasel. Correct?
>
> Correct.
> Noscript uses other, less novel and unique methods of keeping the
> blocking rules from being read or altered by site scripts
>
> Refs:-
> http://noscript.net/
> http://en.wikipedia.org/wiki/NoScript
>
>>
>> 3. Is this difference because there features in chrome that have
>> no analog in iceweasel, and blocking these requires something
>> extra? 
>
> Yes. (and Opera, where notscript is also used)
> Refs:-
> http://hackademix.net/2009/12/10/why-chrome-has-no-noscript/
>
>>
>> It seems one needs to have quite a long password (>20char). But
>> one can be somewhat relaxed about the way it is stored. Correct?
>
> Yes
>
>> Is there a discussion of this situation somewhere that is written
>> in natural language English?
>
> Barely.
>
> Where?
>
> [Readable]
> http://www.ghacks.net/2010/08/18/notscript-brings-noscript-functionality-to-google-chrome/
> [Official gibberish] http://optimalcycling.com/other-projects/notscripts/
>
>>
>> I come to this question being with a mostly obsolete vocabulary
>> of words about the Internet. Is there a well maintained glossary
>> of terms somewhere? One that includes historical usage as well
>> as the most recent buzz? (so I can track new vs. what was once
>> new, long ago)
>
> Too hard. Pass :-)
>
>>
>>
>> TIA
>
> Hope that helps answer the questions you asked.
>
> To the questions you failed to ask:-
> Does Notscript work?, Why not? and Why bother? the answers are:-
> ;"barely" (for the moment)*1
> ; "Maybe because Chrome is a Google product, and you viewing
> advertisements is part of Google's core business".
> ;"I have no idea"
>
> Cheers
>
> [*1] It's a css look-a-like hack.
>

Some people think that both, could be a security risk, because they
run under java, Is not it?


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



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Brian
On Fri 19 Aug 2011 at 10:31:16 -0500, Richard Owlett wrote:

> Rob Owens wrote:
>>
>> With Debian Live, you should be able to install a dialer (kppp is one
>> that comes to mind).
>
> Chuckle - it's the "chicken and egg" problem.
> My starting point is I have to take my Windows laptop to local library 
> for high speed access. The nearest known LUG is >200 miles away (am in 
> rural SW Missouri). Then I need either to identify an iso with active 
> dialer OR have a way to download the dialer and dependencies using 
> Windows.

Apart from being bandwidth challenged at home your situation is no
different from anyone else's who installs Debian to a USB stick.

Choose an iso image. You already know how to put it on a USB device and
boot successfully from it. In Debian download the packages you know from
your research are needed to get the modem going. kppp has been
suggested.  I'd add wvdial amd pppconfig to the list.

>> Depending on your wifi card, you may need to
>> install special packages and/or enable the non-free repos.
>
> Assumed. My tests have established that there is at least one driver  
> minimally compatible with my hardware. If I can get either working, the 
> other can be bootstrapped.

lspci or lsusb (in Debian) will tell you how to proceed with wifi.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819164214.GM14528@desktop



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Darac Marjal
On Fri, Aug 19, 2011 at 10:31:16AM -0500, Richard Owlett wrote:
> Rob Owens wrote:
> >On Fri, Aug 19, 2011 at 07:41:57AM -0500, Richard Owlett wrote:
> >>I'm currently a Windows user who's trying to escape.
> >>
[cut]
> 
> My goal is to sit down at keyboard and not be able to tell whether
> Linux resided on a USB stick or on the hard drive (cf the old AI
> goal of having computer indistinguishable from human.)

For the record, it is possible to install a full-fledged Linux
distribution onto a USB stick. That way, it truly is indistinguishable
(I'm assuming we're ignoring things like the USB stick flashing at you
- what matters is the user experience).

However, it's not really recommended. USB keys are slow and unreliable
compared to hard drives.


-- 
Darac Marjal


signature.asc
Description: Digital signature


Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Richard Owlett

Scott Ferguson wrote:

On 19/08/11 22:41, Richard Owlett wrote:

I'm currently a Windows user who's trying to escape.

I have an unusual batch of constraints: 1. It must reside
*completely* on a USB stick and be able to read/write an existing
NTFS hard drive. 2. It must be able to connect thru a USB modem,
USROBOTICS USR5637. a. It will be used on a desktop ( *NO* high speed
internet ever _available_ ) and on a laptop (WIFI equipped) which
will often need dial-up.

I've experimented with "live editions" to determine hardware
functionality. As a permanent solution - DOA!

Using YUMI-0.0.2.5 I've tried:
debian-live-6.0.1-i386-lxde-desktop.iso
ubuntu-10.10-desktop-i386.iso lupu-525.iso multicore_3.7.1.iso Using
Unetbootin I tried: linuxmint-11-gnome-cd-nocodecs-32bit.iso

All but Multicore had lsusb available and recognized the USB modem.
Only Puppy had a dialer - it could connect but repeatedly dropped
carrier for unknown cause.


Exit codes would be useful (in future)


Agreed. All I was trying to communicate was Puppy could communicate 
with the modem. It used some default settings and I've not checked 
to see if compatible with my ISP.






Mint and Multicore recognized the laptop
had WIFI capability - a protected WIFI system is nearby.


Of the distributions you've mentioned, with the exception of Multicore
which I've never heard of, all should support the US Robotics modem,
have dialers, can support NTFS, and will support some sorts of WiFi.



But the primary problem is bootstrapping the system.



I've roamed the web for a couple of months (no longer sure Google is
really a friend ;) I was originally referred to Ubuntu but I've come
to think is fundamentally I need Debian style repository


?
Debian and Ubuntu both use Debian style repositories.


That's why I posted here. I think I was pointed to Ubuntu because my 
friend liked the "user experience". I didn't find it that great and 
sometime next year support for at least one dialer will be dropped.





, much else is negotiable.




It "sounds" like you want to install a Debian desktop to a USB key, use
it to access an NTFS partition on the laptop, and, use (the laptop's)
wifi connection, as well as access internet via the US Robotics modem
(and the WiFi?)... is that correct??


Essentially.
The desktop will connect only thru the US Robotics modem.
The laptop will connect typically through WiFi (use the US Robotics 
modem when laptop is being used as a backup).





Debian can do all of those things. (conditionally). Ideally you'd kick
Windoof to an external device instead of handicapping Debian, your
choice... what you want might require some compromises, your answers to
the following will help us make suggestions.


Eventually Windows will take its place in my personal museum, right 
next to my Kaypro 10 (a CPM-80 machine ;).


What Desktop Environment were you after?


Any GUI. I'm from era of 026's, KSR-33's, and "glass teletypes".


What tasks do you want to do on this Desktop?


Vast majority will be text based. The remainder will be using Tc/Tl 
or gnu plot. Even my use of internet will be strongly text oriented. 
The one proprietary program I will want is known to run fine under WINE.



How big is your USB stick?


Most of mine are 16 GB.


What chipset is the WiFi?


I couldn't identify it.


What make and model is your laptop?


IBM Thinkpad (Lenovo T43)


How much RAM does your laptop have installed?


1 GB


Cheers





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

Archive: http://lists.debian.org/4e4e8ce3.9010...@pcnetinc.com



Re: UUID updates for dmcrypt/luks

2011-08-19 Thread Christian Jaeger
PS. some random observations from my time spent with the above:

- busybox (which is used in initrd) *does* respect "set -x", but
(unlike bash) it does *not* pass it on to subshells. Could that be
fixed?

- because of this, you need to first add "set -x" just to ./init in
the initrd, then you see the last script that ran, then add "set -x"
to that script, too. Needless to say that since each change requires a
reboot into GRML (and opening crypt loops and filesystems) each time,
that's time intensive.

- the "debug" kernel option (mentioned in some of the manpages related
to initrd, advertised as creating a file in the dev tmpfs) actually
increases kernel verbosity to the console, too (to the point of
loosing the set -x messages, so I had to boot without "debug")

- actually I seem to have been wrong about the initrd hanging
'indefinitely' and ctl-c getting me to a shell: ctl-c does not work,
but seems in both cases I booted I just waited +- exactly as long as
to time out, which is about 5 minutes. (In older installations (when
Sarge was sid) the timeout was shorter somehow.) Why doesn't ctl-c
stop the wait? Could that be fixed, please?

It would be awesome if the first and last of these things could be
improved. Maybe I should file bug reports.

Christian.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAEjYwfXJ01qiw-JJnkrN=PWvPh5uoHOcL=yv4jhrfsvznmg...@mail.gmail.com



Re: UUID updates for dmcrypt/luks

2011-08-19 Thread Christian Jaeger
2011/8/19 tv.deb...@googlemail.com :
> Hi, maybe you should have updated the initramfs too (update-initramfs).

I've done that, too, just forgot to mention it. So there's still some
other problem.

Well, found the problem now:

I've been using "file -s /dev/XXX" to get the UUID. But that truncates
the UUID (in cases where output would exceed n characters?). *Sigh*.
Works now.

> But from the beginning you could have reverted the newly created
> partitions uuid's to the old ones, for instance with "tune2fs -U
> old_uuid /new/partition", this way no need to modify fstab, grub,
> initramfs and whatnot.

Ah, thanks; good to know for next time (if I'll remember; I've started
using Linux long before uuids were being used, so my brain is wired
the old way where my doing would have worked without issue; note to
self: need to change wiring).

Christian.


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



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Richard Owlett

Rob Owens wrote:

On Fri, Aug 19, 2011 at 07:41:57AM -0500, Richard Owlett wrote:

I'm currently a Windows user who's trying to escape.

I have an unusual batch of constraints:
1. It must reside *completely* on a USB stick and be able to
read/write an existing NTFS hard drive.
2. It must be able to connect thru a USB modem, USROBOTICS USR5637.
a. It will be used on a desktop ( *NO* high speed internet
   ever _available_ ) and on a laptop (WIFI equipped) which
   will often need dial-up.

I've experimented with "live editions" to determine hardware
functionality. As a permanent solution - DOA!

Using YUMI-0.0.2.5 I've tried:
   debian-live-6.0.1-i386-lxde-desktop.iso
   ubuntu-10.10-desktop-i386.iso
   lupu-525.iso
   multicore_3.7.1.iso
Using Unetbootin I tried:
   linuxmint-11-gnome-cd-nocodecs-32bit.iso

All but Multicore had lsusb available and recognized the USB modem.
Only Puppy had a dialer - it could connect but repeatedly dropped
carrier for unknown cause.
Mint and Multicore recognized the laptop had WIFI capability - a
protected WIFI system is nearby.

I've roamed the web for a couple of months (no longer sure Google is
really a friend ;) I was originally referred to Ubuntu but I've come
to think is fundamentally I need Debian style repository , much else
is negotiable.





Did you know that most live USB systems can use a mode called
"persistence" that allows you to install new software?


I heard _of_ "persistence" when I first attempted to use Ubuntu.
I'm not sure if that is quite what I'm aiming at. I encountered it 
when I discovered that changes to display preferences did not hold 
across sessions. I *THINK* I followed instructions to use 
"persistence". It was unsuccessful ;(


My goal is to sit down at keyboard and not be able to tell whether 
Linux resided on a USB stick or on the hard drive (cf the old AI 
goal of having computer indistinguishable from human.)




With Debian Live, you should be able to install a dialer (kppp is one
that comes to mind).


Chuckle - it's the "chicken and egg" problem.
My starting point is I have to take my Windows laptop to local 
library for high speed access. The nearest known LUG is >200 miles 
away (am in rural SW Missouri). Then I need either to identify an 
iso with active dialer OR have a way to download the dialer and 
dependencies using Windows.



Depending on your wifi card, you may need to
install special packages and/or enable the non-free repos.


Assumed. My tests have established that there is at least one driver 
minimally compatible with my hardware. If I can get either working, 
the other can be bootstrapped.



ntfs-3g is
the package that enables read/write to NTFS.

-Rob






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

Archive: http://lists.debian.org/4e4e81c4.4000...@pcnetinc.com



backlight control lost after resume - screen black after hibernate

2011-08-19 Thread Stefan Rutzinger

Hello,

I run Wheezy on a quite new sony vaio PCG laptop with GeForce GT 555M 
(GF106) and a second intel 2D video card and nouveau FB.


After resume from suspend or hibernate, the backlight control gets lost. I 
still can echo and cat to /sys/class/backlight/acpi_video[0,1]/ but it has 
no effect. After a fresh boot, everything behaves as expected and e.g.

FN-Brightness keys work well.

This is especially annoying since at hibernate-resume the backlight is 
switched _off_ and there is no way to switch it back on anymore. It is 
actually off which can be seen when the memory is restored from disk and 
the cursor is blinking in the corner, one can see a slight shine at the 
edges of the display which disapperas immediately after.


The system however is resumed and working, it can be "shutdown -r now" 
'blind' or be accessed by ssh.


There are a lot of descriptions about the backlight not being restored to 
the correct value but there is nothing about the /sys/../backlight branch 
being without function after resume at all.


Any Ideas?
Stefan


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

Archive: 
http://lists.debian.org/alpine.deb.2.00.1108191606120.23...@valhalla.fs.tum.de



Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Lisi
On Friday 19 August 2011 11:34:01 Scott Ferguson wrote:
> > Vinux is virtually useless [snip]  In fact, I
> > agree with you that it is unusable.
>
> I was over-dramatising - it has some uses:-
> ;drink coaster
> ;memory aid for recalling slavic words that end in hard consonants.
> ;decongestant (it loosens phlegm)
> ;could be useful if you suffer from very low blood pressure
> ;cure for constipation

:-)

Lisi



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



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Scott Ferguson
On 19/08/11 22:41, Richard Owlett wrote:
> I'm currently a Windows user who's trying to escape.
> 
> I have an unusual batch of constraints: 1. It must reside
> *completely* on a USB stick and be able to read/write an existing
> NTFS hard drive. 2. It must be able to connect thru a USB modem,
> USROBOTICS USR5637. a. It will be used on a desktop ( *NO* high speed
> internet ever _available_ ) and on a laptop (WIFI equipped) which 
> will often need dial-up.
> 
> I've experimented with "live editions" to determine hardware 
> functionality. As a permanent solution - DOA!
> 
> Using YUMI-0.0.2.5 I've tried: 
> debian-live-6.0.1-i386-lxde-desktop.iso 
> ubuntu-10.10-desktop-i386.iso lupu-525.iso multicore_3.7.1.iso Using
> Unetbootin I tried: linuxmint-11-gnome-cd-nocodecs-32bit.iso
> 
> All but Multicore had lsusb available and recognized the USB modem. 
> Only Puppy had a dialer - it could connect but repeatedly dropped 
> carrier for unknown cause. 

Exit codes would be useful (in future)

> Mint and Multicore recognized the laptop
> had WIFI capability - a protected WIFI system is nearby.

Of the distributions you've mentioned, with the exception of Multicore
which I've never heard of, all should support the US Robotics modem,
have dialers, can support NTFS, and will support some sorts of WiFi.

> 
> I've roamed the web for a couple of months (no longer sure Google is 
> really a friend ;) I was originally referred to Ubuntu but I've come
> to think is fundamentally I need Debian style repository

?
Debian and Ubuntu both use Debian style repositories.

> , much else is negotiable.
> 
> 

It "sounds" like you want to install a Debian desktop to a USB key, use
it to access an NTFS partition on the laptop, and, use (the laptop's)
wifi connection, as well as access internet via the US Robotics modem
(and the WiFi?)... is that correct??

Debian can do all of those things. (conditionally). Ideally you'd kick
Windoof to an external device instead of handicapping Debian, your
choice... what you want might require some compromises, your answers to
the following will help us make suggestions.

What Desktop Environment were you after?
What tasks do you want to do on this Desktop?
How big is your USB stick?
What chipset is the WiFi?
What make and model is your laptop?
How much RAM does your laptop have installed?

Cheers

-- 
"I love the Pope, I love seeing him in his Pope-Mobile, his three feet
of bullet proof plexi-glass. That's faith in action folks! You know he's
got God on his side."
~ Bill Hicks


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



Re: wifi disconnection / deauthenticating from ... by local choice (reason=3)

2011-08-19 Thread Brian
On Fri 19 Aug 2011 at 02:18:47 +0200, Vincent Lefevre wrote:

> Anyone knows where the following problem comes from?
> 
> In the last hours, I've had a wifi disconnection twice, while I had
> never had such a problem before. Concerning the second connection and
> disconnection (at 01:48), the kernel and dhclient logs contain:

The problem hasn't happened again?

> Aug 19 01:48:43 xvii kernel: [83865.894180] wlan0: deauthenticated from
> 00:00:c5:b4:98:74 (Reason: 1)

'Reason: 1' means the kernel doesn't know why because the cause wasn't
specified.

> Aug 19 01:48:46 xvii kernel: [83869.251727] wlan0: associated

But 3 seconds later it reassociates anyway.

> Aug 19 01:48:46 xvii dhclient: DHCPRELEASE on wlan0 to 192.168.0.1 port 67

Meanwhile dhclient has released the IP 192.168.0.105; presumably because
it thinks wlan0 went down at 01:48:43.

> Aug 19 01:48:46 xvii kernel: [83869.510308] wlan0: deauthenticating from
> 00:00:c5:b4:98:74 by local choice (reason=3)

'Reason: 3' means deauthentication took place. Some process on the
machine has decided to do this. NM? wicd? Perhaps it did it because
there is no address to connect to?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819123637.GL14528@desktop



Re: Need dial-up friendly install on USB stick

2011-08-19 Thread Rob Owens
On Fri, Aug 19, 2011 at 07:41:57AM -0500, Richard Owlett wrote:
> I'm currently a Windows user who's trying to escape.
> 
> I have an unusual batch of constraints:
> 1. It must reside *completely* on a USB stick and be able to
>read/write an existing NTFS hard drive.
> 2. It must be able to connect thru a USB modem, USROBOTICS USR5637.
>a. It will be used on a desktop ( *NO* high speed internet
>   ever _available_ ) and on a laptop (WIFI equipped) which
>   will often need dial-up.
> 
> I've experimented with "live editions" to determine hardware
> functionality. As a permanent solution - DOA!
> 
> Using YUMI-0.0.2.5 I've tried:
>   debian-live-6.0.1-i386-lxde-desktop.iso
>   ubuntu-10.10-desktop-i386.iso
>   lupu-525.iso
>   multicore_3.7.1.iso
> Using Unetbootin I tried:
>   linuxmint-11-gnome-cd-nocodecs-32bit.iso
> 
> All but Multicore had lsusb available and recognized the USB modem.
> Only Puppy had a dialer - it could connect but repeatedly dropped
> carrier for unknown cause.
> Mint and Multicore recognized the laptop had WIFI capability - a
> protected WIFI system is nearby.
> 
> I've roamed the web for a couple of months (no longer sure Google is
> really a friend ;) I was originally referred to Ubuntu but I've come
> to think is fundamentally I need Debian style repository , much else
> is negotiable.
> 
Did you know that most live USB systems can use a mode called
"persistence" that allows you to install new software?

With Debian Live, you should be able to install a dialer (kppp is one
that comes to mind).  Depending on your wifi card, you may need to
install special packages and/or enable the non-free repos.  ntfs-3g is
the package that enables read/write to NTFS.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819124832.ga17...@aurora.owens.net



Need dial-up friendly install on USB stick

2011-08-19 Thread Richard Owlett

I'm currently a Windows user who's trying to escape.

I have an unusual batch of constraints:
1. It must reside *completely* on a USB stick and be able to
   read/write an existing NTFS hard drive.
2. It must be able to connect thru a USB modem, USROBOTICS USR5637.
   a. It will be used on a desktop ( *NO* high speed internet
  ever _available_ ) and on a laptop (WIFI equipped) which
  will often need dial-up.

I've experimented with "live editions" to determine hardware 
functionality. As a permanent solution - DOA!


Using YUMI-0.0.2.5 I've tried:
  debian-live-6.0.1-i386-lxde-desktop.iso
  ubuntu-10.10-desktop-i386.iso
  lupu-525.iso
  multicore_3.7.1.iso
Using Unetbootin I tried:
  linuxmint-11-gnome-cd-nocodecs-32bit.iso

All but Multicore had lsusb available and recognized the USB modem.
Only Puppy had a dialer - it could connect but repeatedly dropped 
carrier for unknown cause.
Mint and Multicore recognized the laptop had WIFI capability - a 
protected WIFI system is nearby.


I've roamed the web for a couple of months (no longer sure Google is 
really a friend ;) I was originally referred to Ubuntu but I've come 
to think is fundamentally I need Debian style repository , much else 
is negotiable.





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

Archive: http://lists.debian.org/4e4e5a15.5020...@pcnetinc.com



Re: Startup script not working

2011-08-19 Thread Brian
On Fri 19 Aug 2011 at 06:39:05 -0400, Jesse Sheidlower wrote:

> 
> I'm running Xfce under wheezy on a desktop system. I have two monitors
> permanently attached to the computer; that is, I never need to do any
> configuration on the fly.
> 
> To set up dual-head, I run the simple command 
> 
>   xrandr --output HDMI2 --right-of HDMI1
> 
> I'd like to run this automatically at boot, and, following some
> instructions I found online, I put this line in a file called
> "45custom_xrandr" and put it in /etc/X11/Xsession.d/ However, this
> doesn't get executed at boot, so I have to run the xrandr command
> manually. Permissions are the same as the other files in that directory.
> What do I need to do to get this to work?

Xfce has an autostart function. See the Settings menu. Or you could try
putting the xrandr command in ~/.xsession.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819115737.GK14528@desktop



Re: Is there a safe way of upgrading to Xfce4.8 on stable?

2011-08-19 Thread Brian
On Fri 19 Aug 2011 at 09:42:29 +0100, AG wrote:

> On stable, I am currently running Xfce4.6.  I notice that in the sid  
> repos, Xfce4.8 is available.  Is there a safe way of upgrading to 4.8 in  
> a manner that will not break my system, or is it really only a matter of  
> waiting for Xfce4.8 to make its way through the repos to stable?

About the safest way would be via backports to Squeeze - provided
Xfce4.8 is there.

http://backports-master.debian.org/Packages/

Otherwise you have an eighteen month or so wait before stable has
anything other than Xfce4.6. Squeeze will always have Xfce4.6.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819115447.GJ14528@desktop



Re: UUID updates for dmcrypt/luks

2011-08-19 Thread tv.deb...@googlemail.com
Le 19/08/2011 11:24, Christian Jaeger a écrit :
> Hi
> 
> I've used the Debian installer (Sarge) for installing a system onto an
> SSD, using this layout:
> 
>  /dev/sda1  /boot
>  /dev/sda5  luks, -> sda5_crypt with "/"
>  /dev/sda6  /usr
> 
> After the installation finished, I realized that I should have aligned
> the partition boundaries. So I booted into GRML, backed up the file
> systems with tar, created a new partition table + filesystems
> manually, mounted, extracted the tars. Mounted in correct nesting plus
> /proc /sys /dev and chroot'ed inside, "grub-setup -d /boot/grub
> /dev/sda".
> 
> Now, the difficult part is figuring out all the locations where the
> system is using UUIDs (d'oh!), and maybe other information that has
> changed by me recreating the partition table.
> 
> I've updated /etc/fstab and /etc/crypttab and ran update-grub from
> within the chroot (while running GRML). 
[cut]

Hi, maybe you should have updated the initramfs too (update-initramfs).
But from the beginning you could have reverted the newly created
partitions uuid's to the old ones, for instance with "tune2fs -U
old_uuid /new/partition", this way no need to modify fstab, grub,
initramfs and whatnot.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4e4e13.4090...@googlemail.com



Startup script not working

2011-08-19 Thread Jesse Sheidlower

I'm running Xfce under wheezy on a desktop system. I have two monitors
permanently attached to the computer; that is, I never need to do any
configuration on the fly.

To set up dual-head, I run the simple command 

  xrandr --output HDMI2 --right-of HDMI1

I'd like to run this automatically at boot, and, following some
instructions I found online, I put this line in a file called
"45custom_xrandr" and put it in /etc/X11/Xsession.d/ However, this
doesn't get executed at boot, so I have to run the xrandr command
manually. Permissions are the same as the other files in that directory.
What do I need to do to get this to work?

I always screw things up when I make an xorg.conf file, so I'd prefer to
do this using xrandr, which always works fine, rather than writing an
xorg.conf. 

Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819103905.ga20...@panix.com



Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Scott Ferguson
On 19/08/11 19:34, Lisi wrote:
> On Friday 19 August 2011 01:38:58 Scott Ferguson wrote:
>> For me the biggest problem is CD labels - my writing makes the reading
>> even harder. Now if someone created a simple system that announced the
>> title of any cd placed in the drive based on information burned to the
>> CD
> 
> Can you read Braille?
> 
> Lisi
> 
> 
No.
But I did try dynamo labels (once)... some-days I'm dumber than others :-(

Printed labels work. Even 12 point I can read with the magnifying sheet.
But I've added the "cd labeller"/"label reader" to my list of things
I'll do when I get time.

Cheers

-- 
"I love the Pope, I love seeing him in his Pope-Mobile, his three feet
of bullet proof plexi-glass. That's faith in action folks! You know he's
got God on his side."
~ Bill Hicks


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



Re: LUKS and LVM sequence at boot and shutdown incorrect

2011-08-19 Thread yudi v
>
> Thinking about it there surely is something to do about the initrd.img,
>

I thought so too. looks like I need to build a new initrd.img.
-- 
Kind regards,
Yudi


Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Scott Ferguson
On 19/08/11 19:33, Lisi wrote:
> On Friday 19 August 2011 01:38:58 Scott Ferguson wrote:
>> But most of the recommendations I get are from sighted people ie.
>> Vinux is "supposed" to be good
> 
> You will have noticed that I didn't mention it!

I did, the significance escaped me. Now I know better.

> (The Adriane version of Knoppix is, of course, good because Adriane
> Knopper helped to design it, and is partially sighted herself.)

I did not know that. It was on my list of things to look up - but I'd
"assumed" it was something to do with a European rocket Now I know.

> Vinux is virtually useless for anyone totally blind, because it is
> complex to get into speech; and useless for anyone partially sighted
> because, although the desktop itself has been adapted (badly from my
> point of view), no deeper layers are.  So you click on an icon with a
> label in a not utterly useless text label - and that is as far as you
>  get.  The apps all display in the original tiny fonts.  In fact, I
> agree with you that it is unusable.


I was over-dramatising - it has some uses:-
;drink coaster
;memory aid for recalling slavic words that end in hard consonants.
;decongestant (it loosens phlegm)
;could be useful if you suffer from very low blood pressure
;cure for constipation

> 
> ArchLinux for the Blind I don't know.  I must have a look at it.
> 
> Lisi
> 
> 


-- 
"I love the Pope, I love seeing him in his Pope-Mobile, his three feet
of bullet proof plexi-glass. That's faith in action folks! You know he's
got God on his side."
~ Bill Hicks


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



Re: LUKS and LVM sequence at boot and shutdown incorrect

2011-08-19 Thread Erwan David
On Fri, Aug 19, 2011 at 11:23:42AM CEST, yudi v  said:
> > Did you try to use the early option in cryptsetup ? It make sthe luks part
> > being done earlier at boot time (in the cryptdisks-early boot script).
> >
> > did not know that, thanks for pointing it out. I did not read anything
> about it in the installation documentation.
> 
>  I thought the installer will be smart enough to figure out that it needs to
> open the LUKS container to get to the LVs.
> 
> I will definitely read up on this issue.

Thinking about it there surely is something to do about the initrd.img, which 
is in use when you boot (because / is not yet mounted).
I do not know much about it, it surely is worth reading about.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819101857.gk32...@rail.eu.org



Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Lisi
On Friday 19 August 2011 01:38:58 Scott Ferguson wrote:
> For me the biggest problem is CD labels - my writing makes the reading
> even harder. Now if someone created a simple system that announced the
> title of any cd placed in the drive based on information burned to the
> CD

Can you read Braille?

Lisi


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



Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-19 Thread Lisi
On Friday 19 August 2011 01:38:58 Scott Ferguson wrote:
>  But most of the recommendations I get are from
> sighted people ie. Vinux is "supposed" to be good

You will have noticed that I didn't mention it!  (The Adriane version of 
Knoppix is, of course, good because Adriane Knopper helped to design it, and 
is partially sighted herself.)  Vinux is virtually useless for anyone totally 
blind, because it is complex to get into speech; and useless for anyone 
partially sighted because, although the desktop itself has been adapted 
(badly from my point of view), no deeper layers are.  So you click on an icon 
with a label in a not utterly useless text label - and that is as far as you 
get.  The apps all display in the original tiny fonts.  In fact, I agree with 
you that it is unusable.

ArchLinux for the Blind I don't know.  I must have a look at it.

Lisi


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



Re: debugging package breakage

2011-08-19 Thread Darac Marjal
On Thu, Aug 18, 2011 at 11:20:43PM -0400, Tom Roche wrote:
> 
> summary: I'm a new debian user with some package breakage. I'd appreciate
> 
> * assistance with my specific problem (i.e., give me a fish)
> * general heuristics for debug package breakage (i.e., teach me to fish)
> 
[cut]
> 
> So I'm confused. Why does `aptitude` think these packages are broken? If
> it's wrong (i.e., the packages are not broken), how do I correct its
> misperception? If it's correct, how do I fix the packages, if `aptitude`
> won't force install?

The main reason you've got package breakage is usually because upgrading
them would conflict with some other package you have. Speaking purely
from a personal perspective here, I've learned to get along very well
with the curses interface to aptitude.

Start by running "aptitude" as root (i.e. by su to root or by sudo as is
your wont). There'll be a few seconds while aptitude does some
calculations, then you get a "graphical" interface. At the top is a
blue menu, next is a tree view of all the packages known to the system,
another blue bar then heads a description pane and at the bottom is the
status bar. Likely, in your situation the status bar is red. You will
also see, at the top of the screen something like "Broken: #N"

What we now do is press 'e' to 'E'xamine aptitude's suggestions on how
to resolve these breakages. Aptitude will present you with a list of
packages sorted by what it plans to do with them. For example, you'll
get "Remove the following packages:", "Keep the following packages at
their current version:" and so on.

You now have two options to pick a suitable resolution. The simple
method is to use the '.' and ',' (mnemonic, they're the '>' and '<'
keys, usually, but without shift) to cycle through aptitude's solutions
until you find one that's suitable to you. Pay attention to each
solution as it's presented as there may be some solutions you'd not
thought of: the simplest solution is to hold every broken package back
and hope that an update will fix it in a few days (happens a lot in
unstable), or you may find that a package has been replaced by another
of similar functionality (for example dhcp-client and isc-dhcp-client)
or, if you have a particularly complicated set of sources, you may even
have to downgrade a package to achieve solution.

The more advanced method is to guide aptitude's resolver. Each time
aptitude presents you with a solution, "vote" on whether you approve of
or reject the solution for individual packages. For example, you say you
want samba, so if aptitude wants to remove the samba package, scroll
down to it and press 'r' to reject that suggestion. If aptitude wants
to, say, upgrade a package but you don't like the whole of the solution,
press 'a' on that package to approve it. Use this sparingly; although
you're guiding aptitude, you're also restricting it.

Finally, when you get to a solution you're happy with, press '!" to
apply the solution. You'll be take back to the package list and,
hopefully, the "Broken: #N" message should be gone. Press 'g' to get a
preview of the changes to be made and finally 'g' to actually
download/install the packages.

> 
> Feel free to forward or to point me to FM to RT,
> and TIA, Tom Roche 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/87d3g2xf1w@pobox.com
> 

-- 
Darac Marjal


signature.asc
Description: Digital signature


UUID updates for dmcrypt/luks

2011-08-19 Thread Christian Jaeger
Hi

I've used the Debian installer (Sarge) for installing a system onto an
SSD, using this layout:

 /dev/sda1  /boot
 /dev/sda5  luks, -> sda5_crypt with "/"
 /dev/sda6  /usr

After the installation finished, I realized that I should have aligned
the partition boundaries. So I booted into GRML, backed up the file
systems with tar, created a new partition table + filesystems
manually, mounted, extracted the tars. Mounted in correct nesting plus
/proc /sys /dev and chroot'ed inside, "grub-setup -d /boot/grub
/dev/sda".

Now, the difficult part is figuring out all the locations where the
system is using UUIDs (d'oh!), and maybe other information that has
changed by me recreating the partition table.

I've updated /etc/fstab and /etc/crypttab and ran update-grub from
within the chroot (while running GRML). Now grub doesn't complain/warn
anymore about not finding devices, but after the kernel loads, the
boot process still says:

[   ]  ...  BAR 6: no parent found for of device [0xfffe000-0x]
Loading, please wait...
cryptsetup: lvm is not available
cryptsetup: evms_activate is not available

then it hangs indefinitely (minutes, giving up), but hitting ctl-c is
giving me the initrd shell. I can "cryptsetup luksOpen /dev/sda5
sda5_crypt" and ctl-d to continue the boot (actually it then tries to
open sda5 again, failing, then continues). But I don't see why it
hangs above, and whether the messages before the hang are relevant.

Any ideas?

Thanks.


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



Re: 2TB file system

2011-08-19 Thread Stan Hoeppner
On 8/17/2011 9:25 AM, Pete Orrall wrote:
>> BTW: 
>> Didn't Hitachi used to be IBM?
> 
> I believe IBM sold Hitachi their hard drive business.

Hitachi Data Systems (HDS), had already been producing all of IBM's disk
drives for about a decade.  IBM simply sold HDS the brands "UltraStar"
and "DeskStar", along with some patents, distribution, etc, in much the
same way IBM unloaded their PC business on Lenovo, who had already been
contract manufacturing all of IBM's PCs and Thinkpad laptops for many
years prior to that deal closing.

Your statement could mislead folks who don't know the background on
these deals into believing Hitachi didn't know how to make a disk drive
until IBM sold them their business.  Hitachi has been making disk drives
for over 30 years.

Fujitsu, Hitachi, NEC -- the Japanese "Big 3" of IT systems/devices.
All 3 have been disk drive manufacturers.  The first computer I bought
back in 1986, a Kaypro PC (IBM XT clone), came with a 20 megabyte NEC
5.25" hard drive: 3000 RPM spindle, 90 millisecond access time and a
~1MB/s transfer rate.  At the time it was *fast*.  Everyone else was
stuck with 5.25" 360KB floppy drives.  I was spoiled. :)

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4e2bf0.3000...@hardwarefreak.com



Re: LUKS and LVM sequence at boot and shutdown incorrect

2011-08-19 Thread yudi v
> Did you try to use the early option in cryptsetup ? It make sthe luks part
> being done earlier at boot time (in the cryptdisks-early boot script).
>
> did not know that, thanks for pointing it out. I did not read anything
about it in the installation documentation.

 I thought the installer will be smart enough to figure out that it needs to
open the LUKS container to get to the LVs.

I will definitely read up on this issue.
-- 
Kind regards,
Yudi


Re: Wheezy: Mouse cursor in FF/Iceweasel

2011-08-19 Thread T Elcor
--- On Thu, 8/18/11, Selim T. Erdogan  wrote:

> Go to the configuration page by typing "about:config" in
> your address bar.  
> This'll get you a huge list of things you can
> configure.  Filter by "cursor".
> You should see "ui.use_activity_cursor".  Make its
> value "true".

It worked, thanks.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1313744738.17562.yahoomailclas...@web121914.mail.ne1.yahoo.com



Is there a safe way of upgrading to Xfce4.8 on stable?

2011-08-19 Thread AG

Hey list

On stable, I am currently running Xfce4.6.  I notice that in the sid 
repos, Xfce4.8 is available.  Is there a safe way of upgrading to 4.8 in 
a manner that will not break my system, or is it really only a matter of 
waiting for Xfce4.8 to make its way through the repos to stable?


Thanks.

AG


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

Archive: http://lists.debian.org/4e4e21f5.6020...@gmail.com



Re: LUKS and LVM sequence at boot and shutdown incorrect

2011-08-19 Thread Erwan David
On Fri, Aug 19, 2011 at 10:50:12AM CEST, yudi v  said:
> My laptop hard drive configuration:
> 
> sda1 - win7
> sda2 - /boot
> sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
> sda5 - FAT32
> 
> 
> for the most part everything seems to be working fine except the order of
> modules/components when Debian boots up.
> 
> When I boot Debian, it first looks for the LVM VG and LV, and then the LUKS
> container. - I encrypted the PV, I thought the order should be the other way
> around.
> 
> So when it boots, message on the screen says it failed to load the VG and
> the LVs and then gives me an option to enter my pass-phrase.
> 
> Because I have LVM on top of LUKS I thought it would first open the LUKS
> container and then load the LVM container.
> 
> 
> I have the same problem when shutting down.
> 
> It closes the LUKS container and then throws up an error saying it cannot
> find VG and LVs (or something similar).
> 
> Of course  it will not find hte VG once the LUKS container is closed.
> 
> Not sure how this happened. Can anyone explain how to fix this.
> 

Did you try to use the early option in cryptsetup ? It make sthe luks part 
being done earlier at boot time (in the cryptdisks-early boot script).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110819085641.gj32...@rail.eu.org



LUKS and LVM sequence at boot and shutdown incorrect

2011-08-19 Thread yudi v
My laptop hard drive configuration:

sda1 - win7
sda2 - /boot
sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
sda5 - FAT32


for the most part everything seems to be working fine except the order of
modules/components when Debian boots up.

When I boot Debian, it first looks for the LVM VG and LV, and then the LUKS
container. - I encrypted the PV, I thought the order should be the other way
around.

So when it boots, message on the screen says it failed to load the VG and
the LVs and then gives me an option to enter my pass-phrase.

Because I have LVM on top of LUKS I thought it would first open the LUKS
container and then load the LVM container.


I have the same problem when shutting down.

It closes the LUKS container and then throws up an error saying it cannot
find VG and LVs (or something similar).

Of course  it will not find hte VG once the LUKS container is closed.

Not sure how this happened. Can anyone explain how to fix this.

Thanks

-- 
Kind regards,
Yudi