Re: [gentoo-user] xorg 7.0 emerge question

2006-02-21 Thread Alec Shaner

krgn wrote:

hi

I have a question concerning my modular X installation. I did this
according to the gentoo guide here
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml.
now, I have synced again, and a lot of blocks are coming up and I am not
sure really how to solve this. These are the blocks. how can I get rid
of them? is it to do with the virtual ebuild or so, I have not really an
idea...


I had the same problem, and found this in the modular Xorg WIKI:

http://gentoo-wiki.com/HOWTO_Modular_Xorg#.27emerge_-u_world.27_wants_to_install_xorg-x11_6.x_or_virtual.2Fx11

However, putting x11-base/xorg-x11-6* in 
/etc/portage/profile/package.provided doesn't seem to work. Instead I 
just put in x11-base/xorg-x11-6.8 and then the emerge -u world worked 
fine without wanting the old xorg-x11-6.8. I suppose in your case maybe 
you want x11-base/xorg-x11-6.9 in there as well?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Concerns (possible security threat?)

2006-01-17 Thread Alec Shaner

Michael Sullivan wrote:

I'm concerned.  When I got out of the shower just now and came to check
my email, I didn't have any.  Concerned that sendmail might not be
running, I ps'd for it:


[snip]


Is there a way to make sure that unauthorized people are not sending
mail through my domain?




I used to use this test when I had a mail server:

telnet relay-test.mail-abuse.org
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A confession

2005-12-20 Thread Alec Shaner

Philip Webb wrote:

Yes, a short turn with another distro soon reminds how good Gentoo is.

A couple of weeks ago, I wanted to update the OS in my back-up machine,
which had Mandrake 10.0 (early 2004) working adequately when needed
 is too slow  infrequently used to install Gentoo.

[snip]


How about Kubuntu? -- I don't like Gnome, so didn't want Ubuntu -- ,
so I got the CD, installed  booted the system.  First,

[snip]

A little off topic, but I'm also a non-Gnome guy and I have had pretty 
good luck with the free version of Xandros on a P3 450 machine that I 
really only care about browsing the web, listening to audio, or playing 
simple games on. I don't know how politically incorrect Xandros is, 
but it seems to work pretty well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild for Lost Labyrinth

2005-08-29 Thread Alec Shaner

Nick Rout wrote:

OK once again the ebuild is attached, it now creates a desktop file in
/usr/share/applications/ and pops the .xpm icon file into
/usr/share/pixmaps/. This is where gentoo likes these things to be.

Those of you who have expressed an interest in this game please try it
out. If it works OK I will check out any last tweaks i need and then
submit it to bugs.gentoo.org



I tried the new ebuild and it worked. I use KDE 3.4 and the laby icon 
shows up under the games menu and correctly launches the game.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild for Lost Labyrinth

2005-08-29 Thread Alec Shaner

Holly Bostick wrote:


This was a simple emerge, so I hope I didn't bork it myself; I did
forget to create a 'files' directory in the overlay folder, but since
there were no files, I can't think that that would be the problem.

I could be wrong, though, especially since it works under KDE. Why would
the symlink not have been created for me?


Actually, /usr/games/bin/laby isn't a symlink, just a simple wrapper. I 
think you need to create the files directory and copy the 'laby' file 
there. May be that you missed it because it wasn't included in the 
version 1.03 ebuild email, just the 1.02 one. You can get the file from 
Nick Rout's first ebuild email from Aug 24.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sub-net 0.0.0.0

2005-08-26 Thread Alec Shaner

Joseph wrote:

On Fri, 2005-08-26 at 13:38 -0400, Willie Wong wrote:


On Fri, Aug 26, 2005 at 10:02:08AM -0600, Joseph wrote:


I have a device with an IP 192.168.0.1 which I need to access via
browser.
My PC gets an IP via DHCP from the router.
What should I use for gateway? I've tired 192.168.0.0  192.168.0 


huh? if you get the IP via DHCP, doesn't it also set up the gateway?



No, I set my firewall/router with my numbers.  My main network is set to
Gateway 10.0.0.1  and DHCP pool range (so other devices an get the IP
automatically) is 10.0.0.150 - 10.0.0.180

But the deice I have has a preset from the factory static IP 192.168.0.1
If they set it to anything else like 192.168.0.10 or 192.168.0.100 it
would be easy.


This is a little confusing to me - is there something special about IP 
192.168.0.1 compared to any other IP?



I could set my gateway to 192.168.0.1 and DHCP pool range to
192.168.0.10 to 192.168.0.100 and it would work.  


When I try to set my gateway to 192.168.0.0 my DHCP pool range
192.168.0.1 to 192.168.0.100 doesn't work.


Not sure what hardware you have around, but if you don't have a 
crossover cable do you at least have a hub or switch? If you do, just 
disable DHCP temporarilly on your PC and manually set the IP address to 
192.168.0.2, set the gateway to 192.168.0.1 and netmask to 255.255.255.0 
and plug the PC and router device into the same hub/switch. This method 
has worked for me in the past when I have a router with a preset address 
that needed to be changed.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild for Lost Labyrinth

2005-08-25 Thread Alec Shaner

Nick Rout wrote:

I know I should upload this to bugs.gentoo.org, but as we are in the
middle of a thread i thought I'd load it here for anyone interested to
try (and to criticise)

Please be gentle with me, this is my first ebuild.

The ebuild is attached, as is the small startup script. The way it works
and installs is detailed below (although the version is now 1.0.2 rather
than 1.0.0)

You need to have portage overlay enabled, and assuming your overlay is
in /usr/local/portage, you need to make the following directories:

/usr/local/portage/games-roguelike/laby/
and 
/usr/local/portage/games-roguelike/laby/files


the ebuild file goes in the former, the file laby goes in the latter.

You will need to:

ebuild /usr/local/portage/games-roguelike/laby/laby-1.0.2.ebuild digest

and then add laby your list of unstable builds:

echo games-roguelike/laby  ~x86  /etc/portage/package.keywords

It _should_ then emerge fine.

As long as you are in the games group you should be able to just run 


laby



Nick,

I just followed your instructions and everything worked without errors. 
 So far so good.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /home becoming readonly every night

2005-08-25 Thread Alec Shaner

A. Khattri wrote:

I had a Maxtor drive die just after the one-year warranty expired. We had
one server with Maxtors that died twice in one year.

Because of this, we now have a Seagate-only policy for hard-drives -
they may cost a bit more but they're reliable and many come with a three
year warranty.



I also had a bad experience with Maxtor, though I admit I've only bought 
one in my life. But friends have also reported problems with Maxtore 
too. Ended up with the same read-only problem as the OP. It predictably 
occurred weekly after the emerge sync in cron.


I use Seagate for SCSI, and WD for IDE/SATA and have never had a problem 
with either.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild for Lost Labyrinth

2005-08-25 Thread Alec Shaner

Markus Döbele wrote:

Can't the rest be automated too?
I mean creating the directories
and to check first if portage is installed?
Would be easier for the users.

Then a link should be created in PATH thet you can type laby everywhere.



Once the ebuild is officially in the portage tree, it is all automated, 
i.e., to install and run your program would be as simple as this:


# emerge laby
# laby

All the steps that I followed from Nick Rout were part of using/testing 
an unofficial ebuild. Not having portage installed is akin to not having 
rpm installed on RedHat.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Bad performance with external USB disk

2005-06-10 Thread Alec Shaner
Richard Fish wrote:
 Alec Shaner wrote:
 
 
Once the buffer fills up would you expect it to work fine at 1.2MB/s? I
wish I had kept the logs, but it was extremely slow (much slower than
1.2). I was copying a series of ~70MB files over and it would work fine
on about the first 5 or so files before croaking. I eventually had to
kill the job.
 

 
 
 From this, I'm guessing your machine has about 512MB of memory.
 
 The precise behavior I would expect is:
 
 The first 350-450MB of files (5-6 at 70MB each) would read at the speed
 the filesystem/disk can provide them...in this case it seems about
 11MB/sec.  So reading the first few files will take 30-40 seconds.  At
 this point, the USB disk will only have written 30-40 MB to
 disk...leaving 300-400MB left to go.  The userspace program (rsync,cp?)
 at this point will basically stop writing for the next 5 to 7 _minutes_.
 
 In other words, you will not see nice smooth transition from 11MB/sec
 down to 1.2MB/s.  It will burst at high-speed for several seconds, then
 stop for an extended period of time, before resuming again.

Ah, that makes sense. The system has 2GB of memory, but what you
describe is very similar to what I observed.

 
 This of course assumes that there are no hardware problems involved. 
 You may want to check your /var/log/messages file or dmesg output for
 any timeout or other disk errors being reported during the copy
 operation.  The kernel's reaction to a communication error with a disk
 is to reset the controller and retry the command.  I'm not sure if there
 is an eventual timeout to this process or not...if there is, it is
 larger than my personal 'patience timeout'! ;-
 
 -Richard
 
 
 

I dug around the archived syslog files and found this snippet in there:

Jun  3 15:41:04 scream kernel: SCSI device sdb: 312581808 512-byte hdwr
sectors (160042 MB)
Jun  3 15:41:04 scream kernel: sdb: assuming drive cache: write through
Jun  3 15:41:04 scream kernel:  /dev/scsi/host2/bus0/target0/lun0: p1 p2
p3 p4
Jun  3 15:41:06 scream kernel: SCSI device sdb: 312581808 512-byte hdwr
sectors (160042 MB)
Jun  3 15:41:06 scream kernel: sdb: assuming drive cache: write through
Jun  3 15:41:06 scream kernel:  /dev/scsi/host2/bus0/target0/lun0: p1 p2
p3 p4
Jun  3 15:48:16 scream kernel: SCSI error : 2 0 0 0 return code = 0x7
Jun  3 15:48:16 scream kernel: end_request: I/O error, dev sdb, sector
47188047
Jun  3 15:48:16 scream kernel: Buffer I/O error on device sdb1, logical
block 47187984
Jun  3 15:48:16 scream kernel: lost page write due to I/O error on sdb1
Jun  3 15:48:16 scream kernel: SCSI error : 2 0 0 0 return code = 0x7
Jun  3 15:48:16 scream kernel: end_request: I/O error, dev sdb, sector
47188048

and so on
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Bad performance with external USB disk

2005-06-09 Thread Alec Shaner
Richard Fish wrote:
 Alec Shaner wrote:
 
 
I recently purchased a WD 160GB external USB drive and can't get it to
perform reliably on my server. It works fine when connected to my
workstation machine (a P4P800 ASUS MB with USB 2.0 support). The server
only has 1.1 USB support, but the problem is that it starts out copying
fine at about 11MB/sec and then after a bit slows to a crawl and stays
that way. I have formatted it with an ext3 filesystem. Here's all the
info if anyone has an idea.

 

 
 
 With USB 1.1 you are not going to get more than about 1.2MB/s
 throughput, because the top speed is 11 megabits/sec, not megabytes:
 
 11 mbit / 8 bits-per-pyte = 1.375.
 
 The initial burst you see at 11MB/sec is likely due to buffering.
 
 -Richard
 

Once the buffer fills up would you expect it to work fine at 1.2MB/s? I
wish I had kept the logs, but it was extremely slow (much slower than
1.2). I was copying a series of ~70MB files over and it would work fine
on about the first 5 or so files before croaking. I eventually had to
kill the job.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Bad performance with external USB disk

2005-06-08 Thread Alec Shaner
Mark Knecht wrote:
 The typical reason for low performance AND high CPU is that the
 controller (in this case probably the USB interface chip) isn't
 enabled for DMA. It looked like you have the right drivers loaded so
 possibly the USB chip is not a major brand name? Sorry I didn't read
 earlier parts of this thread. What chipset is this? lspci -v and
 supply back the data on the USB chips.
 
 The next idea is that you have both the ehci and uhci drivers loaded.
 If somehow you got the drive plugged into a USB 1.0/1.1 port then
 you'd only get about 1MB/S. Did you try all your ports? They are not
 all the same on my Compaq and I do get better performance from the USB
 2.0 ports.
 
 Good luck,
 Mark
 

I recently purchased a WD 160GB external USB drive and can't get it to
perform reliably on my server. It works fine when connected to my
workstation machine (a P4P800 ASUS MB with USB 2.0 support). The server
only has 1.1 USB support, but the problem is that it starts out copying
fine at about 11MB/sec and then after a bit slows to a crawl and stays
that way. I have formatted it with an ext3 filesystem. Here's all the
info if anyone has an idea.

lspci -v:

:00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1)
(rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc: Unknown device 3580
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 2000 [size=32]

:00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2)
(rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc: Unknown device 3580
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 2020 [size=32]

:00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3)
(rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc: Unknown device 3580
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 2040 [size=32]

KERNEL config (2.6.11-gentoo-r9 #1 SMP)

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
# CONFIG_BLK_DEV_UB is not set

I guess there's no reason to have ECHI/OHCI turned on, but does that
matter? For the time being I am using NFS to access the drive (currently
connected to my workstation) from the server. I don't care much about
the speed difference from 1.1 to 2.0, this is just used as extra storage
for some low priority batch jobs.

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