Re: [gentoo-user] How to get hid2hci command

2010-09-16 Thread Kyle Bader
net-wireless/bluez maybe?

Kyle

On Sep 16, 2010 1:01 PM, Hung Dang hungp...@gmail.com wrote:

 Hi all,

I need to use hid2hci for my bluetooth keyboad. However, I could not figure
out how to get the hid2hci command.
Any suggestion would be appreciate?

Thanks in advance
Hung


Re: [gentoo-user] Apache crashed, what could be the reason?

2010-08-27 Thread Kyle Bader
 Except for that, only common scannings for phpMyAdmin, myadmin, pma,
 mysql, scripts, etc. Nothing more. Any ideas why apache died?

I noticed you have mod_dav  mod_cache and are running 2.2.15, perhaps
it's this?

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1452

-- 

Kyle



Re: [gentoo-user] Re: Rooted/compromised Gentoo, seeking advice

2010-08-10 Thread Kyle Bader

 Another idea to help with your forensics would be to bring a netstat and
 lsof
 binary over to your machine and run them to see which actors are running
 and
 trying to get out.  That could help you detect what is running on that
 machine
 and google your way from there.


If your kernel has been subverted then userland is irrelevant, a kit can
simply hook the system calls those binaries use and return whatever it wants
you to know.

-- 

Kyle


Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.

2010-08-04 Thread Kyle Bader
 AddHandler cgi-script cgi py

 Thanks, Kyle, you've been getting me closer and closer.
 If I'm starting to get the new stuff, AddHandler declares certain
 extensions.  Up until last month, extensions were not required, and in fact
 my CGI programs have never had them.  It used to be enough to use
 ScriptAlias, and put an executable in the directory.  If it was a script
 with a shebang, or a compiled ELF program all was well.  If I were going to
 use extensions, it would be .py or possibly .python, not .cgi or .pl.

I totally meant to have it be py instead of pl, I guess pounding away
at perl all day yesterday warped my mind.

-- 

Kyle



Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.

2010-08-03 Thread Kyle Bader
Heyo Kevin,

 Directory /hex/hexTest/
     AuthUserFile /etc/apache2/kosmanor/passwords
     AuthGroupFile /dev/null
     AuthName OHex Advanced
     AuthType Basic
     Require valid-user
     Options FollowSymLinks
 /Directory

Try adding one of these in there:

AddHandler cgi-script cgi pl


-- 

Kyle



Re: [gentoo-user] All of a sudden, no apache2. No clue why.

2010-07-30 Thread Kyle Bader
   * Starting apache2 ...
  (98)Address already in use: make_sock: could not bind to address
  64.166.164.49:80
  no listening sockets available, shutting down
  Unable to open
  logs   [

Strace will probably reveal which log file can't be opened, something
like this will probably do the trick:

strace /path/to/apache2 -D module list -d /path/to/apache2dir

 And that's a DNS listener, an NTP listener, and firefox as a client, not a
 listener.  Though it makes me want to track down 1e100.net and find out who
 they are.

Google:

   Domain Name: 1E100.NET
   Registrar: MARKMONITOR INC.
   Whois Server: whois.markmonitor.com
   Referral URL: http://www.markmonitor.com
   Name Server: NS1.GOOGLE.COM
   Name Server: NS2.GOOGLE.COM
   Name Server: NS3.GOOGLE.COM
   Name Server: NS4.GOOGLE.COM

Registrant:
DNS Admin
Google Inc.
1600 Amphitheatre Parkway
 Mountain View CA 94043
US
dns-ad...@google.com +1.650253 Fax: +1.6506188571

-- 

Kyle



Re: [gentoo-user] All of a sudden, no apache2. No clue why.

2010-07-29 Thread Kyle Bader
  * Starting apache2 ...
 (98)Address already in use: make_sock: could not bind to address
 64.166.164.49:80
 no listening sockets available, shutting down
 Unable to open
 logs   [ ok
 ]

Make sure an interface is listening on that address:

ip a |grep 64.166.164.49

Check for bound processes:

lsof -i @64.166.164.49

If that fails I'd strace the startup manually.

-- 

Kyle


Re: [gentoo-user] [OT] how to extract a GIT repository

2010-07-21 Thread Kyle Bader
 ebuild PATH TO ebuild file unpack
 and then look at /var/tmp/portage//work/

 but is there a direct way (or how does portage do this)?

I'm not sure how portage does this but the git directory is likely
bare which is why you don't see any branch files.  Try:  git clone
/usr/portage/distfiles/git-src/$PN /home/$PN

-- 

Kyle



Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Kyle Bader
Ext4 was very new around 2.6.27,. The kenel is likely refusing to
mount the filesystem because the kernel driver is experimental (old)
and the filesystem was created when a different kernel was loaded (non
experimental ext4).  Using the old driver could compromise the
integrity so the kernel refuses.  You might have better luck with a
more recent kernel.

On 7/15/10, Xi Shen davidshe...@googlemail.com wrote:
 sure, i do not need ext4dev, i want to use ext4 only. but i did not
 find a compile option for ext4, i only find a option for ext4dev/ext4.

 the openvz i emerged is 2.6.27.6.1, which is the latest stable
 version. is it too old? should i try newer unstable version?


 On Thu, Jul 15, 2010 at 7:40 PM, Albert Hopkins mar...@letterboxes.org
 wrote:
 On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote:
 i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4
 file system support. but when i tried to boot my system, i got a
 kernel panic. it says cannot mount my ext4 root, because it is not
 marked ok to use with test code.

 my root is at a ext4 file system, and i think the ext4dev/ext4 kernel
 compile option would allow me to use both ext4 and ext4dev features,
 am i wrong?

 i do not want to use ext4dev on my root, neither do i want to
 downgrade to ext3. is there a way to fix this?

 You don't need ext4dev.  ext4dev is old and, unless you've used it
 before, there's no need to use it today.  I'm guessing that's giving you
 that error (that's an old error).  It's easy to fix though (do a Google
 search for the error).  But it should not even occur if you've never
 used ext4dev, IIRC.

 -a







 --
 Best Regards,
 Xi Shen (David)

 http://twitter.com/davidshen84/



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] gentoo (diet) Ceph ?

2010-07-15 Thread Kyle Bader
 Googling sometimes produces hilarious results.

 Seriously, I'm looking for any  information/brave
 hack on using CEPH fs with Gentoo

 The two main things you'll have to do is build a kernel with ceph
 support and then create an ebuild for ceph's userland utilities and
 put it in your own overlay.  If you have any ceph specific questions
 on implementation or bugs then your best bet is either the ceph
 mailing list or their IRC channel.  I can take a stab at questions but
 Sage, Yehuda or Greg will be able to more thoroughly/accurately answer
 them.

Not sure how up to date it is as I haven't tested it myself but it
might make your life easier:

http://gpo.zugaina.org/sys-cluster/ceph/USE


Kyle



Re: [gentoo-user] gentoo (diet) Ceph ?

2010-07-14 Thread Kyle Bader
 Googling sometimes produces hilarious results.

 Seriously, I'm looking for any  information/brave
 hack on using CEPH fs with Gentoo

The two main things you'll have to do is build a kernel with ceph
support and then create an ebuild for ceph's userland utilities and
put it in your own overlay.  If you have any ceph specific questions
on implementation or bugs then your best bet is either the ceph
mailing list or their IRC channel.  I can take a stab at questions but
Sage, Yehuda or Greg will be able to more thoroughly/accurately answer
them.

-- 

Kyle



Re: [gentoo-user] PS/2 mouse on a USB adaptor

2010-07-12 Thread Kyle Bader
Maybe you need a powered adapter like the one you need for a classic model m?

Can't think of the brand I've seen offhand :/

On 7/12/10, Mick michaelkintz...@gmail.com wrote:
 Hi All,

 I have connected a conventional PS/2 mouse to a USB socket using this
 adaptor:

 http://www.amazon.co.uk/StarTech-com-Replacement-Mouse-USB-
 Adapter/dp/B0006G2OVG/ref=sr_1_6/275-4357142-7474332?ie=UTF8s=electronicsqid=1278964492sr=8-6

 Unfortunately, it is not recognised by the kernel:

 hub 2-0:1.0: unable to enumerate USB device on port 1

 I also tried it on a Ubuntu laptop but it did not register at all.

 What do I need to get it going?
 --
 Regards,
 Mick


-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Re: OT: tool for reading /etc/conf.d/net?

2010-07-11 Thread Kyle Bader
 Most secured - App i C++ or C.

Programs written in c++/c are not inherently secure, the programmer
must make use of best practices using secure functions, etc.

-- 

Kyle



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Kyle Bader
Iotop is for io and the kernel support is through netlink.  Aside

On 7/7/10, James wirel...@tampabay.rr.com wrote:
 Jarry mr.jarry at gmail.com writes:


 I would like to see in console current network transfer rate
 for given interface, similar as I can see cpu-loading in [%]
 with top command.

 iotop is very cool, but requires some accounting support
 to be set in the kernel...

 hth,
 James






-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Kyle Bader
Misfire. Aside from trafshow and iftop you might look at iptraf

On 7/7/10, Kyle Bader kyle.ba...@gmail.com wrote:
 Iotop is for io and the kernel support is through netlink.  Aside

 On 7/7/10, James wirel...@tampabay.rr.com wrote:
 Jarry mr.jarry at gmail.com writes:


 I would like to see in console current network transfer rate
 for given interface, similar as I can see cpu-loading in [%]
 with top command.

 iotop is very cool, but requires some accounting support
 to be set in the kernel...

 hth,
 James






 --
 Sent from my mobile device


 Kyle


-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Minimal Gentoo with X

2010-06-30 Thread Kyle Bader
 Since space is a issue for you, you really only need the kernel sources
 for the kernel you are using.  One could argue that if you have a well
 built kernel and don't plan to change it in the future, you could
 remove its sources too.  I would save a copy of the config tho.

 I'd certainly argue that. A single set of sources can take up more than
 half a gigabyte after compilation. If you use make install to install the
 kernel, it puts a backup of the config in /boot automatically.

It is also good to keep the System.map and vmlinux file in case you or
someone else needs to debug your kernel traces.

-- 

Kyle



Re: [gentoo-user] what should I restart after changing /etc/resolv.conf?

2010-06-19 Thread Kyle Bader
You generally don't have to restart anything.  If your still having
trouble can you post the /etc/resolv.conf file so we can take a look?

On 6/19/10, Jarry mr.ja...@gmail.com wrote:
 Hi,

 I modified /etc/resolv.conf (added opendns-servers in addition
 to my own), but I do not know what I should restart for these
 changes to come into effect...

 I could restart the whole system, but there sure must be some
 cleaner way. Any idea?

 Jarry

 --
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Kyle Bader
CONFIG_BRIDGE :)

On 4/8/10, Joseph syscon...@gmail.com wrote:
 On 04/08/10 07:40, Fernando Antunes wrote:
On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:

 I've activated Network adapter in VirtualBox (running Windows XP) but I
 it
 is not working. It works only in NAT mode not in Bridge mode.

I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
not sure, but did you configure bridge support in your Linux kernel ?

 Good suggestion, I just need to find it.
 Which option is it?

 --
 Joseph



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] CPU choking under high load

2010-03-26 Thread Kyle Bader
 I don't know if this is a hardware issue or not, but I thought that maybe I'd
 configured my kernel incorrectly

Did this behavior start after a kernel upgrade? If yes, what was the
previous kernel version and what version are you running now?

-- 

Kyle



Re: [gentoo-user] 8 bays/drives in server: only 6 seen in gentoo

2010-03-26 Thread Kyle Bader
Doesn't help right now but it sounds like an expander cable might be loose.

On 3/26/10, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone know this?

 I run 2.6.27-gentoo-r8 on a server, amd64 ..

 It has 8 hotswap-bays for hdds and lspci says it uses a ---

 Intel Corporation 631xESB/632xESB SATA AHCI Controller

 So far I used the ahci-kernel-module, it worked.

 Until now we used only 4 hdds in that box, today I added 4 more.

 But I only see six drives ... /dev/sd[a-f] ... no /dev/sd[gh]

 hmmm

 I don't know if all the bays are wired correctly, I would have to take
 the server offline for a longer period to check that. But I think one
 could expect those hotswap-bays wired ready to use.

 My thought is, maybe the ahci-module is/was somehow limited with this
 kernel? Maybe I should use another module?

 This server is remote, so I have to be careful right now.

 Thanks for any hints, Stefan



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...

2010-03-15 Thread Kyle Bader
+1 on zfs w/ solaris for storage, just don't go cheap and get desktop disks.
-- 

Kyle



Re: [gentoo-user] vmware-server performance

2010-03-12 Thread Kyle Bader
If the elevated iowait from iostat is on the host you might be able to
find something hogging you io bandwidth with iotop.  Also look for D
state procs with ps auxr.  Are you on a software raid?

If you are on linux soft raid you might check your disks for errors
with smartmontools.  Other than that the only thing I can think of is
something like a performance regression in the ide/scsi/sata
controller (on host or virtual) or mdadm on host.  If the host system
is bogged before starting vmware instances I would suspect the former
(host controller or mdadm).

On 3/11/10, Stefan G. Weichinger li...@xunil.at wrote:
 Am 11.03.2010 16:54, schrieb Kyle Bader:
 If you use the cfq scheduler (linux default) you might try turning off
 low latency mode (introduced in 2.6.32):

 Echo 0  /sys/class/block/device name/queue/iosched/low_latency

 http://kernelnewbies.org/Linux_2_6_32

 That sounded good, but unfortunately it is not really doing the trick.
 The VM still takes minutes to boot ... and this after I copied it back
 to the RAID1-array which should in theory be faster than the
 noraid-partition before.

 Thanks anyway, I will test that setting ...

 Stefan




-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] vmware-server performance

2010-03-11 Thread Kyle Bader
If you use the cfq scheduler (linux default) you might try turning off
low latency mode (introduced in 2.6.32):

Echo 0  /sys/class/block/device name/queue/iosched/low_latency

http://kernelnewbies.org/Linux_2_6_32

On 3/10/10, Stefan G. Weichinger li...@xunil.at wrote:

 Recently I see bad performance with my vmware-server.

 Loads of harddisk IO ... even bad on the RAID1, disks working all the
 time (I hear them and iostat tells me).

 Might have to do with kernel 2.6.33 and non-fitting vmware-modules?

 I masked some modules back then because they didn't work, maybe they
 would now.

 Could someone tell me what combo works with gentoo-sources-2.6.33 ?

 I currently have:

 # eix vmware-mod
 [I] app-emulation/vmware-modules
  Available versions:  1.0.0.15-r1 1.0.0.15-r2 (~)1.0.0.24-r1{tbz2}
 [m]1.0.0.25-r1 [m](~)1.0.0.26 {kernel_linux}
  Installed versions:  1.0.0.24-r1{tbz2}(20:34:53
 01.03.2010)(kernel_linux)

 # eix vmware-ser
 [I] app-emulation/vmware-server
  Available versions:  1.0.8.126538!s 1.0.9.156507!s
 (~)1.0.10.203137!s (~)2.0.1.156745-r3!s{tbz2} (~)2.0.2.203138!f!s{tbz2}
  Installed versions:  2.0.2.203138!f!s{tbz2}(20:19:33 10.03.2010)


 Thanks in advance, Stefan



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] When copying an os to new disk

2010-02-26 Thread Kyle Bader
 I opted to reinstall from source that machine, which wasn't exactly a
 bad choice anyway.  But as always, rtfm is good advice!  Thanks (not
 sarcastic, except to mock myself).

Another option other than rsync or dd is to use tar:

tar cf - $old_dir | ( cd $new_dir: tar xf - )
tar cf - $old_dir | ssh $other_host ( cd $new_dir: tar xf - )

-- 

Kyle



Re: [gentoo-user] When copying an os to new disk

2010-02-26 Thread Kyle Bader
 tar cf - $old_dir | ( cd $new_dir: tar xf - )
 tar cf - $old_dir | ssh $other_host ( cd $new_dir: tar xf - )
                                                    ^
 The ':' separating commands should be a ';'. Using the -C option would be
 a little easier, but your method also would work for star. This piping
 through ssh is quite cool, isn't it.

whoops, good catch!

 If $old_dir is the root partition, I would bin-mount it first to somewhere
 else, so other directories mounted to it (especially/dev, /proc and /sys)
 are not copied:
 mount -o bind / /mnt
 old_dir=/mnt

that too, copying over /proc/kcore is never fun ;P
-- 

Kyle



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-02-26 Thread Kyle Bader
 - be aware of cylinder boundaries when partitioning (thanks to the
 recent thread)

+1

 - utilizing device labels and/or volume labels instead of hoping
 /dev/sda stays /dev/sda always

+1

 - initrd - I've never used one, but maybe it's needed if root is on
 software RAID?

It's not technically needed and boot times are faster without them.
I'm a fan of statically compiled kernels too but that's more to
prevent malicious LKMs.

 - grub/kernel parameter tips and tricks... i'm already using uvesafb,
 and don't dual-boot with MSWin or anything, just Gentoo
 - better partitioning scheme than my current root, boot, home (need
 portage on its own, maybe /var as well?)

putting portage on it's on partition is a good idea imo, I usually use
reiserfs because it handles large amounts of small files well.

 - some kind of small linux emergency/recovery partition? equivalent to
 a liveCD maybe.

I usually keep a bootable usb in my bag for recovery, which also works
if there is a problem with the disk/raid.

 - best filesystem for portage? something compressed or with small
 cluster size maybe.

reiserfs

 - SSD vs 1rpm vs big-and-cheap hard drive for rootfs/system files.
 I lean toward the latter since RAM caches it anyway.

SSDs can make things snappier for boot times.  Having lots of ram for
disk cache eliminates the benefit after booted since ram is even
faster than a SSD.

 - omit/reduce number of reserved-for-root blocks on partitions where
 it's not necessary.

I never get close to filling my disks so never have bothered with this

 - I have never used LVM and don't really know about it. Should I use
 it? will it make life easier someday? or more difficult?

I'm not a fan, if you don't plan on changing your partition sizes I
don't see a lot of utility in adding the extra layer of complexity.

 - Is RAID5 still a good balance for disk cost vs usable space vs data
 safety? I can't/don't want to pay for full mirroring of all disks.

It's better than no raid but as you probably know it will only allow
for a single disk failure.  Getting drives from different lots (but
same geometry) is recommended.
-- 

Kyle



Re: [gentoo-user] How should I clean up my broken system?

2010-02-12 Thread Kyle Bader
 Has anybody any other tips to offer me for this operation?

 tar up /etc.

Make sure the tar can extract on another system.  Backups that haven't
been tested are not backups! :D

-- 

Kyle



Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far

2010-02-07 Thread Kyle Bader
 4KB physical sectors: KNOW WHAT YOU'RE DOING!

Good article by Theodore T'so, might be helpful:

http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/

-- 

Kyle



Re: [gentoo-user] Raid 5 creation is slow - Can this be done quicker?

2010-02-01 Thread Kyle Bader
Most of the wait I would assume is due to the size of the volume and
creating parity.  If it was my array I'd probably just sit tight and
wait it out.

On 2/1/10, J. Roeleveld jo...@antarean.org wrote:
 Hi All,

 I am currently installing a new server and am using Linux software raid to
 merge 6 * 1.5TB drives in a RAID5 configuration.

 Creating the RAID5 takes over 20 hours (according to  cat /proc/mdstat )

 Is there a way that will speed this up? The drives are new, but contain
 random
 data left over from some speed and reliability tests I did. I don't care
 about
 keeping the current 'data', as long as when the array is reliable later.

 Can I use the  --assume-clean  option with mdadm and then expect it to
 keep
 working, even through reboots?
 Or is this a really bad idea?

 Many thanks,

 Joost Roeleveld



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Raid 5 creation is slow - Can this be done quicker?

2010-02-01 Thread Kyle Bader
 It would be interesting to know whether hardware RAID would behave any
 differently or allow the sync to perform in the background. I have
 only 1.5TB in RAID5 across 4 x 500gb drives at present; IIRC the
 expansion from 3 x drives took some hours, but I can't recall the
 initial setup.

LSI, 3ware and Areca hardware raid controllers are capable of doing a
background init  but their performance is impacted, I can't speak on
other controllers as I haven't used them before.  I've built many
RAID6 arrays with all three controllers - 8x 1TB and 8x 1.5TB and I'll
usually start a foreground init and let them run overnight because it
does take a long time.  Also, RAID10 is much faster to get up and
running because it doesn't have to calculate parity.

-- 

Kyle



Re: [gentoo-user] Messed up system time caused messed up file modification times...

2010-01-25 Thread Kyle Bader
This is rather blunt but...

Find / -name *|xargs touch

On 1/25/10, Mark Knecht markkne...@gmail.com wrote:
 Hi,
I've just rebuilt my new machine this morning playing with
 different ways to do things. Unfortunately I went sort of fast and
 forgot to set date/time/timezone. (Doing too much from memory this
 time.) Now when I try to set the system time to local and the hardware
 clock to Pacific time and turn on ntp-client/ntpd I'm getting lots of
 complaints about modification times in the future.

This is completely my mistake and I can start over and fix it in a
 couple of hours but I'm wondering if there's an easy way out of this?

 Thanks,
 Mark



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Making a usb Demo Disk

2010-01-25 Thread Kyle Bader
 Is there a way to install a program that runs on Gentoo on a usb stick?
  I would like to be able to booted to the usb stick and run the program
 in a Gentoo environment?  Basically I would like to make a demo disk
 with the program and just enough of the OS so it works.

 I think the answer lies somewhere between making a liveusb and stage 4.

* Install Gentoo onto usb drive.
* Use a kernel with lots of device support so it will work in
different systems (genkernel maybe), make sure it has support for your
filesystem, USB drivers and SCSI disk support compiled in.
* Add a rootdelay as a kernel parameter
* Install your program before leaving the chroot
* Profit

:)

-- 

Kyle



Re: [gentoo-user] 2 NICs

2010-01-22 Thread Kyle Bader
Udev rules

On 1/22/10, Mark Knecht markkne...@gmail.com wrote:
 Hi,
I've got a new machine with (for now) 2 NICs in it. How do I
 configure networking so that the GigaBit NIC is always eth0 and the
 100Mb is eth1? Is there a way to link either a driver to a specific
 net.ethX name?

 Thanks,
 Mark



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] NFS Boot

2010-01-16 Thread Kyle Bader
 Would it be better to create a local hard drive swap and file system for
 certain root dir?

Have writable files on local disk and mount them a la mount --bind
/mnt/local/etc /etc.  You should make a separate partition for local
swap if you have a local disk.

-- 

Kyle



Re: [gentoo-user] IDE/ATAPI ZIP drive - howto

2010-01-04 Thread Kyle Bader
Any change in kernel configuration or did you copy your old config and
run make oldconfig?

On 1/4/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 I've upgraded the kernel on an old machine to 2.6.32.
 Now, I cannot get the ZIP drive (ATAPI) working.

 There is a /dev/hdd device and dmesg is telling me about
 an IOMEGA ZIP drive, but
 trying to

 fdisk /dev/hdd
 or even mount it,
 seems to make the kernel hang (at least these commands
 never finish)

 Has anybody any hint on what to try?

 Many thanks,
 Helmut.

 --
 Helmut Jarausch

 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment

2009-12-31 Thread Kyle Bader
I'm pretty sure chrooting to 64bit from 32 bit kernel won't work, so
you'll have to reboot into a 64 bit environment.

On 12/24/09, Carlos Moyano Cubillos cmcg...@gmail.com wrote:
 Dear friends,

 I have a gentoo system running 32bit .. and I have a 30GB partition
 available on which I would like to install a 64bit Gentoo to test for
 64bit extensions processor supports .


 someone could help me and tell me how to proceed with this
 installation from my running system without having to reboot with a
 livecd.



 Here's the processor info:

 processor   : 1
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 23
 model name  : Intel(R) Core(TM)2 Duo CPU P8600  @ 2.40GHz
 stepping: 10
 cpu MHz : 800.000
 cache size  : 3072 KB
 physical id : 0
 siblings: 2
 core id : 1
 cpu cores   : 2
 apicid  : 1
 initial apicid  : 1
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 13
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
 lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor
 ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida
 tpr_shadow vnmi flexpriority
 bogomips: 4787.75
 clflush size: 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:



 greetings

 --
 C.M.C.



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] pxe + initramfs

2009-12-28 Thread Kyle Bader
James:

 How would I go about taking a LiveCD and packing it into a LiveCD so
 that I don't have to set up NFS exports for all the other Linux
 distributions?

I assume you mean taking a livecd and packing it into a initramfs. I
would suggest you read this guide:

http://www.ibm.com/developerworks/linux/library/l-initrd.html

RDSIZE will have to be substantially larger though, large enough to
fit whatever your putting into the image. Ubuntu Karmic netinstall is
about 12Mb [1] so 13000 might be appropriate, iirc initramfs cannot
exceed 16Mb (if this isn't true let me know :D).  Some hackery of the
init script will likely be required.

[1] 
http://archive.ubuntu.com/ubuntu/dists/karmic/main/installer-amd64/current/images/netboot/mini.iso
-- 

Kyle



Re: [gentoo-user] High load, idle CPU?

2009-12-18 Thread Kyle Bader
Ps auxr

On 12/18/09, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Fri, Dec 18, 2009 at 1:38 PM, Florian Philipp
 li...@f_philipp.fastmail.net wrote:
 Hi list!

 My virtual server seems to have a problem and I don't know how to find it.

 Today, while trying to create a new postgresql database I noticed that
 certain system operations seem to take ages. Normal work on the shell
 works just fine but for example accessing the postgresql server through
 psql, restarting tomcat, postgresql or zope all show the very same
 behavior:
 Execution freezes, the load average climbs to 1-1.9 and after a few
 minutes (maybe longer) the task finishes correctly. During all this
 time, top reports that the CPUs are 100% idle.

 Other services, for example rsyncd or openvpn, work normally. I also
 tried restarting the VM. Shutdown took maybe 10 or 15 minutes. Booting
 was much faster with only a few minutes until all services were up and
 running. However, it didn't solve the problem.

 So, my question is: How can I find out what is causing this? Can I
 somehow trace it? Find out why a process waits?

 top, iotop, latencytop, powertop



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] fstab and cdrom question

2009-12-18 Thread Kyle Bader
I'm on the train so its hard to check the man pages but can't you use
udevtrigger or a similar tool so rebooting isn't required?

On 12/17/09, Nikos Chantziaras rea...@arcor.de wrote:
 On 12/17/2009 08:42 PM, Denis wrote:
 Hello folks,

 Quick question.

 My main HD is SATA and gets /dev/sda in fstab.  My CDROM, which is the
 only device on the IDE bus, seems to be /dev/hda.  That's what
 Audacious declared when it was looking for a CD to play.  I had CDROM
 device forced to /dev/cdrom in Audacious, unwittingly, before and was
 wondering why my CDs were not playing!  However, my fstab is still
 /dev/cdrom  /mnt/cdrom  autonoauto,user
0 0 - so should I switch this to /dev/hda instead of /dev/cdrom?
 If so, should some link be made to /dev/cdrom, if other programs may
 be querying /dev/cdrom for the sake of Linux standard convention, or
 is /dev/cdrom already a link, which was broken in my case?

 Thank you,
 Denis

 You don't need an fstab entry at all.  These days, when you insert a CD,
 it will get mounted automatically and appear in /media, just like USB
 storage devices.




-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] usb HD cannot boot without initramfs

2009-12-18 Thread Kyle Bader
Scsi support maybe?

On 12/17/09, Bruce Hill br...@slackwarebox.com wrote:
 On Fri, Dec 18, 2009 at 09:14:48AM +0800, Xi Shen wrote:
 ok. but it looks like the gmail web client encourage top post ;)

 That doesn't make it easy to read. This is how we see it when you top-post:

 A: Because you are doing it wrong.

  On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon
  alan.mckin...@gmail.com
  wrote:

 then you didn't trim other junk that is irrelevant.

 Q. Why is my mouse eating all the cheese when I configured it no cheese?

 i compiled the uhci and ehci into the kernel. i need to double check
 the usb_storage thing. maybe this is the thing i missed.

 UHCI is for Intel and VIA ... OHCI for others (these are both USB 1.0{1}
 EHCI is for all USB 2.0

 Make sure you have the correct UHCI/OHCI ... you only need one of those.
 --
 Experience is a hard teacher because she gives the test first, the
 lesson afterward. But properly learned, the lesson forever changes
 the man.



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] usb HD cannot boot without initramfs

2009-12-18 Thread Kyle Bader
Is it rootdelay or scandelay?

On 12/18/09, Robert Bridge rob...@robbieab.com wrote:
 Try passing a rootdelay option to the kernel to allow the kernels USB
 probe to complete before it tries to mount the USB device.

 e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] tunneling or redirect attack?

2009-12-01 Thread Kyle Bader
 Is it a common thing, or really easy to do,  to redirect the content from a
 server to another one?

Change dns records/ip addresses?

 Like launching an lil app telling the port to listen and then get all data
 travelling there??

tcpdump?


-- 

Kyle



Re: [gentoo-user] license change in sun-jdk

2009-11-09 Thread Kyle Bader
Thanks dale, adding :)

On 11/9/09, Dale rdalek1...@gmail.com wrote:
 Rudmer van Dijk wrote:
 Hi,

 for all who have problems with their jdk (and don't want to spent half an
 hour
 finding out why 8-):

 after sync, portage wants to install dev-java/icedtea6-bin, although there
 is
 a jdk installed (I already had dev-java/sun-jdk-1.6.0.17)

 well it turns out that sun-jdk-1.6.0.17 has suddenly been license
 masked...

 adding ACCEPT_LICENSE=dlj-1.1 to make.conf lets sun-jdk be accepted
 again.
 no more spontaneous forced installation of icedtea6-bin!


  Rudmer



 I cheated then.  I did this for mine:

 ACCEPT_LICENSE=*

 I think that covers them all.

 Dale

 :-)  :-)



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] memory(gray matter) needs jog-DONE

2009-10-30 Thread Kyle Bader
And iirc you can got ext3 - ext2.  The same does not hold true for
ext4 - ext3.

On 10/30/09, walt w41...@gmail.com wrote:
 On 10/30/2009 10:26 AM, Stroller wrote:

 On 30 Oct 2009, at 17:04, Maxim Wexler wrote:
 ...
 Yes I know, ext2 is rather retro, but I was
 persuaded to use it by reading the forums and now it's a lot simpler
 just to run tune2fs rather thman scrap the system and start again.

 I know you  can convert an ext3 filesystem to ext4. Can you not do the
 same ext2 - ext3?

 Yes, with the -j flag to tune2fs.




-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Installing an old glibc to run a proprietary commercial tool (would that even help?)

2009-10-30 Thread Kyle Bader
Avoiding 1, 2, and 3 but thought I'd propose a 4 other than a virtual
machine.  Ask the vendor if they can provide a statically compiled
version, that way you don't have to worry about libc.  I dunno how
flexible the vendor is but its worth asking :)

On 10/30/09, Duncan Smith duncanphilipnor...@gmail.com wrote:
 The company I work for is using gentoo on all its machines.  We just
 got a license to a commercial tool which does not support gentoo.  The
 closest thing it supports is RHEL v4.

 Running any command provided by the tool results in an explosive
 memory leak (virtual memory hits 400G in 1 second, and continues to
 climb).

 I suspect the problem is that RHEL v4 uses =sys-libs/glibc-2.3.4,
 whereas we have =sys-libs/glibc-2.9_p20081201-r2 installed.

 I have three questions:
  1. Am I posting to the right list?
  2. Any idea what's going on?  Could it be something other than glibc
 causing the problem?
  3. If it is glibc, is there some way to install glibc slotted?  Could
 I install an old version of glibc to some other lib folder (like
 /opt/lib64), and then use LD_LIBRARY_PATH somehow to get the tool to
 look there first?  How?

 Thanks for any help or ideas.

 Duncan

 P.S. In case it's useful, here is the output of ldd:
 linux-vdso.so.1 =  (0x7fff9e3ff000)
 libncurses.so.5 = /lib/libncurses.so.5 (0x7f49c871b000)
 libresolv.so.2 = /lib/libresolv.so.2 (0x7f49c8503000)
 libm.so.6 = /lib/libm.so.6 (0x7f49c827e000)
 libdl.so.2 = /lib/libdl.so.2 (0x7f49c807a000)
 libc.so.6 = /lib/libc.so.6 (0x7f49c7d07000)
 /lib64/ld-linux-x86-64.so.2 (0x7f49c897a000)



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Bootup drops back to console from kdm

2009-10-05 Thread Kyle Bader
Output from rc-update show ?

On 10/4/09, Mick michaelkintz...@gmail.com wrote:
 It must be a year or so now with all different kernels.  On boot up kdm
 fires
 up, but within 5 seconds or so and while the use is busy entering their
 passwd on the kdm screen, it suddenly returns to the console.  Alt+F7 brings
 them back to their kdm, but this behaviour is clearly wrong.  I suspect that
 this is caused by dhcpcd getting an IP address, or vixie cron (the last two
 things shown on the console when the user gets dumped back on it) but I
 can't
 understand why these two services will cause such a problem on this machine,
 when other machines with the same services work fine.

 Any ideas on how to troubleshoot this one?  I can't see anything amiss on
 dmesg, or messages/syslog.
 --
 Regards,
 Mick


-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Any good documentation out there? Anyone use NGINX?

2009-10-05 Thread Kyle Bader
Apache2, mod_ssl, self signed certificate, htaccess/htpassword via
digest. Done deal :)

On 10/5/09, David Juhl commo_p...@yahoo.com wrote:
 I am trying to find away to access files securely from my home computer.
 The network I am on is really strict on email attachments and no usb
 drives are allowed, so I possibly thought of a website that uses ssl and
 a password to access the files.  I really don't know where to begin.
 Since the files have personal information in them, I need to make sure
 no one can ease drop.  I have a Linux machine at home, and the computers
 at work run Windows.  There is really no hope in installing additional
 software on the computers at work.  Hell I haven't even had time to ask
 anyone if accessing my computer via the web would be a problem.  I have
 a domain name from dyndns.org. I can only use a CD-R which gets
 cumbersome at times... Sometimes I only need to bring in work I did that
 is less than 10M, and what a real waste of a CD-R. I rather just go to
 the files and do what I need.

 Any thoughts are appreciated...


 --
 David L. Juhl




-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Does portage monkey directly with /etc/portage/package.use

2009-09-28 Thread Kyle Bader
Use a MAILTO= in your crontab and notifications will go to any address
you want, leave MAILTO blank and it won't mail at all.

On 9/27/09, Walter Dnes waltd...@waltdnes.org wrote:
 On Sun, Sep 27, 2009 at 08:55:42AM +0100, Mick wrote

 To complete the diagnosis we may need the version of your portage?  ;-)

   Sorry about that.  Here are the details...

 [d530][root][~] emerge -pv portage

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] sys-apps/portage-2.1.6.13  USE=-build -doc -epydoc
 (-selinux)
 LINGUAS=-pl 0 kB

   Since it only shows up with mutt so far, maybe it's actually mutt...

 d530 mutt # emerge -pv mutt

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] mail-client/mutt-1.5.20-r4  USE=pop smime smtp -berkdb
 -crypt -debug -doc -gdbm -gnutls -gpg -idn -imap -mbox -nls -nntp -qdbm
 -sasl -sidebar -ssl -vanilla 0 kB

   It is remotely possible that I did make the package.use entries
 manually, but very unlikely.

   Speaking of mutt, is there a way to turn off its insistence on
 creating symlinks called sendmail?  My most embarressing moment as a
 linux user came several years ago when I first created an hourly
 cronjob.  I wasn't aware of the need for ending it with 21.  The
 garbage output went to root via sendmail, which was actually a symlink
 to mutt.  mutt is a deliberately dumb mailer that simply pushes email
 out the door to my ISP's MTA.  So the hourly garbage went to root at my
 ISP.  They sent me a polite email asking me to kindly stop. G

   I took a couple of steps then.  Besides adding 21 to my cronjobs,
 I set root=myaccount in /etc/ssmtp/ssmpt.conf, so that any stuff
 getting through would go to my account at my ISP, not to root at my ISP.
 I also went around stomping on the symlinks.  So far, I've discovered
 /usr/bin/sendmail and /usr/lib/sendmail and /usr/sbin/sendmail.  In each
 case, I deleted the symlink, created a directory by that name, and did a
 touch .keep inside the directory.

 --
 Walter Dnes waltd...@waltdnes.org



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Internet providers' IP range (xinetd.conf)

2009-09-03 Thread Kyle Bader

 1. Put your host into dyndns and ssh to that name


I'll often do this and then create a subdomain of a domain I own then have
it CNAME to the dyndns domain name.  I find that I have a easier time
remembering the names I choose this way.

-- 

Kyle


Re: [gentoo-user] Booting an exernal usb drive from grub

2009-08-12 Thread kyle . bader
Excuse the top post - bb email.  You might be able to change the hdd boot 
priority in another menu to try usb hdd first then fallback on sata/ide 
whatever.  Also you might have to add a slowusb kernel boot param if after the 
kernel boots you get a unable to sync vfs error when handing off to init.

Sent via BlackBerry from T-Mobile

-Original Message-
From: Michael Sullivan msulli1...@gmail.com

Date: Wed, 12 Aug 2009 16:49:51 
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Booting an exernal usb drive from grub


On Wed, 2009-08-12 at 16:38 -0500, Paul Hartman wrote:
 On Wed, Aug 12, 2009 at 4:30 PM, Michael Sullivanmsulli1...@gmail.com wrote:
  My server box died last week, and, as it was about ten years old, I
  decided to replace it.  My wife and I opened the case and removed the
  hard drive (A major undertaking for us, I might add).  We hooked the old
  hard drive up to a hard drive enclosure and plugged it via USB into a
  new computer we bought this morning.  This new computer runs Windows
  Vista and only Windows Vista.  I want to run Gentoo Linux on the
  enclosure.  I have to keep Windows on it because all the computer repair
  shoppes around here only know Windows, and will be confused if I take it
  in to be repaired and it isn't running Windows.  I planned to install
  grub on the main internal hard drive and use that to boot to the USB
  drive.  I checked the BIOS, and there's no option to boot to USB.  I've
  spent a couple of hours today googling this question, but all I can seem
  to find is how to do this from a linux partition other than the one on
  the USB drive.  Is this even possible, and if so, how would I do it?
 
 It seems surprising that such a new computer wouldn't let you boot
 from USB. Usually in the boot order section of BIOS one of those
 choices will be removable disk or external device or something
 like that. That will typically boot your USB disk.
 

Nope.   The only things it has are floppy boot (It doesn't even have a
floppy drive!), cd boot, and hdd boot...




Re: [gentoo-user] 10, 100, or 1000mbps uplink?

2009-07-17 Thread Kyle Bader
 I'm about to sign up for a new remote dedicated system and I'm
 wondering if I should spring for the 100mbps or 1000mbps uplink
 upgrades from 10mbps?  Is there a test I can run to find out?  I'm
 running a lightweight website with maybe 300-400 visitors/day.

I wouldn't think 10mbps would be a problem unless you are serving lots
of files for downloads.  You can see real time throughput with iptraf
or iftop or setup some netfilter rules to log bandwidth statistics if
you want to gauge your usage exactly.

--

Kyle



[gentoo-user] Re: [gentoo-user] AUTO: Martin Schrodi ist außer Haus.

2009-04-28 Thread kyle . bader
Get killed.
--Original Message--
From: Martin Schrodi
Sender: AGDA
To: gentoo-user
ReplyTo: gentoo-user@lists.gentoo.org
Sent: Apr 28, 2009 3:17 AM
Subject: [gentoo-user] AUTO: Martin Schrodi ist außer Haus. 


Ich werde ab  28.04.2009 nicht im Büro sein. Ich kehre zurück am
29.04.2009.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.


Note: This is an automated response to your message  [gentoo-user] AUTO:
Martin Schrodi ist außer Haus. sent on 28/4/09 11:13:48.

You will receive a notification for each message you send to this person
while the person is away.




Sent via BlackBerry from T-Mobile

Re: [gentoo-user] telephony

2009-04-25 Thread kyle . bader
Sorry for top posting my bb is dumb about that.  The answer to your question is 
yes, you can uses your current pots lines.  You want your outside line to be 
fxo and lines connecting to your standard phones to be fxs.  The digium 
wildcard supports 4 pots and you can buy them with a different mix of fxo/fxs, 
they are simple removable modules.  Don't waste your time with a x100p card, 
they suck and will be more of a waste of time then they are worth.
Sent via BlackBerry from T-Mobile

-Original Message-
From: Simon turne...@gmail.com

Date: Sat, 25 Apr 2009 14:14:56 
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] telephony


 You seem to want to know the difference, FXO vs FXS.  If I got this wrong, 
 just
 delete it.  FXS is meant to interface to a telephone set, so it gives talk
 battery and (as needed) ringing current.  FXO is meant to interface to a line
 from a telco switch, so it accepts battery (if the circuit it's hooked up to
 doesn't give talk battery, you have no circuit) and expects to be rung into, 
 so
 it detects ringing battery.  Most of the time, both FXO's and FXS's offer
 options to operate in loop start (regular POTS) or ground start mode.  Write 
 me
 if you need more on that last.  Options like reverse battery aren't usually
 offered in FXO/FXS cards.  You usually have to give a FXS card your own source
 of ringing battery, not FXO, because an FXO is expecting to have ringing 
 battery
 sent to it (from the telco switch it's connected to) to begin with.

This brought an idea in my mind...  the phone lines in our houses here
in Quebec,Canada are set so the line comes into the house at one point
(called dmark i think) then it is spread around.  if there is no
service, then there is no dialtone, if one phone is used, then all
phones can hear the conversation if picked up.  normal stuff.
but what if i were to setup a pc to work with asterisk and somehow
plugged a FXS (i guess?) card to any phone jack in the house.  then
any normal phone would be networked to that FXS card and anything done
on them will go through the PC (the pc will actually take care of
sending a dialtone, etc...)  am i correct, is this possible (to use
the existing POTS infrastructure)?

Thanks



Re: [gentoo-user] telephony

2009-04-23 Thread kyle . bader
It is a great book, I used it to help me setup my first voip box.  Here's that 
link:
http://www.asteriskdocs.org/
Sent via BlackBerry from T-Mobile

-Original Message-
From: John covici cov...@ccs.covici.com

Date: Wed, 22 Apr 2009 16:11:18 
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] telephony


Take a look at a book called The Future of Telephony -- its free,
but I am not sure where to get it.

on Wednesday 04/22/2009 Simon(turne...@gmail.com) wrote
  hi there,
i'm looking for suggestions and guidance.  I have a vps host with
  gentoo on it, i dont think the vps is stable enough to ensure a good
  quality of service, but it could just need an upgrade, no big deal.  I
  need a phone and the way i decided to go was to get a connection to
  the internet and use voip or similar services.
  
I've looked into several ideas, but the last one that remains a good
  'deal' is to set it all up myself, for free (but lots of work)!
  
  I'm thinking on setting up asterisk, but having read about it in the
  past, i know as soon as i set it up it will take more of my time than
  my girlfriend ever dreamed of!  It seems extremely difficult to setup,
  specially for a newbie, I'm wondering if you guys know of a few good
  guides (that you have experience with, i can google too) for this and
  if you had any suggestion, pointers, starters mostly...
  
  I've read those, but I'm sure there are a lot of surprises not covered
  by these...
  http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo
  http://www.gentoo-wiki.info/Asterisk
  
  Thanks for any help!
  
  -- 
  When Earth was the only inhabited planet in the Galaxy, it was a
  primitive place, militarily speaking.  The only weapon they had ever
  invented worth mentioning was a crude and inefficient nuclear-reaction
  bomb for which they had not even developed the logical defense. -
  Asimov

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] telephony

2009-04-23 Thread kyle . bader
Your welcome, also I seem to remember there being a caveat to running asterisk 
in a vserver (if your host uses that technology)  but its not coming to mind.  
Maybe when I'm home infront of a real computer I can find it.  Also I really 
liked the voiper soft phone, its not in the tree but might be woth a look.
Sent via BlackBerry from T-Mobile

-Original Message-
From: Simon turne...@gmail.com

Date: Thu, 23 Apr 2009 12:05:02 
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] telephony


oh! wow, i was on that page, but i followed some of the links and got
to a place where you had to register to view the whole content on the
website... didnt know it was avail for download!!  thanks!

On Thu, Apr 23, 2009 at 12:04 PM,  kyle.ba...@gmail.com wrote:
 It is a great book, I used it to help me setup my first voip box.  Here's 
 that link:
 http://www.asteriskdocs.org/
 Sent via BlackBerry from T-Mobile

 -Original Message-
 From: John covici cov...@ccs.covici.com

 Date: Wed, 22 Apr 2009 16:11:18
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] telephony


 Take a look at a book called The Future of Telephony -- its free,
 but I am not sure where to get it.

 on Wednesday 04/22/2009 Simon(turne...@gmail.com) wrote
   hi there,
     i'm looking for suggestions and guidance.  I have a vps host with
   gentoo on it, i dont think the vps is stable enough to ensure a good
   quality of service, but it could just need an upgrade, no big deal.  I
   need a phone and the way i decided to go was to get a connection to
   the internet and use voip or similar services.
  
     I've looked into several ideas, but the last one that remains a good
   'deal' is to set it all up myself, for free (but lots of work)!
  
   I'm thinking on setting up asterisk, but having read about it in the
   past, i know as soon as i set it up it will take more of my time than
   my girlfriend ever dreamed of!  It seems extremely difficult to setup,
   specially for a newbie, I'm wondering if you guys know of a few good
   guides (that you have experience with, i can google too) for this and
   if you had any suggestion, pointers, starters mostly...
  
   I've read those, but I'm sure there are a lot of surprises not covered
   by these...
   http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo
   http://www.gentoo-wiki.info/Asterisk
  
   Thanks for any help!
  
   --
   When Earth was the only inhabited planet in the Galaxy, it was a
   primitive place, militarily speaking.  The only weapon they had ever
   invented worth mentioning was a crude and inefficient nuclear-reaction
   bomb for which they had not even developed the logical defense. -
   Asimov

 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

         John Covici
         cov...@ccs.covici.com





-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov



Re: [gentoo-user] IDE is called hda

2009-04-16 Thread kyle . bader
I'm unsure if lilo supports booting by filesystem label/uuid but that's what I 
do with grub. Might be woth looking into

Sent via BlackBerry from T-Mobile

-Original Message-
From: Thomas Chef thomas.c...@gmail.com

Date: Thu, 16 Apr 2009 12:07:08 
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] IDE is called hda


Aha I understand.

But what if my cd installation names my disk hda,
but when I download the gentoo kernel source and build it it will use sda.
So in my lilo.conf I must use hda, and when the new kernel boots it looks
for hda (because of my lilo.conf), but in that case it should be sda instead
?

On Thu, Apr 16, 2009 at 11:49 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

  On Thursday 16 April 2009 11:28:54 Thomas Chef wrote:
  From the handbook:
  To begin, we'll introduce block devices. The most famous block device is
  probably the one that represents the first drive in a Linux system,
 namely
  /dev/sda. SCSI and Serial ATA drives are both labeled /dev/sd*; even IDE
  drives are labeled /dev/sd* with the new libata framework in the kernel.
 If
  you're using the old device framework, then your first IDE drive is
  /dev/hda .
 
  But when I boot on Via Epia with my minimal installation CD 2008 I get my
  IDE-disk as /dev/hda
 
  Is the kernel on the minimal CD old ?

 Not really. It's whatever was reasonably current at the time the CD image
 was
 built.

 It's not the age of the kernel that matters here. it's which drivers are in
 use. These things are in a constant state of flux and right now the Linux
 kernel still has drivers for the old and the new way of doing things with
 disks.

 Rationale: a driver writer decided some time ago that it would be better to
 consolidate things in the kernel and use the same code-base for all types
 of
 disk. This makes things easier overall as you don't have to eternally
 figure
 out if you have IDE/SCSI/PATA/SCSI/something_else drives - the thing is
 always
 going to be /dev/sd**

 But you can still use the old drivers and framework if you choose.
 Apparently,
 whoever mastered that CD did choose. Point being, if /dev/sda doesn't work
 for
 you and /dev/hda does, then you should be using /dev/hda. From your point
 of
 view, it's just a name for something

 --
 alan dot mckinnon at gmail dot com





Re: [gentoo-user] Restricting Firefox website access

2009-01-09 Thread Kyle Bader
 Does portage use wget over http by default?  Can I change a setting to
 make it use ftp?

Use a ftp:// mirror ?

(correct me if I'm wrong)

-Kyle



Re: [gentoo-user] Restricting Firefox website access

2009-01-08 Thread Kyle Bader
You could use iptables to block all traffic headed to port 80 with
exceptions for the domains you need.

-- 
kyle.ba...@gmail.com



Re: [gentoo-user] Best website backup practice

2008-12-17 Thread Kyle Bader
This is a great method that I utilize:

http://www.mikerubel.org/computers/rsync_snapshots/

On Wed, Dec 17, 2008 at 9:02 AM, Momesso Andrea momesso.and...@gmail.comwrote:

 I run on an old laptop a website (Joomla + MediaWiki + Moodle + a couple
 of other things).

 The site now is offline and I'm ok with my automated backups of all the
 hard drive, but it's going to go online in a few weeks and I'd like to add
 some more security.

 What I'd like to have is periodic snapshots of the site, so when the
 hardware will fail (I'm pretty sure it will, just a matter of time) I
 can easily transfer the latest snapshot on another machine running a web
 server and a databse.

 My idea is to cp (or rsync) the /var/www/host/ directory and, at the
 same time to mysqldump the related databases. Then I'd create an archive
 with this data together and transfer it via nfs on another disk.
 Cron will do it every twelve hours.

 Any advice or suggestions will be appreciated.

 ===
 http://topperh.blogspot.com
 ===




-- 
kyle.ba...@gmail.com


Re: [gentoo-user] How to tie module name to Kernel CONFIG

2008-12-10 Thread kyle . bader
Its a tigon 3 broadcom nic if that helps, I can get the .config line once I 
beat traffic
Sent via BlackBerry from T-Mobile

-Original Message-
From:  Harry Putnam [EMAIL PROTECTED]

Date:  Wed, 10 Dec 2008 14:56:30 
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  How to tie module name to Kernel CONFIG


Summary:
How can I tie a module name (tg3) to a kernel config line?

Details:
Usually its kind of obvious if you dig around in .config a bit, but
now always.

I find the module at /lib/modules/2.6.24*/:
../kernel/drivers/net/tg3.ko

But I haven't been able to nail that to a kernel config line.

Searches inside menuconfig on TG3 turn up nothing.

grep -i tg3 of the .config file find nothing.  I'm pretty sure it
located between

  `# Protocols'
  (line 1139)

   and 

  `# Wireless'
  (line 1327)
  
I'm sure it could be different in different .config files but those
two section headings should be there... maybe not on those line
numbers.

It is a section that covers many of the network drivers

After scanning there I still am not sure where tg3 comes from or what
it is.




Re: [gentoo-user] Tragic kernel building for vmware gentoo guest on WinXP

2008-12-10 Thread kyle . bader
My guess is tha while inside  the initrd a kenrel module was loaded and it was 
something that you needed to read the boot volume.  Are you statically or 
modulely including your sata drivers?
Sent via BlackBerry from T-Mobile

-Original Message-
From:  Harry Putnam [EMAIL PROTECTED]

Date:  Wed, 10 Dec 2008 17:07:44 
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Tragic kernel building for vmware gentoo guest on WinXP


I've started a new thread on my kernel troubles.  I thought the thread
subject should be more indicative of the semi OT nature of the query.

Also thought it might make the information that accrues here more
findable for any future searchers.

Here is the general setup and the general problem:

vmware appliance made from gentoo-2008.0


I downloaded this appliance from a friendly sight that has all kinds.
The appliance was built in July and so needed some updating.  I
  
   www.bagvapp.com

So cutting to the chase here.  All software updated nicely but when I
started fooling with the kernel I hit a brick wall.

The original is 2.6.24-r8.  Apparently built with genkernel as it has
just about everthing possilbe enabled.

The original setup was rigged to boot with an initrd
 (from grub)

 title=linux-2.6.24-gentoo-r8
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.24-gentoo-r8 
 root=/dev/ram0  init=/linuxrc ramdisk=8192 real_root=/dev/sdb3 
 initrd /initramfs-genkernel-x86-2.6.24-gentoo-r8 vga=0x317

And originally used /dev/sda3 for root.

It worked just fine.  But none of my attempts to bring the kernel up
to date have worked.  All failing with a error message something like:
`/dev/sdb3 is not a valid device'.

But of course it is because reverting to the original kernel allows a
successful boot.

You'll notice I've since moved root from /sda3 to sdb3... expanding
everthing.  That is not the cause of the problem though since the
original kernel boots just fine with the edit to /dev/sdb3 as root.

I will post exact error messages in a bit but I'd gotten rid of the
extra sources.. and was about to give up messing with this.

I'm redownloading the latest gentoo-source and will post what ever
errors occur with it.  I'll build using the old kernel config as
basis.  And ditch the initrd.

(hours later)

Looks like I fogot to mail the message above so even better... Now I
have a screen shot of the messages.

I've compiled 2.6.27-r5 using the config that works with 2.6.24-r8 as
the basis.  I did prune out a few things... all wireless some hid and
most usb.

This kernel fails as I expected and here is small screen shot of the
error.  It appears something is lacking that lets the kernel know that
/dev/sda1 (boot) and /dev/sdb3 are valid /boot and /

Here are the grub lines:

title=/dev/sda1 hp 2.6.27-r5 NO INTITRD
root (hd0,0)
kernel /kernel-2.6.27-r5 root=/dev/sdb3 video=vesafb:mtrr3,ywrap vga=0x317 

Screen shot of boot messages:




Re: [gentoo-user] Re: Tragic kernel building for vmware gentoo guest on WinXP

2008-12-10 Thread kyle . bader
You probably need scsi and scsi disk support compiled in as well.   Everything 
associated with accessing the device and the filesystem it contains has to be 
compiled in to the kernel and not be a module.   The initrd is loaded into 
memory and loads the kernel modules (the ones you need to compile in), once 
they are the root filesystem can be mounted. Without the initrd you can't load 
the modules because they are on a device that cannot be read for lack of 
support in the currently running kernel.
Sent via BlackBerry from T-Mobile

-Original Message-
From:  Nikos Chantziaras [EMAIL PROTECTED]

Date:  Thu, 11 Dec 2008 08:24:08 
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Tragic kernel building for vmware gentoo guest on 
WinXP


Harry Putnam wrote:
 Nikos Chantziaras [EMAIL PROTECTED] writes:
 
 Harry Putnam wrote:
 Nikos Chantziaras [EMAIL PROTECTED] writes:

 [...]
 mptbase: ioc0: Initiating bringup
 ioc0: LSI53C1030 B0: Capabilities={Initiator}
 scsi4 : ioc0: LSI53C1030 B0, FwRev=h, Ports=1, MaxQ=128, IRQ=16
 That's an LSI Fusion-MPT controller.  Enable:

   Device Drivers-[*] Fusion MPT device support-
  * Fusion MPT ScsiHost drivers for SPI

 Reboot.  Have fun :P
 I don't think thats the trouble... that has been enabled in every
 kernel compile I've run trying to get a working config.

 The original setup was rigged to boot with an initrd.  How can I take
 that initrd apart and see if there is some trick driver built into
 it. 
 cp /boot/the-initrd-you-want ~/initrd.cpio.gz
 gunzip ~/initrd.cpio.gz

 Examine it's contents with mc or extract it with cpio.

 But I don't think there's a trick driver or anything involved.  You
 don't even need an initrd if you compile the LSI driver in-kernel.
 
 I just made in initrd for that kernel2.6.27-r5... and by god it
 booted using the initrd so that initrd is loading the driver you
 mentioned I guess. 
 
 I see now that even the original working kernel had LSI driver as
 module ...so I'll try compiling into the kernel now as you've
 suggested.   Thanks...

You also need the filesystem driver built-in (ext3, Reiser, whatever 
you're using.)  An initrd is really only useful for generic kernels and 
for bootsplash.  I guess that means the appliance you downloaded was sub 
optimal in the sense that nothing special or any kind of effort was 
required to create it.  A good appliance would have provided a slim 
kernel with only what's needed compiled-in since VMWare has the same 
hardware everywhere (that's the whole point of VMWare actually.)




Re: [gentoo-user] Is an Intel motherboard RAID better or worse thansoftware RAID?

2008-10-15 Thread kyle . bader
Go areca, I have a coworker that raves about his.  At my shop we have dozens of 
systems using 3ware and they have horrible preformance. 
--Original Message--
From: Pintér Tibor
To: gentoo-user@lists.gentoo.org
ReplyTo: gentoo-user@lists.gentoo.org
Sent: Oct 15, 2008 6:41 AM
Subject: Re: [gentoo-user] Is an Intel motherboard RAID better or worse 
thansoftware RAID?

 If you want to be sure your data is still readable in the event that
 your mobo dies and you can't find a replacement with the same fake
 RAID controller, stick with Linux kernel RAID.

or buy a 3ware/areca/adaptec card, which is 100% supported.
(but those are heavy bucks)

t



Sent via BlackBerry from T-Mobile