Re: ssd / smart question

2010-04-16 Thread Camaleón
On Thu, 15 Apr 2010 20:10:19 -0600, Glenn English wrote:

> SMART is warning a lot about a couple week old OCZ SSD.  This is my
> first SSD, and I don't know if this is normal or I have a defective
> drive. Looks broken to me, but...

(...)

> Warning: device does not support Error Logging Warning! SMART ATA Error
> Log Structure error: invalid SMART checksum. SMART Error Log Version: 1
> No Errors Logged
> 
> Warning! SMART Self-Test Log Structure error: invalid SMART checksum.
> SMART Self-test log structure revision number 1 No self-tests have been
> logged.  [To run self-tests, use: smartctl -t]

There is a similar report here:

[Smartmontools-database] OCZ Vertex (SSD, Indilinx Barefoot controller)
http://marc.info/?l=smartmontools-database&m=123764312706573&w=2

Greetings,

-- 
Camaleón


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



Re: Does bcm4310 work with Debian Lenny?

2010-04-16 Thread Norbert Zeh
Norbert Zeh [2010.04.15 1517 -0300]:
> Mark [2010.04.13 1542 -0700]:
> > Hi,
> > 
> > I'm considering purchasing a new laptop like this one
> > http://www.thelinuxlaptop.com/viper-linux-laptop.php which uses a Dell
> > Wireless 1490 card a.k.a. bcm4310.  I've used b43-fwcutter with great
> > results on older dell bcm43xx cards in Lenny but bcm4310 is not listed here
> > http://wireless.kernel.org/en/users/Drivers/b43#Supported_chip_types.  I'm
> > also curious about the video card (intel graphics media accelerator x4500hd)
> > but that appears to be supported based on what I've read.
> >
> I don't know about this particular card, but I got a Dell 1505 (BCM
> 4323) to work with the Linux driver available from Broadcom (Google
> Broadcom STA linux).  This is not an open-source driver.  Some part of
> it is, another part is a binary blob, but it worked beautifully for me.

A follow-up:  The README of the Broadcom STA driver says that the
Dell 1490 is supported, but it says it's a bcm4311.

Cheers,
Norbert


-- 
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/20100416080837.gf22...@cs.dal.ca



black screen when starting X on radeon HD4850 with xserver-xorg-video-radeon 1:6.13

2010-04-16 Thread Cédric Boutillier
Hi everybody,

Please, CC: me, as I am not subscribed to the list.

I am running Debian sid on an Apple iMac 27", with a Mobility Radeon HD
4850 video card (ATI Technologies Inc M98L). The kernel I use is
2.6.33-2 from experimental, and I have disable KMS.

Depending on the version of the radeon driver I use, I see or not
something on the screen:

- with 1:6.12.192-2, everything startx correctly when I launch startx
  from the command line.
- with 1:6.13.0-1, the screen becomes black, and it is impossible to go
  back to a console using Alt+Ctl+F?. However, I can ssh to the system,
  and see using ps that the KDE session has indeed started.

Here are in attachment the two logs: failed is with 6.13, and success is
with 6.12.192.

Has someone an idea of what is going on? Is there an option I could add
to my (at the moment empty) xorg.conf to remedy this problem?

Best regards,

Cédric


Xorg.0.log.failed2.gz
Description: Binary data


Xorg.0.log.success2.gz
Description: Binary data


signature.asc
Description: Digital signature


repeated ATA errors debian lenny

2010-04-16 Thread samuel
Hi all,

Recently a couple of new machines came to my hands, HP DL 180 G6 with 500Gb
SATA hard disk, and I tried to setup a 2-nodes ganeti cluster with debian
lenny.

Default 2-6-26 kernel does work without any issue.

I've done a fresh installation with nothing more than the basics (vim and
less ;) ) and after a aptitude install ganeti, editing xen-config.xsp and
grub xen options, upon restarting I get the following error on the screen:

Apr 15 13:24:56 virt8 kernel: [  297.381987] ata3.00: exception Emask 0x0
SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 15 13:24:56 virt8 kernel: [  297.382163] ata3.00: cmd
a0/00:00:00:24:00/00:00:00:00:00/a0 tag 0 pio 36 in
Apr 15 13:24:56 virt8 kernel: [  297.382164]  cdb 12 00 00 00 24 00
00 00  00 00 00 00 00 00 00 00
Apr 15 13:24:56 virt8 kernel: [  297.382165]  res
40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Apr 15 13:24:56 virt8 kernel: [  297.382595] ata3.00: status: { DRDY }
Apr 15 13:24:56 virt8 kernel: [  297.382727] ata3: hard resetting link
Apr 15 13:24:56 virt8 kernel: [  297.858982] ata3: SATA link up 1.5 Gbps
(SStatus 113 SControl 310)
Apr 15 13:24:56 virt8 kernel: [  297.914096] ata3.00: configured for PIO0
Apr 15 13:24:56 virt8 kernel: [  297.914235] ata3: EH complete

The installed versions are:
linux-image-2.6.26-1-xen-686
xen-hypervisor-3.2-1-i386
ganeti  1.2.6-3+lenny2
ganeti-instance-debootstrap 0.5-1
drbd8-utils 2:8.0.14-2+lenny1

I upgraded to kernel 2-6-26-2 to see whether it solved the issue without
success.
I also tried booting with clocksource=acpi_pm. I've also just tried
acpi=off, pci=nosmi, and nocpi as suggests the ata kernel website without
much success.

I've checked through internet and found the following:

https://bugzilla.redhat.com/show_bug.cgi?id=480317

It should be solved because hipervisor version 3.2 is higher than the one
solving the issue (3.0.3) unless redhat's version differ much from the
debian ones in minnor versionwhich i don't think.


Can anyone shed some light on this issue?

Thank you in advance!!

Samuel


Re: How to migrate my localhost php site to my ISP - Was: willing to learn php basics

2010-04-16 Thread Joe

On 15/04/10 22:43, Bernard wrote:

Hi Avi, Hi to Everyone,

Avi Greenbury wrote:

Bernard wrote:

Have I got to install one or more Debian packages for PHP ?
'$apt-cache search PHP' gives too many results for a choice.


You want to do
# apt-get install php5 php-mysql apache2

Which will also pull in the php5 apache module.
By default, the web pages live under /var/www, the php config file
is /etc/php5/apache2/php.ini and the apache config is all
under /etc/apache2/, with apache2.conf being the 'main' config file.

There're several howtos on the net to talk you through it, howtoforge
is a bit of a goldmine for them.

I have now got to a point that I have a working MySQL database system on
my localhost machine. I thought that I would not have any problem
migrating this to my ISP appropriate MySQL space, but so far I have
failed to do so. Local doc is very scarce, and I did not find any
relevant FAQ. I did find the relevant paths though, and succeeded
installing a short php script which displays the current date, using
strftime(), but there is no way I can access databases. From the online
doc, I learnt that I can't create databases, and that I can just create
tables under the database that already exists. If I import a table, only
its structure gets imported, not its content, and then an error message
says that I don't have privileges for this... so I am surely missing
something as far as setting up is concerned, or initialization. In my
efforts to fetch info, I got a few hints, but they were negative ones,
for instance someone kind of said that most ISP did not allow their
customers to more than one authenticated user. This would mean that I
could not expect to install a database that would be available to the
members of a club, each of them having a login and password.

Could someone tell me where I could find relevant information and docs ?
And maybe mention one or more ISP that would provide suitable mysql
facilities ?


For another perspective:

I use 1&1 (http://1and1.com) for a web database. They have several level 
of package, the one I use has MySQL facilities, ftp and also ssh access 
to the virtual server that runs apache.


As Monique said, you can use MySQL to store passwords and write your own 
login script, but you should also be able to use basic authentication 
(with .htpass files) in the web server to require a user name and 
password for access to web pages, which may well be enough for your 
purposes. The advantage is that it's simple to set up, the disadvantage 
is that you have to set the passwords and communicate them to the users, 
they cannot change them. Neither of these techniques count as 
authentication to the operating system or MySQL itself, so the single 
user isn't a problem.


The MySQL installation at 1&1 is accessible by a public IP address from 
the virtual server, but this is not guaranteed to be available from 
outside their own network. They advise that the database be accessed 
only from the virtual server, either through ssh or the web server.They 
recommend installing phpmyadmin, which is a script which runs on the web 
server.


Monique and Avi mentioned mysqldump, and phpmyadmin offers similar 
features remotely through a web page, including uploading of .sql files, 
by which you can create and populate entire databases if necessary. It 
can also backup the database to a file on the client computer. You can 
access phpmyadmin from anywhere, and you need to login to it using the 
MySQL credentials. The phpmyadmin information page can also tell you 
quite a lot about how the apache and MySQL installations are configured.


One last point: even if you don't advertise the website outside your 
club membership, it will be found by others, and you need to understand 
at least SQL injection and cross-site scripting attacks on web servers, 
and the facilities that PHP offers to help defend against them. You 
should also regularly check your web server directory structure and 
files for signs of tampering. And a whole load of other things, but web 
server security is a career in itself...


--
Joe


--
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/4bc82d1c.2000...@jretrading.com



Re: Boot / LVM best practices

2010-04-16 Thread Jon Dowland
On 14/04/10 Ron Johnson wrote:
> That is correct.  No RAID protects against user stupidity. 

In my personal experience, user stupidity (even my own) is as common a
cause of data loss as hardware failure.


-- 
Jon Dowland



signature.asc
Description: OpenPGP digital signature


STAT of Process

2010-04-16 Thread export






I have a daemon running on my Debian ( Lenny) box.When it is  started ,




 I check the process state ( by ps -ax command) and I can see in STAT column  S letter and 
the daemon works as it should.After some time, the STAT is changed to R but the daemon 
still works OK.But after  few hours the STAT is changed to D letter and the daemon does not 
work properly.It seems as if it is stopped running eventhough it is among the  list of 
processes.




Can anyone explain that please?




Thanks




L.





-- 
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/4bc856b6.17625.e08...@export.hope.cz



Re: STAT of Process

2010-04-16 Thread Stan Hoeppner
exp...@hope.cz put forth on 4/16/2010 5:23 AM:
> I have a daemon running on my Debian ( Lenny) box.When it is  started ,
> I check the process state ( by ps -ax command) and I can see in STAT column S 
> letter and the daemon works as it should.After some time, the STAT is changed 
> to 
> R but the daemon still works OK.But after few hours the STAT is changed to D 
> letter and the daemon does not work properly.It seems as if it is stopped 
> running eventhough it is among the list of processes.
> Can anyone explain that please?

Which daemon?

-- 
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/4bc84165.60...@hardwarefreak.com



Re: How to recover boot floppy in Lenny

2010-04-16 Thread Camaleón
On Thu, 15 Apr 2010 20:15:12 -0300, Mauricio Contreras wrote:

> I have a dual boot setup and was using Lenny booting GRUB from a floppy.
> The floppy is busted, now when I use Supergrub to boot there's no sound.
>
> Is there any way either I can recreate the boot disk from the system to
> another floppy or a new CD? This Lenny install worked wonderfully!

You mean there is no sound "after" you login?

I fail to see any relation with that fact (no sound) and the bootloader 
being located in a floppy disk or SuperGrubDisk so I would investigate 
first why the sound stopped from working.

OTOH, shouldn't be easier to keep the bootloader installed natively into 
the hard disk, either MBR or first sector of a partition rather than in a 
floppy disk?

Greetings,

-- 
Camaleón


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



Re: STAT of Process

2010-04-16 Thread export
Stan,
Thank you for your reply.
It is my own daemon( I wrote it by myself) and do not know why it changes the 
STAT.

I found out that STAT field is
D   for  Uninterruptible sleep (usually IO)
R  for   Running or runnable (on run queue)
S   for  Interruptible sleep (waiting for an event to complete)

but what does Uninterruptible sleep means? And what is it caused by?
Can anyone explain that problem?
(When STAT is D for the  daemon , the daemon does not seem to run )

Thanks
L.


> exp...@hope.cz put forth on 4/16/2010 5:23 AM:
> > I have a daemon running on my Debian ( Lenny) box.When it is  started ,
> > I check the process state ( by ps -ax command) and I can see in STAT column 
> > S 
> > letter and the daemon works as it should.After some time, the STAT is 
> > changed to 
> > R but the daemon still works OK.But after few hours the STAT is changed to 
> > D 
> > letter and the daemon does not work properly.It seems as if it is stopped 
> > running eventhough it is among the list of processes.
> > Can anyone explain that please?
> 
> Which daemon?
> 
> -- 
> 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/4bc84165.60...@hardwarefreak.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/4bc8635c.1450.111e...@export.hope.cz



Re: GNOME crashes when .xsession file is present.

2010-04-16 Thread Marc Olive
El Thursday 15 April 2010 09:11:21 Freeman va escriure:

> An empty .xsession file will crash Gnome too. (I remember that debacle.) I
> can't offer a technical explanation.  Maybe it can be viewed as similar to
> initiating two desktops environments simultaneously.

.xsession is the X session script that's executed, so the X session terminates 
when this script also terminates.
The last command in the script must not quit inmediatly, instead he must 
handle the X session (should be a window manager, a desktop or another nice 
program).

> --
> Kind Regards,
> Freeman
>
> http://bugs.debian.org/release-critical/



-- 

Marc Olivé
Grup Blau

www.grupblau.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/201004161255.50644.marc.ol...@grupblau.com



Re: Dual channel memory question

2010-04-16 Thread Aioanei Rares

On 04/16/2010 04:31 AM, Stan Hoeppner wrote:

Aioanei Rares put forth on 4/15/2010 7:06 PM:

   

Are you guys displaced Ubuntu users who landed on debian-user after a
tornado came through Kansas?  ;)
   

I guess you've never seen "The Wizard of Oz".

   

You made me dig my latest mobo's manual :) [Gigabyte GA-M56S-S3], which
says plainly : "The four DDR2 memory sockets are divided into two
channels and each channel has two memory sockets as following :
Channel 0 : DDRII_1, DDRII_3
Channel 2 : DDRII_1, DDRII_4"
 

You typo'd that.  It should be:

Channel 0 : DDRII_1, DDRII_3
Channel 1 : DDRII_2, DDRII_4

   

Yes, I typoed; my bad.

Please refrain from making such "wise" comments as , even if you're
right, you're damaging Debian's image and yours.
 

I'm not sure how you come to that, but, ok..

Gigabyte has screwed up the DIMM slot color coding on the GA-M56S-S3, at
least according to the manual.  I just looked at Intel, Asus, and other
Gigabyte boards and they all follow the correct alternating color pattern.

Aioanei, you've based your entire argument on your knowledge of a single
main board.  This board was incorrectly manufactured, or the manual text is
incorrect.  Yes, manufacturers do make mistakes.  Look at the ATA_HORKAGE
blacklist sections in libata-core.c to see lists of hard drives the
manufacturers screwed up.  All of the Goliaths are in there, Hitachi,
Maxtor, Seagate, Western Digital.  They're all shipped drives that don't
meet one spec or another.  If these Goliaths can screw up, I guarantee you a
tiny company like Gigabyte can, and probably does so far more often.

Now, go look at the DIMM socket colors and layout pattern on the Intel,
Asus, and yes, other Gigabyte boards to see what the proper color coding for
dual channel memory sockets is, and look at the text descriptions of the
slot and channel numbers.  This GA board is an anomaly, and is flawed in
this regard.

Take a look at the RHS of my email address.  That's my personal domain.
They call me TheHardwareFreak for a reason. ;)

The odds against me making a factually incorrect statement here about
hardware are so high you should place a standing bet with your local bookie. :P

   
Anyway, http://en.wikipedia.org/wiki/Dual-channel_architecture says it 
better. Obviously, a "tiny company(?)" like Gigabyte is wrong and you 
are right; then how come all the systems I've put together with 
dual-channel memory work as expected?



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



Re: Dual channel memory question

2010-04-16 Thread Camaleón
On Fri, 16 Apr 2010 16:06:54 +0300, Aioanei Rares wrote:

> On 04/16/2010 04:31 AM, Stan Hoeppner wrote:

(...)

>> Now, go look at the DIMM socket colors and layout pattern on the Intel,
>> Asus, and yes, other Gigabyte boards to see what the proper color
>> coding for dual channel memory sockets is, and look at the text
>> descriptions of the slot and channel numbers.  This GA board is an
>> anomaly, and is flawed in this regard.

(...)

> Anyway, http://en.wikipedia.org/wiki/Dual-channel_architecture says it
> better. Obviously, a "tiny company(?)" like Gigabyte is wrong and you
> are right; then how come all the systems I've put together with
> dual-channel memory work as expected?

O.k. both of you are right.

Gigabyte AMD based boards seems to follow "0-0-1-1" scheme and Intel ones 
goes "0-1-0-1" but that's all. In both cases, same colored slots indicate 
where to put the matching RAM modules to get a dual-channel setup.

It can be worst, though. There are manufacturers that paint all the RAM 
slots in black or using the same color and so forcing us to read the 
manual >:-)

Greetings,

-- 
Camaleón


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



Re: How to recover boot floppy in Lenny

2010-04-16 Thread Mauricio Contreras
On Fri, Apr 16, 2010 at 8:04 AM, Camaleón  wrote:
> On Thu, 15 Apr 2010 20:15:12 -0300, Mauricio Contreras wrote:
>
>> I have a dual boot setup and was using Lenny booting GRUB from a floppy.
>> The floppy is busted, now when I use Supergrub to boot there's no sound.
>>
>> Is there any way either I can recreate the boot disk from the system to
>> another floppy or a new CD? This Lenny install worked wonderfully!
>
> You mean there is no sound "after" you login?
>
> I fail to see any relation with that fact (no sound) and the bootloader
> being located in a floppy disk or SuperGrubDisk so I would investigate
> first why the sound stopped from working.
>
> OTOH, shouldn't be easier to keep the bootloader installed natively into
> the hard disk, either MBR or first sector of a partition rather than in a
> floppy disk?
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/pan.2010.04.16.11.04...@gmail.com
>
>
Dear Camaleon:

I recovered sound in Lenny after booting with SuperGrub and running
alsaconf as root. I picked up my old SoundBlaster Live card and the
emu10k1 module with alsaconf and set it up as the main sound card
(there's also an integrated AC'97 in the motherboard) card with
index=0. Then sound came back.

I'm surprised because when I installed Lenny with netinst sound was on
from the beginning. I added Flash from the non free repository,
installed it, and I listened to YouTube. I was all set.

I was very happy booting Lenny from a floppy, but when my floppy
screwed up I had no backup floppy (dumb) and used SuperGrub. At the
first boot there was no system sound; Amarok, Juk nor Flash videos
worked.

I was using Squeeze and the problems were worse with sound, Flash, and
Grub2, so I installed Lenny.

My disks are set up as follows:

IDE 80 GB hda: 2 partitions hd0, 40 GB --- windows xp boot; hd1, 40 GB
--- windows xp data files
SATA 80 GB sda 1 partition sda 80 GB -- windows data files
SATA 500 GB sdb 1 partition sdb (??) 500 GB ---lenny

I haven't been able to configure Grub 0.94 to boot in this setup so I
have used SuperGrub or a bootable floppy with Lenny.
Could you point me to an appropiate grub setup?

Mauricio Contreras
Buenos Aires, Argentina.


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



Re: C programming question

2010-04-16 Thread Stephen Powell
On Thu, 15 Apr 2010 21:09:43 -0400 (EDT), Stephen Powell wrote:
> On Thu, 15 Apr 2010 20:43:21 -0400 (EDT), Ron Johnson wrote:
>> On 2010-04-15 19:37, Stephen Powell wrote:
>>> 
>>> I'm going to be filing a bug report against parted for (a) miscalculating
>>> the starting block of the implicit partition on an ldl (Linux Disk Layout)
>>> formatted disk on the s390 architecture when the block size is other than
>>> 4096, and (b) no support for CMS-formatted disks.
>> 
>> If practical, I hope you file 2 bugs.
> 
> I hear you.  I'll have to look at the code to see if that's easily separated
> out.  I started with the purpose of adding an enhancement to support CMS
> formatted disks.  I stumbled across the bug in the starting block calculation
> for ldl formatted disks in the process.  CMS formatted disks are handled
> *exactly* the same as ldl formatted disks if the disk is not reserved.  I
> would have had to fix that bug anyway to add support for CMS disks, since
> I wanted the CMS support to be correct.  The only wrinkle was correctly
> handling reserved CMS disks.  To do that I had to access the reserved block
> offset in the CMS label, which prompted this thread.
> 
> All of this is specific to the s390 architecture and has no bearing on i386,
> amd64, ia64, etc.  I hope upstream (GNU, I believe) will accept the fix.
> I have no reason to believe that they won't.

It appears impractical to separate the enhancement from the fix, since the
former is dependent on the latter.  I will open the bug report as a wishlist
enhancement request and provide the patches.  If it is accepted, the LDL
bug will get fixed too as a fringe benefit.

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



Re: ssd / smart question

2010-04-16 Thread Glenn English

On Apr 16, 2010, at 1:30 AM, Stan and Jochen and Camaleón wrote:

> ~ "Don't worry about it"

Thank you all very much. I'll just turn off smart; badblocks says it's OK too.

FWIW, it seems to be a nice little 'drive' for a GUI-less router. It's only 
30G, and the software's using way less than 10% of it. Fast, too...

-- 
Glenn English
g...@slsware.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/bfa09d1f-244a-4897-b172-5b5e31b0b...@slsware.com



Re: GNOME crashes when .xsession file is present.

2010-04-16 Thread Jon Dowland
Freeman wrote:
> An empty .xsession file will crash Gnome too. (I remember that debacle.) I
> can't offer a technical explanation.  Maybe it can be viewed as similar to
> initiating two desktops environments simultaneously.

I'm not convinced GNOME is actually involved here. Are you (or the OP)
logging in via GDM? And if so, what session is specified? if "run
Xclient script" or similar, then (as others have said) .xsession is
being invoked as a shell script and GNOME is not being invoked at all.
Default behaviour for some DMs might be to run .xsession if it exists
and pick a default if it doesn't.




signature.asc
Description: OpenPGP digital signature


Re: How to recover boot floppy in Lenny

2010-04-16 Thread Camaleón
On Fri, 16 Apr 2010 10:48:10 -0300, Mauricio Contreras wrote:

> On Fri, Apr 16, 2010 at 8:04 AM, Camaleón wrote:

>> You mean there is no sound "after" you login?
>>
>> I fail to see any relation with that fact (no sound) and the bootloader
>> being located in a floppy disk or SuperGrubDisk so I would investigate
>> first why the sound stopped from working.

(...)

> I recovered sound in Lenny after booting with SuperGrub and running
> alsaconf as root. I picked up my old SoundBlaster Live card and the
> emu10k1 module with alsaconf and set it up as the main sound card
> (there's also an integrated AC'97 in the motherboard) card with index=0.
> Then sound came back.

Ah, that makes more sense to me :-)

(...)

> My disks are set up as follows:
> 
> IDE 80 GB hda: 2 partitions
> hd0, 40 GB --- windows xp boot;
> hd1, 40 GB --- windows xp data files

> SATA 80 GB sda 1 partition
> sda 80 GB -- windows data files

> SATA 500 GB
> sdb 1 partition sdb (??) 500 GB ---lenny
> 
> I haven't been able to configure Grub 0.94 to boot in this setup so I
> have used SuperGrub or a bootable floppy with Lenny. Could you point me
> to an appropiate grub setup?

Well, it seems you have 3 physical hard disks, with windows installed in 
the first partition of the IDE hdd and Lenny in the second SATA (500 GiB).

First you have to do is *to know* what hard disk is being booted in first 
place by the BIOS ("IDE 80" -windows- or "SATA 500" -lenny-). After that, 
put here the results of your findings and we will see what could be the 
better setup for installing GRUB :-)

Greetings,

-- 
Camaleón


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



Re: Temporary deconnection from the Internet when too much pages are loaded

2010-04-16 Thread Merciadri Luca
Lisi wrote:
> On Thursday 15 April 2010 15:18:32 Merciadri Luca wrote:
>   
>
> A shot in the dark... - I have a problem of freezing that is reminiscent of 
> this - how much RAM have you got??
>   
4 gigs. This is apparently not the problem. And you?

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


debian on a raid5 (4TB) issues

2010-04-16 Thread Israel Garcia
Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with
4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap
but it only recognize 78GB instead the 4TB available. Is this because
the partition in booteable? Can I install debian OS  on this hdd with
these 3 partitions and use the rest for LVM? Thanks in advance,

-- 
Regards;
Israel Garcia


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



Re: debian on a raid5 (4TB) issues

2010-04-16 Thread Tim Clewlow

> Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with
> 4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap
> but it only recognize 78GB instead the 4TB available. Is this
> because
> the partition in booteable? Can I install debian OS  on this hdd
> with
> these 3 partitions and use the rest for LVM? Thanks in advance,
>
.

Seriously consider using Raid 6. If you use Raid 5 then the
probability of an unrecoverable read error (URE) occurring while
rebuilding the 4TB of data is IMO a little too high. With Raid 6 it
would require 2 URE's that happen to be located in the same raid
segment on both disks - the odds of that are extremely low.

my 2c,- tim


-- 
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/b15e5b53f92a5f588f473e131f0b6409.squir...@192.168.1.100



Re: debian on a raid5 (4TB) issues

2010-04-16 Thread Camaleón
On Sat, 17 Apr 2010 03:34:36 +1000, Tim Clewlow wrote:

>> Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with
>> 4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap
>> but it only recognize 78GB instead the 4TB available. Is this because
>> the partition in booteable? Can I install debian OS  on this hdd with
>> these 3 partitions and use the rest for LVM? Thanks in advance,
>>
> .
> 
> Seriously consider using Raid 6. If you use Raid 5 then the probability
> of an unrecoverable read error (URE) occurring while rebuilding the 4TB
> of data is IMO a little too high. With Raid 6 it would require 2 URE's
> that happen to be located in the same raid segment on both disks - the
> odds of that are extremely low.
> 
> my 2c,- tim

+1

Rebuilding time in a 4-TB RAID5 volume will take more than 8 hours (in 
best-case scenario), time enough for another disk gets dropped from the 
array and so loosing data :-/

Greetings,

-- 
Camaleón


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



Re: C programming question

2010-04-16 Thread Boyd Stephen Smith Jr.
In <1876691691.55741.1271378240260.javamail.r...@md01.wow.synacor.com>, 
Stephen Powell wrote:
>I'm going to be filing a bug report against parted for (a) miscalculating
> the starting block of the implicit partition on an ldl (Linux Disk Layout)
> formatted disk on the s390 architecture when the block size is other than
> 4096, and (b) no support for CMS-formatted disks.  I'm going to include my
> patch files for the fix in the bug report.  

> Would you like to be in the
> credits?

That would be awesome!
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


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


xen

2010-04-16 Thread IAN DELANEY

Hello there,  Ny name is Ian, from Perth Australia.
I have a question to be answered please.  I'm a linux user, so I use suse, 
debian, ubuntu and gentoo, and fedora.I'm interested in exploring the 
capabilities of xen and have done so an all the above.I'm in a brand new 
instance of squeeze and have just perused the packages in synaptic for the 
first time.I have recently used karmic lenny including a xen live cd which uses 
lenny as a dom host.This has lead to submitting bug reports because the 
collection of packages that are used to support virt-manager and xen are 
extensive and quite problem ridden.  I am now to try the latest packages 
provided by squeeze.
I can't help but notice  THERE IS NO XEN KERNEL.
So, why is it so?  This is like karmic revisited.  No xen kernel.  I 
experimented extensively in karmic only to submit bug reports that were ignored 
because Ubuntu does not support xen as a host, dom0.  
What is the policy then?  Why has Ubuntu retracted supporting xen dom0?  Is it 
the same for debian?Why are all xen packages provided but no kernel?  I have a 
xen kernel in any case, but it is an important ommision.Ubuntu and debian have 
provided and supported xen kernels for previous versions.  Has it been 
unofficially left to SUSE to invest support in xen as a virtualisation form?
  
_
If It Exists, You'll Find it on SEEK. Australia's #1 job site
http://clk.atdmt.com/NMN/go/157639755/direct/01/

BIND9 Y DHCP3-SERVER

2010-04-16 Thread cosme

BIND9 Y DHCP3-SERVER

hOLA uso Debian Lenny

Quiero que cuando el dhcp3-server asigne las ip a los clientes esta las pase
automaticamente al DNS.

He probado algunas configuraciones con respecto pero cuando comienza a
repartir dice que la clave está mas o sea el rndc.key del Bind9 que lo pasé
para el DHCP--SERVER. AHora debe tener algo como esto



cp /etc/bind9/rndc.key /etc/dhcp/
chmod 660 /etc/dhcp/rndc.key
chown root:dhcpd /etc/dhcp/rndc.key



pero si el grupo dhcpd no existe esto es un proceso con ele que corre el
dhcp entonces qué hago???

que permisos le doy ??? porque el cuando se copia el rndc.key para el
dhcp3-server el toma los permisos root:root

no crea usuario ni grupo para el  dhcp3-server ???

Qué solución le puedo dar para que dhcp3-server asigne las ip a los clientes
y esta las pase automaticamente al BIND9



Cosme





--
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/7f91466f2221496bb798eb1029678...@esid.gecgr.co.cu



How to play 3gp audio files?

2010-04-16 Thread John Magolske
I'm looking for a way to play *.3gp audio files from the command line.
Mplayer doesn't seem to work:

% Mplayer some-audio-file.3gp
[...]
Playing some-audio-file.3gp.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'libamr_nb' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video

Any suggestions for alternate approaches, pointers on how & what to
install in terms of a codec, or maybe a way to convert these files
(ideally without transcoding degradation)?

These audio files were created by the android app "Voice Recorder".

TIA for any help,

John


-- 
John Magolske
http://B79.net/contact


-- 
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/2010041619.ga12...@s70206.gridserver.com



Re: xorg synaptics driver no longer working with udev?

2010-04-16 Thread Florian Kulzer
On Thu, Apr 15, 2010 at 23:27:41 +0200, Sjoerd Hardeman wrote:

[...]

> Hal is certainly no longer working, see #567389. Yet, udev now also
> stopped working...

OK, I think I understand a little bit better how this is supposed to be
working now. Try to add your touchpad options to the InputClass section
of the file /usr/lib/X11/xorg.conf.d/10-synaptics.conf as a first test.

There seems to be a new mechanism that allows for multiple such
InputClass sections matching the same device, so that its configuration
can be spread over several files, with each file being able to add
options and to override settings made in previous files. If this works
as advertised then it should be possible to add your customizations in a
separate InputClass section in, say, 99-local.conf and thus make sure
that they are not overwritten when the synaptics driver is upgraded.
That seems to have all the modularity advantages of the earlier hal/udev
methods with the added bonus of the simpler xorg.conf syntax.

I am curious to hear if this actually works because I cannot try it
myself. (My up-to-date Sid desktop does not have a touchpad.)

-- 
Regards,|
  Florian   |


-- 
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/20100416184645.ga4...@isar.localhost



Re: How to play 3gp audio files?

2010-04-16 Thread Camaleón
On Fri, 16 Apr 2010 12:00:00 -0700, John Magolske wrote:

> I'm looking for a way to play *.3gp audio files from the command line.
> Mplayer doesn't seem to work:

(...)

> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> Cannot find codec 'libamr_nb' in libavcodec... ADecoder init failed

(...)

> Any suggestions for alternate approaches, pointers on how & what to
> install in terms of a codec, or maybe a way to convert these files
> (ideally without transcoding degradation)?

Mmmm, it seems you are missing a codec (AMR). In debian multimedia repo 
there is one package that provides that codec:

***
floating-point Adaptive Multi-Rate (AMR) speech codec
http://debian-multimedia.org/dists/stable/main/binary-i386/package/amrnb.php
***

That is for lenny 32-bits. Not sure if this will solve the problem :-?

OTOH, there are online conversion tools that may also help:

http://www.zamzar.com/conversionTypes.php#videos

Greetings,

-- 
Camaleón


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



Re: Dual channel memory question

2010-04-16 Thread Hugo Vanwoerkom

Aioanei Rares wrote:

On 04/16/2010 02:33 AM, Eduardo M KALINOWSKI wrote:

On 04/15/2010 07:59 PM, Stan Hoeppner wrote:

Aioanei Rares put forth on 4/15/2010 3:16 PM:


No, it means that 2 one-gig modules in same-coloured slots will
theoretically work better. I have one module in a dual-channel mobo and
it works ok. Most desktop/workstation mobos do.

No, that's not correct.  If the mobo DIMM slots are colored, you put one
DIMM in each color slot for dual channel operation, not both DIMMs in 
the

same colored slots.


I believe different manufactures follow different conventions. For 
some it's the two in same-color slots, for others in different-color 
slots. When in doubt, check the manual



One, I work with hardware everyday and I've assembled more computers 
than I can count. Two, Stan, I find your remark pretty offensive, 
really. Gigabyte, Asus, Intel mobos work by the principle 'same colour 
== dual channel'. Please check your facts before trying to sound elitist.





Checking the wiki page again, it says,

"If the motherboard has two pairs of differently colored DIMM sockets 
(the colors indicate which bank they belong to, bank 0 or bank 1), then 
one can place a matched pair of memory modules in bank 0, but a 
different-capacity pair of modules in bank 1, as long as they are of the 
same speed."


Which says to me that if I have a board with 4 memory slots of which 2 
are colored light-blue and 2 are colored black and 2 1GB modules of 
identical speed, then I place both modules in either the light-blue 
slots of the black slots.


Hugo


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

Archive: http://lists.debian.org/hqadbr$ag...@dough.gmane.org



Re: How to play 3gp audio files?

2010-04-16 Thread Ron Johnson

On 2010-04-16 14:00, John Magolske wrote:

I'm looking for a way to play *.3gp audio files from the command line.
Mplayer doesn't seem to work:

% Mplayer some-audio-file.3gp
[...]
Playing some-audio-file.3gp.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'libamr_nb' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video

Any suggestions for alternate approaches, pointers on how & what to
install in terms of a codec, or maybe a way to convert these files
(ideally without transcoding degradation)?

These audio files were created by the android app "Voice Recorder".



Note that Debian hobbles some apps (like mplayer and ffmpeg) because 
of freedom issues.  That's why www.debian-multimedia.org exists.


Did you Google "linux play 3gp"?  If the d-mm.org packages don't 
work, then Google might.


$ apt-cache policy mplayer
mplayer:
  Installed: 1:1.0.rc2svn20100407-0.0
  Candidate: 1:1.0.rc2svn20100407-0.0
  Version table:
 *** 1:1.0.rc2svn20100407-0.0 0
500 http://www.debian-multimedia.org unstable/main Packages
100 /var/lib/dpkg/status
 1.0~rc3+svn20090405-1+b2 0
500 ftp://ftp.us.debian.org unstable/main Packages
$
$
$ apt-cache policy ffmpeg
ffmpeg:
  Installed: 5:0.5.1+svn20100411-0.0
  Candidate: 5:0.5.1+svn20100411-0.0
  Version table:
 *** 5:0.5.1+svn20100411-0.0 0
500 http://www.debian-multimedia.org unstable/main Packages
100 /var/lib/dpkg/status
 4:0.5.1-3 0
500 ftp://ftp.us.debian.org unstable/main Packages

--
Dissent is patriotic, remember?


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

Archive: http://lists.debian.org/4bc8b8d4.8040...@cox.net



Re: recent mobo recommendation

2010-04-16 Thread Hugo Vanwoerkom

Ron Johnson wrote:

On 2010-04-15 13:55, Hugo Vanwoerkom wrote:

Ron Johnson wrote:

[snip]


ATX means you'll get lots of built-in features.  I like my Gigabyte 
GA-MA780G-UD3H mobo with AM2+/AM2 socket.


8GM RAM, 6 SATA, 1 (or 2, I forget) rear eSATA, lots of USB, a front 
and rear Firewire and decent on-board audio.  On-board ATI video with 
separate video RAM, but I installed a fanless NVIDIA card because the 
driver situation is *simple*, and it's fast.




Too bad it's a NewEgg outofstock item:
http://www.newegg.com/Product/Product.aspx?Item=N82E16813128382



This looks like the successor.

http://www.newegg.com/Product/Product.aspx?Item=N82E16813128411



But then there is the Realtek 8111C chip issue again. I prefer not to 
have to revert to compiling my own kernel again.


Hugo


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

Archive: http://lists.debian.org/hqadgb$ag...@dough.gmane.org



Re: Broken Debian's testing migration (grave bug in module-init-tools)

2010-04-16 Thread Andrei Popescu
On Mon,12.Apr.10, 11:19:54, Vincent Lefevre wrote:
> There's something broken in the design of Debian's migration to testing.
> 
> A grave bug in the testing version of module-init-tools (3.12~pre2-1)
> was fixed several weeks ago, and the package was uploaded with
> urgency=high:
> 
>  module-init-tools  (3.12~pre2-2) unstable; urgency=high
> 
>* Fixed an init scripts dependency loop introduced in -1. (Closes: #574535)
> 
>  -- Marco d'Itri   Mon, 22 Mar 2010 12:21:18 +0100
> 
> but it hasn't migrated to testing yet!

You can always install the unstable version.

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: C programming question

2010-04-16 Thread Stephen Powell
On Fri, 16 Apr 2010 14:13:36 -0400 (EDT), Boyd Stephen Smith Jr. wrote:
> Stephen Powell wrote:
>> I'm going to be filing a bug report against parted for (a) miscalculating
>> the starting block of the implicit partition on an ldl (Linux Disk Layout)
>> formatted disk on the s390 architecture when the block size is other than
>> 4096, and (b) no support for CMS-formatted disks.  I'm going to include my
>> patch files for the fix in the bug report.  
>> Would you like to be in the
>> credits?
> 
> That would be awesome!

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

Your name is in the changelog patch.  Thanks again.

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



Re: Temporary deconnection from the Internet when too much pages are loaded

2010-04-16 Thread Lisi
On Friday 16 April 2010 16:27:10 Merciadri Luca wrote:
> Lisi wrote:
> > On Thursday 15 April 2010 15:18:32 Merciadri Luca wrote:
> >
> >
> > A shot in the dark... - I have a problem of freezing that is reminiscent
> > of this - how much RAM have you got??
>
> 4 gigs. This is apparently not the problem. And you?

512 MB.  And I am pretty sure that it _is_ the problem - shutting things down 
(particularly Iceweasel tabs) sorts it out.  The motherboard could take more 
memory and I have an empty slot; but I am not sure that I can justify 
spending £30.00 on more memory for a motherboard that is definitely past the 
first flush of youth!

Lisi


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



Re: STAT of Process

2010-04-16 Thread Stan Hoeppner
exp...@hope.cz put forth on 4/16/2010 6:17 AM:
> Stan,
> Thank you for your reply.
> It is my own daemon( I wrote it by myself) and do not know why it changes the 
> STAT.
> 
> I found out that STAT field is
> D   for  Uninterruptible sleep (usually IO)
> R  for   Running or runnable (on run queue)
> S   for  Interruptible sleep (waiting for an event to complete)
> 
> but what does Uninterruptible sleep means? And what is it caused by?
> Can anyone explain that problem?
> (When STAT is D for the  daemon , the daemon does not seem to run )

Sounds like the daemon is waiting for an IO which never completes.  Thus it
never wakes.

-- 
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/4bc8f318.4050...@hardwarefreak.com



Re: Dual channel memory question

2010-04-16 Thread Stan Hoeppner
Camaleón put forth on 4/16/2010 8:31 AM:

> It can be worst, though. There are manufacturers that paint all the RAM 
> slots in black or using the same color and so forcing us to read the 
> manual >:-)

The manufacturers have bastardized the color coding to the point it's
useless; thus reading the manual is the only safe bet to get dual channel
operation setup correctly.

The mobo industry has taken the DIMM slot color coding concept and run it
through the Microsoft "embrace and extend" process, thus ruining
interoperability. ;)

-- 
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/4bc8fad0.4030...@hardwarefreak.com



Re: ssd / smart question

2010-04-16 Thread Stan Hoeppner
Glenn English put forth on 4/16/2010 9:00 AM:
> 
> On Apr 16, 2010, at 1:30 AM, Stan and Jochen and Camaleón wrote:
> 
>> ~ "Don't worry about it"
> 
> Thank you all very much. I'll just turn off smart; badblocks says it's OK too.
> 
> FWIW, it seems to be a nice little 'drive' for a GUI-less router. It's only 
> 30G, and the software's using way less than 10% of it. Fast, too...

That's a perfect application for a small SSD.  You probably could have even
got by with an 8 Gig'er and saved some cash.

-- 
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/4bc8fbcd.5070...@hardwarefreak.com



Re: debian on a raid5 (4TB) issues

2010-04-16 Thread Stan Hoeppner
Israel Garcia put forth on 4/16/2010 11:11 AM:
> Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with
> 4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap
> but it only recognize 78GB instead the 4TB available. Is this because
> the partition in booteable? Can I install debian OS  on this hdd with
> these 3 partitions and use the rest for LVM? Thanks in advance,

What PCIe RAID card are you using?

-- 
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/4bc8fcdc.2060...@hardwarefreak.com



Re: ssd / smart question

2010-04-16 Thread Glenn English

On Apr 16, 2010, at 6:07 PM, Stan Hoeppner wrote:

> That's a perfect application for a small SSD.  You probably could have even
> got by with an 8 Gig'er and saved some cash.

This was the smallest I could fine at newegg.

If I'd known how small this was going to be, I'd have looked a little harder... 
Maybe.

-- 
Glenn English
g...@slsware.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/322cdca5-fef4-42ed-bc7d-aa1bcf3ce...@slsware.com



Bash script - pass command line arg to embedded sed script with multiple args

2010-04-16 Thread Daniel D Jones
What I'm trying to do is pretty simple.  Getting it to work is turning out not 
to be.  What I want to do is call a bash script with a couple of arguments, 
and, within the script, call sed to use those args to replace two placeholders 
in a file:

bashscript SUB1 SUB2

This line inside bashscript doesn't work:

sed -e 's/PLACEHOLDER1/$1/' -e 's/PLACEHOLDER2/$2/' < input > output

It doesn't work because the command line args ($1, $2) are quoted and don't 
get replaced.  However, because I'm using the -e argument to sed, I have to 
quote the argument or sed gets all huffy.  I've tried all sorts of variations 
on the quoting and either bash or sed isn't happy no matter what I do.

The only workaround I've found is to do the substitutions in two passes:

sed s/SUB1/$1/ < input > temp 
sed s/SUB2/$2/ < temp > output

Since I'm not using multiple argument to sed, I don't have to quote the arg.  
That's an ugly hack and really rubs me the wrong way, however, and it'll get 
really ugly if I end up having to do more than two substitutions, which I 
expect to do at a later date.  I suppose I could pipe one sed command to 
another rather than using a temp file but that's not significantly more 
palatable.

Any ideas on a cleaner approach on how to do this, either by getting this 
right or using an alternative method, are welcome.  One thing to note is that 
this is a small part of a larger, more complex script, so the bash script 
can't (easily) go away.  I don't have to use sed to do the replacement if 
there's another approach from within the bash script that would work.

-- 
"Americans detest all lies except lies spoken in public or printed lies." - 
Edgar Watson Howe


-- 
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/201004162015.38878.ddjo...@riddlemaster.org



Re: ssd / smart question

2010-04-16 Thread Stan Hoeppner
Glenn English put forth on 4/16/2010 7:21 PM:
> 
> On Apr 16, 2010, at 6:07 PM, Stan Hoeppner wrote:
> 
>> That's a perfect application for a small SSD.  You probably could have even
>> got by with an 8 Gig'er and saved some cash.
> 
> This was the smallest I could fine at newegg.
> 
> If I'd known how small this was going to be, I'd have looked a little 
> harder... Maybe.

I'd looked around a little and Newegg has a couple smaller ones, but they
aren't really any cheaper, and their performance is lacking.   You made the
right choice.

-- 
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/4bc906e9.7010...@hardwarefreak.com



router policy question

2010-04-16 Thread Glenn English
On my nets, I need to be able to telnet/ssh into the border router, from the 
inside, to futz with it. 

But is there any reason at all to allow anything, aside from some ICMP, to go 
beyond the ACL on its Internet facing interface -- to get to the router itself, 
that is? 

-- 
Glenn English
g...@slsware.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/6be8023d-76b5-4978-92c8-4bc102bd5...@slsware.com



Re: STAT of Process

2010-04-16 Thread I Rattan



On Fri, 16 Apr 2010, Stan Hoeppner wrote:


exp...@hope.cz put forth on 4/16/2010 6:17 AM:

Stan,
Thank you for your reply.
It is my own daemon( I wrote it by myself) and do not know why it changes the 
STAT.

I found out that STAT field is
D   for  Uninterruptible sleep (usually IO)
R  for   Running or runnable (on run queue)
S   for  Interruptible sleep (waiting for an event to complete)

but what does Uninterruptible sleep means? And what is it caused by?
Can anyone explain that problem?
(When STAT is D for the  daemon , the daemon does not seem to run )


Sounds like the daemon is waiting for an IO which never completes.  Thus it
never wakes.


And also can't be killed without a reboot.

-ishwar


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

Archive: 
http://lists.debian.org/pine.gso.4.64.1004162107520.4...@cps155.cps.cmich.edu



Re: router policy question

2010-04-16 Thread Daniel D Jones
On Friday 16 April 2010 21:00:56 Glenn English wrote:
> On my nets, I need to be able to telnet/ssh into the border router, from
>  the inside, to futz with it.
> 
> But is there any reason at all to allow anything, aside from some ICMP, to
>  go beyond the ACL on its Internet facing interface -- to get to the router
>  itself, that is?

You mean packets coming in from the Internet with a destination IP that is 
assigned to the router itself?  Are you running any sort of routing protocol 
or similar that communicates with your ISP's routers, including things like 
MPLS, or any VPNs/tunnels that terminate at the border router? What about NAT 
or port forwarding on the border router?

-- 
"Clothes make the man. Naked people have little or no influence on society." - 
Mark Twain, American Writer (1835-1910)


-- 
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/201004162235.18145.ddjo...@riddlemaster.org



RE: xen

2010-04-16 Thread Mike Viau

Sat, 17 Apr 2010 01:55:32 +0800  wrote:








Hello there,  Ny name is Ian, from Perth Australia.
I have a question to be answered please.  I'm a linux user, so I use suse, 
debian, ubuntu and gentoo, and fedora.I'm interested in exploring the 
capabilities of xen and have done so an all the above.I'm in a brand new 
instance of squeeze and have just perused the packages in synaptic for the 
first time.I have recently used karmic lenny including a xen live cd which uses 
lenny as a dom host.This has lead to submitting bug reports because the 
collection of packages that are used to support virt-manager and xen are 
extensive and quite problem ridden.  I am now to try the latest packages 
provided by squeeze.
I can't help but notice  THERE IS NO XEN KERNEL.


> Lenny (backports)
> http://packages.debian.org/search?suite=lenny-backports&arch=amd64&mode=path&searchon=contents&keywords=xen-amd64

> Sid (unstable)
> http://packages.debian.org/search?suite=sid&arch=amd64&mode=path&searchon=contents&keywords=xen-amd64


So, why is it so?  This is like karmic revisited.  No xen kernel.  I 
experimented extensively in karmic only to submit bug reports that were ignored 
because Ubuntu does not support xen as a host, dom0.  

> Why I don't know? You might have to look around for the answer to that 
> question.

What is the policy then?  Why has Ubuntu retracted supporting xen dom0?  Is it 
the same for debian?Why are all xen packages provided but no kernel?  I have a 
xen kernel in any case, but it is an important ommision.Ubuntu and debian have 
provided and supported xen kernels for previous versions.  Has it been 
unofficially left to SUSE to invest support in xen as a virtualisation form?


> This is a Debian mailing list so I think you should ask the Ubuntu specific 
> questions there. As for Debian the Xen hypervisor and tools are in squeeze 
> but note that the HVM support is not included because the amount of time 
> required for maintain the qemu if memory serves me correctly.
  
Australia's #1 job site If It Exists, You'll Find it on SEEK
  
_
Live connected. Get Hotmail & Messenger on your phone.
http://go.microsoft.com/?linkid=9724462

Re: router policy question

2010-04-16 Thread Glenn English

On Apr 16, 2010, at 8:35 PM, Daniel D Jones wrote:

>> But is there any reason at all to allow anything, aside from some ICMP, to
>> go beyond the ACL on its Internet facing interface -- to get to the router
>> itself, that is?
> 
> You mean packets coming in from the Internet with a destination IP that is 
> assigned to the router itself?  

Yup. I've blocked telnet and some irrelevant ICMP for a long time. It dawned on 
me the other day that I couldn't think of any reason not to just drop all TCP 
and UDP traffic to the router's outside IP.

> Are you running any sort of routing protocol 
> or similar that communicates with your ISP's routers, including things like 
> MPLS, or any VPNs/tunnels that terminate at the border router?

No routing protocols on the outside interface. The VPNs are handled by a host 
in the DMZ. To this router, the VPN traffic looks like just more UDP between 
public IPs.

> What about NAT 
> or port forwarding on the border router?

There's no port forwarding, and NAT all happens inside, on the firewall that 
connects the outside, the DMZ, and the LAN. This router sees only my routable 
address space (and its IP on the 1918 net between it and the firewall).

-- 
Glenn English
g...@slsware.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/41ebef30-1bf2-4092-ad4b-b0713e968...@slsware.com



Re: [SOLVED] Debian-multimedia breaks mplayer .mov playback on Lenny?

2010-04-16 Thread Clive McBarton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark wrote:
> On Thu, Apr 15, 2010 at 11:06 AM, Mark  wrote:
> 
>> Has anyone else experienced mplayer generating Fatal Error "Error
>> opening/initializing the selected video_out (-vo) device" after adding
>> debian-multimedia.org to sources.list and performing the subsequent Smart
>> Upgrades?  I'm trying to figure out if that's the cause; since other
>> machines I have without debian-multimedia.org in the sources.list tab play
>> the same .mov files fine I'm suspecting this.  I've tried various tweaks I
>> found on-line to the /etc/mplayer/mplayer.conf file for the vo section but
>> nothing worked.  I'll be re-doing the installation for a friend and wanted
>> to avoid breaking mplayer if possible.
>>
> 
> 
> I have confirmed one of the Smart Upgrades contained in debian-multimedia on
> Lenny does in fact cause this Fatal Error.  I reinstalled Lenny on the same
> machine tonight, without adding debian-multimedia to /etc/apt/sources.list,
> and mplayer plays the .mov files just fine.
> 
> Wanted to share in case anyone else has this problem.
> 
> Mark
> 

Adding debian-multimedia.org breaks a couple of things. Including vlc. I
don't know why they don't fix their repository.

I'm curious if many people use debian-multimedia. Is it trustworthy?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvJNKcACgkQ+VSRxYk440/8vgCgkfVbqXroqRN3KGq6ZkxR+GjR
k50An2+UMfJg6mjacseTyqvQG87E0Ai3
=oWcy
-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/4bc934a7.3050...@web.de



Re: Bash script - pass command line arg to embedded sed script with multiple args

2010-04-16 Thread Michael Elkins

On Fri, Apr 16, 2010 at 08:15:38PM -0400, Daniel D Jones wrote:

What I'm trying to do is pretty simple.  Getting it to work is turning out not
to be.  What I want to do is call a bash script with a couple of arguments,
and, within the script, call sed to use those args to replace two placeholders
in a file:

bashscript SUB1 SUB2

This line inside bashscript doesn't work:

sed -e 's/PLACEHOLDER1/$1/' -e 's/PLACEHOLDER2/$2/' < input > output


If you switch the single quotes to double quotes it will work as you expect.  
Variables inside of double quotes are expanded.  Single quotes are for literal 
strings, as you've discovered.


me


pgp8QZgOEKySf.pgp
Description: PGP signature


Re: debian on a raid5 (4TB) issues

2010-04-16 Thread Israel Garcia
On Sat, Apr 17, 2010 at 2:12 AM, Stan Hoeppner  wrote:
> Israel Garcia put forth on 4/16/2010 11:11 AM:
>> Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with
>> 4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap
>> but it only recognize 78GB instead the 4TB available. Is this because
>> the partition in booteable? Can I install debian OS  on this hdd with
>> these 3 partitions and use the rest for LVM? Thanks in advance,
>
> What PCIe RAID card are you using?
Adaptec AAC-RAID card inside a supermicro server.
>
> --
> 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/4bc8fcdc.2060...@hardwarefreak.com
>
>



-- 
Regards;
Israel Garcia


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



Re: Dual channel memory question

2010-04-16 Thread Nick Boyce
On 17/04/2010 01:03, Stan Hoeppner wrote:
> Camaleón put forth on 4/16/2010 8:31 AM:
> 
>> It can be worst, though. There are manufacturers that paint all the RAM 
>> slots in black or using the same color and so forcing us to read the 
>> manual >:-)
> 
> The manufacturers have bastardized the color coding to the point it's
> useless; thus reading the manual is the only safe bet to get dual channel
> operation setup correctly.

Um ... just my 2p: [score -1, redundant]

My current rig - Abit NF7-S V2 mobo (Nforce 2 chipset) and Athlon XP CPU
- has 3 DIMM slots all the same fetching shade of blue.  I initially
added two 256Mb sticks in slots 1 & 2, and got dual channel operation
(the BIOS reports it at boot time : "Dual Channel Operation Enabled").
When I subsequently added another 512Mb stick in slot 3 this did not
apparently affect dual channel operation (the message still appears).
Maybe I get dual channel for the first 512Mb, but only single channel
for the second 512Mb.

I had to refer to the manual, *and* take advice from the wonderful
members of alt.comp.periphs.mainboard.abit.  The latter assured me
adding the 3rd stick wouldn't prevent dual channel operation.  Some day
I must try to find out what memory speed I actually get.

No more Abit now though, sigh.

Cheers
Nick
-- 
Q: Why can't scientists just make up their minds already?
A: Because if they did, they'd be theologians, not scientists.


-- 
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/4bc93aa1.1060...@glimmer.adsl24.co.uk