Re: Squeeze X86 with 4GByte RAM?

2013-04-04 Thread Joao Luis Meloni Assirati
 Dear Users,

 I installed 4GByte RAM in my motherboard succesfully. In BIOS I see all
 the
 4096MByte, but after booting Squeeze it show me 3,5GByte. I know I should
 install the kernel with PAE - so I
 installed linux-image-2.6.32-5-686-bigmem package and restart computer.
 After it I choose this new kernel from GRUB. After loading it stuck with
 black screen with blanking cursor on the top left side of the screen.

 What should I do?

Squeeze i386 has an amd64 kernel. The command

apt-cache search linux-image

will show you all the possible kernels. Choose some -amd64, for example:

apt-get install linux-image-2.6.32-5-amd64

Then you will have a 64bit kernel and 32bit userspace, there is nothing
wrong with this.

João Luis.



-- 
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/90bfeae10d0169fe79591ab4e5da5651.squir...@nonada.if.usp.br



Re: multi-core system and the file system

2013-04-03 Thread Joao Luis Meloni Assirati
 Hello,

 I would like to ask, whether there is some intelligent way how to
 synchronize processes over the file-system state.

 E.g., if one process creates|modifies|deletes some file,
 how can I learn *when* that effect hits all cores?
 (not just the one where I executed those operations)

I don't think the question makes sense. Changes in the filesystem affect
processes, not cores. Processes are aware of filesystem changes as soon as
they do some filesystem related system call, like stat(), readdir() or
read() over an inotify watch descriptor, irrespective of the core in
which  they are running at the moment of the system call.


 Thanks in advance for any clues.


 --
 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/515c3c17.7030...@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/e26691e3c42c8efe4fa88b7044e6f96f.squir...@nonada.if.usp.br



Re: has your squeeze ever crashed?

2013-03-13 Thread Joao Luis Meloni Assirati
 linux is stable, or is it?

Absolutely stable and crashproof? No. Anyone who says that has no idea
what he is talking about. You can compare Linux operating systems to other
operating systems if you wish, though.

 my squeeze has just crashed
 it doesn't respond to key press
 two of three lights in up right corner of keyboard blink

Squeeze is now more than 2 years old and in this period I installed and
administered dozens of debian computers. I had the oportunity to see lots
of crashes not caused by hardware failure, almost all of them related to
video or wifi drivers, i.e. still related to hardware. I don't recall to
find any purely algorithmic kernel crash or panic in the last few years.

 I suspect flash player in browser might be the cause
 the player is downloaded from adobe site and installed by myself
 besides I often see XID collision, trouble ahead though it rarely
 cause problem

I don't think so. Flashplayer is a completely user space program and as
such it could completely lock the system up only if there was a kernel
bug. I had and still have a lot o trouble with flashplayer, like it
consuming all of the memory and processing, but I almost always could go
to Control-Alt-F1, log in and kill it, apart from the times where the
system was heavily thrashing (completely busy swaping memory) and I had no
patience or hope to wait.

This does not seem your to be your case, as the keyboard lights usually
indicate a kernel problem. I yould bet some device driver or hardware
failure (memory or hard disk).

João Luis.


-- 
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/a155638a0afb7670e3d6669a7904eab5.squir...@nonada.if.usp.br



Re: Kernel stability relation to HW-specific code?

2013-03-13 Thread Joao Luis Meloni Assirati
 Hello,

 slightly OT, maybe... (specific to kernel, not Debian).

 On Wed, 13 Mar 2013 13:03:24 -0300
 Joao Luis Meloni Assirati assir...@nonada.if.usp.br wrote:
 Squeeze is now more than 2 years old and in this period I
 installed and administered dozens of debian computers. I had
 the oportunity to see lots of crashes not caused by hardware
 failure, almost all of them related to video or wifi drivers,
 i.e. still related to hardware. I don't recall to find any
 purely algorithmic kernel crash or panic in the last few
 years.

 Just curious:  How would one draw a line between error related
 to hardware and purely algorithmic?

By kernel logs or experimentation and reproduction. The Linux
algorithmic errors usually leave nice error messages before the system
freeze (BUG_ON etc).


 I'm no kernel expert, but as I understand it, it's basically a
 layer between applications and hardware.  From that point of
 view, error in kernel not related to hardware seems to me as a
 rare (if not impossible) thing...

No, the kernel has very complex algorithms to deal with process and memory
management, filesystems, networking etc. Run -rc1 kernels and you will
eventually find bugs in such subsystems. The kernel sure is a layer as you
said, but it is also an abstraction layer so that you don't have to
implement basic and common features.

 I don't mean to bicker, I'm just wondering if it would make any
 sense to divide kernel code that is more closely related to
 hardware (like drivers) and more generic code, in attempt to
 measure stability of these parts separately.

There are the so called microkernels that work this way. Linux is not a
microkernel (it is a monolithic kernel). This is a very long discussion
that periodically comes back (see Linus - Tanenbaum debate if you really
want learn about it).

João Luis.


-- 
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/483611a14e6ca307f5f9503659304520.squir...@nonada.if.usp.br



Re: Itroductry info on permission issues and implications - where? -was [Re: permissions on a Verbatim USB external drive]

2013-03-13 Thread Joao Luis Meloni Assirati
 João Luis Meloni Assirati wrote:
 [snip]

 Since vfat filesystems don't hold UNIX permissions, it has
 to be mounted with the umask and/or uid, gid options. If it
 is plugged through USB and you have a mount desktop service
 communicating with dbus, all should be automatic. However,
 if User mounts it in a static configuration in fstab, at
 least the umask must be set. If this is the case, try an
 fstab line like

 /dev/sd??   /media/vfat   vfat
 defaults,umask=0007,uid=User,gid=User 0   0

 which grants permission for User. A more flexible
 configuration would be to create a special group, say fat,
 and add all users that need to access the disk to this
 group, and then configure the fstab entry with
 uid=root,gid=fat.

 João Luis.


 I understood enough of what you wrote to suspect source of
 (likely) unrelated problem I've had.

 I've a collection of USB flash drives which, when plugged
 into a running Debian 6.0.5 system, do not mount in an
 apparently uniform manner.

 The various drives may have been formatted:
 1. by WinXP Pro SP3 as FAT16, FAT32, or NTFS
 2. by gparted under Debian 6.0.5 as ext???, FAT16, FAT32, or
 NTFS
 3. by the stand alone Live version of gparted as in #2

 I don't have any current examples so I can not ask an
 answerable specific question.

Note that ext2, 3 and 4 don't support umask, uid and gid mount options, so
even user mounts (or mounts via dbus) cannot overwrite the filesystem
permissions. Note that sometimes a file or directory is created in a
removable device within an ext{2,3,4} filesystem under some user joe in
one computer and people expects that joe can access this file or directory
in every computer, but this may not happen, as joe can have different user
ids in different computers. Filesystems store the user id, not the
username.

If you want an ext{2,3,4} filesystem to accessible by everyone in every
computer, there is a workaround: change its root permissions to those of
the tmp directory. To do so, as root, mount the filesystem in some
directory (say /mnt), do the command

chmod 1777 /mnt/

and umount /mnt.

 Could someone point me to a broad intermediate level survey
 of permissions (issues and implications) in order that when
 (not if) I run into a problem I'll be able to ask an
 intelligent question? TIA

I could not point to an specific text right now, but there are a lot of
good ones freely available in the internet. Maybe someone can help here?

João Luis.


-- 
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/726a18a6286e0561709d8762368b8463.squir...@nonada.if.usp.br



Re: Installation failed - and failed again...

2013-03-03 Thread Joao Luis Meloni Assirati
 Mark Filipak wrote:

 I've thrown the thread away,

Oh no, please Mark! We are wayting a step by step detailed description of
the procedure that makes GUI installer fail and text installer succeed.
Please, this is vital so we can reproduce, diagnose and fix the bug. If
you do not provide such step by step detailed descrition, you will be the
only winner. Please, share your knowledge with the community, help Debian
to be better.

By step by step detailed description I mean a description of what decision
you took at every single step of the installer, not just simply GUI
fails, text succeds. You don't have to read syslogs, you don't have to
pres Alt-F?, nothing like that. You just have to say at every single point
of the installation what the installer asked and what did you choose. And
do this for both the GUI and the text installers with the same hardware
and installation medium, in a way that GUI fails and text succeeds. No
interpretations nor guessing needed. Just plain facts, but they have to be
precise and step by step.

You know, finding a bug in the Debian installer is one of the greatest
contributions a user can make to Debian. We all will be very greateful if
you do this effort.

On behalf of all Debian users and developers who will benefit from your
contribution, I thank you.

João Luis Meloni Assirati.


-- 
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/a7f64afddf056886f1225c1c1fd03d85.squir...@nonada.if.usp.br



Re: Installation failed - and failed again...

2013-03-03 Thread Joao Luis Meloni Assirati
Brian wrote:

 Had the USB hard drive been used instead of the 8-GB USB and *exactly*
 the same install attempted it too would have failed. The nature or size
 of the device being installed to is immaterial, as is whether it is a
 text mode or GUI install. The only thing that matters is that the device
 has previously had an isohybrid ISO written to it.

[...]

 Write a netinst image to two USB devices. Boot from one device and
 install to the second one. Try text and GUI modes. It's about an hour's
 work at most.

But will this happen even if one formats the partition holding the iso?
What if the installation proccess is done normally, the target device that
happens to hold the iso is partitioned and all the partitions are
formatted? When grub gets to be installed, in the last installation step,
all the information that an iso existed before is gone, or no?

Anyway, it must be said that you did an impressive investigation with very
scarce resources to say the least, Brian!

João Luis.


-- 
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/c369b4f7d1b839d68b3743240a09aced.squir...@nonada.if.usp.br



Re: Installation failed - and failed again...

2013-03-03 Thread Joao Luis Meloni Assirati
Brian wrote:
 On Sun 03 Mar 2013 at 18:07:26 -0300, Joao Luis Meloni Assirati wrote:

  Write a netinst image to two USB devices. Boot from one device and
  install to the second one. Try text and GUI modes. It's about an
 hour's
  work at most.

 But will this happen even if one formats the partition holding the iso?
 What if the installation proccess is done normally, the target device
 that
 happens to hold the iso is partitioned and all the partitions are
 formatted? When grub gets to be installed, in the last installation
 step,
 all the information that an iso existed before is gone, or no?

 When the isohybrid ISO is written to to the drive the information about
 the iso9660 filesystem is put within the first 65 sectors of the drive.
 If fdisk is now used to partition the drive the first partition starts
 at sector 2048. Everything beyond this sector is destroyed but sectors
 below number 2048 are left intact. The drive is now useless as a device
 to boot Debian but information about the iso9660 file system is left
 intact.

Wow, of course. The iso image must be installed in the begining of the
disk, which includes the partition table and the mbr, not in the first
partition.

 fdisk leaves space at the beginning of the drive because GRUB requires
 it to embed part of itself there. But GRUB will not go there because it
 thinks it is overwriting data on the disk when it detects the iso9660
 signature. This is by design.

This is clearly a bug, because the disk has a partition table and
therefore there is no useful data before the first partition.

 D-I uses partman for partitioning. It too leaves an embedding area which
 contains the iso9660 data sector. The solution is to remember to do

dd if=/dev/zero of=/dev/sdX count=65

 before partitioning.

But this will destroy the partition table, which is not right if you have
other operating systems or partitions containing data. Maybe 'grub-install
--force device' would suffice?

 Anyway, it must be said that you did an impressive investigation with
 very
 scarce resources to say the least, Brian!

 Thanks. I cheated though! I had already encountered the bug some time
 ago and the reported behaviour in this thread is very, very similar to
 it.

Of course you deserve congratulations. You had to guess among the various
phony bug reports. It was some kind of psychoanalysis. Your patient still
did not achieve catharsis, though.

João Luis.


-- 
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/56471eb84fb7089d3745749b71e15ba5.squir...@nonada.if.usp.br



Re: Installation failed - and failed again...

2013-03-02 Thread Joao Luis Meloni Assirati
 On Sat 02 Mar 2013 at 08:51:03 +, Brian wrote:

 The problem is in the GUI installer. To do the installation
 successfully, use the text-based installer.

 I'd not see this as being the problem, Both a text and a GUI install
 should succeed (or fail) under the *same* conditions.

Exactly. Either it was a pertitioning problem, as pointed first by Lisi,
and he does not want to admit; or some other random problem, and in this
case no one will never know or be able to reproduce it because he can't
follow instructions.

But we made his life happier. He will be bragging around how Linux is a
chaotic system impossible to install, how Linux people is rude and
incompetent and how he managed to find the problem by himself and teach
the Linux kids. He did this before and will do again.


-- 
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/a72010bc24127130f0c0a6e5c4a7996c.squir...@nonada.if.usp.br



Re: fix HD order

2013-03-02 Thread Joao Luis Meloni Assirati
 On 28-Feb-13 16:55, Joao Luis Meloni Assirati wrote:
 Hi,
 i've 4 HD's and 3 distros.
 When i load debian squeeze, the sdc hd is slected by grub, but the next
 time i load it, the sda hd is selected.
 It seems a randomize selecting.
 How can i fix this ? UID is used and settings by name don't resolve the
 problem.
 And yes, i have win7 also on a separate hd.
 thanks
 Do you always see the same grub menu when booting? It is possible that
 you
 have different grub configurations in each HD and the BIOS is choosing a
 different disk to boot from each time.

 I would try to make sure that the bios always choose the same disk when
 booting. If this is not possible, then all files /boot/grub/grub.cfg in
 each HD should be equal and use UUIDs.

 Also, make sure that the /etc/fstab in each distribution use UUIDs.

 João Luis


 After verification, this problem occurs after a windows cession and
 reboot to squeeze.

Ot looks something related to drive ordering that windows is somehow
changing. If all your /boot/grub/crug.cfg in all your Linux installations
are equal and using UUIDs, for example

search --set=root 92d5965d-87d9-4004-885b-74179cda67aa

and the kernel command line is also using UUIDs, for example

linux   /vmlinuz-3.2.0-4-amd64
root=UUID=92d5965d-87d9-4004-885b-74179cda67aa ro  quiet

and also the fstab is using UUIDs, your setup should work always with grub
installed in all MBR of all drives. Note that UUID identifiers for the
root device in the kernel command line are supported only if you are using
a standard initrd or initramfs.

If you did all of this and the problem persists, please send attached all
your 3 grub.cfg and fstab, identifying to which drive all of them belong.

 I've 2 squeeze distribs, a new fresh installed and the old one.
 The old one couldn't boot with an uid. It crashed at the boot.

This seems an unrelated problem.

 So i
 reset the /etc/fstab HD version to boot it correctly.
 I'm now a + 20years debian user and hadn't never so many problems with
 it. (squeeze)
 Would a ubuntu choice better at now?

I have no idea because I am a Debian user, but I would be very glad to
know. If you try it, please come back to the list and share your
experiences.

Best regards,
João Luis.


-- 
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/a4323c93443289e6fd4e2db773122304.squir...@nonada.if.usp.br



Re: Installation failed - and failed again...

2013-03-02 Thread Joao Luis Meloni Assirati
 It was not a partitioning problem or some other random problem. There's a
 bug in the GUI Debian Installer packaged with LXDE desktop, ver 6.0.6. I
 succeeded simply by running the text-based Debian Installer. No one
 suggested that.

If this is the case, please accept my deepest apologies.

Please write step by step instructions on how to reproduce this bug in the
GUI installer and not in the text installer so the developers can diagnose
and correct it. This is a severe bug, because the two installers are
supposed to do exactly the same things.

Thank you very much,
João Luis.


-- 
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/0dd02e63146c8885ef91e8265e5fbd0d.squir...@nonada.if.usp.br



Re: Package Pre-dependencies

2013-03-02 Thread Joao Luis Meloni Assirati
 Hello everyone,

 One quick question:  If package A pre-depends on package B, and package
 C depends on package A, does package C pre-depend on package B?

 In other words, is pre-depends transitive across regular dependencies?

C ==(Depends)== A ==(Pre-Depends)== B

As you stated the problem, if package C does not explicitly pre-depend on
package B, then in the course of installation of packages A, B and C, the
package C can be unpacked even if B is not unpacked nor configured. Only A
must wait until B is fully configured in order to be unpacked.

Here you can find the policy for these package fields:
http://www.debian.org/doc/debian-policy/ch-relationships.html

So, no. C does not pre-depend on B unless it is explictly stated in its
Pre-depends field. Here is an example:

bash ==(Depends)== base-files ==(Pre-Depends)== awk.

João Luis.


-- 
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/ae318c0e755bfd77449af4cfd8a4e804.squir...@nonada.if.usp.br



Re: Package Pre-dependencies

2013-03-02 Thread Joao Luis Meloni Assirati
 On 02-Mar-13 14:23, Joao Luis Meloni Assirati wrote:
 So, no. C does not pre-depend on B unless it is explictly stated in its
 Pre-depends field. Here is an example:

 bash ==(Depends)== base-files ==(Pre-Depends)== awk.


 Thanks - that's what I suspected but it wasn't entirely clear when I was
 reading it.  The problem I have is that many packages install files into
 a directory that in a real environment is actually a symlink to a
 different directory created by the base package.  If they are unpacked
 before the other package then things break  The only two options I see
 are for the packages to explicitly pre-depend on that package OR for
 each package to manually move all of the installed files into the actual
 directory in their debian/rules.  Listing a pre-dependency for each
 package thus seems a less pessimal solution.  But am I missing something
 here?  Is there a better solution?

This seems a fair use case. Note that if the symlink does not exist, a
hierarchy  of directories is created automatically by dpkg to accommodate
the files, and the installation process will not explicitly fail.
Therefore, the solution of a package that creates symlinks that serve as
filesystem structure for other packages is not very robust, as symlinks
are easily removable (by administration errors).

I don't know if this answers you question.

Best regards,
João Luis.


-- 
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/17759582208ad721cc37e5c163a3ec51.squir...@nonada.if.usp.br



Re: moving /var

2013-03-01 Thread Joao Luis Meloni Assirati
 Hello List,

 On 01/03/13 09:53, Lars Noodén wrote:
 On 3/1/13 10:41 AM, Maroš Žilka wrote:
 What would be better way to do it ? Is it even possible to do such
 change on running system without worries to lose some data ?

 I wouldn't do it on a running system.  Better to boot from a live CD or
 similar and do it from there.

 A simple live CD is sufficient:
 Debian netinst minimal CD in rescue mode is sufficient to do so.
 Do not forget to update the /etc/fstab configuration file with respect
 to the change; to clean up the /var (and let an empty one) in the `/'
 (root) partition.

It is simpler to move the partition in single user mode. Just issue the
command (as root)

# shutdown now

(not 'shutdown -h now' or 'shutdown -r now'), wait the system go down and
enter the root password when asked. You will have just a root shell
running. An even more secure way (in case single user leaves some program
running) is to reboot and pass the argument

init=/bin/sh

to the kernel by editing the kernel command line in grub. You will start a
system with only a running shell as pid 1 and the root mounted read-only.
Then remount the root read-write:

# mount -o remount,rw /

and do the dirty work. When you finish, unmount all partition other than
the root, remount the root read only with

# mount -o remount,ro /

and reset the computer (shutdown will do nothing).

João Luis.


-- 
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/786369acf5452f17b53938245b229476.squir...@nonada.if.usp.br



Re: Driver Network Dell PowerEdge R720

2013-03-01 Thread Joao Luis Meloni Assirati
 Hello,

 I made a download debian-6.0.7-amd64-netinst.iso.
 I have Dell Power EDGE, when I go to install debian, it not detect a
 driver network.
 I put broadcom but fail.

Rodrigo,

we cannot help if you don't tell what is the exact model of the network
card. Type the command

lspci -vnn

in the running Debian and copy the lines about the ethernet controller.

 What Is happening ?

Most probably your network card is not supported by the kernel 2.6.32 that
comes with debian 6.

Let me suggest that you install a testing version of Debian (version 7,
Wheeze). This version is close to stable. It will probably detect your
network card and also will save you from having to upgrade the system
during the next 4 years. Here you can find the testing images:

http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/

or

http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/


However, if you insist in running Debhian stable, you could try to install
a full cdrom or dvd image (not netinst) and then download and install the
kernel 3.2 from Debian backports. Here you can find the package:

http://packages.debian.org/squeeze-backports/linux-image-3.2.0-0.bpo.4-amd64

You have to download this package and the packages of the dependencies,
and install them with dpkg. For example:

dpkg --install linux-image-3.2.0-0.bpo.4-amd64_3.2.35-2~bpo60+1_amd64.deb

This command must be done as root. When you do this command, probably the
installer will complain of a missing dependency. Then you go back to

http://packages.debian.org/squeeze-backports/linux-image-3.2.0-0.bpo.4-amd64

find the dependency package, download and install with dpkg and then do
the command

dpkg --configure -a

Repeat this this untill everything install OK, reboot the system and
choose the kernel 3.2.0. It is a rather painful procedure.

Best regards,
João Luis.


-- 
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/aa3f2a50cfc8d709c512019239005d93.squir...@nonada.if.usp.br



Re: I wish to advocate linux --pclos from flash

2013-03-01 Thread Joao Luis Meloni Assirati
 Thanks but these instructions are for creating an installation flash drive
 on Linux - and they're well hidden. So it's a fail from the perspective
 of the person criticizing distributions for not providing readily-available
 Windows instructions for creating one.

Wow! This trolling will never end. Will you find instructions in
Microsoft's site on how to install Windows from Linux?

This subject was discussed before. Installation or run from flash drive is
some exotic resource for skilled people. Burn a cdrom, install some Linux
distribution, learn Linux, then follow the instruction on how to make a
flash installer or live system.

Please, PLEASE, people, the trolls are already fed. Let us go back to help
people that actually need help.


-- 
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/972782bb1c22f4a8c7eda1c22cf06e52.squir...@nonada.if.usp.br



Re: Installation failed - again - why am I not surprised

2013-03-01 Thread Joao Luis Meloni Assirati
 Do you want to help?
 If no, stop reading now (I don't need more heckling).

Do you want help? Then don't write agressive email with sarcastic subject.

 What I did:

[...]

What you tried to do requires great Linux skill and knowledge. It is
beyond your possibilities to even understand help on this. Use standard
solutions that work for everybody instead.

 Okay, what went wrong:

[...]

If you were able to figure out all by yourself, why ask for help? You
should be able to solve the problem.

 Mount error message too cryptic - too generic (does not tell what actually
 happened).
 GRUB  LILO install failures unexplained - no help.

There is a tale in my country about an arrogant man that considered absurd
that a pumpkin, being a large fruit, comes from a short plant, and the
blackberry [1] comes from a tall tree although it is a tiny fruit. He kept
thinking like this until he fell asleep under a blackberry tree and was
awaken by a blackberry hitting his nose.

Maybe when you have the required skill and knowledge, which comes from
practice, persistence and good attitude, you will be able to realize that
fundamental and ubiquous utilities like mount, grub and lilo have precise
behaviour and useful error messages.

 Any/all help appreciated except from Lisi Reisz.

Don't expect any/all help with this attitude.

OK, I gave my share feeding a troll today.

João Luis.

-

[1] Actually, the tale is about the jabuticaba
http://en.wikipedia.org/wiki/Jabuticaba but it is generally regarded to be
impossible to explain what a jabuticaba is to a non-Brazilian, so I
adapted Moteiro Lobato's story.




-- 
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/d1b44561c7ee9ee0b6e1548f6e75.squir...@nonada.if.usp.br



Re: I wish to advocate linux

2013-03-01 Thread Joao Luis Meloni Assirati
 There was once a fellow on a list I belong to whose postings
 were one tale of woe after another which is not that unusual for
 those of us who tinker and work in technology. The trouble with
 him was that it was all one big conspiracy against him and he
 was just going to get out of the hobby of amateur radio all
 together as nothing ever worked for him.

   He never read about the how and why of things. His idea
 of life was you borrow yourself in to the poor house, buy all
 this neat stuff, demand accessible manuals, hook it all together
 the way you think it goes and then complain when it blows up and
 or just doesn't work.

   Never once did I hear him ask why an antenna must be
 built a certain way or how do the rest of you solve this or that problem.
 It was all along the lines of I spent X Dollars for this or
 that and it quit on me in a puff of smoke, bla bla bla.

   List members told him about articles he could read,
 suggested he contact somebody locally who could help show him
 the ropes as to how to do these things right, etc.

   Finally, I think everybody just gave up. He left the
 list and I have no idea what happened but this present
 discussion reminds me much of that very similar discussion. We
 were all jerks and just out for ourselves.

   In the 35 years I have been involved with modern
 computing, my experience has been that if you show you are
 making a good effort to help yourself, people will at least
 point you at a good reading list and many times, they do a lot
 more than the call of duty says they should do.

I think that is exactly the case. This guy managed to get everybody in
this list working for him, even if he is unable to make a single
meaningful objective question. Even if he is insulting individual people,
the community and Debian (nothing works, why am I not surprised)! And at
the end all the energy spent with him will be lost. People will get tired
and he will leave crying that it is impossible to install Linux and
Linux people are jerks.


-- 
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/ad4ba41a2d4d40674dca503b7d2b0633.squir...@nonada.if.usp.br



Re: Install failed - let's start again, without bogus assumptions, please.

2013-03-01 Thread Joao Luis Meloni Assirati
 Windows-NT 3.5 was probably the finest OS ever written

Let us see who will be the first to bite the troll :)


-- 
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/424a8e284c3ec961cdef94c3942f05fa.squir...@nonada.if.usp.br



Re: Install failed - let's start again, without bogus assumptions, please.

2013-03-01 Thread Joao Luis Meloni Assirati
 Joao Luis Meloni Assirati wrote:
 Windows-NT 3.5 was probably the finest OS ever written
 Let us see who will be the first to bite the troll :)



 Do you really want to start a debate on best OS ever? Talk about an
 ugly religious argument, even if we exclude anyone dumb (or trollish)
 enough to consider any version of Windows anywhere close to in the
 running. :-)

But I think it is not about a debate on best OS ever. It is about
getting everybody working for him. Everyody must solve his problems to
show that Linux is better than Windows. This is a classic case of
trolling. He used this zombie technique before when he said that Windows
is much easier to install than Linux, and managed to get people enslaved,
desperate to show that Linux is so superior that even unspeakable problems
can be solved.


-- 
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/a3d9878fa1eb0df4efb94e437cc5082f.squir...@nonada.if.usp.br



Re: [OT] re: trolls and operating systems [was: Install failed - let's start again, without bogus assumptions, please.]

2013-03-01 Thread Joao Luis Meloni Assirati
 Joao Luis Meloni Assirati wrote:
 Joao Luis Meloni Assirati wrote:
 Windows-NT 3.5 was probably the finest OS ever written
 Let us see who will be the first to bite the troll :)


 Do you really want to start a debate on best OS ever? Talk about an
 ugly religious argument, even if we exclude anyone dumb (or trollish)
 enough to consider any version of Windows anywhere close to in the
 running. :-)
 But I think it is not about a debate on best OS ever. It is about
 getting everybody working for him. Everyody must solve his problems to
 show that Linux is better than Windows. This is a classic case of
 trolling. He used this zombie technique before when he said that Windows
 is much easier to install than Linux, and managed to get people
 enslaved,
 desperate to show that Linux is so superior that even unspeakable
 problems
 can be solved.

 I'm not sure that's it.  I think it's just that we can't let go of a
 problem to solve; or this guy is irritating us, or something.  I'm
 pretty sure that nobody here really feels we need to prove the
 superiority of Linux over Windows.  (Now if we wanted to talk serious
 operating systems, then we'd be talking about Tenex, ITS, Plan 9,
 Symbolics, Apollo/Domain,  but that a religious argument for another
 day :-)

Look, he did it again in the other thread:

 Linux has the concept of virtual terminals (VTs).
 Ah, yes. Windows had such a switcher addin about 20 years ago.

I don't know if some people in the list fall for the trick, but he is
definitely using it.

He uses other tricks too, like saying that he will accept anyone's
suggestion but from person X. Then everybody starts to work for him,
including person X who has remorses. Here X is for example Lisi, who
solved the problem ages ago (partitioning problem).

João Luis.


-- 
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/9771b29beaa16b2d8cb7f0c6b6e081cb.squir...@nonada.if.usp.br



Re: fix HD order

2013-02-28 Thread Joao Luis Meloni Assirati
 Hi,
 i've 4 HD's and 3 distros.
 When i load debian squeeze, the sdc hd is slected by grub, but the next
 time i load it, the sda hd is selected.
 It seems a randomize selecting.
 How can i fix this ? UID is used and settings by name don't resolve the
 problem.
 And yes, i have win7 also on a separate hd.
 thanks

Do you always see the same grub menu when booting? It is possible that you
have different grub configurations in each HD and the BIOS is choosing a
different disk to boot from each time.

I would try to make sure that the bios always choose the same disk when
booting. If this is not possible, then all files /boot/grub/grub.cfg in
each HD should be equal and use UUIDs.

Also, make sure that the /etc/fstab in each distribution use UUIDs.

João Luis


-- 
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/4193ff357d5be06c8619d4589064d722.squir...@nonada.if.usp.br



Re: I wish to advocate linux

2013-02-27 Thread Joao Luis Meloni Assirati
 On 2013/2/27 6:31 PM, Miles Fidelman wrote:

 Mark Filipak wrote:
 I'm not a troll, Miles.

Yes, you are. Lets see.

 I'm trying to get help, Miles.

What is the question?

 I've been lurking. This didn't start out as
 my thread. I wish to advocate linux is not my aim. I merely made a
 comment about Linux advocacy and got jumped on.

If you dont care about Linux advocacy, why did you comment here? This kind
of contradiction is typical of trolls. More on this paragraph below.

 Whether you think I
 deserved to get jumped on or not, I got many messages in short order
 attacking me. I guess I did hit a nerve.

No one attacked you. People are at most criticising your ideas the same
way you are criticising Linux I put Linux in quotation marks here
because you are not and cannot criticise Linux, which is the kernel. You
at most would be able to criticise some Linux distribuiton. But you NEVER
told you which distribution where you trying to install. It could even be
Android or some router embedded OS which also runs Linux.

 My experience has been: I make (or buy) CDs.

Which distribuiton?

 I boot them. I begin the installation.

Which hardware?

 I'm asked a hundred times whether I
 want to install this program or that program.

The certainly it is not Debian. There is not a hundred questions in the
installer. For software installation, there is only one question
(tasksel).

 But I'm not at all prepared
 to choose because I don't know anything about Linux or the programs, so I
 choose to install them all.

When you install Windows or Office you choose to install all options or
keep the default ones? If you don't know yet about Linux, why don't you
choose to keep the default options?

 Then when I try to boot my new Linux
 installation, I get an error message that such--such program is missing
 and boot is terminating with a kernel panic or a failure code. This has
 happened many times.


 When I asked about this in Linux forums, I got
 answers that only a Linux guru would understand.

If you asked at a Linux forum, you should have received very technical
answers. For user questions, you must ask at a distribution forum. Like
this one.

So, what is your question? Do you really have one or are you just trolling?

 Let me give you an example of the kind of insensitivity (or myopic
 stupidity) that seems to be the hallmark of the Linux community. In the
 Debian live page, dd is offered as the way to copy the ISO file to a USB
 stick. But the dd program offered only runs in Linux! What good is that to
 someone who is running Windows at the time? It's like Linux is in it's own
 world.

So here we have it. You are trying to run a Linux distribution from USB
stick. Somehing very exotic, not for beginers. Now I dare you to prove
that it is easier (or even possible) to do this with Windows. If you are
complaing that doing in Linux something that is impossible in Windows and
alleges that it is easier to do this thing in Windows is easier than in
Linux, you are...

  T R O L L I N G.

 I thought I was at a forum in which people would like to advocate for
 Linux and therefore would do what's needed to assure successful conversion
 from Windows to Linux,

You are in the wrong forum. Convertions are religion business.

 but instead I experience the same elitism and
 condescension I'd experienced at other Linux forums.

So, you don't want condescension, but if someone criticise you, then you
are being jumped on. Can you see how ridiculous your argumentation
became?

 If you can't see that, then you are part of the problem. I give up. I
 apparently will never run Linux because I'm too stupid.

No one here cares about this. Here we are in the
answer-to-objective-questions-and-solve-real-problems business.

So, what is your question? What is your problem?

Joã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/2cb6b5cdd8c79dc04d6c076fd62fe3fc.squir...@nonada.if.usp.br



Re: Snapshot Program

2013-02-26 Thread Joao Luis Meloni Assirati
 On Tue, Feb 26, 2013 at 04:21:47PM +, Hélder Pinheiro wrote:
 Hi,
 Is there any program to do a kind of snapshots of my debian
 installation?
 Something that I can restore through CLI
 I am always playing around with my distro and sometimes things do not run
 well, and I feed the need to restore a yesterday's image.
 Is it possible?
 Regards,
 Hélder Pinheiro
 Hi,
 I'm using Clonezilla for that.
 www.clonezilla.org/
 Just capture a snapshot of system partition and you can restore it. It's
a live distro.

[LVM blurb]

As a permanent solution, consider installing the system in an LVM (Debian
supports this mode of installation), which supports an operation called
snapshot. Leave some space in the volume group so that you can take a
read/write snapshot of the logical volumes (LVM equivalent to
partitions) before the modification of the system. Snapshots are copy on
write, which means that they are created very fast and you need spare
space in the volume group only to accommodate the modifications of the
filesystem while the system is running.

The snapshots are created online, while the system live and running, and
there is a graphical interface system-config-lvm (which I don't use)
alongside the command line tools. The logical volumes can be resized
without the constraints of the partition table.

After you made the modifications, if you want to restore the previous
state, just delete the modified logical volumes and rename the snapshots
so they take place of the original logical volumes.

There is a lot of hope in the upcoming btrfs filesystem that will
implement all these features within the filesystem, but LVM is already a
mature and reliable tool.

João Luis


-- 
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/602ba99ac798aa62989af652d2acfc2d.squir...@nonada.if.usp.br



Re: Snapshot Program

2013-02-26 Thread Joao Luis Meloni Assirati
 On Tue, Feb 26, 2013 at 10:19 AM, Joao Luis Meloni Assirati 
 assir...@nonada.if.usp.br wrote:

  On Tue, Feb 26, 2013 at 04:21:47PM +, Hélder Pinheiro wrote:
  Hi,
  Is there any program to do a kind of snapshots of my debian
  installation?
  Something that I can restore through CLI



 After you made the modifications, if you want to restore the previous
 state, just delete the modified logical volumes and rename the
 snapshots
 so they take place of the original logical volumes.
 João Luis


 I thought when you wanted to incorporate the changes(data stored in
 snapshot) into the original volume you had to merge them(lvconvert
 --merge).  Is this incorrect?

 No, this is the correct solutions and works also when the snapshot is
 read-only.

Let make things a bit more clear. You take the snapshot and make changes
in the original logical volumes. If you want to revert the changes, you
call lvconvert --merge, which will revert the logical volume to its
original state. The name merge is somewhat misleading, I think.


-- 
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/10903d979f9b1d7effbb67f8ca377404.squir...@nonada.if.usp.br



Re: a very carefully asked question?

2013-02-26 Thread Joao Luis Meloni Assirati
 Hi folks,
 I have been considering all day how I will ask this.
 it is very very important that I get the answer I seek, and with so  many
 variations, things can  shift off the mark if not careful.
 going to keep it simple  only adding extra detail if necessary.
 If one already has an install of debian, in this case squeeze that did
 not involve including network access at the time, how does one add  the
 networking aspect later?
 I will have working dsl I trust this weekend.  I want the individual
 helping me connect my main computer to also inform my Debian machine that
 a
 network connection exists, letting debian establish  the best drivers
 etc., for the network.
 How specifically is this done?

Chances are that your network card was detected and the correct kernel
module is already being loaded. If this is the case and you never touched
any network configuration file, and also you dsl provider does not use
pppoe but instead plain ethernet with dhcp, then networking will just work
when you connect the network cable.

If it does not work, please write again to this list including the output
of the comands

cat /etc/network/interfaces
dpkg --status network-manager | grep Status
lspci -v
dmesg | grep eth0
/sbin/ifconfig

and whether your provider uses pppoe or plain ethernet with dhcp.

João Luis.


-- 
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/d880a900230b40889dbd9072ff9d726b.squir...@nonada.if.usp.br



Re: debian wheezy amd64 freeze

2013-02-25 Thread Joao Luis Meloni Assirati
 did you unload the old kernel driver?
 at least you need a `modprobe nvidia` after dkms install and then
 restart the graphical login manager (kdm, gdm...)


 -r


 I did it (the driver was loaded. ) but I still got the error screen not
 fount.

 I've tryed to manually edit the xorg.conf but nothing change.

Is the nouveau driver blacklisted? If you are using the proprietary nvidia
driver, you should have a file in /etc/modprobe.d/, say
/etc/modprobe.d/nvidia-graphics-drivers.conf, containing

blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
alias nvidia nvidia-current

On the other hand, if the nouveau driver is being loaded in the initramfs,
it must be disabled in the kernel command line. Try putting

nouveau.modeset=0

in the kernel command line in the grub boot menu or set the variable

GRUB_CMDLINE_LINUX=nouveau.modeset=0

in /etc/default/grub and run update-grub.

Joao Luis.


-- 
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/08686ee83a45732e00ea0718300163d6.squir...@nonada.if.usp.br



Re: Can't execute binary?

2013-02-21 Thread Joao Luis Meloni Assirati
 Hi,
 I've just installed wheezy/KDE on a spare machine, to see what we're
 getting. All seems OK, apart from one mystery:

 I installed a copy of Firefox-18.0.2 in /usr/local, with a symlink
 pointing to it, as I have done in Squeeze and earlier for years.

 Typing /usr/local/firefox/firefox always used to start it with no
 problem. However, on the wheezy box, I'm getting:
 ---
 tony@tony-dlt:~$ /usr/local/firefox/firefox
 bash: /usr/local/firefox/firefox: cannot execute binary file
 ---

 Well, WTF, as they say. Does anyone know of a change that causes this?

Is the copy of firefox the same architetcture of the spare machine? Aren't
you trying to run a 64bit executable in a 32bit machine?


-- 
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/0489a35a5d970e7f71ccd30f6c20dce0.squir...@nonada.if.usp.br



Re: OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Joao Luis Meloni Assirati
 I am trying to figure out the meaning of:

   /proc/$PID/fd/*

 files.

These are links that point to the open files of the process whose pid is
$PID. Fd stands for file descriptors, which is an integer that
identifies any program input or output in UNIX-like systems.

 and then if I tried something like this:

echo foo  /proc/$PID/fd/0

[..]
 What actually happened was:
 - foo string appeared on the appropriate terminal
 - the ./main process remained blocked in the read system call.

You program has the terminal opened as file descriptor 0 which corresponds
to standard input (1 and 2 are standard output and standard error). If you
list /proc/$PID/fd you will see something like this:

$ ls -l /proc/$PID/fd/0
lrwx-- 1 root root 64 Fev 19 11:55 0 - /dev/pts/7

meaning that your program has opened pseudo terminal 7 (probably an
xterm) as its standar input. So when you write to /proc/$PID/fd/0, you are
really writing to /dev/pts/7, that's why you see things appearing to the
terminal. You cannot write to the standard input the way you thought
because it is already linked to the terminal. Only the terminal can write
to your program's standar input.

 Is there somewhere a concise and correct description that explains this?

I learned a lot about those subjects in the book Linux A-Z by Phil Cornes,
but I think that /proc in Linux is becoming very specific. You have to
learn a lot in man pages, kernel documentations, google, etc.

Best wishes,
João Luis.


-- 
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/bd4ac4a5bd11ade6eaac504064f4e533.squir...@nonada.if.usp.br



Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Joao Luis Meloni Assirati
This conversation is unbelievable. Debian-user is supposedly a list where 
voluntary people answer simple practical questions of users. Are you
really going to enforce list members to watch such ego demonstrations and
unfunny jokes?

 On 2/16/2013 3:50 PM, Joe Pfeiffer wrote:
 Jerry Stuckle jstuc...@attglobal.net writes:

 On 2/14/2013 4:52 PM, Pascal Hambourg wrote:

 Agreed. And now there are official binary prefixes, so there is no
 excuse for not using them when powers of 2 are more convenient instead
 of abusing SI decimal prefixes.

 And who declared these made-up prefixes official?

 The International Electrotechnical Commission (IEC).



 Which, unfortunately, is the wrong organization for RAM devices.  JEDEC,
 the appropriate governing body, hasn't.

 And even then, it's not a standard until it's been accepted by the
 mainstream.  Please show where that has occurred.


 --
 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/511ffbb9.5020...@attglobal.net




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/5defc303bb457fbb2bf8d3bd16f2dc58.squir...@nonada.if.usp.br



Re: Wake on lan with RTL8111/8168B

2013-02-11 Thread Joao Luis Meloni Assirati
 And, how do you connect to that distant computer? SSH, I guess?
 If I had the same problem, I would check that the correct profile
 (environment variables, rights, such kind of things) related to poweroff
 is loaded, since I think ssh does not provide all environment variables to
 connected users.

All my tests until now were done with local shells. I assure it is not such a 
problem.


-- 
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/20130211162018.ca6cc...@nonada.if.usp.br