[gentoo-user] Gentoo on 8GB SSD

2010-08-16 Thread Hal Martin
A friend recently gave me a SimpleTech Zeus 8GB SSD. I'd like to replace 
my hard drive with this SSD for the lower latency and faster access 
times it will provide.


Currently my / partition is 24GB, 20GB of which is in use. Using 
xdiskusage I see that /usr/portage and /var/tmp are using approximately 
10GB, which is well over the 7.5GB I have on the SSD.


So, I'm wondering what suggestions the list has for squeezing Gentoo 
onto an SSD. I have another Gentoo box I could put /usr/portage on to 
save myself some room on the SSD.


Aside from NFS mounting the package source and build directories, is 
there anything else I can do to minimize the space needed? I'm not 
running anything terribly fancy. I have DR17/enlightenment and XFCE 
installed as window managers; along with some productivity applications.


Thanks for your feedback,
Hal Martin



Re: [gentoo-user] [SOLVED] NFS poor performance, high system load

2009-11-24 Thread Hal Martin
Roy Wright wrote:

 On Nov 23, 2009, at 8:11 PM, Hal Martin wrote:

 Hello all,

 Sorry if it seems like this is a repeat question, but I've gone through
 my Gentoo list for the past 2 years and none of the answers provided for
 previous threads on this seem to work for me. Here's the situation:


 /etc/exports:
 /mnt/daigo  192.168.0.31(rw,insecure)


 A couple of years ago, I experienced the same type of issue where nfs
 performance was a lot lower than smb.  It turned out a switch I was
 using was bad.  I suggest first minimizing your testing network, and
 then swapping components such as switches.  Others on the LinuxMCE
 list had issues with specific network drivers.

 I current use nfs between kubuntu, gentoo, and macbook (10.5.8 2GHz
 Core 2 Duo) systems.  I have media volumes on the kubuntu, and both
 gentoo systems.  I use autofs on each system for mounting the nfs
 volumes.  Here's an example of the settings:

 /etc/exports:
 /var/media
 192.168.80.0/24(async,no_subtree_check,rw,no_root_squash,insecure)
That's fixed it! Thanks! I'm now getting ~50MB/s over NFS. System load
is still up around 6, but I can live with that.

 /etc/auto.media:
 royw-gentoo-rsize=8192,wsize=8192,soft,timeo=30,rw   
 royw-gentoo:/var/media
 dad-kubuntu-rsize=8192,wsize=8192,soft,timeo=30,rw   
 dad-kubuntu:/var/media

 My macbook Connect to Server:
 nfs://royw-gentoo/var/media/public/data
 nfs://dad-kubuntu/var/media/public/data

 The no_subtree_check and the no_root_squash parameters are left over
 from when I used LinuxMCE.

 The insecure parameter is required to allow the macbook to connect.

 The rsize and wsize seem to work fine for streaming dvd iso images to
 my gentoo XBMC system over gigabit ethernet.  I've also streamed a few
 movies to my macbook and did not notice any performance issues.
Streaming movies from my gentoo box to my macbook doesn't present any
performance issues as the data rate is usually fairly low.

 My media drives are WDC WD10EACS (1TB).

 How are you testing performance?  With test procedure I can try to
 duplicate.
Large files. I'm transferring 4-7GB .mkv files, but I believe any large
file would do.

-Hal

 HTH,
 Roy







[gentoo-user] NFS poor performance, high system load

2009-11-23 Thread Hal Martin
Hello all,

Sorry if it seems like this is a repeat question, but I've gone through
my Gentoo list for the past 2 years and none of the answers provided for
previous threads on this seem to work for me. Here's the situation:

Gentoo box:
AMD Athlon X2 3800+
Intel PCIe Gigabit Network adapter
01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet
Controller (Copper) (rev 06)
Supermicro 8-port PCI-X SATA card (in a PCI slot)
03:06.0 SCSI storage controller: Marvell Technology Group Ltd.
MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
Western Digital 1TB Black Edition hard drive (writing to an XFS partition)
2.6.27-amd64 (Yes, it's old, it's on my list to upgrade)

Client:
MacBook Pro
Intel Core 2 Duo 2.26Ghz
Intel integrated Gigabit Network adapter
Seagate 160GB SATA hard drive (5400RPM)
Mac OS X 10.6.1

/etc/exports:
/mnt/daigo  192.168.0.31(rw,insecure)

hdparm -tT /dev/sdf

/dev/sdf:
 Timing cached reads:   1230 MB in  2.00 seconds = 614.64 MB/sec
 Timing buffered disk reads:  316 MB in  3.01 seconds = 104.95 MB/sec

Over NFS I'm getting 3.7MB/s, with occasional bursts of 25MB/s for 1-5
seconds, then returning to 3.7MB/s. During this entire process, the
system load is hovering around 5.5.

The same copy, using samba to share that partition, I get 45MB/s
sustained. System load is around 1.0.

Even though the SATA controller is over the PCI bus, which does limit
its performance somewhat (no RAID arrays are running on it) as you can
see from the attached hdparm output, the disk is capable of speeds that
should be around what gigabit ethernet can provide.

I know this is a Gentoo list, and not generally the place to complain
about poor NFS performance in Mac OS X, we all know Gentoo is superior
in just about every way anyway. However, I simply cannot believe that
the difference in transfer speeds is due to strictly to Mac OS X's NFS
capabilities.

Does anyone have any suggestions for reducing the system load caused by
NFS? Can you suggest any performance increasing tips for my NFS
configuration?

Thanks,
Hal



Re: [gentoo-user] e17 overlay bug

2008-11-07 Thread Hal Martin
Alan McKinnon wrote:
 On Tuesday 04 November 2008 15:36:54 Jorge Peixoto de Morais Neto wrote:
   
 I've found that the recent EINA library release for e17 has broken just
 about everything.

 Gentoo's overlay system should be simple enough to modify however after
 reading the fine manual I am no closer to understanding the appropriate
 course of action to create eina as a dependency in the overlay (I've
 bugged [EMAIL PROTECTED] to no avail)
 
 Mike is usually pretty quick with these things.
   
 Mike?!, What, Vapier's formal name is Mike?
 

 Mike Frysinger - he's a busy man :-) He heads up the gentoo toolchain team, 
 is 
 a lead kernel dev on the blackfin architecture, recently was (maybe still is) 
 on the gentoo council. And maintains an e17 overlay.

 Oh, he also has a regular job as well.
   
Wow.
   
 Back to important stuff, is the overlay in good shape (apart from
 this specific problem)? For example, is it compatible with Portage's
 new requirements for Manifest?
 

 Yes, it dumped digests a long time ago and has been manifest only for ages 
 now. I've been using it for years and supplement it with extra ebuild I find 
 on gentoo forums or write myself. This is usually modules, itaask, winlist, 
 etc etc and I keep them in my local provate overlay.

 Quality was always good, mainly because the e17 team were not ripping huge 
 chunks of code out of libs and putting them elsewhere. So the build process 
 stayed the same, only the code changed. Remember edb, evoak, med? It was ages 
 since that level of disruptive change went into svn. Until eina :-)
   
What's eina? I guess it's been too long since I've updated e17...
 I think this is being driven by raster's work on openmoko. Finally, someone 
 is 
 paying him to work on e17, and he's writing low-level libs to make e17 better 
 on tiny screens. Looks like a lot pf refactoring is going on, and we all just 
 have to wit till it settles down.

   
 Also, why are the snapshot ebuilds so horribly outdated? Is it because
 Vapier is too busy to update them or because he just thinks that e17
 is like Mplayer, a project where the developers actually take care to
 keep the svn code in good shape (only committing working code)?
 

 The snapshot ebuilds are not out of date - the e17 snapshots are :-) 

 the team keeps mumbling that they really ought to do this more often, like 
 once a month, then carry on doing it once a year...

   
 My computer has some bugs*. I am trying Xfce instead of e17 to see if
 the bugs were e17's fault, but the bugs continue. I wonder if I should
 go back to e17
 1) It is *very* fast and *very* lightweight (even when compared to Xfce)
 2) It is vastly configurable and does things Xfce does not (like, for
 a quick example, remembering per-window configuration, fine tuning
 window borders, and even making windows borderless)
 but
 1) It is unreleased; users have to compile code from svn.
 2) Outputs a truckload of text to .xsession-errors. Does it mean that
 the code is full of little problems that cause warnings? Xfce, in
 comparison, only outputs two assertion faileds
 3) Does not seem to have a Trash Bin or a System tray. I care little
 about these, though (and I imagine there are plugins to provide them,
 but I didn't bother to search).
 

 You want a trash bin? No problem:

 http://www.gurumeditation.it/blog/enlightenment/trash/
   
Trash? Sounds like you need to get out and use rm more.

   
 Do you think a user who expects a reasonably stable and bug-free
 environment (say, a user who accepts the latest Ubuntu, instead of
 demanding the stability of Debian stable) can rely on e17?
 
Yes, I do it everyday. E17 is my primary window manager, and I have come
to expect that for the most part, it will be rock solid. There are
occasions where it crashes on me, but I've been able to recover every
time it's done that.

 No, not in the current state. It was fine till 3 months ago. Users who want 
 that should be using one of the suse- or debian or ubuntu-derived distro that 
 run a stable e17 as the primary wm. Those maintainers try hard to use only 
 workable svn checkouts when building the distro.
   
Really, what's it like now? I haven't updated E17 in several months...
not regretting that choice now though.
I occasionally get a crash on E17, but I can always recover it without
loosing my X session.
 If you use e17 svn code, be prepared to act like a dev. That's what the e17 
 team expects, that's how they build the thing currently and that's the price 
 we have to pay to get to use that wm.
   
Yes, I remember having to switch to Xfce for several weeks late last
year when E17 went to hell in a hand basket... that wasn't really fun.
 I myself got tired of eternally fiddling with e and have resorted to using 
 kde 
 until things settle down...

   




Re: [gentoo-user] State of ATi drivers in Linux -- IMO, it's horrific...

2008-10-15 Thread Hal Martin
Volker Armin Hemmann wrote:
 On Sunday 28 September 2008, Hal Martin wrote:
   
 Hello all,

 I am contemplating building a new computer with an AMD/ATi graphics
 card. I've been following the subject of ATi driver quality in linux for
 a while, but I realize that the experiences I read on Google search
 results are, shall we say, biased, as many people who have perfectly
 working cards don't go out and comment on how great their drivers are.

 So, do any of you have newer (HD series) AMD/ATi graphics cards?
 

 HD3870
   
I just picked up the HD3850, which is a nice card by all measures.
   
 What drivers (AMD closed source, or open source) are you using?
 

 fglrx - the closed source ones.
   
I installed these drivers (from portage) and tried them.
   
 Are they stable?
 

 yes. Switching between vt and X works, and restarting X too - but the ati 
 scripts in /etc/acpi have to be removed.
 With desktop effects turned off 2d is fast and snappy and video is ok.
 With desktop effects turned on 2d is fast except manually resizing windows 
 and 
 xv-video sucks. Luckily kde 4.1 makes it easy to switch ;) - and I don't need 
 xv ;)
   
I had a horrid time with the fglrx drivers. I use two displays, and
while it was a breeze to setup (even easier than on an NVidia card) the
result was horrid. I can't drag windows from one display to another, the
windows wrap within the display. The fglrx_gears program renders
something that I don't believe heralds from this planet; while glx_gears
renders the same thing I get on my NVidia card only 10% slower (which is
expected given the performance difference between the 7900GTX and the
HD3850.)

Trying to exit X11 causes a complete system lockup, requiring a hard reset.
   
 How is the performance?
 

 very good. I play ut2004 and vegastrike 0.5. With a but. See above.
   
I couldn't get any Wine apps that use 3D to work. Call of Duty 4 refused
to start, citing that the video card didn't support alpha blending.
   
 Any noise issues with your card when it's idle? Under load?
 

 the fan is very quiet in KDE or playing games. Only in the menus of ut2004 or 
 on a vt it turns up - but is still very bearable. 
 aticonfig --odgt

 Default Adapter - ATI Radeon HD 3870
   Sensor 0: Temperature - 51.00 C
   
My card is incredibly, nay, unbelievably loud until you throttle the fan
manually from aticonfig, which, I might add, is absent from the Catalyst
control centre gui. After throttling the fan down to 3% the card settles
around 45.00C and is quiet enough to bare.

My attempt to uninstall the portage based ATI drivers (which are
slightly dated,) and install the official drivers from ATI proved to
wreck my system beyond comprehension. 'eselect opengl list' no longer
includes ATI, only xorg-x11. I have no ability to start X11 anyone, and
no fan control, meaning I now have a jet engine residing in my computer.

There must be something I'm doing wrong. I've heard that ATI drivers
aren't supposed to lock up your system when you exit X11, is this still
the case? Was this ever the case with two monitors?

Is there any way to get the ATI driver to automatically set a reasonable
fan speed, or must I do it manually?

I've switched back to my original NVidia card, and the kind folks on the
#gentoo channel helped me restore my NVidia drivers to their original
state. I don't know when I'll attempt to try the ATI card again, as this
experience has shown me just how bad things can get. The fact that the
Gentoo Wiki dealing with ATI drivers is outdated and references AGPGART
so many times I actually began to think that my system had AGP on it.


Does someone have a better guide on how to setup an ATI/AMD graphics
card in linux using the drivers provided in the portage tree? If I can't
run two monitors off the card and keep my system stable, then there's no
point, in my mind, of even keeping the card. Also, and I don't know if
the Gentoo list is the proper place to voice these concerns (I doubt it
is, actually) but *what* is with the fan speed control? It's non-existent!

My experience with ATI drivers today remind me of the state of NVidia
drivers 3 years ago, it's horrific!

-Hal



[gentoo-user] State of ATi drivers in Linux

2008-09-28 Thread Hal Martin

Hello all,

I am contemplating building a new computer with an AMD/ATi graphics 
card. I've been following the subject of ATi driver quality in linux for 
a while, but I realize that the experiences I read on Google search 
results are, shall we say, biased, as many people who have perfectly 
working cards don't go out and comment on how great their drivers are.


So, do any of you have newer (HD series) AMD/ATi graphics cards?
What drivers (AMD closed source, or open source) are you using?
Are they stable?
How is the performance?
Any noise issues with your card when it's idle? Under load?

I'd just like to point out that I have an NVidia 7900GTX right now, and 
it's been working well for me, but I'd like to upgrade to something with 
stream processors and little more power. I've heard that NVidia 2D 
performance under linux suffers greatly if you have an 8000, 9000, or GX 
series card. Have any of your experienced poor 2D performance since 
upgrading your NVidia card?


Thanks,
-Hal



Re: [gentoo-user] Privoxy log access rights

2008-09-21 Thread Hal Martin

Mick wrote:

Hi All,

Could you please tell me what is the access rights on the provoxy log file on 
your machine?


For some reason mine look like this:

# ls -la /var/log/ | grep priv
drwxr-x---  2  51 privoxy 408 Sep 21 07:40 privoxy
  

Mine:

drwxr-x---  2 privoxy privoxy4096 2008-09-13 03:10 privoxy


-Hal



Re: [gentoo-user] virtualbox networking

2008-09-16 Thread Hal Martin

Marc Joliet wrote:

Am Tue, 16 Sep 2008 23:25:02 +0200
schrieb pat [EMAIL PROTECTED]:

  

Hello,



Hi,

  

I'm trying to setup virtualbox networking. I went through the
tutorial at gentoo wiki, but I have troubles ... obvious :-(

In the howto there's called /sbin/ip, but I have no idea in which
package this program rise ;-)



you're looking for sys-apps/iproute2.
  
I also installed VirtualBox, however when the Gentoo wiki suggested I 
edit a bunch of files in /etc/ I decided to go with the VirtualBox 
default configuration files; lo-and-behold, it works, Batman!
  

What I need is the bidirectional communication between host and guest.



Sorry, but I can't help you there, though I'm going to sit down and set
that up myself when I have time (this year, I hope ;) ).
  
I currently have all my virtual machines configured to use the 
PCnet-FAST III (Am79C973) virtual network adapter. This was because the 
Intel PRO/1000 virtual network card often mentioned in the Gentoo wiki 
isn't available for some reason. I have the virtual adapter attached to 
NAT and I can mount host machines NFS/Samba shares from inside the 
virtual machine.


What kind of bidirectional communication are you looking for? I'm sure 
that if you setup a virtual network adapter that the guest OS recognizes 
you can SSH from the virtual machine into the host machine, or perhaps 
this is not what you had in mind.


   I just tested SSH on my Ubuntu virtual machine, and I can SSH into
   the host machine and other machines on my home network. However,
   what I *can't* do is ssh into the virtual machine from any computer,
   including the host machine, on my network. Then again, there may be
   some sly way to do this that I am not aware of. ;-)


I currently run Ubuntu, Windows XP, and Windows Vista in virtual 
machines. Before the LinuxWindows flame war starts; what is the guest 
OS you are trying to configure client - host networking with? If it is 
a freely available, non-commercial OS, perhaps I can install it for you 
in my VirtualBox installation and test the functionality you're 
interested in.


If you would like any direct help regarding VirtualBox, don't hesitate 
to send me an email directly.


Here to help whenever possible,
-Hal
  

Thanks for help

Pat



HTH
  




Re: [gentoo-user] Weird df listing

2008-09-02 Thread Hal Martin

Alan McKinnon wrote:

On Tuesday 02 September 2008 19:05:53 Michael Sullivan wrote:
  

On Tue, 2008-09-02 at 15:39 +0200, Volker Armin Hemmann wrote:


On Dienstag, 2. September 2008, Michael Sullivan wrote:
  

Can someone please explain to me what's going on with /dev/sda6?  I
couldn't log into GNOME after my reboot yesterday, and when I asked for
a df listing in the console, I got this.  Shouldn't there be 4GB
available?

camille ~ # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda6  78G   74G  0G  100% /
udev   10M  184K  9.9M   2% /dev
/dev/sda7  52G   40G   12G  78% /mnt/store
shm   247M 0  247M   0% /dev/shm
catherine:/backup  44G   34G  8.5G  80% /backup/catherine


you have space left, but the inodes are all used up.

Typical problem for fs like extX.
  

What fs should I use instead?  For future reference what's the current
standard?



There isn't one, you get to use whatever filesystem and layout you feel will 
get the job done best for you.


You might as well ask what's the current recommended standard 4-wheeled 
vehicle (i.e. car) for a family
  
I use JFS. It's a heck of a lot faster than extX to run a file system 
check on I've never run into any problems with inodes, and it's fast to 
create/delete files. The vehicle analogy works best, because it really 
is to each their own when it comes to file systems.


Here are some file system benchmarks:
http://fsbench.netnation.com/
http://www.debian-administration.org/articles/388

And for the graphically represented results people:
http://tservice.net.ru/~s0mbre/old/?section=projectsitem=fs_contest2

To make a long read short:
JFS is less CPU intensive than most other file systems, faster to 
create, check, and unmount; however, it's not as fast as others 
(ReiserFS being the main one) when it comes to a large directory/file 
structure.



-Hal

:-)

  





Re: [gentoo-user] help

2008-07-03 Thread Hal Martin

Erik Ohrnberger wrote:

help

  

Certainly, where/in what do you require it?

-Hal
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] (Recent) Locale problem

2008-07-01 Thread Hal Martin

Hi all,

This has probably been mentioned before, but I can't find any mention of 
it in the list archive or any [gentoo] solutions on Google. Here's the 
problem, after a recent 'emerge -uNDav world' parts of my locale are now 
unset.


Terminal output of 'locale'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.ISO-8859-15
LC_CTYPE=en_US.ISO-8859-15
LC_NUMERIC=en_US.ISO-8859-15
LC_TIME=en_US.ISO-8859-15
LC_COLLATE=en_US.ISO-8859-15
LC_MONETARY=en_US.ISO-8859-15
LC_MESSAGES=en_US.ISO-8859-15
LC_PAPER=en_US.ISO-8859-15
LC_NAME=en_US.ISO-8859-15
LC_ADDRESS=en_US.ISO-8859-15
LC_TELEPHONE=en_US.ISO-8859-15
LC_MEASUREMENT=en_US.ISO-8859-15
LC_IDENTIFICATION=en_US.ISO-8859-15
LC_ALL=en_US.ISO-8859-15

Now, I've tried to set it right, following the Gentoo localization guide 
and many more, but nothing has worked.


What was installed in that emerge:
*** emerge --newuse --deep --ask --update --verbose world
 emerge (1 of 21) dev-libs/libsigc++-2.2.2 to /
 emerge (2 of 21) app-admin/eselect-ctags-1.5 to /
 emerge (3 of 21) sys-kernel/genkernel-3.4.10-r1 to /
 emerge (4 of 21) sys-devel/autoconf-2.61-r2 to /
 emerge (5 of 21) dev-lang/python-2.5.2-r5 to /
 emerge (6 of 21) media-gfx/imagemagick-6.4.0.6 to /
 emerge (7 of 21) media-libs/faad2-2.6.1-r1 to /
 emerge (8 of 21) net-misc/rsync-3.0.2 to /
 emerge (9 of 21) net-proxy/privoxy-3.0.8 to /
 emerge (10 of 21) dev-tcltk/snack-2.2.10-r1 to /
 emerge (11 of 21) net-p2p/dclib-0.3.13 to /
 emerge (12 of 21) sys-libs/glibc-2.6.1 to /
 emerge (13 of 21) x11-misc/shared-mime-info-0.30 to /
 emerge (14 of 21) app-admin/gamin-0.1.9-r1 to /
 emerge (15 of 21) media-plugins/gst-plugins-faad-0.10.5-r1 to /
 emerge (16 of 21) net-p2p/valknut-0.3.13 to /
 emerge (17 of 21) app-emulation/emul-linux-x86-soundlibs-20080418 to /
 emerge (18 of 21) app-emulation/wine-1.1.0 to /
 emerge (19 of 21) sys-libs/pam-1.0.1 to /
 emerge (20 of 21) sys-auth/pambase-20080318 to /
 emerge (21 of 21) app-admin/sudo-1.6.9_p16 to /
*** Finished. Cleaning up...
*** exiting successfully.
*** terminating.

I've tried regenerating my locale, nothing. I'm out of things to try!

/etc/env.d/02locale looks like:
LC_ALL=en_US.ISO-8859-15
LANG=en_US.ISO-8859-15

Thanks,
Hal
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Ati or Nvida

2008-06-17 Thread Hal Martin

James wrote:

Platoali platoali at gmail.com writes:


  

I want to know, what is the current status of ATI drivers in Linux?
Does the problems have been solved? Can they compete with Nvidia?

Just a suggestion, wait about a month before you buy, if you can. Both 
ATi and nVidia are poised to release new generations of cards, both 
which outperform their predecessors at a lower price point.
All religious questions, imho. Nvidia might have the latest edge in 
pure performance, but, the movement to open up sources is definitely

an opportunity for a game changing situation, imho.
  
nVidia user here, I haven't had any problems with their drivers. Sure, 
there's the occasional version with a memory leak, etc... and when that 
happens I just downgrade to the last stable version and wait for a 
better one to come out.



  

And I want to know which one is better supported in Linux kernel
regardless of how much open/free  the drivers is. I'm currently
thinking between Nvidia Quadro fx 1700 and Ati firegl 5600. Does
anyone have any comment about them?

Again, I haven't had any difficulties with the nVidia drivers. I'm 
running a GeForce 7900GTX, which uses the same linux driver as the 
Quadro does.

kernel newbies has some information for you to start your research:
Section 3 DRIVERS:
Section 3.1 Graphics:
http://kernelnewbies.org/LinuxChanges

http://kernelnewbies.org/LinuxChanges#head-d08660c208028aa2b3783826cd7935ab510b736f


You might also use this page for comparison purposes:

http://freestone-group.com/video-card-stability-test/benchmark-results.html

Personally, I like ATI, but it more because I believe that
AMD will come closer to doing what's best for opensource
rather than Nvidia or Intel. It would be great if I'm wrong

When you spend your money, you are casting a vote, imho.


hth,

James

  


-Hal
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] HIJACKING THREADS

2008-06-11 Thread Hal Martin

Stroller wrote:

On 10 Jun 2008, at 21:55, Thomas Pedersen wrote:

Was thinking of buying the Western Digital' My Book® Home Edition™,
specially because of the eSATA connection...
I heard they have an internal USB-hub for making the capacity gauge 
working.


I'm sorry, but I fail to see why the above example mentioned qualifies 
as Thread Hijacking. He started a new thread to pose his question, and, 
if anything, was only being indirect in asking it.



Please don't hijack threads like this.

  http://en.wikipedia.org/wiki/Thread_hijacking
  http://groups.google.com/group/linux.gentoo.user/msg/8a540add45e7e9b8?

  It is irritating for people using thread-aware e-mail clients...
  In case you didn't know, it happens when you use reply for sending
  a new question instead of composing a new message.
He *did* compose a new message, there is no Re: in the header and no 
other content in the message.


[EMAIL PROTECTED] mailing list

-Hal
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] HIJACKING THREADS

2008-06-11 Thread Hal Martin

Alan McKinnon wrote:

On Wednesday 11 June 2008, Hal Martin wrote:

[snip]

  

I'm sorry, but I fail to see why the above example mentioned
qualifies as Thread Hijacking. He started a new thread to pose his
question, and, if anything, was only being indirect in asking it.



No, he did not start a new thread. Other wise why does his mail have 
this header;


In-Reply-To: 
[EMAIL PROTECTED]


[snip]
  

Quite right, my mistake for looking into it further.
  

He *did* compose a new message, there is no Re: in the header and no
other content in the message.



That's not how you determine if a thread has been hijacked. The Re: is 
simply a subject line and can be edited. Deleting all content from a 
previous post is also not it, as thread-aware mail clients use extended 
headers to do it, specifically In-Reply-To and References


  
Using Thunderbird it appeared to be a new thread, the same applies to 
the GMail web interface. However, on closer inspection of the message 
header, it does appear to be a case of thread hijacking. My mistake, and 
I would retract my previous comments regarding the matter. I instead 
wish to resubmit my response on thread hijacking:


Thread Hijacking is bad, don't do it.

-Hal

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problems mounting Nikon D40 Camera, vfat FS issue?

2008-06-09 Thread Hal Martin

darren kirby wrote:

Hello all,

Trying for the first time to download images from a new Nikon D40 camera. 
libgphoto2 lists the camera as supported in PTP mode. I have tried using PTP 
mode with digikam (hooking up the camera directly), and also simply trying to 
mount the memory card using a card reader. Both methods fail.


The card is recognized:

usb 1-5: new high speed USB device using ehci_hcd and address 2
usb 1-5: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 6:0:0:0: Direct-Access Generic  STORAGE DEVICE   0001 PQ: 0 ANSI: 0
sd 6:0:0:0: [sdc] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
sd 6:0:0:0: [sdc] Write Protect is off
sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00
sd 6:0:0:0: [sdc] Assuming drive cache: write through
sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
sd 6:0:0:0: [sdc] Write Protect is off
sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00
sd 6:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1

  

usb 1-4: new high speed USB device using ehci_hcd and address 8
usb 1-4: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access NIKOND40  1.10 PQ: 0 ANSI: 2
sd 7:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 0f 00 00 00
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sd 7:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 0f 00 00 00
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 7:0:0:0: [sdc] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
Attempts in PTP mode fail with digikam reporting Failed to connect to the 
camera. Please make sure it is connected properly and turned on. The camera 
itself reports that it is connected to the computer properly. When directly 
mounting I get:



# mount -t vfat /dev/sdc1 /mnt/camera
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
  
Works on my D40. I haven't tried with digikam though, as I prefer to use 
direct file access. I assume that if mounting the card works, PTP should 
as well.

I have these lines in my dmesg whenever I try to mount it, or use PTP mode:

Unable to load NLS charset cp437
FAT: codepage cp437 not found

In my kernel config I have this:

(437) Default codepage for FAT 

So, is there something else I need to get this codepage? The camera appears to 
be detected just fine, and the issue seems to be directly related to mounting 
the vfat filesystem and this missing codepage...


Just to note: It is a stable amd64 Gentoo system, and I do have vfat module 
loaded when I attempt to mount.
  
I am on the same arch and have the module fat and vfat loaded. Kernel 
version 2.6.23-gentoo-r6.

Any other ideas?
  

Use an SD card reader, pull your data off, then format the card again?

If you'd like, I can post my kernel config and you can look for 
differences between them.

Thanks for consideration,
-d
  

-Hal
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Keyboard problems

2008-05-28 Thread Hal Martin
No, I've had the same problem, same symptoms, and the same solution 
fixed it. My assumption is that the kernel has some bug where the 
keyboard interface starts dropping data.


I'm running 2.6.23-gentoo-r6 on an AMD64.

-Hal


ionut cucu wrote:

While gracefully working on my computer out of the blue, by keyboard
stops working. Changing keyboards didn't help, only rebooting does. Both
PS/2 keyboards...So I guess it's a computer issue...any ideas where I
should start looking?
  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] UPS recommendation

2008-05-11 Thread Hal Martin

Arthur Britto wrote:

On Sun, 2008-05-11 at 10:15 -0700, maxim wexler wrote:
  

I did a search for UPS units and was overwhelmed by the diversity out there.

What can the group recommend?

I only need something that will give me about a minute's head start to safely 
turn of the box.



You likely want more than a minute.   Most likely, you don't want your
system to crash when coming back up when power fails soon after it is
restored: your system could be in the middle of a fsck.  Generally, you
want enough capacity to: power off, power on, and then power off safely.
  
True, but I find the main purpose of my UPS is to keep the computer 
running throughout a short power-outage. That's what happens 90% of the 
time, the other 10% of the time, the power outage lasts longer than the 
UPS and it shuts the computer down.

I am very happy with the CyberPower Intelligent LCD Series: CP*AVRLCD
http://www.cyberpowersystems.com/

The series has:

NUT support:
You want something that works with NUT.  Instead of a vendor specific
package.  This way your acquired skills are portable and future proofed.
  Network UPS Tools
  http://eu1.networkupstools.org
NUT is great.  It safely powers off my system when the UPS is low.
Additionally, I set it up to e-mail my cell phone when the power state
changes.  If I go out during a power outage, I can stay out longer if I
know the power is not restored.
  
Didn't know that existed. It has really good UPS support too. Guess I 
can buy something other than an APC.

USB interface:
* A USB port is more future proof: serial ports are becoming rare.  
* Allows monitoring UPS state.

* Allows powering off the UPS.

LCD Display:
At a touch know:
* power consumption (don't need to pull out a Kill-O-Watt)
* battery charge
* estimated minutes remaining
  
How much do you think this draws? Does it have any negative effect on 
backup time?

One thing to be wary of is like most inexpensive UPSes it does not
provide a pure sine wave.  This can damage a power supply that has
active power factor correction.  Luckily for my Silencer 750 Quad
according to the manufacturer due to the short time in which the UPS is
in use it is not an issue.
  
Could this be why my computer makes this horrific buzzing noise when on 
the UPS?


I have an APC XS800, the PSU is a Seasonic 330W with Active PFC.

-Arthur

  

-Hal
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Splitting .mov files

2008-04-26 Thread Hal Martin
I assume you want each piece of this file to be play-able? If you don't
care about that, just use split to chop them up into your desired size
and then use cat to reassemble them at the destination.

*$ split –bytes=1m /path/to/large/file /path/to/output/file/prefix*

'man split' will also contain this information.

-Hal

Mick wrote:
 Hi All,

 I have a rather large .mov file which I want to split into two separate 
 files.  
 What options are available to me?
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] dvd playback decryption trouble

2008-04-13 Thread Hal Martin
Is Mac OS X able to play the DVD? That should determine if it is
hardware, not software.

-Hal

b.n. wrote:
 Albert Hopkins ha scritto:
 On Sun, 2008-04-13 at 16:09 +0200, b.n. wrote:
 where could I look to understand what's different between the two
 systems?

 The DVD drive?

 :) I thought about that.

 However I wanted to be sure that I don't miss something at the
 software level, before accepting the grim possibility my laptop dvd
 drive is defective.

 m.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Dell PowerEdge 750 problem

2008-04-11 Thread Hal Martin
Peter Humphrey wrote:
 On Thursday 10 April 2008 15:04:56 Amar Cosic wrote:

   
 Block device /dev/sda3 is not valid root device...
 Could not find the root block device in.
 

 Is AHCI set up correctly in your BIOS? Try toggling it and see if that 
 helps.

   
On these lines, what CPU does this thing use? AFAIK Lilo has some issues
with newer (specifically AMD64 and 64-bit systems) hardware. I'm aware
that this server is equipped with an Intel CPU, but could it be that
Lilo simply doesn't support your hardware?

Unfortunately, it is proving harder than I expected to find a list of
Lilo supported hardware.

-Hal
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] x264 encoding Cache64

2008-04-05 Thread Hal Martin
Hello all,

I recently upgraded HandBrake on my mythbackend server to 0.9.2. One
thing I noticed that I thought was strange was that this new version
used something called Cache64 when encoding x264 video. Trusty Google
was... not so helpful in finding out what this is. The only reason I'm
asking is because I don't understand why a 32-bit dual CPU Xeon system
(P4 variety) uses this extension and my Athlon X2 doesn't.

I don't see anything resembling this extension in /proc/cpuinfo (on
either machine,) and so I'm left wondering what it is. Also, I happen to
know that my Athlon X2 has pni, aka SSE3, and yet when I compile
HandBrake it doesn't make use of this (while taking advantage of SSE3 on
C2D systems.) I was wondering if this was simply because I didn't have
pni in my USE flags, or whether this could be caused by something else.
HandBrake uses jam to build, so would I have to compile jam with SSE3
support for things it builds to use them?

As always, all help is appreciated, no matter how biased it may be. ;-)

-Hal
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Emergency shutdown, how to?

2008-04-02 Thread Hal Martin
Dale wrote:
 Neil Bothwick wrote:
 On Wed, 02 Apr 2008 14:19:36 -0500, Dale wrote:

  
 Folks, keep in mind why I asked this question in the first place. 
 My power supply was frying and I needed a VERY fast shutdown.
 

 I'd shutdown and stay shutdown until I could replace the PSU. PSUs are
 cheap, the components a dying one can take with it are not :(


   

 Well, the P/S went out right when it was unmounting at the very end of
 the shutdown process.  I had one file system that it had to replay a
 few things when I rebooted.  It was a close call since the file
 systems that wasn't unmounted was not a critical one.
I can no longer contain my curiosity. How did you know it was frying?
Smell, smoke? Normally, when something like that fails, it will fail too
quickly for you to do anything about it.

 I did replace the P/S with a new one tho.  After getting the rubber
 band off the fan, I did check to see if it would boot up but it just
 sat there.  I took it back apart and one of the transistors had a
 burnt spot, actually, it was a diode.  Since when those things burn
 out they are basically not repairable, I just got a new one locally. 
 I plan to get a permanent replacement from newegg soon.  The P/S I
 have right now is a A-Open or something.  It was all they had.  I did
 notice that the 5 volt rail is higher than the other P/S's I have had
 before tho.  This one is at 4.97 volts where it is usually 4.91 or
 something.
Ah yes, the old dead fan problem... that's why I keep a can of
compressed air near my desk, and if not that, a pair of full lungs. ;-)

A low quality PSU shouldn't be too bad, for the time being. However, I
wouldn't recommend running on one for longer than necessary. I've had
friends who trusted case PSUs a little too much, and paid the price.

 You are right about burning out other components tho.  I have had two
 P/S's to burn out in this one rig.  So far, nothing else hurt.  I have
 some good luck I guess.
Sounds like it. Hey, can I borrow some of that luck? You'll get it back
in *almost* mint condition.

 Dale

-Hal
 :-)  :-) 

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Hal Martin
Benyamin Dvoskin wrote:
 Hi All ,

 I've been wondering how one can clone an entire gentoo system and copy
 it to another physical machine , while the original system is still
 running ( means , ghost , acronis and other tools that force me to
 shutdown the system are not acceptable )

 So , someone told me to try just tar the whole system to the other
 machine and untar it there.
It is possible, that I know, but it is also difficult.

 The question is how can I do that ? what are the correct attributes
 and flags ?
You cannot use tar unless you create an exclude file, as it will copy
the contents of /dev and /sys, which means the entire contents of RAM,
and anything that is currently being generated by your devices will be
copied as well.

Personally, I would use either tar or rsync to do this, however, in
saying that, I have never actually done this with a live system. This is
the tar command I use for copying inactive systems, and it works quite well.

(cd /mnt/source; tar cfpl - .) | (cd /mnt/dest; tar xfp -)

I assume you could just generate an exclude file, and include that in
the first command ('tar cfpl - .') and it *should* work for you.

The other way would be to use rsync, which I have less experience using,
but should do the job.

rsync -avHp --progress / /mnt/dest/

There's a space between / and /mnt/dest, just incase that's unclear...

 Or maybe someone have other ideas ?
Again, you'd have to find a way to exclude /dev /sys, and probably
another directory or two too, but again, I don't really have any
experience copying a live system. I'm sure other learned people on this
list will have lots of useful suggestions for you!

 Thanks

 Benyamin
-Hal
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: rhythmbox plays silently

2008-03-28 Thread Hal Martin
Michael Schmarck wrote:
 Alan McKinnon [EMAIL PROTECTED] wrote:

   
 Now, onto your actual problem. It is exceptionally hard to even attempt
 to provide a solution unless someone else fixed the exact same problem
 before, as you have not provided any configuration at all and very
 little useful information.
 

 What would you have wanted to see? I wrote that sound works. You
 don't need more information.

   
 Hence your post was as much noise as mine 
 was. 
 

 That's why other people, or at least Andrey, was able to help, where as
 you were just a moron.
   
Not to dig up this unpleasantness again, but there are some things I'd
like to point out for future reference (for all people, including me,
who will post questions with hopes of getting useful answers.)
   
 Nonetheless I shall try, so please provide the following: 
 

 How nice from you, now that the problem has been solved.
   
Yes, I'm aware that this particular problem has been solved, however I'd
still like to highlight a few things about it.
   
 1. the output of lspci as it relates to audio so we can see what
 hardware you have
 

 Why should that matter? After all, sound playback works (in other
 programs).
   
It doesn't matter, but it's information people care about. It helps us
to do our voodoo stuff and get back to you with an answer (it's quantity
over quality at this point of the answering stage.)
   
 2. What engine does rhythmbox use? gstreamer? If so, do other gstreamer
 apps work correctly on your box?
 

 That was the million dollar question.
   
Great, and now you've noticed that Totem, another GStreamer program,
isn't outputting sound. Therefore, instead of just blowing off the
previous poster, you could actually include that information.
   
 3. With what options did you compile rhythmbox and gstreamer (if
 applicable)?
 

 Does not matter.
   
Actually, it does. Contrary to your belief that programs have the
ability to read your mind and compile with all the flags they need to
function in every foreseeable way, real world applications need flags.
Posting them with your question allows for the quantity of answers to go
down, while the quality of the remaining ones to improve greatly.
Knowing from the beginning that you compiled GStreamer with -oss but not
alsa would've helped greatly.
   
 4. Lastly, this is out on left field, please confirm that rhythmbox is
 indeed using alsa and not oss
 

 Question 2 covers that.
   
No, it doesn't. You just deferred your answer instead of actually
confirming that the rhythmbox *engine* used either ALSA or OSS.
 Michael

   
Not trying to start a flame war between anywhere here, but I'm just
trying to make a point. Posting information, no matter how useless it
may seem to you, helps us help you. For example,

Hey group! My mplayer doesn't play sound! I get some generic error
about the sound card not being available...

Now, there are so many answers to that, and you will be frustrated
because people will start touting their favourite software with things
like, Mplayer sucks, use Songbird Songbird sucks, it's bloated, use
Rhythmbox! Rhythmbox is buggy, use Amarok! Amarok is KDE based, I
hate KDE and everything that's based on it, Gnome rules!

Then the slightly more useful questions start, Well, was mplayer
compiled with the alsa USE flag? Do other applications play sound?
Etc, etc.

However, if you'd posted the original error along with your system
information, we forgo all the unpleasant favouritism and instead, get
strained answers that will actually help you solve the problem, keeping
all parties [hopefully] happy!

Hey group! My mplayer doesn't play sound?

Here's my USE flags:xft xcomposite threads dbus libfreetype freetype
firefox xulrunner dvdread lfreetype ftgl gtk X glx usb mplayer a52 hwac3
ac3 ldap GPAC gpac x264 mp4 mp3 mad madplay libmp3 ogg flac alsa oss png
jpg jpeg selinux hal ffmpeg encode vorbis chroot opengl mysql tiff gnome
kde 3dnow 3dnowext aac encode gif ftp mp2 v4l v4l2 httpd sdl sdl-image
xvid xv cvidix -rdynamic -zlib

Here's the output of 'mplayer awesomemusic.mp3'
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model:
43, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing Justin Timberlake - What Goes Around.mp3.
Audio file file format detected.
Clip info:
 Title: The awesomeness!
 Artist: Awesome band!
 Album: AWESOME!
 Year: 2008
 Comment:
 Track:
 Genre:
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or

Re: [gentoo-user] To x86_64 or not to x86_64

2008-03-18 Thread Hal Martin
Neil Bothwick wrote:
 On Tue, 18 Mar 2008 22:20:39 +0100, Alex Schuster wrote:

   
 Next thing I would never have thought of: the root file system was too 
 small. I made it 500 MB bis, as /usr, /var, /opt, /tmp and /home are on 
 LVM. A little small because of /root/.ccache, but I usually symlink
 that to somewhere else.
 

 You could set $CCACHE_DIR, which seems less kludgy to me.


   
 But why is /lib/modules larger than 300 MB?
 

 Because you have built your kernel with CONFIG_KITCHENSINK=m?

 % du -h /lib/modules/$(uname -r)
 9.9M/lib/modules/2.6.24-tuxonice-r3
   
$ du -h /lib/modules/$(uname -r)
19M/lib/modules/2.6.23-gentoo-r6
 Hmmm, it's 22MB on my desktop, time to start pruning .config.

 % df -h /
 FilesystemTypeSize  Used Avail Use% Mounted on
 /dev/sda5 reiserfs385M  189M  196M  50% /
   
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 9.9G  8.1G  1.3G  87% /

That includes everything except /home.
 That includes /boot with two kernels.


   
I haven't run into any significant problems with x86_64. To use flash
and shockwave I just use wine and the windows version of Firefox, it
works perfectly for me. Everything else I've tried either works, or has
a suitable alternative that I don't mind using, but this rarely happens.

-Hal
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Which arch do I have ?

2008-02-12 Thread Hal Martin
Dmitry S. Makovey wrote:
 On February 12, 2008, Alan McKinnon wrote:
   
 So, the only good reason to move to amd64 is when you buy a 64 bit
 machine
 
 I have 1G RAM and it's a laptop doesn't serve huge databases so I
 guess despite if my CPU is 64 or 32 bits, I'll just stick with the 32
 version, works great...
   
 Agreed. You have no obvious benefits from a 64 bit arch. You also get to
 not have to struggle with flash wondering if it will work this time or
 not ;-)
 

 just a bit of personal experience: flash works beter using nspluginwrapper in 
 64bit mode because when it hangs - it's a simple as shooting it's wrapper 
 process and not the entire FF.

 oh, and for whatever reason wine performs better under 64 bit OS rather than 
 32. Don't have any other proof then my own experience but Diablo LOD runs 
 much smoother once I've rebuilt my system with 64bit with the same useflags 
 and everything else.
   
I would agree that wine does seem to run better on the 64bit arch. One
other thing that I've noticed with a 64bit binary, specifically
HandBrake, is that video encoding is *much* faster then it is with a
32bit binary.

-Hal

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Gentoo Install CD 2008.Feb.08. minimal i686

2008-02-10 Thread Hal Martin
Can I have a copy of the torrent? I have ~3Mbit up.


-Hal


Iain Buchanan wrote:
 On Sat, 2008-02-09 at 19:21 +0100, Pongracz Istvan wrote:
   
 2008. 02. 9, szombat keltezéssel 22.01-kor Iain Buchanan ezt írta:
 
 On Fri, 2008-02-08 at 21:22 +0100, Pongracz Istvan wrote:
   
 Ladies and Gentleman,
 
 [snip]
   
 Please, do not kill my server with overload :)
 If somebody has a mirror, drop me a private mail.
 
 how about a torrent?  Then everyone's a mirror ;)
   

 Thank you, yes, this is the next plan :) With few seeder it will be a
 good distribution basis.

 I will make it later.
 

 let me know when, and I'll seed it for you :)  I only have 256k up but
 it's a start!
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Interrogate network for devices

2008-02-09 Thread Hal Martin
Perhaps you need a cross over cable between the modem and the router?

-Hal


[EMAIL PROTECTED] wrote:
 Sorry for the OT, but unable to raise anyone at comcast right now.

 I think I recall having read somewhere that one can do something to
 discover what devices are on a network (Home lan). And what there
 addresses are.

 I've recently switched from DSL to Cable connection but still have
 both working currently.

 I had assumed my netgear-firewall/router would find the Cable modem and
 be able to talk to it, but that isn't happening.

 I can connect the cable modem direct to a pc and using the software
 that comes with it establish a connection to the internet, but I
 wanted to have that firewall/router in between the cable modem and home
 pcs. 

 But that is only on a windows machine.

 The help file that comes with the modem provides no information about
 how one talks to the modem.  No ethernet address is supplied.  However
 it is an ethernet device and connects to the pc with ethernet cable.

 Apparently comcast felt it wiser to provide no details and let its
 software do the connecting.

 But can't I learn the IP address (inward facing) of the modem?  The IP
 from outside is of course visible to ipconfig, when connecting to
 internet from a windows machine thru the cable modem, but I see
 nothing that indicates what its lanside ethernet address is.

 Its obviously connecting to the pc with dhcp so setting the netgear to
 listen for dhcp seemed like it should work... but doesn't.

 I thought I would be able to connect to the cable modem with a browser
 and maybe learn enough to make the netgear router/firewall connect to
 it, or one of my gentoo boxes, so have tried a few of the
 semi-standard addresses  other ethernet hubs/routers etc default to, like
 192.168.0.1, 192.168.1.1 and a few more.

   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Gentoo Install CD 2008.Feb.08. minimal i686

2008-02-08 Thread Hal Martin
Any chance there will be an x86_64 CD?

-Hal

Pongracz Istvan wrote:
 2008. 02. 8, péntek keltezéssel 21.35-kor Erik ezt írta:
   
 Pongracz Istvan skrev:
 
 Before somebody starts a new email-war, I want to tell you, I know, this
 kind of nearly-official live install CD is not really necessary to
 install a new gentoo system.
   
 It is necessary for us using less common keyboard layouts. The official
 Gentoo CD I used to install over 3 years ago included support for
 Swedish keyboard layout. Knoppix left that out to have space for some
 cruft, so Knoppix is really just for users with the more common layouts
 (English, German, Russian and a few more). I do not think that this
 problem was mentioned in the recent email-war.
 

 Hi, thank you for your mail, this is great!
 Here are 42 layouts.

 Anyway, I had problems to compile some packages (rtppoe or similar and
 some others). I left them out.
 Sorry about that.

 István

   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] BIG-UPDATE! ;) If I survive, then gentoo rulezz... :)

2008-02-02 Thread Hal Martin
Emerge recommends that you run 'etc-update' and 'revdep-rebuild' after
updating.


-Hal


maxim wexler wrote:
 Don't forget: etc-update, revdep-rebuild tools.
 HTH. Rumen
 

 At the end of an emerge process I saw two
 recommendations: etc-update and ?-update. The exact
 name escapes me and I can't find it in the logs. It
 seems pretty significant with 100+ updates pending. Do
 you recall the full name?

 Maxim





   
 
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  
 http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pam fixed now it's tcpdump

2008-01-30 Thread Hal Martin
Re-emerge shadow and you should be able to login.

After that you'll need to reinstall services like sshd that have files
in /etc/pam.d/

-Hal

maxim wexler wrote:
 Did you log out and back in again first?
 

 Well, I just did and now I can't log back on. I enter
 my user name, hit enter and it doesn't even ask for my
 password, just says login incorrect, repeats that two
 times and says my three chances are up.

 PAM was emerged but maybe it wasn't activated, or is
 that supposed to be automatic?

 I'll have to chroot back into gentoo but after that I
 don't have a clue.

 Reporting via an XP box.

 mw


   
 
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search.  
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pam upgrade issue

2008-01-29 Thread Hal Martin
maxim wexler wrote:
 Hi group,

 Now emerge -uD world barfs at pam-0.99 and directs me
 to 

 http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
   
Yeah, that guide is useless. I'm assuming that you're trying to update
PAM from 0.99.8.1-r1 to 0.99.9.0?
 Here, among other things, it says to edit certain
 files, but it doesn't say which ones? Unless it means
 all of the ones under /etc/pam.d/ I checked several of
 them and none mentions pam_stack.so

 It mentions two new packages pam_userdb and
 pam_chroot. 
   
'cd /etc/pam.d/'
'grep pam_chroot *'
'grep 'pam_userdb *'

If that doesn't come up with anything, then do this (probably not right,
but it worked for me):

'mv /etc/pam.d /etc/pam.d.0.99.8.1-r1'
'mkdir /etc/pam.d'
'emerge -av pam shadow'
'revdep-rebuild'

And then after that you have to re-emerge all the applications at have
auth files in /etc/pam.d. Probably gonna be (at least) cron, cups, cvs,
login, passwd, shadow (already done...), sshd, sudo, and possibly more.

Speaking of which, if you can't get to root, you're going to have to do
this from a liveCD. Also, I would suggest popping in the Gentoo channel
on Freenode, there are some very helpful people there.
 Doesn't say to emerge them but I tried nonetheless.
 Attempts to emerge them fail with the same notice for
 both of them:


  * Your current setup is using the pam_stack module.
  * This module is deprecated and no longer supported,
 and since version
  * 0.99 is no longer installed, nor provided by any
 other package.
  * The package will be built (to allow binary package
 builds), but will
  * not be installed.
  * Please replace pam_stack usage with proper include
 directive usage,
  * following the PAM Upgrade guide at the following
 URL
  *  
 http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
  *

 I took a chance and unmerged the deprecated pam and
 now I can't su and probably other stuff I don't know
 about yet.
   
Yeah, time for a LiveCD.

Probably not the right way of doing it, but then again, there is no
firmly documented right way since I forgot to take notes! .
-Hal


   
 
 Never miss a thing.  Make Yahoo your home page. 
 http://www.yahoo.com/r/hs
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hal Martin
Well this machine supposedly supports up to 8GB of RAM so I can only
assume that it doesn't map the pci-space to there. But I wonder, will
enabling the higher RAM limit really open up more RAM? The BIOS detects
all 4096MB, but Grub only lists 3.6GB.

AFAIK your machine can only use as much RAM as the bootloader detects, no?


-Hal


Ricardo Saffi Marques wrote:
 On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:

 On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
 That's the problem. For one thing to work, you have to sacrify
 other(s).

 and AFAIR the option won't help you, if your maiboards bios maps
 pci-space at
 the 3,6GB-4GB range.
 -- 
 gentoo-user@lists.gentoo.org mailing list


 You're absolutely right about that. My machines as 64-bits and I don't
 even have that ammount of RAM, but I disable that bios option, anyway.

 -- 
 Ricardo Saffi Marques
 Laboratório de Administração e Segurança de Sistemas (LAS/IC)
 Universidade Estadual de Campinas (UNICAMP)
 Cell: +55 (19) 8128-0435
 Skype: ricardo_saffi_marques
 Website: http://www.rsaffi.com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge error

2008-01-23 Thread Hal Martin
If you need another firewall in the interim, I would suggest giving
IPCop a try. I've been using it as a gateway OS for 5 years now and it's
been solid for the entire time.

Or, if you'd really rather stick with Gentoo, you could run IPCop on
another of your K6 machines until you rebuild the Gentoo one.

-Hal

Neil Bothwick wrote:
 On Wed, 23 Jan 2008 20:08:00 + (UTC), James wrote:

   
 No, because it will copy the corruption too. You'll end up with a byte
 for byte copy of your broken filesystem. If fsck won't fix it, backup,
 reformat, restore is the only safe fix.  
   
  
   
 If I reboot, I *may* loose the firewall completely, depending on what
 the drive does. The only safe thing is to build another firewall before
 rebooting the current firewall (then see if fsck will fix it)...
 

 Then don't reboot. Mount another drive somewhere temporary, copy the
 contents of /var to it, then unmount /var and mount the new drive
 on /var. Reformat the original filesystem and reverse the process.

   
 Either way, once I build a new firewall, I'm going to copy it
 to CF and be done with these old ide drives.
 

 Use a suitable filesystem, or the flash memory will die very quickly,
 especially if you put /var on it.


   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-23 Thread Hal Martin
Ahh, but it won't last...

$ free
  total   used   free shared   
buffers cached
Mem:   20598242044512  15312  0  37636  50868
-/+ buffers/cache:  1956008 103816
Swap:  428930812290243060284

Now this I can live with...

$ free
total   used   free shared   
buffers cached
Mem:   36298323499156   130676 0  566443070796
-/+ buffers/cache:  3717163258116
Swap:0  0  0

Unfortunately that machine is 32bit and thus only supports ~3.6GB of the
4GB of RAM. :-(

-Hal

Michael Higgins wrote:
 On Tue, 22 Jan 2008 00:44:53 +0100
 Hemmann, Volker Armin [EMAIL PROTECTED] wrote:

   
 On Montag, 21. Januar 2008, Michael Higgins wrote:
 
 So, I just got 2 GB of RAM in the mail. Whoo hoo.

 Before I pop these in, soliciting any thoughts about the following:

 zcat /proc/config.gz |grep MEM
 CONFIG_SHMEM=y
 # CONFIG_TINY_SHMEM is not set
 # CONFIG_NOHIGHMEM is not set
 CONFIG_HIGHMEM4G=y
 # CONFIG_HIGHMEM64G is not set
 CONFIG_HIGHMEM=y
 CONFIG_SELECT_MEMORY_MODEL=y
 CONFIG_FLATMEM_MANUAL=y
 # CONFIG_DISCONTIGMEM_MANUAL is not set
 # CONFIG_SPARSEMEM_MANUAL is not set
 CONFIG_FLATMEM=y
 CONFIG_FLAT_NODE_MEM_MAP=y
 # CONFIG_SPARSEMEM_STATIC is not set
 CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
 # CONFIG_BLK_DEV_UMEM is not set
 # CONFIG_INPUT_FF_MEMLESS is not set
 # CONFIG_DEBUG_HIGHMEM is not set
 CONFIG_HAS_IOMEM=y


NameFlags  Part Type  FS Type  [Label]
 Size (MB)
 ---
 --- hda1BootPrimary   Linux ext2
 256.50 hda2Primary   Linux swap /
 Solaris  1024.46 hda3Primary   Linux
 ext3   21480.44 hda5Logical
 Linux ReiserFS   28771.84 hda6
 Logical   Linux ReiserFS   28493.15

 IOW, do I need to/should I recompile my kernel or change partition
 sizes?
   
 if you don't plan to try suspend-to-disk.
 No

 even if you plan to try suspend-to-disk it might work with a
 swapfile. So still no.
 

 Thanks for the feedback. I figured I'd be covered with the setup as it
 is, but you never know... unless you know. This thing never sleeps...
 so no worries there.

 Anyway, I just popped 'em in:

 $ free
  total   used   free sharedbuffers cached
 Mem:   2074548 1660481908500  0   6812  77284
 -/+ buffers/cache:  819521992596
 Swap:  1000432  01000432

 [ Nice. I like that last line a lot. ]

 Cheers,

   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Via vb70001 mini-itx vrs Gentoo

2008-01-20 Thread Hal Martin
IF the BIOS gives you the option of changing the RAM timings, I would
make them all as large as they can go (slowest timings for RAM.) I'm
assuming that your RAM timing is done by default now, and while that is
right most of the time, you can't go wrong with setting them up manually.

If memtest passes with the slowest timings, then I would tighten them
until memtest makes it barf up ATARI and then back off until you reach a
stable area. Another way to do this is to look on the side of your RAM
and see if it lists the timings. If it does, great, set the timings to
those manually in the BIOS, if it doesn't, refer to previous guess and
check method.


-Hal


Neil Bothwick wrote:
 On Sun, 20 Jan 2008 11:33:04 -0600 (CST), list-catcher wrote:

   
 I just bought a via vb7001
 

 Good luck with getting the CN700 graphics to work stably :(


   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Via vb70001 mini-itx vrs Gentoo

2008-01-20 Thread Hal Martin
Hmm, I find that surprising, especially since the new $200 PC at
Sprawl-Mart is based on their C7 processor. Although I have heard many
issues with trying to get certain, additional, items to work with the
gPC. The main one being no modem...

I once owned a motherboard based on a VIA chipset, worst thing ever...
So I got rid of that and went for a board with an NVidia chipset :)

-Hal


Neil Walker wrote:
 Hal Martin wrote:
 IF the BIOS gives you the option of changing the RAM timings,

 It's got nothing to do with RAM timings and everything to do with the
 fact that VIA couldn't care less about Linux users. One thing I have
 learned in th last few months is don't touch VIA with a bargepole.  My
 VIA-based laptop went in the bin and I am now enjoying the luxury of
 an Intel-based laptop with nVidia graphics. :)


 Be lucky,

 Neil



-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] No kernel boot after inserting more ram

2008-01-19 Thread Hal Martin
An alternative to running memtest (which is quite easy to do, I might
add) would be to remove the original RAM and see if the computer boots
with the new RAM only.

Alternatively, you could just run memtest, as it is included with many
BIOSs now. It doesn't take long to identify problems, if there are any.
I find that test #5 is the best test for finding problems, however it
tends to keep you in the dark until it's finished the test.


-Hal


Neil Bothwick wrote:
 On Fri, 18 Jan 2008 22:58:59 +, José Pedro Saraiva wrote:

   
 I'm sure there's nothing wrong with the RAM,
 

 How? Have you run memtest?


   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Daniel Robbins' come back ?

2008-01-12 Thread Hal Martin
He states on his blog that he currently works for E*Trade, a company
specializing in electronic ticker tape services for individuals and
corporations.


-Hal


Renat Golubchyk wrote:
 On Sat, 12 Jan 2008 12:07:39 -0500 Richard Marzan
 [EMAIL PROTECTED] wrote:
   
  Although he works for Microsoft, Daniel is the one who created this
 project.
 

 He doesn't work for Microsoft any longer. Check Wikipedia or Google for
 relevant news.


 Cheers,
 Renat

   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Is GWN dead?

2008-01-11 Thread Hal Martin
I installed Gentoo from inside Ubuntu 6.10 (my previous system) through
chroot. This was because I couldn't use a LiveCD as I have an AMD64
based system.

Knoppix and many other LiveCDs are 32bit, as that is currently what a
majority of computers out there are. So, unless you can point me to a
64bit LiveCD that isn't some alternate version of a binary distribution
I believe we still need a Gentoo install CD.

Some people's arguments are that we should rely on other LiveCDs to
build a Gentoo system as this will give the devs more time to work on
things that they feel are more important. I would agree with them
normally, but I'd rather download one CD that contains all the stuff I
need than download a Debian/Ubuntu/Fedora/Mandriva LiveCD (all of those
distributions provide a 64bit LiveCD) and the stage tarball.

Sure, if you're on a 32bit system, any LiveCD will work well for
building a Gentoo system. However, if you happen to be one of the
growing number of people who have purchased a 64bit system (such as an
AMD Athlon, Opteron, or an Intel Pentium D (some models), Pentium Dual
core (E21xx series), Core 2 Duo/Quad, or a Xeon system) and want to run
Gentoo 64bit, your install options are suddenly very limited.

Just my two cents.

-Hal Martin


Michael Schmarck wrote:
 · Norman Rieß [EMAIL PROTECTED]:

   
 Right, basicly telling people You have to depend on / use other distros
 to install our OS, cause we are not able to / don´t have time to provide
 this sounds a little fishy. It makes Gentoo look incomplete.
 

 Well, but providing outdated (ie. non-usable for new systems) install
 medium is also very bad. And if the installer doesn't work (satisfactory),
 then that gives an even worse impression.

 Michael Schmarck
   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] HTML vs. Text messages (WAS: Is GWN dead?)

2008-01-11 Thread Hal Martin
I'll keep that in mind when I am sending email to the list from
Thunderbird. I'm also aware that many corporations block HTML mail to
lower the risk of a staff member opening up an infected/laced email
(generally on a Windows computer) so text emails are more advantageous
in that regard.

Randy, why aren't you out here making sure everyone's mom is aware of
all the thread hijacking going on?


-Hal


Dale wrote:
 Alan McKinnon wrote:
 On Friday 11 January 2008, Dale wrote:
   
 Qian Qiao wrote:
 
 I'm sorry this goes OT Dale, but unfortunately, my mail client
 cannot render html messages properly, and I trust a lot of people
 on the list have the same problem. If would be nice if you can post
 in plain text, at least in this list.

 Thanks
   
 I have it set to send it text for this domain.  Is it not sending in
 plain text?  I have the same settings for other mailing lists as
 well.

 Thanks for pointing it out if it is not sending plain text tho.
 

 It's sent multipart, so the pure text can be used alone for users like 
 Qian Qiao. That's how I've set up my kmail (I can view it as html if I 
 wish)

 To be honest, it's not really a big deal for a list like this. The text 
 is 492 bytes, the html is 867 bytes and the whole thing is 4.5k

 In other words, the text and html *together* are still smaller than the 
 headers :-)

   

 True, but I do try to go with the flow here.  I use Seamonkey for my
 email.  I went to Edit and Preferences then chose Send formats. 
 I place gentoo.org in the text only section.  What else can I do to
 make sure it sends it correctly?  I do prefer to send it text only
 since some do use some strange email programs.

 Thanks

 Dale

 :-)  :-)  :-) 

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Hal Martin
It's been much less than a year since I've updated last, however I'm
experiencing problems updating my system. First off, I have Gentoo
2007.0 installed on an AMD64 X2 3800+ (SMP kernel.) I cannot upgrade PAM
from 0.99.8.1-r1 to 0.99.9.0. The output of trying to do so is the
following:

emerge pam
Calculating dependencies... done!
 Verifying ebuild Manifests...

 Emerging (1 of 1) sys-libs/pam-0.99.9.0 to /
 * Linux-PAM-0.99.9.0.tar.bz2 RMD160 SHA1 SHA256 size ;-)
... [ ok ]
 * checking ebuild checksums ;-)
...  [ ok ]
 * checking auxfile checksums ;-)
... [ ok ]
 * checking miscfile checksums ;-)
...[ ok ]
 * checking Linux-PAM-0.99.9.0.tar.bz2 ;-)
...[ ok ]
 *
 * Your current setup is using one or more of the following modules,
 * that are not built or supported anymore:
 * pam_pwdb, pam_radius, pam_timestamp, pam_console
 * If you are in real need for these modules, please contact the maintainers
 * of PAM through http://bugs.gentoo.org/ providing information about its
 * use cases.
 * Please also make sure to read the PAM Upgrade guide at the following URL:
 *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
 *

'emerge --search pam' returns the following (I'm only going to include
the actual listing for pam, and not all the other stuff it lists to keep
the list short)

*  sys-libs/pam
  Latest version available: 0.99.9.0
  Latest version installed: 0.99.8.1-r1
  Size of files: 887 kB
  Homepage:  http://www.kernel.org/pub/linux/libs/pam/
  Description:   Linux-PAM (Pluggable Authentication Modules)
  License:   PAM

I've followed the Linux-PAM upgrade guide, which didn't mention what to
do in the event that those modules were used.

http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml

There is a forum discussion on this matter, however none of the modules
appear in /etc/pam.d/ files...

I don't know enough about PAM and Gentoo to know if running a PAMless
system would cause problems, I have been using linux for a while, but I
am relatively new to Gentoo (and yes, I realize that PAM is not
exclusive to Gentoo...) I've tried the #gentoo channel on FreeNode and
after an hour of asking and waiting, was unable to receive an answer.

Any help would be appriciated.

Thanks!
Hal Martin


Neil Bothwick wrote:
 On Thu, 10 Jan 2008 12:57:57 +0200, Alan McKinnon wrote:

   
 Generally you can just emerge -uND world and we done with it. But life 
 isn't always so simple. I can think of a few updates in the last while 
 that were problematic, but I think they were all more than a year ago:
 

 The expat upgrade was less than a year ago for stable systems.

 I'd go with emerge -auvDN system and check the output carefully before
 opting to proceed. I'd also make sure that ELOG is correctly set up in
 make.conf so you don't miss any important massages.

 After updating system, it would be prudent to run revdep-rebuild before
 moving onto the rest of world.

 emerge -e is pointless, portage is quite capable of determining what
 needs to be updated, and reemerging everything just creates noise and
 confusion that could make it harder to deal with any potential problems.


   



Re: [gentoo-user] Incredibly slow disk access

2008-01-08 Thread Hal Martin
I have a Western Digital 250GB SATA-II drive on an NForce4 integrated
SATA-II controller, here are my readings...

hdparm -I /dev/sda | grep -i dma
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6

/dev/sda:
 Timing cached reads:   1646 MB in  2.00 seconds = 823.19 MB/sec
 Timing buffered disk reads:  172 MB in  3.03 seconds =  56.77 MB/sec

Machine is an Athlon X2 3800+ running Gentoo 2007.0 AMD64

A Western Digital 500GB SATA-II drive, connected through a SATA-I PCI
card on another Gentoo box reports:

hdparm -I /dev/sda | grep -i dma
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
DMA Setup Auto-Activate optimization

/dev/sda:
 Timing cached reads:   312 MB in  2.01 seconds = 155.28 MB/sec
 Timing buffered disk reads:  162 MB in  3.02 seconds =  53.65 MB/sec

The onboard Maxtor 60GB IDE drive reports:

hdparm -I /dev/hda | grep -i dma
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hda:
 Timing cached reads:   312 MB in  2.01 seconds = 155.17 MB/sec
 Timing buffered disk reads:   76 MB in  3.05 seconds =  24.88 MB/sec

Machine is a Dell PowerEdge 350, PIII server running Gentoo 2007.0 i386.

I'm curious, is your optical drive also SATA? If it's not, then how do
you intend to access it without ATA/ATAPI drivers?

-Hal

Dale wrote:
 Wayn0 wrote:
   
 William Kenworthy wrote:
 
 If you have sata drives, and they are showing up as hdx, you have
 something seriously misconfigured.  They should be showing as sdx.

 Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes
 in serial ATA.  Dont forget fstab will need redoing to match.

 I always thought that if you select both, serial ata should take
 precedence, and in some cases you can access via both, but I have at
 least one machine that will only work as sata with all the older ata
 stuff deselected.

 BillK
   
 Thanks Bill,

 removing all the ATA/ATAPI/MFM/RLL stuff sorted it out.

 :-)


 Wayn0
 

 Would you mind posting what speeds you get now?  I'm curious myself.

 Thanks

 Dale

 :-)  :-)