Re: [SOLVED] Is squeeze compatible with WD20EARS and other 2TB drives?

2011-01-11 Thread Greg Trounson

On 11/01/11 01:26, Stan Hoeppner wrote:

Stefan Monnier put forth on 1/9/2011 10:42 PM:


I have no idea what makes you so angry against "green" drives.


I am against using any drive, at this time, in Linux, with a native sector size
other than 512 bytes.  The Linux partitioning tools still do not easily/properly
handle these hybrid drives with 4096 byte per sectors that translate 512 byte
sectors to the host.  Simply partitioning them correctly requires Ph.D.  The
average, and even some advanced, users cannot configure them for correct
performance.

...

In my experience with these drives, aligning to 4k sectors has always 
fixed any performance issues, and was achieved by creating partitions 
within fdisk invoked as follows:


fdisk -cu -H224 -S56 /dev/sdx

Greg


--
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/4d2cf98d.9070...@maths.otago.ac.nz



Re: SCSI - SATA device name conflict

2007-05-29 Thread Greg Trounson

Kevin Mark wrote:

On Tue, May 29, 2007 at 10:45:28AM +1200, Greg Trounson wrote:

Hello,

Is there a way to rebuild the initrd to tell it to load sata drivers first, 
or some flag to pass to the kernel to force the first hard disk to sda?



instead of using /dev/sda or /dev/sde use UUID notation.


Thanks for the idea.  Unfortunately that notation is only good if the hardware does not 
change.  If we dd that disk to another one it won't work.  Also a number of system tools I 
believe are hard-coded to use explicit device nodes, which is why I need sda to be, well, sda.


thanks,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




SCSI - SATA device name conflict

2007-05-28 Thread Greg Trounson

Hello,

I have an Athlon64 Etch box running a backported 2.6.20 kernel.  2.6.20 is necessary to 
fix a broken LAN driver in 2.6.18.


The root file system is on partition 3 of the only present SATA drive, sda.

When I connect an LTO Tape drive to the PCI SCSI controller this tape drive at next boot 
becomes sda and the SATA disk becomes sde.  This breaks the boot sequence, which tries to 
load the root fs from /dev/sda3, which is now a non-existent partition on the tape drive. 
 The kernel loads, but before it can load INIT, it comes up with the message"Begin: 
Waiting for root file system ..." and stalls.


Now if I change the GRUB boot line from root=/dev/sda3 to root=/dev/sde3, the kernel 
helpfully renumerates the devices again so the tape drive is sde and the hard drive is 
back to sda, so again no boot.  At first I thought I was encountering a random naming 
collision as mentioned by George Michalopoulos on this list.  However this problem appears 
100% consistent across multiple reboots.


There are two kludgy workarounds we've found so far: one is using BSD disklabels to boot 
with root=LABEL=/SATAROOT.  The other involves using UDEV to create named symlinks based 
on the disk model ID.  Both are rather inflexible and sub-optimal for a server, where sda 
should always be the first (non-raid, non-pata) hard disk.


Is there a way to rebuild the initrd to tell it to load sata drivers first, or some flag 
to pass to the kernel to force the first hard disk to sda?


thanks,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Etch released.

2007-04-10 Thread Greg Trounson

Great news.

But what happened to the 60-odd outstanding release-critical bugs that were present 
yesterday?  Were they all miraculously fixed overnight, or were they just shelved?


http://bugs.debian.org/release-critical/

Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: MP3 Support

2007-02-20 Thread Greg Trounson

Arnt Karlsen wrote:
On Mon, 19 Feb 2007 12:30:52 -0500, Carl wrote in message 
<[EMAIL PROTECTED]>:



On Mon, Feb 19, 2007 at 07:12:53AM -0800, Alan Ianson wrote:

On Mon February 19 2007 01:51, Joe Hart wrote:


I'll still be putting the Christian's repo in my sources list, but
I thought that MP3 was one of the "questionable" formats that goes
against the DFSG.  Perhaps I am wrong.

In any event, I was pleasantly surprised.

I find that mp3 and ogg are supported by almost any media player,
even  mp3blaster on the console. Lame isn't in debian though (the
mp3 encoder). Even wma is supported by xine now and I'm sure others
too.

True but doesn't answer Joe's question.

MP3 is a patent-encumbered technology for compression only.  


..last time I read about this, the Fraunhofer Institute went after those
who streamed mp3's out on the net without paying the mp3 patent license.
http://www.google.com/search?num=100&&ie=UTF-8&oe=UTF-8&q=mp3+license+site:groklaw.net
http://www.google.com/search?num=100&hl=en&ie=UTF-8&oe=UTF-8&q=mp3+"Fraunhofer%20Institut"+license


Players (IIRC) don't require a licence.  Whether that's
DFSG-acceptable I couldn't say.


Hardware ones at least do.  Take a look at 
http://www.vlsi.fi/orderform/Price_List_www.pdf.


..3 mp3 license policy pointers:
http://www.google.com/search?num=100&hl=en&ie=UTF-8&oe=UTF-8&q=%22mp3+patent%22+%22Fraunhofer+Institut%22+license+policy



All the more reason to encourage people never to use or speak of mp3 again.  
Ever.

Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




2.6.20 kernel in unstable?

2007-02-18 Thread Greg Trounson
Any idea when kernel 2.6.20 is going to show up in Sid?  The most recent version I see in 
Sid is 2.6.18-4.


Both 2.6.18 and 2.6.19 have a critical cifs bug that makes any machine that mounts windows 
shares pretty much unusable.


thanks,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Purging mailboxes in mutt

2005-12-06 Thread Greg Trounson

Gidday,

I'm running a Sarge server with Postfix/Procmail/Dovecot and Maildir 
style mailboxes.  I have a number of users that want to use a local 
text-based mail reader from time to time.  Pine is no longer an option, 
so I've shifted to Mutt.  I almost have it working, but can't figure out 
one thing:


If I have an IMAP client somewhere that moves/deletes messages from the 
INBOX, they're flagged as Deleted and appear in Mutt as such.


However when I go to quit Mutt and it prompts me to purge the deleted 
messages, if I answer 'no', then it will always un-mark any messages I 
have deleted in that session, and there seems to be a 50/50 chance it 
will also un-mark messages deleted by other sessions.


One workaround appears to be to set maildir_trash=yes in /etc/Muttrc. 
This purges the mailbox on program exit, but that can be dangerous if 
someone accidentally deletes a message and quits Mutt.


any ideas?

thanks,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Massive load average, can't log in

2005-12-06 Thread Greg Trounson

Hi there,

This morning I noticed that my Etch box wouldn't let me start up a web 
browser window.  Odd I thought, so I took a look at the load average, 
which was sitting at 210!  Some processes such as vi or firefox can no 
longer launch, but some simpler ones such as ps or top can still be run 
  from a regular user terminal.  A ps uaxw reveals dozens of crond 
processes in the all too familiar 'D' state, each one having a similarly 
stalled mrtg process.  I've never even used mrtg on that machine save 
just doing an apt-get install mrtg.


If I try to su - to kill some processes, that particular terminal goes 
into an interruptible sleep and I have to switch to another one.  I get 
something similar when I try to log in remotely - it never gets to a 
password prompt.  CPU is at 0%, memory usage is below 50% and there is 
no disk activity.


So in light of this I have two questions:

1. Why would the mrtg cron job be stalling?  Is there a known problem 
with this program or is it looking for some non-existent nfs share?


2. Why can't I log in or start any new large processes?  Is there some 
load average threshold in Debian above which no one is allowed to log 
in?  A high load average does not suggest high disk/cpu/memory usage, 
just stalled processes so there is plenty of computing power available. 
 Perhaps the load average calculation needs to be updated to ignore 
processes that have stalled for a period?


thanks,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Will Debian supports Intel 64 bit processor?. How to set mirroring.

2005-12-05 Thread Greg Trounson

Colin wrote:

Ryan Nowakowski wrote:


On Fri, Dec 02, 2005 at 11:06:44PM +0800, Muthukumaran Saravanan wrote:



Will Debian supports Intel 64 bit processor.


Yes: http://www.debian.org/ports/ia64/



I don't think Muthukumaran means Itanium.  The amd64 architecture is
probably what he means.



... information for which is available here:

http://www.debian.org/ports/amd64/

Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Pam and winbind

2005-07-13 Thread Greg Trounson

Hi,

I'm running a Sarge box that I want to authenticate against a Win 2003 
Server.  I understand that the old RH way of doing it was to use 
pam_smb_auth.so, which was easy to set up but inherently insecure.


So, I've configured pam, winbind and samba, but obviously not quite 
correctly.  When I try to su to a user with a windows password it fails 
and I get the following error in /var/log/auth.log:


pam_winbind[12063]: request failed: No such user, PAM error was 10, NT 
error was NT_STATUS_NO_SUCH_USER


This user definitely exists in both /etc/passwd, and in the windows ADS 
tree.  I can log in as the same user with the unix password, so at least 
the pam_unix module is working.


Another clue:
wbinfo -u on its own fails, but it works fine if I run:
wbinfo --set-auth-user=gregt -u and enter a password.

Any ideas?

thanks,
Greg

Extract from /etc/samba/smb.conf
-
workgroup = my.domain.com
realm = MY.DOMAIN.COM
security = DOMAIN
password server = server1 server2
winbind uid = 3-4
winbind gid = 3-4
template shell = /bin/bash
winbind separator = +

pam.d/common-auth
-
authsufficient   pam_unix.so nullok_secure
authsufficient   /lib/security/pam_winbind.so use_first_pass

/etc/nsswitch.conf
--
passwd: compat winbind
group:  compat winbind
shadow: compat

hosts:  files dns
networks:   files dns

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis


Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Openoffice Bug

2004-11-25 Thread Greg Trounson
Wayne Topa wrote:
Thomas H. George([EMAIL PROTECTED]) is reported to have said:
The latest testing dist-upgrade of openoffice.org (1.1.2) will not print 
newly created documents.  Documents created before the dist-upgrade 
continue to print with no problems.

 Sorry.  I just completed a dist-upgrade 20 minutes ago. No OO
 packages were upgraded tho.  My latest OO files were installed on
 2004-11-08.  
 
 Just made a new .sxw file, saved it, exited OO.  Restarted OO and
 printed the file.  No problem here.

ii  openoffice.org 1.1.2dfsg1-1   high-quality office productivity suite
ii  openoffice.org 1.1.2dfsg1-1   OpenOffice.org office suite binary files
ii  openoffice.org 1.1.2-5+1  Debian specific parts of OpenOffice.org
ii  openoffice.org 1.1+20030814-3 OpenOffice.org office suite help (English)
ii  openoffice.org 1.1.2dfsg1-1   English (US) language package for OpenOffice
Did that just say openoffice.org 1.1.2, in testing?  Why such an old 
version?  What happened to 1.1.3?

Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AMD 64 and Debian

2004-11-22 Thread Greg Trounson
Alexandru Cabuz wrote:
...
Not that I know anything about gaming, but just one question: since most games 
are designed for windows, why don't you just play them in windows, you know, 
double boot... Is there any particular reason you want to try them in linux? 
And AMD64 Debian unstable moreover? You think the performance might be that 
much better that it will be worth the hassle?

Hi Alexandru,
I can't speak for "downtime null", but for me there are several reasons 
for running games in Linux:

1. I don't want to have to reboot every time I want to play a game.  I 
generally only reboot my machine to do a kernel upgrade or to shift the 
computer.

2. I don't want to buy a licence for a crippled operating system that I 
will only use for playing games.

3. If I had wanted to separate linux use from gaming, I would have 
bought a Playstation 2.

4. I don't want to support the paradigm that equates PC gaming with 
Microsot Windows.

Anyone else care to comment?
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



sysv-rc-conf breaks sysvinit

2004-11-22 Thread Greg Trounson
Hi,
I recently tried to apt-get install sysv-rc-conf, since rcconf seems to 
have dropped off the repos, and got this:

Unpacking sysv-rc (from .../sysv-rc_2.86-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/sysv-rc_2.86-5_all.deb 
(--unpack):
 trying to overwrite `/etc/init.d/rc', which is also in package sysvinit

Does sysv-rc replace sysvinit or something?  Is it safe to overwrite 
this file with the version distributed by sysv-rc, or is this a 
temporary fix?

thanks,
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Test message

2004-10-27 Thread Greg Trounson
Gidday,
Is anyone getting this message?  So far no messages I post end up on the 
list that I can tell.  Is the list set perhaps so that messages exclude 
the originator?

This is strange, since the mailer daemon thinks otherwise:
-
You have added to the subscriber list of:
[EMAIL PROTECTED]
the following mail address:
[EMAIL PROTECTED]
By default, copies of your own submissions will be returned.
-
Anyone else getting problems like this?
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: two projectors from one laptop

2004-10-27 Thread Greg Trounson
Vijaya S wrote:
Hi all,
Is it possible to connect two projectors from one laptop
sorry for the question quite irrelevant
Yes it is (possible to connect two projectors from one laptop, I mean, 
not irrelevant).

You need a VGA splitter cable which sends the signal from one VGA source 
to two destinations.  You do lose some brightness and contrast though, 
so you'll need to fiddle a bit with the projectors.

Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Turbo LED

2004-10-26 Thread Greg Trounson
Gidday,
I have an old 300MHz debian testing machine running on (I believe) an 
i430tx motherboard.

I have found at different times that the turbo led on the case seems to 
turn on and off at seemingly random intervals.  It might be on for a day 
and then off the next two.  At first I thought perhaps there's a dodgy 
connection to the motherboard, but no it's solid.

Are there any debian packages that take control of the turbo LED as a 
status light?  I understand some SCSI drivers used to use it, but I 
don't have any SCSI (or mass storage) devices so I don't think that's it.

perplexed,
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]