Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Stan Hoeppner
On 8/27/2012 6:12 PM, Stephen Powell wrote:
> On Mon, 27 Aug 2012 01:42:54 -0400 (EDT), Stan Hoeppner wrote:
>> Stephen Powell wrote:
>>> I know enough to be dangerous, but not
>>> always enough to be competent.  That's why I opened this thread
>>> in the first place.
>>
>> In this case the solution is as simple as downloading and reading the
>> manual for your board: http://ph.academicdirect.ro/ISB_SE7500CW2.pdf
>>
>> The memory specs are on page 17.
> 
> Stan, you are a wealth of information.  I didn't search for the motherboard
> manual because, for some reason, I didn't think they were published online.
> Maybe I did an extensive search in the past for a motherboard or chipset
> manual and found nothing; so I already had it in my head that such things
> weren't available.  But in this case I am happy to be proved wrong.

It's quite common for someone around the globe to re-host the manual for
an EOL/obsolete product.  Sometimes they're easy to find, sometimes not
so easy.  Your manual was pretty easy with a basic Google search.  I
found it not long after this thread began.

> By the way, there's something I don't understand.  A 32-bit processor can
> only access 4G of "real" (extended) memory, right?  So why are there
> motherboards available for 32-bit processors that support installing
> more than 4G of RAM?  What good is memory that the processor can't address?

The processor can address up to 64GB using PAE:
http://en.wikipedia.org/wiki/Physical_Address_Extension

PAE, BTW has been with us in every Intel and AMD CPU since the Pentium
Pro and K6, since 1996, 16 years, one year after I started working on
computers professionally.

All new AMD/Intel x86 CPUs for many years have had the x86-64 ISA
(instruction set architecture), so PAE is rarely used today.  Before AMD
introduced the the x86-64 ISA with the Opteron, if one wanted large
memory in a server PAE was the only option in the x86 world.  Only a few
systems took serious advantage of PAE, almost all for database work.

The Data General Aviion 25000 sported up to 32 Pentium Pro CPUs and 64GB
RAM, running their proprietary DG/UX SVR4 Unix variant; exclusively used
in the health care industry for patient record databases, etc.  Axil
(acquired by HP) had an 8-way Pentium Pro box with up to 8 or 16GB RAM
which they sold as an MS SQL server solution.  Unisys had a series of
ES7000 machines with up to 32 Xeon processors and 64GB of RAM, also sold
as an MS SQL server platform though Linux was supported.  These were
really neat machines.

Somewhat off topic, but very interesting, these 32-way Unisys machines
were quite unique at the time as they could be partitioned into
independent physical servers (not virtual) of 4, 8, 12, 16, 20, 24, 28,
or 32 CPUs each.  This was possible because the system was built around
4 CPU cellular multiprocessing boards interconnected by a custom cross
bar switch network which was connected to a single high bandwidth flat
memory subsystem composed of multiple interleaved channels.

It's memory bandwidth of 20GB/s was many times higher than any x86
server at that time as they all used a single P6 bus, with only 1GB/s
bandwidth.  20GB/s is peanuts today given just two channels of DDR3-1333
have just over 20GB/s, but back then, in the late 1990s, this was huge.
 This CMP design also allowed assigning different amounts of memory to
each of the hosts, with the firmware and custom crossbar chipset setting
up the fences in the physical memory map.  Individual PCI buses and IO
devices could be assigned to any of the partitioned servers.  In the
first models, a console module had to be installed which included VGA,
KB, mouse ports and each was controlled via a KVM switch.  Later models
had a much more intelligent solution in the form of a single system
controller.

This also facilitated the ability to cluster multiple sets of two
physical hosts (up to 4 clusters per server) within a single server
using system memory as the cluster interconnect, with latency thousands
of times lower and bandwidth thousands of times higher than the fastest
network interconnects at that time, this became immensely popular with
Unisys customers, many running multiple clustered MS SQL servers within
one ES7000 mainframe.

Note I used the word mainframe.  All of this unique technology and
scalability Unisys brought to x86, MS Windows and, to a lesser degree,
Linux, was directly derived from Unisys' ClearPath mainframe technology,
where such features had been common for years, as well as on IBM,
Fujitsu, and other mainframes.

Sadly, due to market realities and diminished customer demand for large
monolithic servers, the biggest x86 box Unisys now sells is an 8-way 4U
Xeon box.  Though with up to 80 cores, 332x times the memory bandwidth,
and similarly higher IO bus bandwidth, it runs circles around the
monster 32 socket mainframe style boxes of yesterday.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsu

Re: debian sid bug?

2012-08-28 Thread Mauro
On 27 August 2012 23:44, Bob Proulx  wrote:
> Ralf Mardorf wrote:
>> At Joe and Bob. Do you use multi arch? It seems to be a problem for
>> multi arch.
>
> I do because multiarch is now a capability of dpkg and I use dpkg.
> But I haven't used it explicitly.  I am running a pure 64-bit amd64
> installation without any explicit ia32 packages installated.
>
> I ran reportbug on libqt4-sql-sqlite and it produced this package tree
> on my system:
>
>   Versions of packages libqt4-sql-sqlite depends on:
>   ii  libc6  2.13-35
>   ii  libgcc11:4.7.1-7
>   ii  libqt4-sql 4:4.8.2+dfsg-1
>   ii  libqtcore4 4:4.8.2+dfsg-1
>   ii  libsqlite3-0   3.7.13-1
>   ii  libstdc++6 4.7.1-7
>   ii  multiarch-support  2.13-35
>
> Notice that the versions above are "+dfsg-1" versions and not "+b1"
> versions.  The original poster was having problems with "+b1" versions
> which have been replaced with the newer "+dfsg-1" versions.
>
> If you are having problems with multiarch it would be informative to
> me if you would explain the problem.  I don't see any 32-bit libs in
> any of the above and so don't see how it would affect things.  I think
> it more likely that an out of date mirror or an out of date package
> list is the problem.
>
> However "+b1" is a binary NMU version and so perhaps someone did a
> binary NMU but inconsistently across the architectures?  That is
> certainly possible.  And would explain why it is working on amd64 just
> fine but broken on another one.
>
> The PTS shows this package very recently uploaded and built.  It may
> not have propagated everywhere yet.  The build failed on ia64.
>
>   http://packages.qa.debian.org/q/qt4-x11.html

I've found the solution here:

http://aptosid.com/index.php?name=PNphpBB2&file=viewtopic&p=15393


-- 
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/cae17a0xs6jmnwjzgyexu9ner2mfrqt-ee2m9ygtfc1dab6+...@mail.gmail.com



Re: how to fix logical bad sectors

2012-08-28 Thread Muhammad Yousuf Khan
On Mon, Aug 27, 2012 at 7:34 PM, Camaleón  wrote:
> On Mon, 27 Aug 2012 16:21:41 +0500, Muhammad Yousuf Khan wrote:
>
>> On Mon, Aug 27, 2012 at 3:28 PM, Sthu Deus  wrote:
>>> Good time of the day, Muhammad.
>>>
>>>
>>> You wrote:
>>>
 i am using RAID 1 on 2x500GB harddrives. and one of my drive shows
 Current_Pending_Sector 154. how can i fix that.
>
> You can't. Modern hard disks handle this by themselves in a process that
> is transparent for the user (they "mark" the bad sectors so they are not
> used again). You have to worry though if this value
> (Current_Pending_Sector) starts increasing very quickly.
>
> After all, as you are using "raid 1" you are covered by this (i.e., a
> hard disk failure), right? ;-P
>
>>> I also did not have such a problem. But I think, that You have not to
>>> worry about this unless huge amount of sectors will become bad in short
>>> period of time. - The HDD will relocate it itself, marking the primary
>>> ones as bad and that's it.
>
> Exactly.
>
>> but my /var/log/syslog showing this
>>
>>
>> Aug 27 12:11:37 lion kernel: [6.347932] ata1.00: status: { DRDY ERR }
>> Aug 27 12:11:37 lion kernel: [6.348008] ata1.00: error: { UNC }
>> Aug 27 12:11:37 lion kernel: [6.372478] ata1.00: configured for UDMA/133
>> Aug 27 12:11:37 lion kernel: [6.372487] ata1: EH complete
>> Aug 27 12:11:37 lion kernel: [9.059325] ata1.00: exception Emask 0x0 
>> SAct 0x0 SErr 0x0 action 0x0
>> Aug 27 12:11:37 lion kernel: [9.059413] ata1.00: BMDMA stat 0x4
>> Aug 27 12:11:37 lion kernel: [9.059514] ata1.00: failed command: READ DMA
>> Aug 27 12:11:37 lion kernel: [9.059620] ata1.00: cmd 
>> c8/00:08:08:78:1b/00:00:00:00:00/e2 tag 0 dma 4096 in
>> Aug 27 12:11:37 lion kernel: [9.059621]  res 
>> 51/40:00:0a:78:1b/00:00:00:00:00/e2 Emask 0x9 (media error)
>>
>>
>> do i have to worry about this?
>
> Sure you do. What's connected to ata1.00? (dmesg | grep -i ata1.00)
>
> These errors are usually derived not from "bad sectors" but a hardware issue
> (e.g., bad/loosey cabling). Just to be sure, you can run a full SMART test to
> diagnose any problem from the disk and better if you use the hdd 
> manufacturer's
> test disk tools which are usually run from a small live-cd iso.
>
> 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/k1g0ig$9nj$1...@ger.gmane.org
>

here you go.

[2.920604] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[2.955968] ata1.00: ATA-8: WDC WD5000AVVS-63M8B0, 01.00A01, max UDMA/133
[2.955972] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[2.961570] ata1.00: configured for UDMA/133

would you please tell me one more thing. i am using rsyslog server but
i can not see this critical error on that rsyslog server.
 i am  using this in /etc/rsyslog.conf
*.* @@MySyslogServer

which is working fine however it suppose to show this msg also. any
experience person would like to throw some light on that plz.

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/cagwvfmk1ojoopt_+lxxo457ffnyqawqohuvkth7runmx1wp...@mail.gmail.com



pulseaudio configuration question

2012-08-28 Thread Jude DaShiell
What I ended up doing was to remove pulseaudio and pulseaudio-module-x11 
from the machine in order to get things working and then used alsamixer to 
unmute many things.  The result for now is that streaming multimedia 
works.  My original interest in configuring pulseaudio was to enable a 
desktop installation generally and subsequent correct operation of 
gnome-orca.  Upon installation of desktop environment using tasksel with 
no sighted assistance available to examine screen output I never did 
manage to log into gnome since gnome came up silently there were no sound 
cues to let me know either the success or failure of gnome loading or that 
it was time to log in.  So I went to fall back position and tried 
installing orca from command line using the -t switch.  The only server 
speech-dispatcher had working was dummy and that kept speaking 
continuously until I hit control-c to stop it.  None of the other servers 
were expecting themselves to be used, no clue as to which servers just the 
statement that they weren't expecting to be used.  So all of that failed.  
I moved on in the command line environment and discovered that multimedia 
would not work and what I did for it has at least solved that problem.  In 
the case of screen reader accessibility, a desktop install using tasksel 
or its equivalent install software in the installation will be complete, 
but will not be correct.  Probably installation of metapackages will work 
better.  Time permitting I will figure out an effective accessibility 
desktop install strategy and probably post that on debian-accessibility 
for use of others interested in getting this done in future.  One final 
note about speech-dispatcher, the dummy message gave me locations for 
which to read speechd.log and I checked 
/var/log/speech-dispatcher/speechd.log and found an empty directory after 
everything was done.  Is priority higher for writing in a $HOME directory 
than in the /var/log/speech-dispatcher/ directory and if so why?


--- 
jude 



-- 
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.bsf.2.01.1208280524540.19...@freire1.furyyjbeyq.arg



Re: Realtek RTL8111/8168B death

2012-08-28 Thread Gareth de Vaux
On Mon 2012-08-27 (13:28), Camale?n wrote:
> As you seem to be running Wheezy stock kernel I would open bug report in 
> Debian BTS for this (if there's still none already opened).

Thanx, wasn't sure which current ones were related, but will do.


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



Re: Obtaining a Newer Kernel

2012-08-28 Thread Andrei POPESCU
On Lu, 27 aug 12, 21:47:08, Ralf Mardorf wrote:
> 
> I often build vanilla + patch-rt. Usually I copy the Debian's default
> kernel config, change some settings to fit to rt needs and then run
> "make oldconfig". 

Have you tried the new rt flavour of Debian kernels?

$ uname -a
Linux think 3.2.0-3-rt-686-pae #1 SMP PREEMPT RT Mon Jul 23 05:49:20 UTC 2012 
i686 GNU/Linux

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


signature.asc
Description: Digital signature


Re: Reseed Help

2012-08-28 Thread Tom H
On Mon, Aug 27, 2012 at 7:51 AM,  wrote:
>
> I am trying to implement the preseed information contained on:
> http://users.telenet.be/mydotcom/howto/linux/autoinventory.htm
>
> In the section "debian installer preseed file' there is a command
> sequence:
> TARGET="/root/inventory"
> debconf-get-selections --installer >
> $TARGET/$TARGET/list_packages_installer
> debconf-get-selections > $TARGET/list_packages
>
> 1) From the description, it sounds like list_packages_installer can be
> used as a preseed file. How do I tell the installer what the preseed
> file name is or is it the above as a default?
>
> The page states:
> "list_packages_installer will contain the options relevant to the
> debian-installer : the base system configuration. list_packages will be
> more elaborate and contains also the choices you've made during package
> installation. This can be used to re-install packages with the same
> options as on your model. It is not recommended to use these files
> directly as preseed files, but you can use the data in it to populate a
> preseed file with sensible questions and answers."
>
> 2) Does this mean that neither list_packages_installer and
> list_packages should not be used as preseed files? If not, the
> directions say to use the info to populate a preseed file with "sensible
> questions and answers". I was hoping the above would provide an
> installer preseed file, but it seems there is another file necessary? I
> have not found what needs to go in a preseed file so I don't know how to
> use the data in the two files above to make a preseed. Is there a way
> to automatically build a preseed file?
>
> I am looking for a method to reproduce specific builds and define a
> basis for modifications. I would like to use the computer to automate
> these tasks so I don't [continually] make mistakes that I must recover
> from, or at least simplify the recovery process.
>
> How to I build a preseed file from an existing system? This is a new,
> minimal system, just enough to form a basis to build a workstation step
> by recoverable step.

It's best to start from [1] and add the extra installation and
configuration steps that you want based on "debconf-get-selections"
and "debconf-get-selections --installer".

"debconf-get-selections" and "debconf-get-selections --installer" have
unset configurations and have multiple-set configurations.

If you run "debconf-get-selections | grep tzdata", there are various
timezones with blank settings.

I don't have Debian box at hand to look this up exactly, but, AFAIR,
the timezone section of "debconf-get-selections --installer" has a
zone set when countries with multiple timezones.

1. http://www.debian.org/releases/squeeze/example-preseed.txt


-- 
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/CAOdo=SzqC=XOpLUxe8L1Lo5YX=-jbm6o8b6zxkxteonofyf...@mail.gmail.com



re:LT121DEVPK00,LTD131EWSX,LTD133EXBY from Aimee-shengruihk.com

2012-08-28 Thread Aimee Luo

Hello Dear,

Following are hot selling model for your reference.

Model:LT121DEVPK00 Toshiba
1280(RGB)×800 Glossy
20pcs/box

Model:LTD131EWSX Toshiba
1366(RGB)×768 Glossy
20pcs/box

Model:LTD133EXBY Toshiba
1280(RGB)×800 Glossy
20pcs/box

They are moving fast, pls contact me ASAP if you need them.

---
  Aimee Luo
shengrui HK Shenzhen Shengrui Trading Co., Ltd.T: 0086 0755 83341623 | F: 0086 
0755 83975681 |MP:0086 0 13691702990 E: sa...@shengruihk.com  skype:aimee_luo   
MSN:shengru...@hotmail.comw: http://www.shengruihk.com Products Showroom on 
Alibaba.com



35EQ即时通讯,快捷沟通,多种互动,高效移动办公。免费下载体验

Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Henrique de Moraes Holschuh
On Tue, 28 Aug 2012, Stan Hoeppner wrote:
> Sadly, due to market realities and diminished customer demand for large
> monolithic servers, the biggest x86 box Unisys now sells is an 8-way 4U
> Xeon box.  Though with up to 80 cores, 332x times the memory bandwidth,
> and similarly higher IO bus bandwidth, it runs circles around the
> monster 32 socket mainframe style boxes of yesterday.

You can go to SGI for suitably large n-way Linux servers.  An SGI UV 2k rack
will go up to 256 Intel E5 processors (2048 cores, 4096 threads), 64TB RAM.

http://www.sgi.com/products/servers/uv/

I don't think the UV has mainframe-style hardware partitioning.  It is a big
NUMA box with a complex hypercube-like node topology.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
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/20120828104000.ga...@khazad-dum.debian.net



sux: "cannot open display: :0".

2012-08-28 Thread Sthu Deus
Good time of the day.


On wheezy, after upgrade of:

kmod:amd64 8-2 -> 9-1
libgl1-mesa-dri:amd64 8.0.4-1 -> 8.0.4-2
libgl1-mesa-dri:i386 8.0.4-1 -> 8.0.4-2
libgl1-mesa-glx:amd64 8.0.4-1 -> 8.0.4-2
libgl1-mesa-glx:i386 8.0.4-1 -> 8.0.4-2
libglapi-mesa:amd64 8.0.4-1 -> 8.0.4-2
libglapi-mesa:i386 8.0.4-1 -> 8.0.4-2
libglu1-mesa:amd64 8.0.4-1 -> 8.0.4-2
libglu1-mesa:i386 8.0.4-1 -> 8.0.4-2
libkmod2:amd64 8-2 -> 9-1
libspectre1:amd64 0.2.6-2 -> 0.2.7-2
module-init-tools:amd64 8-2 -> 9-1

I can not run several X app.s from sux-ed user:

$ chromium
No protocol specified
(chromium:N): Gtk-WARNING **: cannot open display: :0

$ liferea
(liferea:N): GConf-WARNING **: Client failed to connect to the D-BUS
daemon: /usr/bin/dbus-launch terminated abnormally with the following
error: No protocol specified Autolaunch error: X11 initialization
failed.
GConf Error: No D-BUS daemon running

I'm running LXDE for Your notice.

Against which package I should make bug report?

Thanks for Your time.


Sthu.


-- 
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/503caf9b.631d700a.381d.4...@mx.google.com



Re: Standard for soft return by automatic word and line wrap

2012-08-28 Thread Darac Marjal
On Mon, Aug 27, 2012 at 03:35:52AM +1200, Chris Bannister wrote:
> On Sat, Aug 25, 2012 at 08:31:06PM +0200, Ralf Mardorf wrote:
> > I used gvim, but kate and gedit and even leafpad and others are more
> > comfortable. IIRC common shortcuts didn't work with gvim, the only
> > difference to vi(m) was, that I didn't need to know all the commands by
> > heart.
> 
> The trick to using vi(m) etc, is not to try and learn everything by
> heart, just start using it and it gradually becomes second nature.
> 
> Start with vimtutor, and read through the documentation, but don't try
> and learn it by heart or you will soon be overwhelmed and confused. :)

Or even have a go at http://vim-adventures.com/



signature.asc
Description: Digital signature


Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Richard Owlett

Richard Owlett wrote:

I have two objectives:
1. Define, by experimentation, optimal installation
parameters to meet my
idiosyncratic concept of a "minimal install".
2. Determine if there are bugs in Debian Installer, the
instructions for
the installer, or MY reading of those instructions.

I've bought the 8 DVD set of Debian 6.0.5 and have set aside
a laptop as a testbed. I would divvy up the 80GB drive with
8-10GB for a quasi-static Debian install [some other
experiments, possible supervisor for these tests] and ~40GB
for DVD content [possibly some additional packages]. The
rest would be for the resulting test install and possibly
preserving some log files.

[SNIP the majority of my original post]

Are there other routes to my goals I should investigate?



In this thread, and others, there have been an underlying 
assumption/suggestion that I do a netinstall. I do not now, 
nor in foreseeable future, have a home network. And as my 
only web access at home is dial-up, that is out ;)


QUESTION:
Can someone point me to detailed instructions on setting up 
a client and "server" on a single physical computer. As a 
primary motivation for this whole project is learning Linux, 
I foresee lots of related reading :)


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/503cb8ea.30...@cloud85.net



Re: startx, gnome 3 and system-wide default session

2012-08-28 Thread John L. Cunningham
On Tue, Aug 28, 2012 at 02:35:56AM +, T o n g wrote:
> Hi,
> 
> I get into X by startx (not lightdm).
> 
> How can I define the default gnome session (gnome-classic instead of 
> 2d/3d) system-wide for all users?

Have you tried update-alternatives --config x-session-manager?
-- 
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120828125444.ga2...@infotech.vrg.org



e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-28 Thread Kamaraju S Kusumanchi
When I ran

$sudo e2fsck -c -c -f -v /dev/sdb7

I am getting a lot of errors such as

Error reading block 18022401 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19562497 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19824640 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19824641 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes

1) Does this mean there are badblocks on my hard drive?
2) Am I correct in choosing "yes" to both these questions or is there a 
better way?
3) Is the drive going bad and need to be replaced?
4) What might have caused this problem and how to prevent it in the future?
5) Is the filesystem on this partition corrupted?

thanks
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.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/k1ih6e$ui$1...@ger.gmane.org



Re: pcieport: Multiple Corrected error received and can't find device

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 15:10:09 -0300, Damian Montaldo wrote:

> On Mon, Aug 27, 2012 at 2:50 PM, Camaleón  wrote:
>> On Mon, 27 Aug 2012 13:47:39 -0300, Damian Montaldo wrote:
>>
>>> Hi, I'm experiencing a lot of strange errors in the logs about a pci
>>> port device.
>>
>> (...)
>>
>> There's more information about those message in this bug report for
>> Ubuntu:
>>
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/671979
>>
>> Specifically comments #8 and #9.
> 
> Thanks Camaleón, I read that bug before ask here but the #9 solution in
> the opensuse forum talks about X server and kde and, like I said before,
> I'm not using a X server.

Not exactly. 

The openSUSE forum post is about moving the VGA card into a different 
PCIe slot but this was of no help for the Ubuntu user. I guess the 
success of the suggested bypass depends on the motherboard (on some 
models you can find slots which share MB resources which could be 
triggering this warning).

> The ubuntu nvidia-current-updates packages doesn't exists in debian. The
> similar package in debian is nvidia-support? Anyway that is the non-free
> driver binaries and I'm currently using nouveau.

There's no clear solution posted at the Ubuntu bug (or at least I could 
not find it) that's why I suggested that you open a report in Debian :-)

>> It looks related to the nvidia card but the solution/bypass is not
>> clear, maybe worth reporting at Debian BTS (kernel component).
> OK so I'm going to try to report it as a bug.

Good. You can point to the Ubuntu bug so developers can see there are 
another users affected by this. Most sure they already know about this 
and can give you some hints to overcome it.

> Thanks again.

You're welcome.

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/k1ih85$ik9$4...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-28 Thread Federico Alberto Sayd

On 28/08/12 10:28, Kamaraju S Kusumanchi wrote:

When I ran

$sudo e2fsck -c -c -f -v /dev/sdb7

I am getting a lot of errors such as

Error reading block 18022401 (Attempt to read block from filesystem resulted
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19562497 (Attempt to read block from filesystem resulted
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19824640 (Attempt to read block from filesystem resulted
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes
Error reading block 19824641 (Attempt to read block from filesystem resulted
in short read) while reading inode and block bitmaps.  Ignore error? yes
Force rewrite? yes

1) Does this mean there are badblocks on my hard drive?
2) Am I correct in choosing "yes" to both these questions or is there a
better way?
3) Is the drive going bad and need to be replaced?
4) What might have caused this problem and how to prevent it in the future?
5) Is the filesystem on this partition corrupted?

thanks
raju

Did you try to diagnose your hardrive with smartmontools? Smartmontools 
uses S.M.A.R.T.[1] technology included in harddrives, and displays info 
about predictable failures, time of use, etc.


Regards

[1] http://en.wikipedia.org/wiki/S.M.A.R.T.


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

Archive: http://lists.debian.org/503cc9ed.4090...@uncu.edu.ar



Re: pulseaudio configuration question

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 20:30:04 -0500, Christofer C. Bell wrote:

> On Mon, Aug 27, 2012 at 9:07 AM, Camaleón  wrote:
>> On Mon, 27 Aug 2012 18:13:36 +1200, Chris Bannister wrote:
>>
>>> On Sun, Aug 26, 2012 at 07:18:04PM +0700, Sthu Deus wrote:
 Good time of the day, Jude.


 > The Holy Father is neither jude 

 Could You please stop This Name in vain?!
>>>
>>> Could You please stop criticising people's signatures?! What people
>>> put in their signature is their own business!
>>
>> I don't specially care about the content but signatures should be
>> formatted as such and this one is missing the "-- " so it renders like
>> a part of the body which is a bit confussing.
> 
> I'm just confused how someone could be offended by the signature.  

That's the easy part: you only have to show a bit of empathy ;-)

> It a.) doesn't make sense, b.) isn't taking anyone's name in vain (hint:
> the "Holy Father" is the Roman Catholic Pope, not "God").  So yeah, I'm
> with the other Chris.

I can *understand* very well Sthu feelings -though I don't *share* them- 
and why he could have been somehow offended by the above stanza.

Hint: "Holy Father" can refer to both entities.

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/k1iim4$ik9$5...@ger.gmane.org



Re: startx, gnome 3 and system-wide default session

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 02:35:56 +, T o n g wrote:

> I get into X by startx (not lightdm).
> 
> How can I define the default gnome session (gnome-classic instead of
> 2d/3d) system-wide for all users?

How about using "xinitrc" or "xsession" and call from there "gnome-
session-fallback?

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/k1ij4b$ik9$6...@ger.gmane.org



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Stephen Powell
On Tue, 28 Aug 2012 04:04:20 -0400 (EDT), Stan Hoeppner wrote:
> Stephen Powell wrote:
>> By the way, there's something I don't understand.  A 32-bit processor can
>> only access 4G of "real" (extended) memory, right?  So why are there
>> motherboards available for 32-bit processors that support installing
>> more than 4G of RAM?  What good is memory that the processor can't address?
> 
> The processor can address up to 64GB using PAE:
> http://en.wikipedia.org/wiki/Physical_Address_Extension

That explains it.  Thanks.  Thanks also to the other members of the
list who responded regarding PAE.
> 
> ...
> Note I used the word mainframe.  All of this unique technology and
> scalability Unisys brought to x86, MS Windows and, to a lesser degree,
> Linux, was directly derived from Unisys' ClearPath mainframe technology,
> where such features had been common for years, as well as on IBM,
> Fujitsu, and other mainframes.
> ...

I work on IBM mainframes as my "day job".  32-bit IBM mainframes have
a 2 GB address limit.  (That's because, although the registers for
manipulating binary integer numbers are 32-bits wide, the address bus
has only 31 address lines.)  Physical memory in excess of 2 GB could be
installed though.  You could use the extra memory in two ways.  (1)
IBM provides virtual-machine-level virtualization built-in to the
hardware microcode, known as PR/SM (Processor Resource / System Manager).
This can create what are known as LPARs (Logical PARtitions).  You can
divide up the physical memory between LPARs, so that each LPAR does not
exceed 2G.  (2) You can configure some of the memory, either in basic
mode or in LPAR mode, as "expanded memory".  (Think back to the "expanded
memory boards" in the days of DOS.)

This in known in IBM lingo
as XSTORE memory as opposed to CSTORE memory.  Some IBM mainframe operating
systems, such as VM, can use XSTORE memory as a high-speed paging device.
Then, some applications, such as DB2, can use "hyperspaces" or
"VM data spaces" as ways to exploit memory above 2 GB.  I was aware of
these techniques in the mainframe world to exploit memory above 2 GB,
but I'm much less familiar with the world of PC CPUs.

BTW, IBM's 64-bit machines no longer offer a "basic mode".  LPAR mode is
required on all 64-bit machines, AFAIK.

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1943825377.705792.1346163449270.javamail.r...@md01.wow.synacor.com



HDD problems that do not follow SMART results

2012-08-28 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm recurrently getting freezes because of HDD problems. During these
freezes, that generally last until I shut down the computer, I get such
messages:

==
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9 family
Device Model: Maxtor 6Y160M0
Serial Number:Y44NQSTE
Firmware Version: YAR51HW0
User Capacity:163,928,604,672 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:Tue Aug 28 16:09:09 2012 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

[...]

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.30] ata6.00: exception 
Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.35] ata6: SError: { 
UnrecovData Handshk }
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.38] ata6.00: failed 
command: WRITE DMA EXT
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.44] ata6.00: cmd 
35/00:80:00:4f:f5/00:01:12:00:00/e0 tag 0 dma 196608 out
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.46]  res 
40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.49] ata6.00: status: { 
DRDY }
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.56] ata6: hard 
resetting link
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.476042] ata6: SATA link up 
3.0 Gbps (SStatus 123 SControl 300)
Aug 28 10:21:40 merciadriluca-station kernel: [ 2160.597999] ata6.00: 
configured for UDMA/133
Aug 28 10:21:40 merciadriluca-station kernel: [ 2160.598003] ata6.00: device 
reported invalid CHS sector 0
Aug 28 10:21:40 merciadriluca-station kernel: [ 2160.598008] ata6: EH complete
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965242] ata6.00: exception 
Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965247] ata6: SError: { 
UnrecovData Handshk }
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965251] ata6.00: failed 
command: WRITE DMA EXT
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965257] ata6.00: cmd 
35/00:80:00:4f:f5/00:01:12:00:00/e0 tag 0 dma 196608 out
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965258]  res 
40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965261] ata6.00: status: { 
DRDY }
Aug 28 10:22:10 merciadriluca-station kernel: [ 2190.965269] ata6: hard 
resetting link
Aug 28 10:22:10 merciadriluca-station kernel: [ 2191.440043] ata6: SATA link up 
3.0 Gbps (SStatus 123 SControl 300)
Aug 28 10:22:11 merciadriluca-station kernel: [ 2191.546566] ata6.00: 
configured for UDMA/133
Aug 28 10:22:11 merciadriluca-station kernel: [ 2191.546571] ata6.00: device 
reported invalid CHS sector 0
Aug 28 10:22:11 merciadriluca-station kernel: [ 2191.546578] ata6: EH complete
==

After restarting, I got messages such as

==
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816026] ata4.00: exception 
Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816031] ata4: SError: { 
UnrecovData Handshk }
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816035] ata4.00: failed 
command: WRITE DMA
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816040] ata4.00: cmd 
ca/00:90:08:71:05/00:00:00:00:00/e0 tag 0 dma 73728 out
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816042]  res 
40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816045] ata4.00: status: { 
DRDY }
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816053] ata4: hard 
resetting link
Aug 28 11:01:35 merciadriluca-station kernel: [  234.292041] ata4: SATA link up 
3.0 Gbps (SStatus 123 SControl 300)
Aug 28 11:01:35 merciadriluca-station kernel: [  234.411821] ata4.00: 
configured for UDMA/133
Aug 28 11:01:35 merciadriluca-station kernel: [  234.411826] ata4.00: device 
reported invalid CHS sector 0
Aug 28 11:01:35 merciadriluca-station kernel: [  234.411831] ata4: EH complete
Aug 28 11:02:14 merciadriluca-station kernel: [  272.780026] ata4: limiting 
SATA link speed to 1.5 Gbps
Aug 28 11:02:14 merciadriluca-station kernel: [  272.780030] ata4.00: exception 
Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen
Aug 28 11:02:14 merciadriluca-station kernel: [  272.780034] ata4: SError: { 
UnrecovData Handshk }
Aug 28 11:02:14 merciadriluca-station 

Re: how to fix logical bad sectors

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 14:12:52 +0500, Muhammad Yousuf Khan wrote:

> On Mon, Aug 27, 2012 at 7:34 PM, Camaleón  wrote:

(...)

>>> do i have to worry about this?
>>
>> Sure you do. What's connected to ata1.00? (dmesg | grep -i ata1.00)
>>
>> These errors are usually derived not from "bad sectors" but a hardware
>> issue (e.g., bad/loosey cabling). Just to be sure, you can run a full
>> SMART test to diagnose any problem from the disk and better if you use
>> the hdd manufacturer's test disk tools which are usually run from a
>> small live-cd iso.
>>
> here you go.
> 
> [2.920604] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [2.955968] ata1.00: ATA-8: WDC WD5000AVVS-63M8B0, 01.00A01, max UDMA/133 
> [2.955972] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32) 
> [2.961570] ata1.00: configured for UDMA/133

That's one of your hard disks so you definitely have to worry for the above 
errors.

You can get WD diagnostic tool from here:

Data Lifeguard Diagnostic for DOS (CD)
http://support.wdc.com/product/download.asp?groupid=610&sid=30&lang=en

If both SATA drives pass the tests then open your computer case and reseat/
reconnect the SATA cables (or better yet, replace them with a set of quality 
SATA cables).

Another test you can perform is getting the ISO image for SystemRescueCD 
(livecd) 
and boot with it. From here you can check if the errors are gone or still 
present 
(by doing so you can discard/confirm a problem coming from the raid 1 layout 
that 
you have set in your main system because the livecd will see/treat both disks 
independently, not raided).

> would you please tell me one more thing. i am using rsyslog server but i
> can not see this critical error on that rsyslog server.

(...)

Sorry, but this is not the proper thread to talk about that. Anyway, I already 
read the other post you sent about the issue but I have no idea on rsyslog and 
remote logging, sorry ;-(

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/k1ikac$ik9$7...@ger.gmane.org



Re: pulseaudio configuration question

2012-08-28 Thread Ralf Mardorf
On Tue, 2012-08-28 at 13:56 +, Camaleón wrote:
> Hint: "Holy Father" can refer to both entities.

I don't like to offend people who belief in god, OTOH, if god feels
offended, it, an transcendental omnipotent being, should speak for
itself, or give the order to who ever is official vox dei lackey. It's
said that we are copies of god and he already killed his copies by the
Flood. Regarding to DSM-VI Cluster B god is narcissistic.
Is here a human, seraph or what ever subscribed to the list, who guess
to be vox dei? If so, he, she it should announce it, if not, this person
shouldn't offend agnostics, atheists and other freethinkers with
obsolete rules.

What the hell has this to do with "pulseaudio configuration question"?

2 Cents,
Ralf


-- 
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/1346163886.1234.25.camel@localhost.localdomain



[OT] Signatures and Sensibilities (was: pulseaudio configuration question)

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 16:24:46 +0200, Ralf Mardorf wrote:

(...)

> What the hell has this to do with "pulseaudio configuration question"?

Said finally the user who has not given a single hint on how to solve the 
problem of the OP >;-)

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/k1ima5$ik9$1...@ger.gmane.org



Email management workflow

2012-08-28 Thread Jimmy Thrasibule
Hello,

I have a bunch of email accounts that I connect to using the POP3
protocol and Thunderbird. This is mainly done to keep the different
servers clean of emails and also to keep a backup of all my emails on my
workstation. Of course, all the emails within my workstation are also
backed up regularly.

Now I'm like the young guys and I get an Android phone. My problem here
is about sent email. I can configure my Android phone to leave the
emails on the server and then remove them later from the server using my
workstation. But as sent emails are saved locally, I will lose the
emails sent from my phone.

I know about IMAP but one of my concerns is to being able to have access
without an Internet connection and I also like the fact to clean out all
my emails from the servers.

Any idea?



-- 
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/1346166434.9080.9.ca...@bews005.euractiv.com



Re: Bind9 - help - wildcard priority fail.

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 20:47:08 +0200, Ja wrote:

> Hi,

Hi, but please, no html posts, thanks :-)
>  
> I'm having problem with newest Bind9 (9.7.3). In version 9.6-ESV-R1 it
> works fine. The problem is that wildcard records are taking priority to
> more specific ones.

(...)

> When I ask Bind 9.6, it says:
>  
> jajko.pl, NAME: s1.serv.pl, and this is fine! But bind 9.7.3 says
> s2.serv.pl ... why and how do I fix it?

How are you querying your DNS servers? 

Send the exact command and what's the output you get in both cases.

Anyway, I would avoid using wildcards for DNS registries.

Also, check this for some hints:

Will a wildcard CNAME take precedence over a named CNAME record?
http://serverfault.com/questions/117671/will-a-wildcard-cname-take-precedence-over-a-named-cname-record

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/k1imvi$ik9$1...@ger.gmane.org



Re: How to mount .ccd image under GNOME?

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 21:14:38 +0200, Merciadri Luca wrote:
 
> Camaleón  writes:

(...)

>>> What's happening? The image file should not be corrupted!
>>
>> file fv.ccd
>>
>> What kind of program created the CCD file? Maybe the original source
>> file contained some encryption or the like...
>>
>> You can try with any of these ".img" files which must be well
>> formatted, just to compare both outputs:
>>
>> http://cdimage.debian.org/debian-cd/current-live/i386/usb-hdd/

> $ file fv.ccd
> fv.ccd: ASCII text, with CRLF line terminators
> 
> Note that
> 
> $ cat fv.ccd
> [CloneCD]
> Version=3
> [Disc]
> TocEntries=4
> Sessions=1
> DataTracksScrambled=0
> [etc.]
> 
> so it looks like the file has been created in some way with CloneCD.

According to Wikipedia, that's a Windows tool.

If the content of the original CCD file was protected then ccd2iso may have 
problems for doing the conversion.

> With the proposed .img files, I have for example 
> $ file debian-live-6.0.4-i386-standard.img 
> debian-live-6.0.4-i386-standard.img:
> x86 boot sector; partition 1: ID=0x6, active, starthead 0, startsector
> 1, 587775 sectors, code offset 0x31

(...)

Well, what you had to do with the ".img" file is convert it to ISO using 
ccd2iso to check if that works and thus discard a problem within the 
application ;-)

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/k1infc$ik9$1...@ger.gmane.org



Re: pulseaudio configuration question

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 17:44:34 -0400, Jude DaShiell wrote:

> On Mon, 27 Aug 2012, Camale?n wrote:

(...)

>> How many cards do you have? (aplay -l)
>> 
>> I can see that some outputs are turned off (e.g., surround, center,
>> IEC958...)  so you should check which of them is selected as the
>> default output device first because if the default is muted no sound is
>> possible :-)
>> 
>> You can also launch "alsamixer" as root, select the sound card you want
>> to edit and verify every single value (volume levels and their status
>> of mute/unmute).
>> 
>> Also, run the usual "aplay" test and see if you can get any sound from
>> here. Debian ALSA wiki page provides more info and tips for debugging
>> problems with the sound:
>> 
>> http://wiki.debian.org/ALSA/
>> 
>> 
> 
> I only have one card in the machine the CK804 nvidia card.

Fine. I can see now in another post from you that you finally got rid 
from PA and unmuted the outputs from alsamixer. Glad you finally got the 
sound working :-)

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/k1inl3$ik9$1...@ger.gmane.org



IPSec Point to Point Tunnel Has Double Latency in One Direction

2012-08-28 Thread Chris Dos
I've been trying to figure this out for a few days now, but I'm at a loss.  
Time to ask the experts.

I have two Debian Squeeze boxes that I'm creating a site to site vpn for.

Followed this how to: http://wiki.debian.org/IPsec

I can ping both sides of the internal interfaces, but pings from one side, have 
twice the latency of the other
side.  I'm at a total loss about why this is occurring.

Site Office Network:
External Interface on eth0: 50.194.128.49/28
Internal Interface on eth1: 172.18.38.1/24
ip route add to 172.18.108.0/24 via 50.194.128.49 src 172.18.38.1


Site Branch Network:
External Interface on eth0: 71.33.229.33/28
Internal Interface on eth1: 172.18.108.1/24
ip route add to 172.18.38.0/24 via 71.33.229.33 src 172.18.108.1


Site Office /etc/racoon/racoon.conf:
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "/etc/racoon/certs";


remote 71.33.229.33 {
exchange_mode main,aggressive;
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group 2;
}
}

sainfo address 172.18.38.0/24 any address 172.18.108.0/24 any {
pfs_group 2;
lifetime time 1 hour ;
encryption_algorithm 3des, blowfish 448, rijndael ;
authentication_algorithm hmac_sha1, hmac_md5 ;
compression_algorithm deflate ;
}



Site Branch  /etc/racoon/racoon.conf:
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "/etc/racoon/certs";

remote 50.194.128.49 {
exchange_mode main,aggressive;
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group 2;
}
}

sainfo address 172.18.108.0/24 any address 172.18.38.0/24 any {
pfs_group 2;
lifetime time 1 hour ;
encryption_algorithm 3des, blowfish 448, rijndael ;
authentication_algorithm hmac_sha1, hmac_md5 ;
compression_algorithm deflate ;
}



Site Office /etc/ipsec-tools.conf:
flush;
spdflush;

spdadd 172.18.38.0/24 172.18.108.0/24 any -P out ipsec
   esp/tunnel/50.194.128.49-71.33.229.33/require;

spdadd 172.18.108.0/24 172.18.38.0/24 any -P in ipsec
   esp/tunnel/71.33.229.33-50.194.128.49/require;


Site Branch /etc/ipsec-tools.conf:
flush;
spdflush;

spdadd 172.18.108.0/24 172.18.38.0/24 any -P out ipsec
   esp/tunnel/71.33.229.33-50.194.128.49/require;

spdadd 172.18.38.0/24 172.18.108.0/24 any -P in ipsec
   esp/tunnel/50.194.128.49-71.33.229.33/require;



Ping from Office to Branch External:
ping -c5 -n voipshinn
PING voipshinn (71.33.229.33) 56(84) bytes of data.
64 bytes from 71.33.229.33: icmp_req=1 ttl=52 time=70.4 ms
64 bytes from 71.33.229.33: icmp_req=2 ttl=52 time=70.7 ms
64 bytes from 71.33.229.33: icmp_req=3 ttl=52 time=84.5 ms
64 bytes from 71.33.229.33: icmp_req=4 ttl=52 time=70.6 ms
64 bytes from 71.33.229.33: icmp_req=5 ttl=52 time=69.8 ms

Ping from Office to Branch Iternal:
ping -c5 -n voipshinn-int
PING voipshinn-int (172.18.108.1) 56(84) bytes of data.
64 bytes from 172.18.108.1: icmp_req=1 ttl=64 time=84.3 ms
64 bytes from 172.18.108.1: icmp_req=2 ttl=64 time=85.1 ms
64 bytes from 172.18.108.1: icmp_req=3 ttl=64 time=77.8 ms
64 bytes from 172.18.108.1: icmp_req=4 ttl=64 time=78.2 ms
64 bytes from 172.18.108.1: icmp_req=5 ttl=64 time=79.0 ms

So about the same latency from the Office to the Branch over the VPN compared 
to pinging the external
interface directly.



Ping from Branch to Office External:
ping -c5 -n linuxgw
PING linuxgw (50.194.128.49) 56(84) bytes of data.
64 bytes from 50.194.128.49: icmp_req=1 ttl=51 time=70.9 ms
64 bytes from 50.194.128.49: icmp_req=2 ttl=51 time=71.6 ms
64 bytes from 50.194.128.49: icmp_req=3 ttl=51 time=70.4 ms
64 bytes from 50.194.128.49: icmp_req=4 ttl=51 time=70.2 ms
64 bytes from 50.194.128.49: icmp_req=5 ttl=51 time=69.4 ms

Ping from Branch to Office Internal:
ping -c5 -n linuxgw-int
PING linuxgw-int (172.18.38.1) 56(84) bytes of data.
64 bytes from 172.18.38.1: icmp_req=1 ttl=64 time=139 ms
64 bytes from 172.18.38.1: icmp_req=2 ttl=64 time=134 ms
64 bytes from 172.18.38.1: icmp_req=3 ttl=64 time=133 ms
64 bytes from 172.18.38.1: icmp_req=4 ttl=64 time=134 ms
64 bytes from 172.18.38.1: icmp_req=5 ttl=64 time=136 ms

Pretty much double the latency going over the VPN compared to just pinging the 
external interface directly.


I can find no reason why this is occurring.  Anyone have any ideas why this is 
happening?


Chris


-- 
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/503ce17b.7010...@chrisdos.com



How to find the lost 'installed application' - OpenOffice.org Impress

2012-08-28 Thread Ryan Duan
Hi,
I use Debian squeeze, now it cannot find OpenOffice.org-Impress to
open odp and ppt files, but Impress does have been installed, I can
use command "ooffice -impress" to open it.

I'm sure the following packages are well installed:
openoffice.org, openoffice.org-impress, openoffice.org-gnome.

Details:

1. .odp file handler isn't Impress, .ppt file handler missing, Impress
missing in "installed applications" list.
Right click .odp file, expect to open it with Impress by default,
but the default handler app becomes "Open with Document Viewer".
Further more, click "Open with other application...", in the
"installed applications" tab, I can find all of "OpenOffice.org"
entries except "OpenOffice.org Impress".

2. In the main menu "Applications -> Office", there are all the
OpenOffice entries except "OpenOffice.org Impress". I didn't remember
when and how I got it lost.

3. The above phenomena occur in my default user - the one created
during the installation of Debian.
I created a new user with menu "System -> Administration -> Users
and Groups" with the account type being "Desktop User", in the new
user, everything is OK!

4. I tried reinstall or dpkg-reconfigure package
openoffice.org-impress, but no help.

Does anybody have good idea to help me fix it?

Thanks!

Ryan


-- 
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/capno5hgxebvlc7dzt8fbt0jxajq36ht+leaxzcooojysvvd...@mail.gmail.com



Re: Email management workflow

2012-08-28 Thread Claudius Hubig
Hello Jimmy,

Jimmy Thrasibule  wrote:
> I know about IMAP but one of my concerns is to being able to have access
> without an Internet connection and I also like the fact to clean out all
> my emails from the servers.

My mobile phone (Nokia E63) offers the option to basically add a BCC
header to all sent emails, which I use to send them to myself – they
then arrive in the POP3 Inbox on my server and my workstation can
download them. Of course, the headers are a bit off, but From: and
To: are usually correct, as well as the Msg-Ids.

Best regards,

Claudius
-- 
  A board is the planck unit of boredom.
http://chubig.net  telnet nightfall.org 4242


signature.asc
Description: PGP signature


Re: import version and changelog into deb?

2012-08-28 Thread Camaleón
On Mon, 27 Aug 2012 19:12:03 -0600, Joe Pfeiffer wrote:

> I've got a specialized piece of software I wrote and maintain (it's a
> theatre sound system, for playing music cues and sound effects for live
> theatre).  In order to distribute among the various computers I use it
> on, I've packaged it as a .deb.  I also use svn for version control, and
> autotools to control the builds.
> 
> It would make my life a little bit easier if I could automatically
> import the package version from my configure.ac, and my changelog from
> my svn changelog.
> 
> So far I haven't found a way to do that, so I've been using dch.
> 
> Is there a way?

No idea (sorry) but I would also ask in debian-devel/debian-mentors or 
wherever the gross of developers/packagers play around :-)

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/k1ip0m$ik9$1...@ger.gmane.org



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Joe Pfeiffer
shawn wilson  writes:

> On Tue, Aug 28, 2012 at 1:34 AM, Bob Proulx  wrote:
>> Stephen Powell wrote:
>>> By the way, there's something I don't understand.  A 32-bit processor can
>>> only access 4G of "real" (extended) memory, right?  So why are there
>>> motherboards available for 32-bit processors that support installing
>>> more than 4G of RAM?  What good is memory that the processor can't address?
>>
>> With PAE (physical address extensions) the processor *can* address
>> more than 4G of ram.  A single process is still limited to 32-bits
>> which usually works out effectively to 3G of ram but the operating
>> system can make use of more than this.  It can be used for filesystem
>> buffer cache and for multiple 3G programs.  A machine with 6G of ram
>> for example could run two 3G program at the same time and hold them
>> both in memory without swapping.  Or run one 3G program and still have
>> 3G for the system to use in filesystem buffer cache.  With PAE having
>> more than 4G of memory is quite useful.
>>
>> Using PAE does have a small performance impact.  It slows things down
>> by 2%-3% in my use cases.  But the increase in ram for buffers usually
>> more than makes up for the differences.
>>
>
> iirc, pae is only 48 bits too.

"only" meaning 256 terabytes in this case...  I'll be very surprised to
ever see a 32 bit processor that can make effective use of that much
memory.
-- 
"Erwin, have you seen the cat?" -- Mrs. Shroedinger


-- 
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/1bligzghqq@pfeifferfamily.net



Re: Email management workflow

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 17:07:14 +0200, Jimmy Thrasibule wrote:

> I have a bunch of email accounts that I connect to using the POP3
> protocol and Thunderbird. This is mainly done to keep the different
> servers clean of emails and also to keep a backup of all my emails on my
> workstation. Of course, all the emails within my workstation are also
> backed up regularly.
> 
> Now I'm like the young guys and I get an Android phone. My problem here
> is about sent email. I can configure my Android phone to leave the
> emails on the server and then remove them later from the server using my
> workstation. But as sent emails are saved locally, I will lose the
> emails sent from my phone.
> 
> I know about IMAP but one of my concerns is to being able to have access
> without an Internet connection and I also like the fact to clean out all
> my emails from the servers.
> 
> Any idea?

I'd go for a mixed of online/offline IMAP solution, that way you'll get 
the best of the two worlds: sent messages from the Android (online IMAP) 
phone will be kept/stored at the server side and thus could be then 
accessed/fetched/downloaded from the workstation (offline IMAP) to be 
stored locally.

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/k1iq25$ik9$1...@ger.gmane.org



Re: Email management workflow

2012-08-28 Thread Miles Fidelman

Camaleón wrote:

On Tue, 28 Aug 2012 17:07:14 +0200, Jimmy Thrasibule wrote:



I know about IMAP but one of my concerns is to being able to have access
without an Internet connection and I also like the fact to clean out all
my emails from the servers.


I'd go for a mixed of online/offline IMAP solution, that way you'll get
the best of the two worlds: sent messages from the Android (online IMAP)
phone will be kept/stored at the server side and thus could be then
accessed/fetched/downloaded from the workstation (offline IMAP) to be
stored locally.


Just to add to that:
- most IMAP clients offer an option to download and save copies of 
messages for offline access (while also leaving a message on the sever)
- to clean out emails from the server is easy: either delete the mails 
entirely, or move them to a local folder (of course, now that mail is 
only one machine)


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In practice, there is.    Yogi Berra


--
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/503cedf0.6020...@meetinghouse.net



Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Andrei POPESCU
On Ma, 28 aug 12, 07:26:18, Richard Owlett wrote:
> 
> QUESTION:
> Can someone point me to detailed instructions on setting up a client
> and "server" on a single physical computer. As a primary motivation
> for this whole project is learning Linux, I foresee lots of related
> reading :)

Most (if not all) client/server software works fine on a single machine. 
If your goal is to create more complex environments that your probably 
want virtual machines (KVM, VirtualBox, Xen, etc.)

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


signature.asc
Description: Digital signature


[offtopic] Open Source hackathon looking for sponsors

2012-08-28 Thread Walter
FIRST: I'm very sorry to post off-topic on this mailing list, but it's
for a good cause, please forgive me!

We're looking for sponsors for a 2 month long open source-only
hackathon in a remote villa in a tropical paradise. Please email me at
wal...@comehackwithus.com for more information. All help spreading the
word is more then welcome! More info at http://comehackwithus.com

cheers,

Walter


-- 
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/CAJojfjoTCu4MQb7HO=yuhmnrkxhhozl5wo3ro9bi6bvngd9...@mail.gmail.com



Re: import version and changelog into deb?

2012-08-28 Thread Andrei POPESCU
On Lu, 27 aug 12, 19:12:03, Joe Pfeiffer wrote:
> I've got a specialized piece of software I wrote and maintain (it's a
> theatre sound system, for playing music cues and sound effects for live
> theatre).  In order to distribute among the various computers I use it
> on, I've packaged it as a .deb.  I also use svn for version control, and
> autotools to control the builds.
> 
> It would make my life a little bit easier if I could automatically
> import the package version from my configure.ac, and my changelog from
> my svn changelog.
> 
> So far I haven't found a way to do that, so I've been using dch.
> 
> Is there a way?

No idea, but you probably should have a look at svn-buildpackage.

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


signature.asc
Description: Digital signature


Re: sux: "cannot open display: :0".

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 18:46:30 +0700, Sthu Deus wrote:

> On wheezy, after upgrade of:
> 
> kmod:amd64 8-2 -> 9-1
> libgl1-mesa-dri:amd64 8.0.4-1 -> 8.0.4-2 
> libgl1-mesa-dri:i386 8.0.4-1 -> 8.0.4-2 
> libgl1-mesa-glx:amd64 8.0.4-1 -> 8.0.4-2 
> libgl1-mesa-glx:i386 8.0.4-1 -> 8.0.4-2 
> libglapi-mesa:amd64 8.0.4-1 -> 8.0.4-2
> libglapi-mesa:i386 8.0.4-1 -> 8.0.4-2 
> libglu1-mesa:amd64 8.0.4-1 -> 8.0.4-2 
> libglu1-mesa:i386 8.0.4-1 -> 8.0.4-2
> libkmod2:amd64 8-2 -> 9-1
> libspectre1:amd64 0.2.6-2 -> 0.2.7-2
> module-init-tools:amd64 8-2 -> 9-1
> 
> I can not run several X app.s from sux-ed user:
>
> $ chromium
> No protocol specified
> (chromium:N): Gtk-WARNING **: cannot open display: :0

(...)

This can sound a bit odd but have you tried with a system restart?

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/k1iscd$ik9$1...@ger.gmane.org



Re: [OT] Signatures and Sensibilities (was: pulseaudio configuration question)

2012-08-28 Thread Ralf Mardorf
On Tue, 2012-08-28 at 14:58 +, Camaleón wrote:
> On Tue, 28 Aug 2012 16:24:46 +0200, Ralf Mardorf wrote:
> 
> (...)
> 
> > What the hell has this to do with "pulseaudio configuration question"?
> 
> Said finally the user who has not given a single hint on how to solve the 
> problem of the OP >;-)

I experienced that it's not wanted, if people talk about pulseaudio and
systemd ;). Regarding to pulseaudio for me there's only one way to go. I
never ever use it. It's bad code, one example is the automated volume
control. While it increase one volume in the audio chain, it decrease
another volume at the time in the same audio chain. This is something
that can't work, for audio engineers it's frowned upon to do such evil
nonsense.

I don't like canons and fanatism, it's a civic responsibility to be loud
in such cases. In Germany male genital mutilation of children in
religious context still is allowed. It's a shame. I'm very sensitive
regarding to canons and fanatism. We are living in 2012, not in the dark
age. Somebody tried to be vox dei on this list and this isn't tolerable.
What comes next in the name of god? Killing People or only mutilation?
Don't use condoms, don't have sex, don't speak skeptical about god?

However, I don't like to write any additional word about this serious
issue.

Regards,
Ralf


-- 
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/1346171989.1234.45.camel@localhost.localdomain



Re: Obtaining a Newer Kernel

2012-08-28 Thread Ralf Mardorf
On Tue, 2012-08-28 at 09:41 +0300, Andrei POPESCU wrote:
> On Lu, 27 aug 12, 21:47:08, Ralf Mardorf wrote:
> > 
> > I often build vanilla + patch-rt. Usually I copy the Debian's default
> > kernel config, change some settings to fit to rt needs and then run
> > "make oldconfig". 
> 
> Have you tried the new rt flavour of Debian kernels?
> 
> $ uname -a
> Linux think 3.2.0-3-rt-686-pae #1 SMP PREEMPT RT Mon Jul 23 05:49:20 UTC 2012 
> i686 GNU/Linux

No, usually packages for the kernel-rt are as good as a self build
kernel, but to keep knowledge about Linux Rt it's good to build the
kernel and perhaps minimal better optimization of the kernel to my
machine + minimal better optimization of other things, might result in
an noticeable improvement.

Regards,
Ralf



-- 
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/1346173321.1234.52.camel@localhost.localdomain



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Stan Hoeppner
On 8/28/2012 5:40 AM, Henrique de Moraes Holschuh wrote:
> On Tue, 28 Aug 2012, Stan Hoeppner wrote:
>> Sadly, due to market realities and diminished customer demand for large
>> monolithic servers, the biggest x86 box Unisys now sells is an 8-way 4U
>> Xeon box.  Though with up to 80 cores, 332x times the memory bandwidth,
>> and similarly higher IO bus bandwidth, it runs circles around the
>> monster 32 socket mainframe style boxes of yesterday.
> 
> You can go to SGI for suitably large n-way Linux servers.  An SGI UV 2k rack
> will go up to 256 Intel E5 processors (2048 cores, 4096 threads), 64TB RAM.
> 
> http://www.sgi.com/products/servers/uv/

Do I hear an echo? ;)

I mention the UV and Infinite Storage products here quite often.  The UV
and its ancestors, the Altix 3xxx/4xxx IA64 beasts, are a different
class of machine sold into a different market.  The SGI boxen are used
exclusively by HPC customers.

The ES7000 and Aviion 25K were used exclusively in traditional
commercial business environments, nearly exclusively hosting databases,
although I did hear of a few large MS Exchange deployments on 16-way
ES7000 boxen.

> I don't think the UV has mainframe-style hardware partitioning.  It is a big
> NUMA box with a complex hypercube-like node topology.

The CC-NUMA members of the Altix line can all be partitioned into nodes
via programming the NUMALink routers.  Once partitioned, an application
can still span all processors, communicating via MPI and shmem over the
ultra fast NUMALink interconnect.  The MIPS/Irix predecessors, the
Origin 2000/3000 could also be partitioned this way, as well as the IA64
Altix 3xxx/4xxx.  It is relatively common for customers with very large
SGI NUMA machines to partition them from day one, so a failure on a
single NUMA node doesn't take down the entire system.

This isn't quite the same as traditional mainframe partitioning, as you
can't independently assign memory and IO buses to different nodes the
way you can with many mainframe systems.

-- 
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/503cfc08.3090...@hardwarefreak.com



Re: HDD problems that do not follow SMART results

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 16:15:33 +0200, Merciadri Luca wrote:

> I'm recurrently getting freezes because of HDD problems. During these
> freezes, that generally last until I shut down the computer, I get such
> messages:
> 
> ==
> smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
> Copyright (C) 2002-10 by Bruce Allen,
> http://smartmontools.sourceforge.net
> 
> === START OF INFORMATION SECTION ===
> Model Family: Maxtor DiamondMax Plus 9 family 
> Device Model: Maxtor 6Y160M0

(...)

Do you hear any "clicking" sound coming from the hard disk?

Anyway, if my memory serves me well, that hard disk model has to be at 
least 8 or more years...


> Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.30] ata6.00: 
> exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen 
> Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.35] ata6: SError: { 
> UnrecovData Handshk } 
> Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.38] ata6.00: failed 
> command: WRITE DMA EXT 

(...)


> After restarting, I got messages such as
> 
> ==
> Aug 28 11:01:35 merciadriluca-station kernel: [  233.816026] ata4.00: 
> exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen 
> Aug 28 11:01:35 merciadriluca-station kernel: [  233.816031] ata4: SError: { 
> UnrecovData Handshk } 
> Aug 28 11:01:35 merciadriluca-station kernel: [  233.816035] ata4.00: failed 
> command: WRITE DMA 
> Aug 28 11:01:35 merciadriluca-station kernel: [  233.816040] ata4.00: cmd 
> ca/00:90:08:71:05/00:00:00:00:00/e0 tag 0 dma 73728 out 

(...)

> and also
> 
> ==
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572574] sd 3:0:0:0: 
> [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572578] sd 3:0:0:0: 
> [sdc] Sense Key : Aborted Command [current] [descriptor] 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572582] Descriptor sense 
> data with sense descriptors (in hex): 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572584] 72 0b 00 
> 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572592] 00 00 00 
> 00 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572596] sd 3:0:0:0: 
> [sdc] Add. Sense: No additional sense information 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572600] sd 3:0:0:0: 
> [sdc] CDB: Write(10): 2a 00 00 05 83 00 00 03 90 00 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572608] end_request: I/O 
> error, dev sdc, sector 361216 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572613] Buffer I/O error 
> on device sdc5, logical block 43136 
> Aug 28 11:04:49 merciadriluca-station kernel: [  427.572615] lost page write 
> due to I/O error on sdc5 

(...)

> It looks like the HDD associated with sdc is encountering some issues.

And more specifically, "/dev/sdc5" partition.

> But is sdc linked to ata4 or ata6? Do these two problems (before and
> after restarting) are the same ones or not?

Yes, it seems there are two hard disks affected. Run:

dmesg | grep -i ata[0-6]

> After running several short and long tests with S.M.A.R.T. on each of my
> 3 HDDs, I got these results:
> 
> 1) HDD associated with /dev/sda looks in some pre-failure state:

(...)

> SMART Error Log Version: 1
> Warning: ATA error count 454 inconsistent with error log pointer 5

I would run here the manufacturer's test disk but this one looks it's a bit 
tired. You can keep monitoring the tagged "pre-fail" values and proceed with 
a hard disk replacement as soon as these are quickly increased.

> 2) HDD associated with /dev/sdb verifies

(...)

> (this is the one that looks the healthiest, actually).

Agreed.
 
> 3) The HDD associated with /dev/sdc, which should be in some way broken
> (being given the messages that I wrote above from /var/log/syslog), does
> not look so through SMART:

(...)

Oh my... consider also to run the manufacturer's smart test utility for this 
one... and make a full backup _now_.

> What can I deduce from this? It looks like /dev/sdc is broken but SMART
> tells /dev/sda would have more chance being on the verge to broke than
> /dev/sdc.

I can deduce that Maxtor hard disks are very old and would deserve for a 
retirement, eventhough they are still up and (somehow) running.

> Note that I tried exchanging SATA cables, to no avail.

In your case there are logged errors regarding sectors and I/O errors and this 
is dangerous.

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/k1iuri$ik9$2...@ger.gmane.org



Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Richard Owlett

Andrei POPESCU wrote:

On Ma, 28 aug 12, 07:26:18, Richard Owlett wrote:


QUESTION:
Can someone point me to detailed instructions on setting up a client
and "server" on a single physical computer. As a primary motivation
for this whole project is learning Linux, I foresee lots of related
reading :)


Most (if not all) client/server software works fine on a single machine.
If your goal is to create more complex environments that your probably
want virtual machines (KVM, VirtualBox, Xen, etc.)

Kind regards,
Andrei


You first sentence indicates I may know even less than I 
thought I might.


To verify we are talking about the same thing:
I'm envisioning a Debian repository on the "server".
I will then use netinst to install Debian on the "client".
Later a browser running on the "client" will be able to 
access an HTML page on the "server" or connect to a page on 
the WWW via dial-up.


Recommended client/server software for a newbie?




--
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/503d0020.3020...@cloud85.net



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Joe Pfeiffer
Joe Pfeiffer  writes:

> shawn wilson  writes:
>
>> On Tue, Aug 28, 2012 at 1:34 AM, Bob Proulx  wrote:
>>> Stephen Powell wrote:
 By the way, there's something I don't understand.  A 32-bit processor can
 only access 4G of "real" (extended) memory, right?  So why are there
 motherboards available for 32-bit processors that support installing
 more than 4G of RAM?  What good is memory that the processor can't address?
>>>
>>> With PAE (physical address extensions) the processor *can* address
>>> more than 4G of ram.  A single process is still limited to 32-bits
>>> which usually works out effectively to 3G of ram but the operating
>>> system can make use of more than this.  It can be used for filesystem
>>> buffer cache and for multiple 3G programs.  A machine with 6G of ram
>>> for example could run two 3G program at the same time and hold them
>>> both in memory without swapping.  Or run one 3G program and still have
>>> 3G for the system to use in filesystem buffer cache.  With PAE having
>>> more than 4G of memory is quite useful.
>>>
>>> Using PAE does have a small performance impact.  It slows things down
>>> by 2%-3% in my use cases.  But the increase in ram for buffers usually
>>> more than makes up for the differences.
>>>
>>
>> iirc, pae is only 48 bits too.
>
> "only" meaning 256 terabytes in this case...  I'll be very surprised to
> ever see a 32 bit processor that can make effective use of that much
> memory.

Sorry to follow up my own post -- I hit "send" too fast.  My response
was given the assumption that PAE gave a 48 bit physical address space;
of course it doesn't.  It gives 36 bits -- 64 GB, which isn't nearly so
outlandish.


-- 
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/1b7gsjndia@pfeifferfamily.net



Re: How to find the lost 'installed application' - OpenOffice.org Impress

2012-08-28 Thread Camaleón
On Tue, 28 Aug 2012 23:43:25 +0800, Ryan Duan wrote:

> I use Debian squeeze, now it cannot find OpenOffice.org-Impress to
> open odp and ppt files, but Impress does have been installed, I can use
> command "ooffice -impress" to open it.

(...)

sm01@stt008:~$ whereis ooimpress
ooimpress: /usr/bin/ooimpress /usr/share/man/man1/ooimpress.1.gz
   ^^
 
If file association is what fails, you can manaully instruct your DE 
(GNOME?) for opening the files (e.g., ".odp" and ".ppt") with OOo Impress.

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/k1ivku$ik9$2...@ger.gmane.org



Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Andrei POPESCU
On Ma, 28 aug 12, 12:30:08, Richard Owlett wrote:
> 
> To verify we are talking about the same thing:
> I'm envisioning a Debian repository on the "server".
> I will then use netinst to install Debian on the "client".
> Later a browser running on the "client" will be able to access an
> HTML page on the "server" or connect to a page on the WWW via
> dial-up.

Virtual machines will handle all of the above.

> Recommended client/server software for a newbie?

vsftpd + mc and lighttpd + links2 :p

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


signature.asc
Description: Digital signature


Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread shawn wilson
On Tue, Aug 28, 2012 at 4:04 AM, Stan Hoeppner  wrote:

> It's memory bandwidth of 20GB/s was many times higher than any x86
> server at that time as they all used a single P6 bus, with only 1GB/s
> bandwidth.  20GB/s is peanuts today given just two channels of DDR3-1333
> have just over 20GB/s, but back then, in the late 1990s, this was huge.
>  This CMP design also allowed assigning different amounts of memory to
> each of the hosts, with the firmware and custom crossbar chipset setting
> up the fences in the physical memory map.  Individual PCI buses and IO
> devices could be assigned to any of the partitioned servers.  In the
> first models, a console module had to be installed which included VGA,
> KB, mouse ports and each was controlled via a KVM switch.  Later models
> had a much more intelligent solution in the form of a single system
> controller.
>
> This also facilitated the ability to cluster multiple sets of two
> physical hosts (up to 4 clusters per server) within a single server
> using system memory as the cluster interconnect, with latency thousands
> of times lower and bandwidth thousands of times higher than the fastest
> network interconnects at that time, this became immensely popular with
> Unisys customers, many running multiple clustered MS SQL servers within
> one ES7000 mainframe.
>

wasn't the 20GB/s infiniband introduced in the late 90s / early 2k?
that should about measure up to what you're describing, but with tons
more scalability, no?


-- 
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_OBidTGH=Dof=4v7eXRrdfy2oOLUA=5BexHupCS4_=qto...@mail.gmail.com



Re: Virtualbox 64 bit guest option is missing

2012-08-28 Thread Martin Steigerwald
Am Sonntag, 26. August 2012 schrieb Camaleón:
> On Sun, 26 Aug 2012 18:47:34 +0200, Sven Hartge wrote:
> > Camaleón  wrote:
> >> On Sun, 26 Aug 2012 18:26:19 +0200, Sven Hartge wrote:
> >>> Hmm. Could you post the output of
> >>> 
> >>>   grep flags /proc/cpuinfo
> >>> 
> >>> so that we can see which capabilities the kernel thinks are
> >>> available on you CPU,
> >> 
> >> That will be of little help because CPU will expose the VT-x
> >> capabilities despite the BIOS have them turned off.
> > 
> > Oh?
> > 
> > I must admit, I never owned a board/CPU combination, where the CPU
> > had virtualization features but the board lacked support for them.
> > So I assumed the capabilities list would reflect this.
> 
> I experienced such situation: a BIOS revision that did not expose any
> VT- x options while the CPU supported them. A BIOS update solved it
> and a new menu for VT-x was added to the updated BIOS.
> 
> But regardless this I think that "cpuinfo" is about CPU and not BIOS
> capabilities; from here you can't really know what to expect.

May dmidecode be able to step in there?

It shows the DMI / SMBIOS tables.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
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/201208282001.41507.mar...@lichtvoll.de



Re: sux: "cannot open display: :0".

2012-08-28 Thread Sthu Deus
Good time of the day, Camaleón.


Thank You for Your time and answer, again.
You wrote:

> This can sound a bit odd but have you tried with a system restart?

It happened right after restart! :o)

But I have already solved the problem for me - removing all seemed
Gconf-related config. garbage accumulated over time in the sux-ed user
home dir. - now it works w/o problem - as before - probably, simply
inconsistency w/ updated software config.s.

But I wanted to help to hunt a possible bug here - therefore would to
make a report. But do not worry, if no idea which package.


Sthu.


--
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/503d0fe5.a290980a.5b44.5...@mx.google.com



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Martin Steigerwald
Hi Stan,

Am Montag, 27. August 2012 schrieb Stan Hoeppner:
> On 8/27/2012 8:27 AM, Stefan Monnier wrote:
> >> I run an SSD on my MCP61P so lack of NCQ has no impact
> >> whatsoever--SSD's have no moving parts, and all seeks
> >> are instantaneous.
> > 
> > While I haven't heard of NCQ improving read speed of SSDs, it can
> > have a significant positive impact on write speed for SSDs.
> 
> Some SSD controllers, such as the later Sanforce models, do benefit
> from NCQ with some server oriented workloads, little to none with
> others. Controllers such as the Indilinx, Jmicron, and Samsung don't
> benefit from NCQ at all, with any workload.
> 
> For a desktop user workload, there will be no noticeable performance
> difference, because such applications don't do parallel IO.

Are you sure about 1) desktop applications I/O behavior and 2) NCQ?

1) I see noticeable difference for my Intel SSD 320 with different iodepth 
values in fio job.

And as to my current understanding more than one single-threaded I/O 
generating desktop application can easily run at some given point of time. 
And then Nepomuk desktop search accesses the SSD disk with up to 10 
threads at times excluding the Virtuoso database server with its 5,4 GiB 
database – no kidding, thats for real. Then there is Akonadi with the 
PostgreSQL database, KMail, Iceweasel with cache and sqlite3 database and 
whatnot.

As sync I/O calls are synchronous on the syscall side but the kernel is 
still free to schedule the requests in bigger batches on the lower levels 
of the I/O stuck, I´d expect that desktop workloads can cause similar 
effects as somewhat higher I/O depths as one.

Indeed running fio with numjobs=64 instead of iodepth=64 gives similar 
results with that Intel SSD except for higher context switch rate and CPU 
usage. (I can dig out those results if wanted.)

2) I am not sure about NCQ tough. I´d never disabled it on my tests. The 
Intel SSD 320 reports a queue depth of 32 with hdparm -I. It may not make 
much of a difference, I don´t know. Your seek time argument makes sense to 
me. But then I thought that the SSD firmware may have bigger chances to 
combine requests into erase block sized units when it gets more data to 
deal with at once. So it may make some difference for writes. But I could 
be completely off track with my assumption and I bet only a test will show. 
SSD firmwares are like big black interesting and fascinating boxes to me ;)

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
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/201208282101.45190.mar...@lichtvoll.de



OT: SSD, NCQ and I/O depth (was: Re: [SOLVED] Is my processor 32-bit or 64-bit?)

2012-08-28 Thread Martin Steigerwald
Sorry that I post twice, but in hindsight I thought I´d give this a more 
descriptive subject. Please reply to this second post.


Hi Stan,

Am Montag, 27. August 2012 schrieb Stan Hoeppner:
> On 8/27/2012 8:27 AM, Stefan Monnier wrote:
> >> I run an SSD on my MCP61P so lack of NCQ has no impact
> >> whatsoever--SSD's have no moving parts, and all seeks
> >> are instantaneous.
> > 
> > While I haven't heard of NCQ improving read speed of SSDs, it can
> > have a significant positive impact on write speed for SSDs.
> 
> Some SSD controllers, such as the later Sanforce models, do benefit
> from NCQ with some server oriented workloads, little to none with
> others. Controllers such as the Indilinx, Jmicron, and Samsung don't
> benefit from NCQ at all, with any workload.
> 
> For a desktop user workload, there will be no noticeable performance
> difference, because such applications don't do parallel IO.

Are you sure about 1) desktop applications I/O behavior and 2) NCQ?

1) I see noticeable difference for my Intel SSD 320 with different iodepth 
values in fio job.

And as to my current understanding more than one single-threaded I/O 
generating desktop application can easily run at some given point of time. 
And then Nepomuk desktop search accesses the SSD disk with up to 10 
threads at times excluding the Virtuoso database server with its 5,4 GiB 
database – no kidding, thats for real. Then there is Akonadi with the 
PostgreSQL database, KMail, Iceweasel with cache and sqlite3 database and 
whatnot.

As sync I/O calls are synchronous on the syscall side but the kernel is 
still free to schedule the requests in bigger batches on the lower levels 
of the I/O stuck, I´d expect that desktop workloads can cause similar 
effects as somewhat higher I/O depths as one.

Indeed running fio with numjobs=64 instead of iodepth=64 gives similar 
results with that Intel SSD except for higher context switch rate and CPU 
usage. (I can dig out those results if wanted.)

2) I am not sure about NCQ tough. I´d never disabled it on my tests. The 
Intel SSD 320 reports a queue depth of 32 with hdparm -I. It may not make 
much of a difference, I don´t know. Your seek time argument makes sense to 
me. But then I thought that the SSD firmware may have bigger chances to 
combine requests into erase block sized units when it gets more data to 
deal with at once. So it may make some difference for writes. But I could 
be completely off track with my assumption and I bet only a test will show. 
SSD firmwares are like big black interesting and fascinating boxes to me ;)

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
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/201208282103.17852.mar...@lichtvoll.de



Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Bob Proulx
Richard Owlett wrote:
> Andrei POPESCU wrote:
> >Richard Owlett wrote:
> >>Can someone point me to detailed instructions on setting up a client
> >>and "server" on a single physical computer. As a primary motivation
> >>for this whole project is learning Linux, I foresee lots of related
> >>reading :)
> >
> >Most (if not all) client/server software works fine on a single machine.
> >If your goal is to create more complex environments that your probably
> >want virtual machines (KVM, VirtualBox, Xen, etc.)
> 
> You first sentence indicates I may know even less than I thought I
> might.
> 
> To verify we are talking about the same thing:
> I'm envisioning a Debian repository on the "server".
> I will then use netinst to install Debian on the "client".

Use of the word "server" and "client" is difficult because there are
so many meanings associated with it.  A hardware computer.  A software
program running on a computer.  The side of a communication protocol.

  http://en.wikipedia.org/wiki/Server_(computing)
  http://en.wikipedia.org/wiki/Client_(computing)

When you asked your questions about installing onto a system I think
the common assumption would be that you meant you had a physical
hardware computer system and would be installing a Debian system upon
it.  It may be to a different partition on the disk so as to preserve
other systems but only booting one at a time.  In other words, it
isn't possible to install on hardware using the same hardware as the
source and the destination.  Only one is running at a time.  The
installation to the detination would overwrite the source.

If instead you already have a computer system running and you want to
use that same computer system for running an instance of Debian such
that you end up with *both* your currently running system *and* a
newly created Debian system running on the same hardware _then_ the
solution you need is a virtual machine running on your present system.
(As was suggested by Andrei.)  Because you would be wanting to
simulate more than one computer system on the same physical hardware.
One would be the host system.  One or more would be vitual systems
running upon it.

In that case you would want to create a virtual machine that will act
as your client.  Then you can install upon your client virtual machine
using your host machine as the server.  That is certainly possible.
People do it all of the time.

What is your host machine operating system?

Hopefully it will be Debian.  After all this is the debian-user
mailing list.  (smile) But from a technical standpoint it could be any
of a variety of host operating systems.  Some will be easier to work
with than others.  You would need to set up a virtual machine upon it
and then use it as your test client.

> Later a browser running on the "client" will be able to access an
> HTML page on the "server" or connect to a page on the WWW via
> dial-up.
> 
> Recommended client/server software for a newbie?

This is a somewhat scary question to answer.  Scary because it is
really quite a simple thing to set up a web server and to browse it
using a web browser.  Surely you are already using a web browser.
Making it very confusing that you would even need to ask about a web
browser.  Just use whatever web browser you are normally using.  The
hard part is setting up a virtual machine, configuring the network and
networking bridge, installing an operating system on it.  In this the
task and mighty labor lies.

But to answer your question the most popular web server is Apache with
a variety of improved higher performance followers such as Nginx or
Lighttpd.  And for a web browser Firefox and Chromium are probably in
the lead with others such as Epiphany, Konqueror, Midori in the pack
behind them.  And there are text console web browsers such as lynx,
w3m, elinks which are very useful too.

Bob


signature.asc
Description: Digital signature


Networking for kvm virtual machines

2012-08-28 Thread James Allsopp
Hello,
I'm trying to learn more about networking and set up BIND, LDAP and
Nagios on a KVM virtual machine. The VM works great and I can ssh into
it from the host, and view the nagios pages from the host. However the
VM gets the address 192.168.1.x and the host is 192.168.1.2.

What I really want to do is set it up so that the VM just appears as
another machine on my network I can view from anywhere on my network.

I set up a bridge on the host, configured as below in /etc/network/interfaces;
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet manual

auto br0
iface br0 inet static
address 192.168.1.2
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway   192.168.1.1
bridge_ports eth0
bridge_fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp off

If anyone has any suggestions on how to do this I would be very grateful.

James


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



Sawfish wm won't start from gdm3

2012-08-28 Thread Rick Macdonald
I recently (finally) upgraded from lenny to squeeze. All seems well 
except if I choose the sawfish window manager from the gdm3 greeter, the 
dialog goes away and it just sits with the debian logo and the stars 
background. I can't find any error messages anywhere (~/.xsession-errors).


If I start up gnome with the default wm, metacity, I can kill metacity 
and run sawfish from an xterm:


killall metacity; sawfish &

Any ideas why it won't start from the gdm3 greeter?

Regards,
Rick


--
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/503d23df.7090...@shaw.ca



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Stephen Powell
On Sun, 26 Aug 2012 09:48:27 -0400 (EDT), Stephen Powell wrote:
> 
> What I meant was that I may buy the new mobo, processor, and RAM
> that you suggested and put it in this second machine I'm talking about.

Well, I've looked into it, and that's not going to work.  The mobo
you suggested has stuff on it for which there are no connector holes
on the back of the case.  The built-in connector holes on the back
of the case support A/C power (of course), PS/2 mouse, PS/2 keyboard
(small-size PS/2 connectors in both cases), 2 USB ports, 2 serial ports,
and one parallel port.  In addition, there are knock-out plugs for what
looks like a joystick/MIDI port and what looks like line-in, line-out,
and microphone connectors for on-board sound.  I would have to knock
out the metal plugs, but at least the case can handle a mobo with
on-board sound.  But there are no connector holes for VGA output, DVI
output, or an Ethernet jack for a network connection, nor are there
knock-out plugs for the same.  The power supply connector to the mobo
is a 20-pin connector.  The case is just not designed to handle modern
mobos.

I can't even identify the mobo.  With no RAM, the BIOS won't initialize.
It just beeps at me (about 1 second on and 1 second off).  So the BIOS
won't tell me what the mobo is.  I searched in vain for some form of
identification on the mobo silk screen itself, but all I could find
was "Made in China".  Therefore, I don't know what kind of memory it
needs.  I'm afraid this other system is going to be good for nothing
except possibly to be cannibalized for parts.  A clue to its age:
it has a couple of ISA (or possibly EISA) bus slots on it, in addition
to PCI bus slots.  And the video card appears to be VESA local bus. 

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/253085795.713939.1346184701634.javamail.r...@md01.wow.synacor.com



Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-28 Thread Stan Hoeppner
On 8/28/2012 12:43 PM, shawn wilson wrote:
> On Tue, Aug 28, 2012 at 4:04 AM, Stan Hoeppner  wrote:
> 
>> It's memory bandwidth of 20GB/s was many times higher than any x86
>> server at that time as they all used a single P6 bus, with only 1GB/s
>> bandwidth.  20GB/s is peanuts today given just two channels of DDR3-1333
>> have just over 20GB/s, but back then, in the late 1990s, this was huge.
>>  This CMP design also allowed assigning different amounts of memory to
>> each of the hosts, with the firmware and custom crossbar chipset setting
>> up the fences in the physical memory map.  Individual PCI buses and IO
>> devices could be assigned to any of the partitioned servers.  In the
>> first models, a console module had to be installed which included VGA,
>> KB, mouse ports and each was controlled via a KVM switch.  Later models
>> had a much more intelligent solution in the form of a single system
>> controller.
>>
>> This also facilitated the ability to cluster multiple sets of two
>> physical hosts (up to 4 clusters per server) within a single server
>> using system memory as the cluster interconnect, with latency thousands
>> of times lower and bandwidth thousands of times higher than the fastest
>> network interconnects at that time, this became immensely popular with
>> Unisys customers, many running multiple clustered MS SQL servers within
>> one ES7000 mainframe.
>>
> 
> wasn't the 20GB/s infiniband introduced in the late 90s / early 2k?

The fist Infiniband hardware hit the market in the early 2000s.  But its
data rate was only 2Gbps, or ~200MB/s, one way.  This is Infiniband 1x.
 That's 100 times less bandwidth than the memory system in the 32-way
ES7000.  And the latency is over 100 times higher.  Now take into
account that with memory based networking, all that is required to send
a packet is a write to a memory location, and to receive it, all that is
required is to read that memory location.

> that should about measure up to what you're describing, but with tons
> more scalability, no?

Absolutely not.  4x QDR Infiniband is the most popular type in wide use
today.  Its one way bandwidth is "only" 4GB/s, and its one way latency
is still many tens of times greater than the in-memory networking in the
ES7000 we're discussing.  Infiniband 12x QDR is currently used for
switch-switch backbone links and node links in some HPC clusters, and
has a one way data rate of 96Gbps, or 12GB/s, only 60% of the ES7000
memory bandwidth, while its latency is still some 10 times greater.

The absolute "fastest" type of Infiniband is currently 12x EDR, with a
one way data rate of 300Gbps, or 37.5GB/s.  And just as some of the
Internet's fastest backbone links at 10 Terabits/sec have far more
bandwidth that the memory subsystem of a high end parallel server of
over a decade ago, so does today's fastest implementation of Infiniband.
 This shouldn't be surprising.  Just as it shouldn't be surprising than
any AMD socket AM3 or better system has more memory bandwidth than the
decade+ old high end server we're discussing.  Technology doesn't sit still.

-- 
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/503d275d.1020...@hardwarefreak.com



Re: Networking for kvm virtual machines

2012-08-28 Thread Bob Proulx
James Allsopp wrote:
> I'm trying to learn more about networking and set up BIND, LDAP and
> Nagios on a KVM virtual machine. The VM works great and I can ssh into
> it from the host, and view the nagios pages from the host. However the
> VM gets the address 192.168.1.x and the host is 192.168.1.2.

What number is 'x' above?  Hopefully some number other than .1 or .2.

> auto br0
> iface br0 inet static
> address 192.168.1.2
> network 192.168.1.0
> netmask 255.255.255.0
> broadcast 192.168.0.255
> gateway   192.168.1.1
> bridge_ports eth0
> bridge_fd 0
> bridge_hello 2
> bridge_maxage 12
> bridge_stp off

Remove 'network' line.  Remove 'broadcast' line.  Let the tool
calculate it from 'netmask'.  That will prevent errors such as in the
above where the broadcast setting is incorrect.  :-)  [It should have
been 192.168.1.255 not 192.168.0.255.]

I don't see any other problem.

I do not set 'bridge_hello' nor 'bridge_maxage'.  I do set
'bridge_maxwait' to 0.  YMMV.

I also use the resolvconf package and therefore also set
dns-nameservers and dns-search but that is a separate thing.

Bob


signature.asc
Description: Digital signature


Re: Networking for kvm virtual machines

2012-08-28 Thread James Allsopp
Ah, was worklng from memory, a mistake.
Just restarted everything and the address of the virtual machine is
192.168.122.216 so on a different subnet.
Looking at the output of ps aux | grep network, I found this:
ja@Hawaiian:~$ ps aux | grep network
nobody6157  0.0  0.0  22760   956 ?S22:04   0:00
dnsmasq --strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/default.pid --conf-file=
--listen-address 192.168.122.1 --except-interface lo --dhcp-range
192.168.122.2,192.168.122.254 --dhcp-lease-max=253

and an /sbin/ifconfig gives this:
a@Hawaiian:~$ /sbin/ifconfig
br0   Link encap:Ethernet  HWaddr 00:1d:7d:0d:2a:9f
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::21d:7dff:fe0d:2a9f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:5244 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5619 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:2243410 (2.1 MiB)  TX bytes:726685 (709.6 KiB)

eth0  Link encap:Ethernet  HWaddr 00:1d:7d:0d:2a:9f
  inet6 addr: fe80::21d:7dff:fe0d:2a9f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12364 errors:0 dropped:0 overruns:0 frame:0
  TX packets:13297 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:7409297 (7.0 MiB)  TX bytes:2040280 (1.9 MiB)
  Interrupt:31 Base address:0xc000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:3377 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3377 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:8275766 (7.8 MiB)  TX bytes:8275766 (7.8 MiB)

virbr0Link encap:Ethernet  HWaddr fe:54:00:87:97:a6
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:95 errors:0 dropped:0 overruns:0 frame:0
  TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:22584 (22.0 KiB)  TX bytes:16266 (15.8 KiB)

vnet0 Link encap:Ethernet  HWaddr fe:54:00:87:97:a6
  inet6 addr: fe80::fc54:ff:fe87:97a6/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:95 errors:0 dropped:0 overruns:0 frame:0
  TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:23914 (23.3 KiB)  TX bytes:21043 (20.5 KiB)


so the question is how did virbr0 get here, and how do I alter it to
make my VM look like a normal network machine.

Thanks,
James

On 28/08/2012, Bob Proulx  wrote:
> James Allsopp wrote:
>> I'm trying to learn more about networking and set up BIND, LDAP and
>> Nagios on a KVM virtual machine. The VM works great and I can ssh into
>> it from the host, and view the nagios pages from the host. However the
>> VM gets the address 192.168.1.x and the host is 192.168.1.2.
>
> What number is 'x' above?  Hopefully some number other than .1 or .2.
>
>> auto br0
>> iface br0 inet static
>> address 192.168.1.2
>> network 192.168.1.0
>> netmask 255.255.255.0
>> broadcast 192.168.0.255
>> gateway   192.168.1.1
>> bridge_ports eth0
>> bridge_fd 0
>> bridge_hello 2
>> bridge_maxage 12
>> bridge_stp off
>
> Remove 'network' line.  Remove 'broadcast' line.  Let the tool
> calculate it from 'netmask'.  That will prevent errors such as in the
> above where the broadcast setting is incorrect.  :-)  [It should have
> been 192.168.1.255 not 192.168.0.255.]
>
> I don't see any other problem.
>
> I do not set 'bridge_hello' nor 'bridge_maxage'.  I do set
> 'bridge_maxwait' to 0.  YMMV.
>
> I also use the resolvconf package and therefore also set
> dns-nameservers and dns-search but that is a separate thing.
>
> 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/cad3_cnnvjmhvfkkkqrc-5byq6xgu5+kgm0vk25av7a0zczu...@mail.gmail.com



Re: HDD problems that do not follow SMART results

2012-08-28 Thread hvw59601

Camaleón wrote:

On Tue, 28 Aug 2012 16:15:33 +0200, Merciadri Luca wrote:


I'm recurrently getting freezes because of HDD problems. During these
freezes, that generally last until I shut down the computer, I get such
messages:

==
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen,
http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9 family 
Device Model: Maxtor 6Y160M0


(...)

Do you hear any "clicking" sound coming from the hard disk?

Anyway, if my memory serves me well, that hard disk model has to be at 
least 8 or more years...




Good memory. I just replaced a Model 6Y080P0 of that family with a 
SSD830. I can't find when I installed that disc. Must be about 8 years 
ago. And never anything wrong per smartctl.


Hugo



Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.30] ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen 
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.35] ata6: SError: { UnrecovData Handshk } 
Aug 28 10:21:39 merciadriluca-station kernel: [ 2160.38] ata6.00: failed command: WRITE DMA EXT 


(...)



After restarting, I got messages such as

==
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816026] ata4.00: exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6 frozen 
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816031] ata4: SError: { UnrecovData Handshk } 
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816035] ata4.00: failed command: WRITE DMA 
Aug 28 11:01:35 merciadriluca-station kernel: [  233.816040] ata4.00: cmd ca/00:90:08:71:05/00:00:00:00:00/e0 tag 0 dma 73728 out 


(...)


and also

==
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572574] sd 3:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572578] sd 3:0:0:0: [sdc] Sense Key : Aborted Command [current] [descriptor] 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572582] Descriptor sense data with sense descriptors (in hex): 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572584] 72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572592] 00 00 00 00 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572596] sd 3:0:0:0: [sdc] Add. Sense: No additional sense information 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572600] sd 3:0:0:0: [sdc] CDB: Write(10): 2a 00 00 05 83 00 00 03 90 00 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572608] end_request: I/O error, dev sdc, sector 361216 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572613] Buffer I/O error on device sdc5, logical block 43136 
Aug 28 11:04:49 merciadriluca-station kernel: [  427.572615] lost page write due to I/O error on sdc5 


(...)


It looks like the HDD associated with sdc is encountering some issues.


And more specifically, "/dev/sdc5" partition.


But is sdc linked to ata4 or ata6? Do these two problems (before and
after restarting) are the same ones or not?


Yes, it seems there are two hard disks affected. Run:

dmesg | grep -i ata[0-6]


After running several short and long tests with S.M.A.R.T. on each of my
3 HDDs, I got these results:

1) HDD associated with /dev/sda looks in some pre-failure state:


(...)


SMART Error Log Version: 1
Warning: ATA error count 454 inconsistent with error log pointer 5


I would run here the manufacturer's test disk but this one looks it's a bit 
tired. You can keep monitoring the tagged "pre-fail" values and proceed with 
a hard disk replacement as soon as these are quickly increased.



2) HDD associated with /dev/sdb verifies


(...)


(this is the one that looks the healthiest, actually).


Agreed.
 

3) The HDD associated with /dev/sdc, which should be in some way broken
(being given the messages that I wrote above from /var/log/syslog), does
not look so through SMART:


(...)

Oh my... consider also to run the manufacturer's smart test utility for this 
one... and make a full backup _now_.



What can I deduce from this? It looks like /dev/sdc is broken but SMART
tells /dev/sda would have more chance being on the verge to broke than
/dev/sdc.


I can deduce that Maxtor hard disks are very old and would deserve for a 
retirement, eventhough they are still up and (somehow) running.



Note that I tried exchanging SATA cables, to no avail.


In your case there are logged errors regarding sectors and I/O errors and this 
is dangerous.


Greetings,




--
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/k1jdpf$vai$1...@ger.gmane.org



Re: HDD problems that do not follow SMART results

2012-08-28 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for both answers. I effectively removed the very old one,
installed at its place a brand new HDD. This way, I disconnected the one
which was SMART-recognized as sick, and put a new one which now contains
/home/*

This looks perfect, I just had to modify /etc/fstab accordingly (to
modify one UUID value for /home) and to use some screwdrivers.

Thanks again for the help. I hope everything will be fine now. I'm just
surprised that SMART actually detected a faulty HDD which was not
causing any troubles, when it said nothing for a drive that was totally
faulty!

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

If it's too good to be true, then it probably is.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAlA9PjoACgkQM0LLzLt8MhzVigCfQMihJPRkv415lMddtEPmPQ0N
7PEAniV/oCcIVKHX51zX3DXgHU2cY7zX
=6c63
-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/87fw76znph.fsf@merciadriluca-station.MERCIADRILUCA



Re: Standard for soft return by automatic word and line wrap

2012-08-28 Thread Ralf Mardorf
On Tue, 2012-08-28 at 13:22 +0100, Darac Marjal wrote:
> On Mon, Aug 27, 2012 at 03:35:52AM +1200, Chris Bannister wrote:
> > On Sat, Aug 25, 2012 at 08:31:06PM +0200, Ralf Mardorf wrote:
> > > I used gvim, but kate and gedit and even leafpad and others are more
> > > comfortable. IIRC common shortcuts didn't work with gvim, the only
> > > difference to vi(m) was, that I didn't need to know all the commands by
> > > heart.
> > 
> > The trick to using vi(m) etc, is not to try and learn everything by
> > heart, just start using it and it gradually becomes second nature.
> > 
> > Start with vimtutor, and read through the documentation, but don't try
> > and learn it by heart or you will soon be overwhelmed and confused. :)
> 
> Or even have a go at http://vim-adventures.com/

Thank you :)

nice idea, unfortunately ...

I don't play video games, but in this case I was willing to try it,
but ...

first of all I can't pay for it, but even if I would be able to pay for
it ...

I never ever would use paypal, at least regarding to
http://wikileaks.org/
"Julian Assange" might be or might not be an asshole, I don't know,
however, I care about how paypal behaves and I care about Enlightenment
and freedom of press. Btw. I don't own a watch, a mobile or a plastic.
Yes, I've got some kind of bank card, but I guess I don't have one of
those, that are required to use paypal.

I'm not living in consumer land ;).

Regards,
Ralf


-- 
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/1346194315.1326.58.camel@localhost.localdomain



Re: Standard for soft return by automatic word and line wrap

2012-08-28 Thread Ralf Mardorf
On Wed, 2012-08-29 at 00:51 +0200, Ralf Mardorf wrote:
> On Tue, 2012-08-28 at 13:22 +0100, Darac Marjal wrote:
> > On Mon, Aug 27, 2012 at 03:35:52AM +1200, Chris Bannister wrote:
> > > On Sat, Aug 25, 2012 at 08:31:06PM +0200, Ralf Mardorf wrote:
> > > > I used gvim, but kate and gedit and even leafpad and others are more
> > > > comfortable. IIRC common shortcuts didn't work with gvim, the only
> > > > difference to vi(m) was, that I didn't need to know all the commands by
> > > > heart.
> > > 
> > > The trick to using vi(m) etc, is not to try and learn everything by
> > > heart, just start using it and it gradually becomes second nature.
> > > 
> > > Start with vimtutor, and read through the documentation, but don't try
> > > and learn it by heart or you will soon be overwhelmed and confused. :)
> > 
> > Or even have a go at http://vim-adventures.com/
> 
> Thank you :)
> 
> nice idea, unfortunately ...
> 
> I don't play video games, but in this case I was willing to try it,
> but ...
> 
> first of all I can't pay for it, but even if I would be able to pay for
> it ...
> 
> I never ever would use paypal, at least regarding to
> http://wikileaks.org/
> "Julian Assange" might be or might not be an asshole, I don't know,
> however, I care about how paypal behaves and I care about Enlightenment
> and freedom of press. Btw. I don't own a watch, a mobile or a plastic.
> Yes, I've got some kind of bank card, but I guess I don't have one of
> those, that are required to use paypal.
> 
> I'm not living in consumer land ;).
> 
> Regards,
> Ralf

PS: It seems to be, that it's possible to "play" this game without
paying for it, but I can't see anything that teaches me how to use vim.
":" and cursor keys? Wow! Everybody, including me knows this and I'm
able to venture a guess when using vim too. That's the benefit of an
idiotic video game? Wasting time with nonsense, while using vim at least
will help to do some work, even without the knowhow to use it in a good
way, but anyway some work could be done. I think visually, not in words,
but anyway, such a game IMO is less good than a written tutorial and
since I'm a dyslexic reading isn't fun for me.
Sorry for the unkind words, but there already is too much nonsense on
our planet and IMHO this isn't good. Tux math isn't perfect, but
tolerable, for a different target group ;).


-- 
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/1346196663.1326.74.camel@localhost.localdomain



trouble editing a partition table

2012-08-28 Thread Ross Boylan
A kvm virtual machine has two disks provided by LVM logical volumes.
They are identical; each has 3 partitions.  To get more space I used
lvextend to grow the logical volumes.

My problem is that the partition tables are unchanged; the last
partition should extend to the end of the new disk but it does not.
None of the tools I have used to change that will cooperate.

How can I expand the partition?

Inside the VM the disks are used like this
LVM
software-raid
partition
drive.

Partition 3 on each virtual disk is software RAID1 with the other.  The
resulting device, /dev/md1, is used for an LVM volume group.

The virtual disks were 6G and now are 8G.

I shut the VM of which the disks were a part and attached them to
another VM running squeeze (the main VM is lenny).

PARTED
(parted) u
Unit?  [compact]? s
(parted) p
Model: ATA QEMU HARDDISK (scsi)
Disk /dev/sdc: 16777216s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  StartEndSize   Type File system  Flags
 1  63s  192779s192717sprimary  ext3 raid
 2  192780s  401624s208845sprimary
 3  401625s  12578894s  12177270s  primary   raid


(parted) resize 3 401625s 16777215s
WARNING: you are attempting to use parted to operate on (resize) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs.  We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Error: Could not detect file system.

When I quit I was not asked to save, and on restart there was no change.

CFDISK
Shows freespace at the end, with partition 3 type Linux raid autodetect (as is 
partition 1).
Free space shows at the end.
When I select partition 3 and hit enter on maximize, cfdisk displays "Illegal 
command".
Again, no changes persist, even when I select write.

FDISK
Said to prefer cfdisk, and warned not to trust it, so I didn't try anything.

GPARTED
Shows a yellow triangle with an exclamation mark next to partitions 2
and 3.  It shows file system of  "lvm2" for partition 3, as well as the
RAID flag.  Info for 3 says "Logical Volume Management is not yet
supported."  lvm2 is not installed on the system, and given the stack
above it would not be at all appropriate to call (since LVM is on top of
md1).  All resizing options are greyed out in the edit and partition
menus.  Attempting to click the end of the graphical box toward the top
representing sdc3 does nothing.

Ross


-- 
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/1346199334.26275.65.ca...@corn.betterworld.us



Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-28 Thread Rob Owens
On Tue, Aug 28, 2012 at 07:26:18AM -0500, Richard Owlett wrote:
> Richard Owlett wrote:
> >I have two objectives:
> >1. Define, by experimentation, optimal installation
> >parameters to meet my
> >idiosyncratic concept of a "minimal install".
> >2. Determine if there are bugs in Debian Installer, the
> >instructions for
> >the installer, or MY reading of those instructions.
> >
> >I've bought the 8 DVD set of Debian 6.0.5 and have set aside
> >a laptop as a testbed. I would divvy up the 80GB drive with
> >8-10GB for a quasi-static Debian install [some other
> >experiments, possible supervisor for these tests] and ~40GB
> >for DVD content [possibly some additional packages]. The
> >rest would be for the resulting test install and possibly
> >preserving some log files.
> >
> >[SNIP the majority of my original post]
> >
> >Are there other routes to my goals I should investigate?
> >
> 
> In this thread, and others, there have been an underlying
> assumption/suggestion that I do a netinstall. I do not now, nor in
> foreseeable future, have a home network. And as my only web access
> at home is dial-up, that is out ;)
> 
Even more reason to use apt-cacher-ng or something similar.  If you have
multiple Debian installations, you will only have to download updates
once.  All Debian installations will get their updates from
apt-cacher-ng.

http://www.unix-ag.uni-kl.de/~bloch/acng/

I'd recommend you use Virtualbox for all of your "test" installations.
So start by installing Debian on the laptop, and include a GUI (the
default is Gnome, but you could pick something else if you already have
a favorite.  

apt-get install apt-cacher-ng

You can even import the deb files from some/all of the 8-DVD set you
bought, so they will be available any machine configured to use this
proxy.  http://www.unix-ag.uni-kl.de/~bloch/acng/html/howtos.html#imp

Configure the laptop to use the apt-cacher-ng proxy by putting
this line in /etc/apt/apt.conf:

Acquire::http::Proxy "http://localhost:3142";;  

Then configure that machine to be a gateway (sorry, I don't have a link 
for a how-to).  As a gateway, all computers on the local network will
get their internet access through the gateway machine.  You will
probably want to configure a DHCP server on the laptop.

So if you had a real network, the ethernet port of the laptop would
connect to a switch, which would connect to many other computers.  They
would all get IP addresses from the DHCP server on the laptop.  The DHCP
server would be configured to tell those other computers that the laptop
is their gateway.

apt-get install virtualbox-dkms

Now you can use virtual machines instead of real machines to set up your
local network.  It works the same as I described above.  You will need
to read up a bit on the networking options that Virtualbox provides.
I think you want "bridged networking", but it's been a while since I've
used it.  You should be able to get ip addresses on your virtual
machines that are similar to your laptop's ip address (192.168.1.1,
192.168.1.2, etc)

http://www.virtualbox.org/manual/ch06.html

When you install Debian in a virtual machine, make sure to specify the
proxy that apt should use (the installer asks you).  Enter it in this
form:

http://192.168.1.1:3142

(make sure that you specify the IP address of your laptop's ethernet
port).

Have fun practicing networking!

-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/20120829010449.gd5...@aurora.owens.net



Re: Networking for kvm virtual machines

2012-08-28 Thread Bob Proulx
James Allsopp wrote:
> Just restarted everything and the address of the virtual machine is
> 192.168.122.216 so on a different subnet.

The VM is on 192.168.122.216.  Okay.

> Looking at the output of ps aux | grep network, I found this:
> ja@Hawaiian:~$ ps aux | grep network
> nobody6157  0.0  0.0  22760   956 ?S22:04   0:00 dnsmasq 
> --strict-order --bind-interfaces 
> --pid-file=/var/run/libvirt/network/default.pid --conf-file= --listen-address 
> 192.168.122.1 --except-interface lo --dhcp-range 
> 192.168.122.2,192.168.122.254 --dhcp-lease-max=253

Acknowledged.  You have dnsmasq configured to assign addresses to
clients to the 192.168.122.1/24 subnet between .2 and .254.

> and an /sbin/ifconfig gives this:
> a@Hawaiian:~$ /sbin/ifconfig
> br0   Link encap:Ethernet  HWaddr 00:1d:7d:0d:2a:9f
>   inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
>   inet6 addr: fe80::21d:7dff:fe0d:2a9f/64 Scope:Link

Your bridge is configured for 192.168.1.2/24.

Somehow you will need to route between those networks.

> virbr0Link encap:Ethernet  HWaddr fe:54:00:87:97:a6
>   inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0

A virbr0 is set up on 192.168.122.1/24.  I believe this to be a NAT
interface.  A NAT interface will allow outgoing connections.  But
obviously no incoming connections can occur.

> so the question is how did virbr0 get here, and how do I alter it to
> make my VM look like a normal network machine.

It is probably being created by libvirt during VM startup.  You
probably have it set up as the network default for libvirt.

You would need to show us your libvirt configuration and tell us what
type of VMs you are using and how you are starting them.  Are you
using KVM?

If you haven't read it then this page is very useful.  Read through
this and it will probably answer a lot of your questions.

  http://wiki.libvirt.org/page/Networking

Bob


signature.asc
Description: Digital signature


where to report bug: Wheezy installer failed on a RTL8169 network card

2012-08-28 Thread Yuwen Dai
Dear all,

I downloaded the latest Wheezy AMD64 version DVD iso image, trying to
install it on a HP notebook with a RTL8169 NIC.  When the installer
detects network, it hangs.  I could switch to other ttys and open a
busybox  shell, but it's useless, the installation could not resume
any more.  I tried a Squeeze  DVD on the same notebook,  the DHCP
process appeared some difficult, I tried several times,  but at last,
it got IP address.  Where can I report this bug?

Best regards,
Yuwen


-- 
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/CANdEz-Y02n62qLiZyH-UMKjvt5ZH3yMhdc+j=+we3jr5rac...@mail.gmail.com



Re: where to report bug: Wheezy installer failed on a RTL8169 network card

2012-08-28 Thread Bob Proulx
Yuwen Dai wrote:
> I downloaded the latest Wheezy AMD64 version DVD iso image, trying to
> install it on a HP notebook with a RTL8169 NIC.  When the installer
> detects network, it hangs.  I could switch to other ttys and open a
> busybox  shell, but it's useless, the installation could not resume
> any more.  I tried a Squeeze  DVD on the same notebook,  the DHCP
> process appeared some difficult, I tried several times,  but at last,
> it got IP address.  Where can I report this bug?

Thank you for testing the early installer and then reporting problems
with it.  The place to report those bugs is the "installation-reports"
package.

  
http://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=installation-reports

You would want to look over the bugs already filed there to see if one
matches.  In particular there is a now known kernel bug which caused
hangs at boot that was just this week closed.  If not then file your
details there.

I recommend that you try one of the very new daily built netinst
images from http://cdimage.debian.org/cdimage/weekly-builds/ to see if
the latest is still a problem.

Bob





signature.asc
Description: Digital signature


Re: where to report bug: Wheezy installer failed on a RTL8169 network card

2012-08-28 Thread Yuwen Dai
>
> Thank you for testing the early installer and then reporting problems
> with it.  The place to report those bugs is the "installation-reports"
> package.
>
>   
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=installation-reports
>
> You would want to look over the bugs already filed there to see if one
> matches.  In particular there is a now known kernel bug which caused
> hangs at boot that was just this week closed.  If not then file your
> details there.
>
> I recommend that you try one of the very new daily built netinst
> images from http://cdimage.debian.org/cdimage/weekly-builds/ to see if
> the latest is still a problem.
>
> Bob

Hi Bob,

Thank you for the links.  It appears that this is  a known bug:


#679795
Installation freezes when detecting network card Ralink corp. RT5390
Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E

Best regards,
Yuwen


-- 
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/candez-yew+euhfiom6vb34vezfugx77dwfuushpeybjeydp...@mail.gmail.com



Re: trouble editing a partition table (lost RAID)

2012-08-28 Thread Ross Boylan
Short version: I resized the partitions with fdisk, but the software
RAID failed to reassemble from the new partitions.  I'm looking for a
diagnoosis or repair.

On Tue, 2012-08-28 at 17:15 -0700, Ross Boylan wrote:
> A kvm virtual machine has two disks provided by LVM logical volumes.
> They are identical; each has 3 partitions.  To get more space I used
> lvextend to grow the logical volumes.
> 
> My problem is that the partition tables are unchanged; the last
> partition should extend to the end of the new disk but it does not.
> None of the tools I have used to change that will cooperate.
> 
> How can I expand the partition?
> 
> Inside the VM the disks are used like this
> LVM
> software-raid
> partition
> drive.
> 
> Partition 3 on each virtual disk is software RAID1 with the other.  The
> resulting device, /dev/md1, is used for an LVM volume group.
> 
> The virtual disks were 6G and now are 8G.
> 
[deleted failues with cfdisk, parted, and gparted].
Despite the warnings, I used fdisk:
  turned off DOS compatibility
  switch to sectors as unit
  remove partition 3
  create a new partition 3, accepting defaults so it starts where it did
before and ends at the new end of the disk.
   set the mode of the partition to fd
   write results to disk.

When I booted up there were warnings about a duplicate UUID, I think for
the LVM VG.  These were the result of failure of /dev/md1 to be created
out of /dev/hda3 and /dev/hdb3.  It brought up one of them for the
volume group, and the system appears to operate normally.

mdadm -E /dev/hda1 shows it is part of a raid device (it is; there
should be md0 and md1 from partitions 1 and 3 respectively), but
# mdadm -E /dev/hda3
mdadm: No md superblock detected on /dev/hda3.

cfdisk does show the mode is fd "Linux raid autodetect".  However, some
tools complain that the partition does not end on a cylinder boundary.

I'm guessing either something was tucked into the partition table that
was overwritten, or perhaps the superblock in question is at the end of
the partition.  Since the end of the parition is new, that would explain
the  problem.  Or maybe my initrd needs to be updated?

/etc/mdadm/mdadm.conf still has entries for both RAIDs.

I'd appreciate some help with the diagnosis and repair.

Thanks.
Ross


-- 
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/1346216987.26275.88.ca...@corn.betterworld.us



Re: how to fix logical bad sectors

2012-08-28 Thread Muhammad Yousuf Khan
On Tue, Aug 28, 2012 at 7:24 PM, Camaleón  wrote:
> On Tue, 28 Aug 2012 14:12:52 +0500, Muhammad Yousuf Khan wrote:
>
>> On Mon, Aug 27, 2012 at 7:34 PM, Camaleón  wrote:
>
> (...)
>
 do i have to worry about this?
>>>
>>> Sure you do. What's connected to ata1.00? (dmesg | grep -i ata1.00)
>>>
>>> These errors are usually derived not from "bad sectors" but a hardware
>>> issue (e.g., bad/loosey cabling). Just to be sure, you can run a full
>>> SMART test to diagnose any problem from the disk and better if you use
>>> the hdd manufacturer's test disk tools which are usually run from a
>>> small live-cd iso.
>>>
>> here you go.
>>
>> [2.920604] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> [2.955968] ata1.00: ATA-8: WDC WD5000AVVS-63M8B0, 01.00A01, max UDMA/133
>> [2.955972] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
>> [2.961570] ata1.00: configured for UDMA/133
>
> That's one of your hard disks so you definitely have to worry for the above
> errors.
>
> You can get WD diagnostic tool from here:
>
> Data Lifeguard Diagnostic for DOS (CD)
> http://support.wdc.com/product/download.asp?groupid=610&sid=30&lang=en
>
> If both SATA drives pass the tests then open your computer case and reseat/
> reconnect the SATA cables (or better yet, replace them with a set of quality
> SATA cables).
>
> Another test you can perform is getting the ISO image for SystemRescueCD 
> (livecd)
> and boot with it. From here you can check if the errors are gone or still 
> present
> (by doing so you can discard/confirm a problem coming from the raid 1 layout 
> that
> you have set in your main system because the livecd will see/treat both disks
> independently, not raided).
>
>> would you please tell me one more thing. i am using rsyslog server but i
>> can not see this critical error on that rsyslog server.
>
> (...)
>
> Sorry, but this is not the proper thread to talk about that. Anyway, I already
> read the other post you sent about the issue but I have no idea on rsyslog and
> remote logging, sorry ;-(
No problem :). thanks for all the support

>
> 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/k1ikac$ik9$7...@ger.gmane.org
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfM=5vrdnywhilv9y29gxhmlfwcawde0wx-epj0+rtkf...@mail.gmail.com



How upstart-job is performing in debian system ?

2012-08-28 Thread bakshi12

Dear list,

I have gone through some online docs on ubuntu derived upstar-job mechanism and
its simplicity has drawn my attention. Same time the apparent incompatibility 
with
sysv-init is also there. Has anyone is using that in running debian system. How 
does it
work ? Does it need to rewrite all /etc/init.d/${scripts}  ?

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/20120829122720.191f6...@shiva.selfip.org