Re: [gentoo-user] New MySQL doc (update 3)

2005-07-12 Thread Kevin Hanson
Chris White wrote:

>Added a bazillion spell fixes, also a list of places to find GUI frontends for 
>MySQL:
>
>Thanks goes to my mom, my dad, my family for all their support
>I'd also like to thank the academy for their hard effort
>Philip Webb for tolerating my odd grammar/spelling/logic
>Bruce Wolk for the same
>And most importantly, I'd like to thank the fine folks at Speedy's dinner!
>
>http://dev.gentoo.org/~chriswhite/mysql.html
>
>Chris White
>  
>
I know you've seen this twice from other replies, but you still haven't
changed it.  It's not Standard Query Language, it's Structured Query
Language.

Cheers,
Kevin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Richard Fish
Jarry wrote:

> Richard Fish wrote:
>
> > Just an FYI, the md driver does not create sysfs entries and thus udev
> > does not create device nodes if autodetection is not performed by the
> > driver.  Autodetection is not performed if either:
> >
> > 1. The md driver is a module (not a problem according to your original
> > email)
> > 2. You are using an initramfs (vs an initrd) to bring up the system
> > 3. or if you do not have the right partition types defined.
>
> I think I can unselect options 1. and 3. (md-support is in kernel, and
> partitions are marked as type "fd - Linux raid autodetect").
>
> Concerning 2, I'm not sure if I understand correctly:
> Do you mean turning off initramfs support in kernel-configuration?
>
> Jarry


Actually, it is pretty much impossible to turn off initramfs support in
the kernel.  A couple of quick definitions:

1. initrd - an initial ramdisk of a fixed size loaded into memory by the
boot loader used to get the system ready to mount the root filesystem. 
The /linuxrc script in the ramdisk is responsible for this, and requires
"RAM disk support" and "Initial RAM disk (initrd) support" in the kernel
configuration.

2. initramfs - A compressed (optional) cpio archive linked directly into
the kernel, or possibly loaded into memory by the boot loader, used to
provide early-userspace services.  If the initramfs contains /init, it
will be executed and is expected to mount the root filesystem, move the
system root to it, and execute the real init on the root.  If the user
doesn't specify an initramfs, the kernel makes a very small one of its
own, without the /init.  This is the "rootfs" you see in /proc/mounts.

#1 you are probably already familiar with...it is the traditional way
for loading modules needed for the root filesystem to become available.

#2 is fairly recent...but growing in usage.  fbsplash uses
early-userspace to provide a splash image as soon as the graphics system
is initialized in the kernel, for example.  Unless you have specified
something for "Device Drivers->Block Devices->Initramfs source file" in
the kernel configuration, or your "initrd" option to grub/lilo specifies
an initramfs, this is not a problem for you.

In short, if you don't really know what initramfs is, you are probably
not using it!  So I am not sure why you are having this problem.  Could
you double check that /etc/udev/rules.d/50-udev.rules contains:

# md block devices
KERNEL=="md[0-9]*", NAME="md/%n", SYMLINK+="%k", GROUP="disk"

Also, do you have any custom rules files in /etc/udev/rules.d?

In the maintenance mode, does /sys/block/md0/* exist?  What does "cat
/proc/mdstat" report?

-Richard


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Patrick Audley
On Tuesday 12 July 2005 02:12, Ow Mun Heng wrote:
> Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> down win32codec as a dependency and having that USE flag in the CLI as
> well as on make.conf doesn't make a difference.
>
> I still can't get "-win32codecs" to "+win32codecs"

amd64?  If so then you can get a 32-bit mplayer with the win32 codecs from the 
site listed at:

 http://gentoo-wiki.com/HOWTO_AMD_64#Mplayer_and_32bit_codecs

  

-- 
"How human beings change themselves through technology, ideology,
identity, sex, drugs, media and - of course - genital piercing. From
cyborgization to memetics - from the spread of diseases to medical
technology - from  artificial life to extropian concerns like
Nanotechnology, biotechnology, longevity, intelligence drugs, and space
exploration - from transgenderism to neo-dadaism, MUTATE!" -- R.U.Sirius 
...
Patrick Audley  [EMAIL PROTECTED]
Blackcat Systemshttp://blackcat.ca
 Bringing Elegance to Complexity
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Jarry

A. Khattri wrote:


Some motherboards claim to have RAID built-in but really it is software
RAID in the BIOS.


OK, now I understand. I call it "pseudo-hw-raid". It still depends on
software driver and cpu.


Linux's software RAID is usually better though.


I agree. And that is what I'm trying to use, linux software-raid built
in kernel...


Firstly, is RAID support built-in to your kernel? Also did you set the
partition types to "Linux raid autodetect" when running fdisk?


Yes, of course. All partitions are marked as "auto-detect" (fd), and
raid support is in my kernel (not as module). As I wrote previously,
all md's are autodetected without any problem:


md: Autodetecting RAID arrays.
md: autorun...
...
md:  adding hdg1
md:  adding hde1
md: created md0
md: bind
md: bind
md: running:  
raid1: raid set md0 active running 2 out of 2 mirrors
md: ... autorun DONE

-


Richard Fish wrote:

> Just an FYI, the md driver does not create sysfs entries and thus udev
> does not create device nodes if autodetection is not performed by the
> driver.  Autodetection is not performed if either:
>
> 1. The md driver is a module (not a problem according to your original
> email)
> 2. You are using an initramfs (vs an initrd) to bring up the system
> 3. or if you do not have the right partition types defined.

I think I can unselect options 1. and 3. (md-support is in kernel, and
partitions are marked as type "fd - Linux raid autodetect").

Concerning 2, I'm not sure if I understand correctly:
Do you mean turning off initramfs support in kernel-configuration?

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



[gentoo-user] Can Apache Proxy for a NAT'ed web-server

2005-07-12 Thread Ow Mun Heng
I'm sure this can be done. 

I know about mod_proxy and mod_proxy_html and it's functions as a
reverse proxy. But the thing is my current understanding of these
mod_proxy is it's suitable only for servers which are in the internal
network and has names such as

www.example.com -> external IP
internalserver.example.com -> NAT IP

external -> internalserver
www.example.com/internalserver (using mod_proxy and mod_proxy_html)

what if the NAT IP'ed server has it's own DNS? say www.example2.com.
Can apache still be used to get to it? using Mod_proxy?

I'm just trying to figure out if this is a valid scenerio.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:30:41 up 5 days, 19:27, 7 users, load average: 2.28,
1.63, 1.32 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ogle and mplayer

2005-07-12 Thread Canek Peláez
Isn't ogle unsupported? I suppose it has to do with Xv, but I don't know really.

Anyway, I'm pretty sure ogle is unsupported.

Canek

On 6/26/05, luis jure <[EMAIL PROTECTED]> wrote:
> something funny is happening here with ogle and mplayer:
> 
> i start X, run ogle, open a dvd, and it plays ok.
> 
> but if i first run mplayer, after that ogle gives a blank screen (sound is
> still ok). if i exit X and restart it, ogle works ok again.
> 
> this happens on two very different computers (athlon xp and amd64 laptop),
> both with ogle 0.9.2 and mplayer 1.0_pre7.
> 
> has anyone experienced something similar?
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Ow Mun Heng
On Tue, 2005-07-12 at 22:48 -0400, daniel wrote:
> On July 12, 2005 05:12 am, Ow Mun Heng wrote:
> > Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> > down win32codec as a dependency and having that USE flag in the CLI as
> > well as on make.conf doesn't make a difference.
> >
> > I still can't get "-win32codecs" to "+win32codecs"
> >
> > Comment?
> 
> lemme guess.  you're suing an amd64 profile?  if you use a pure-64bit system, 
> you can't use 32bit binary windows codecs, so it's masked for your profile.  
> i'm in the same boat as you.  as far as i know, the only options we have are 
> (a) re-installing at 32bit, (b) waiting 'till the windows world catches up 
> and starts releasing 64bit binary codecs or (c) writing our own decoders :-(


Nope. It's a simple x86 profile but it's uclibc based. I want to try to
build a minimal Gentoo with Mplayer.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:53:21 up 5 days, 18:49, 8 users, load average: 1.35,
0.94, 0.71 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Ow Mun Heng
On Tue, 2005-07-12 at 11:47 +0100, David Morgan wrote:
> On 18:12 Tue 12 Jul , Ow Mun Heng wrote:
> > [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
> > [SNIP]
> >  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 k
> > 
> > grep win32 /etc/make.conf
> > USE="acl acpi dvd minimal aac apache2 win32codecs ssl mmx xine \
> > 
> > 
> > USE="win32codecs" emerge -av mplayer
> > 
> > [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
> > [SNIP]
> >  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 kB 
> > 
> > x86 keyword
> > 
> 
> iirc the (..) mean that the use flag is unavailable on your profile
> (thought maybe it could also mean that it's unavailable for some other
>  reason).
> 
> what profile are you using?

uclibc profile
/usr/portage/profiles/uclibc/x86/

How can I check?
> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:50:28 up 5 days, 18:47, 8 users, load average: 0.89,
0.65, 0.59 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread daniel
On July 12, 2005 05:12 am, Ow Mun Heng wrote:
> Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> down win32codec as a dependency and having that USE flag in the CLI as
> well as on make.conf doesn't make a difference.
>
> I still can't get "-win32codecs" to "+win32codecs"
>
> Comment?

lemme guess.  you're suing an amd64 profile?  if you use a pure-64bit system, 
you can't use 32bit binary windows codecs, so it's masked for your profile.  
i'm in the same boat as you.  as far as i know, the only options we have are 
(a) re-installing at 32bit, (b) waiting 'till the windows world catches up 
and starts releasing 64bit binary codecs or (c) writing our own decoders :-(

-- 
life sucks, but death doesn't put out at all.
 - thomas j. kopp
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] GPRS - Anyone aware of any packages which do this?

2005-07-12 Thread Michael Haan
I guess what I'm trying to figure out is what exists either in
gentoo-space specifically, or linux-space generally (in that order)
for working with GPRS.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound

2005-07-12 Thread Richard Watson
> At this stage I'm doing 
> # emerge --update --ask --deep --verbose --newuse --tree world 
> as setting alsa on is asking quite few items to want to recompile.

>>OK, stop where you are. Hands off the 'Enter' key ;-)

Hi Holly - To late ... I'd already hit enter ... When I looked at my system
afterwards I had sound ..!! Everything seems to work OK at the moment.
Obviously recompiling with USE=alsa worked. 

I am however going to work through your very informative post. I'm a
genkernel user for no other reason than I just have not made the time to
build a kernel manually (Young children play havoc with time management).

Regards and thanks, Richard


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.13/47 - Release Date: 12/07/2005
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] New MySQL doc (update 3)

2005-07-12 Thread Chris White
Added a bazillion spell fixes, also a list of places to find GUI frontends for 
MySQL:

Thanks goes to my mom, my dad, my family for all their support
I'd also like to thank the academy for their hard effort
Philip Webb for tolerating my odd grammar/spelling/logic
Bruce Wolk for the same
And most importantly, I'd like to thank the fine folks at Speedy's dinner!

http://dev.gentoo.org/~chriswhite/mysql.html

Chris White


pgpwz2Dz4NjgQ.pgp
Description: PGP signature


Re: [gentoo-user] Mounting USB Storage Devices

2005-07-12 Thread Zac Medico
Matthias Schweinoch wrote:
> Hi all,
> 
> I'm running Gentoo 2005.0 with an up-to-date portage tree, and I'm
> having some trouble getting an external USB harddisk running. My kernel
> is a 2.6.11-gentoo-r9. I have compiled USB support and SCSI
> support into the kernel.
> 
> When I attach the harddisk via USB, the following output is produced in
> /var/log/messages:
> 
> Jul 12 23:47:25 genbox usb 1-1.1: new full speed USB device using
> ohci_hcd and address 6  
> Jul 12 23:47:25 genbox scsi2 : SCSI emulation for USB Mass Storage
> devices  
> Jul 12 23:47:25 genbox usb-storage: device found at 6 
> Jul 12 23:47:25 genbox usb-storage: waiting for device to settle before
> scanning  
> Jul 12 23:47:30 genbox Vendor: TOSHIBA   Model: MK4004GAHRev: 0811 
> Jul 12 23:47:30 genbox Type:   Direct-Access  ANSI SCSI revision: 00 
> 
> Jul 12 23:47:30 genbox Attached scsi generic sg0
> at scsi2, channel 0, id 0, lun 0,  type 0  
> Jul 12 23:47:30 genbox usb-storage: device scan complete 
> Jul 12 23:47:30 genbox scsi.agent[8603]: disk at
> /devices/pci:00/:00:03.0/usb1/1-1/1-1.1/1-1.1:1.0/host2/target2
> :0:0/2:0:0:0 
> 
> Running 'lsusb' gives me the following for device 6:
> 
> Bus 001 Device 006: ID 2735:1005
> 
> 'sg_scan' produces the following ouput:
> 
> /dev/sg0: scsi2 channel=0 id=0 lun=0 [em]
> 
> I would think this all looks pretty good, i.e. I would expect to be able
> to mount the drive by doing something like:
> 
> mount /dev/sg0 /mnt/usbstorage
> 
> However, if I try this, mount produces an output saying that the device
> is not a block device. 
> 
> I'm pretty much out out ideas, and I'd welcome any suggestions.
> 
> Sincerely,
> 
>   Matthias

Normally the kernel will assign a device such as sda (in addition to sg0).  The 
kernel documentation for USB_STORAGE says that you need BLK_DEV_SD enabled.  Is 
it?  If it's modular then the hotplug scsi.agent script is supposed to load it 
(sd_mod).

$ gzcat /proc/config.gz | grep -i BLK_DEV_SD
CONFIG_BLK_DEV_SD=y

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



Re: [gentoo-user] Re: My laptop is freaking me out.

2005-07-12 Thread Ian K
Richard Fish wrote:

>Ian K wrote:
>
>  
>
>>>Probably not KDE, but possibly X itself.  Maybe it isn't the CPU, but
>>>the GPU that is overheating.
>>>
>>>The radeon driver has a "DynamicClocks" setting (man radeon).  Do you
>>>have this option in your xorg.conf file? 
>>>
>>>
>>>   
>>>
>>>  
>>>
>>Nope, but after setting it to 'true' (and restarting my computer)
>>I notice that my laptop cooling fans are on (probably about mid-speed)
>>*constantly*. I'm looking over, and seeing my computer idling at
>>0% CPU usage. Its fans are blasting cool air through it, and its running
>>a lot less hot. Looks like you solved the problem. Heck, it doesn't matter
>>if its the CPU or GPU warming up too much, the whole system is on
>>at full blast after KDE is started. Its AWESOME! :)
>>
>>I will let you know if I have further problems.
>>
>> 
>>
>>
>>
>
>I seem to recall some kind of kernel problem with ACPI and fans not
>turning onI can't remember the details though, and I didn't have
>this problem myself.
>
>Now, why setting DynamicClocks in the xorg.conf file would turn your
>fans on, I cannot possibly comprehend!!!
>  
>
Heres the bad news.. I turned my laptop on today, and the fans didn't
come on like
they did before, and within five minutes and 1 compile, the laptop was off.

>But, I'm glad it's working.
>
>  
>
>>I do, but the directory "structure(?)" ends at thermal_zone. There
>>is nothing in it.
>>
>> 
>>
>>
>>
>Interesting...maybe we should double check your ACPI configuration
>options.  I have:
>
>carcharias linux # grep ^CONFIG.*ACPI /usr/src/linux/.config
>CONFIG_ACPI=y
>CONFIG_ACPI_BOOT=y
>CONFIG_ACPI_INTERPRETER=y
>CONFIG_ACPI_SLEEP=y
>CONFIG_ACPI_SLEEP_PROC_FS=y
>CONFIG_ACPI_AC=y
>CONFIG_ACPI_BATTERY=y
>CONFIG_ACPI_BUTTON=y
>CONFIG_ACPI_VIDEO=y
>CONFIG_ACPI_FAN=y
>CONFIG_ACPI_PROCESSOR=y
>CONFIG_ACPI_THERMAL=y
>CONFIG_ACPI_BLACKLIST_YEAR=0
>CONFIG_ACPI_BUS=y
>CONFIG_ACPI_EC=y
>CONFIG_ACPI_POWER=y
>CONFIG_ACPI_PCI=y
>CONFIG_ACPI_SYSTEM=y
>  
>
I get:

CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_HOTKEY=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_PNPACPI=y

>And during bootup, I get the following in /var/log/messages:
>
>Jul 11 07:20:11 carcharias ACPI: AC Adapter [ADP0] (on-line)
>Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT0] (battery present)
>Jul 11 07:20:11 carcharias ACPI: Battery Slot [BAT1] (battery absent)
>Jul 11 07:20:11 carcharias ACPI: Lid Switch [LID]
>Jul 11 07:20:11 carcharias ACPI: Sleep Button (CM) [SLPB]
>Jul 11 07:20:11 carcharias ACPI: Power Button (CM) [PWRB]
>Jul 11 07:20:11 carcharias ACPI: Processor [CPU0] (supports 8 throttling
>states)
>Jul 11 07:20:11 carcharias ACPI: Processor [CPU1] (supports 8 throttling
>states)
>Jul 11 07:20:11 carcharias ACPI: Thermal Zone [THM0] (52 C)
>
>
>Do you get anything similar?
>
>  
>
Here is my boot log, Im sorry its so long, I dont know what we are
looking for.
[OT] No, I didn't name my computer after an aspect of Longhorn. I like
King Arthur. Plus, its a cool name. ;) [/OT]

Jul 12 16:45:03 Avalon ACPI: RSDP (v000
PTLTD ) @ 0x000f6b40
Jul 12 16:45:03 Avalon ACPI: RSDT (v001 PTLTDRSDT   0x0604  LTP
0x) @ 0x1bf75dd2
Jul 12 16:45:03 Avalon ACPI: FADT (v001 TOSCPL Chinook  0x0604 ATI 
0x0003) @ 0x1bf7af24
Jul 12 16:45:03 Avalon ACPI: MADT (v001 PTLTDAPIC   0x0604  LTP
0x) @ 0x1bf7af98
Jul 12 16:45:03 Avalon ACPI: SSDT (v001  PmRefCpuPm 0x3000 INTL
0x20030224) @ 0x1bf75e02
Jul 12 16:45:03 Avalon ACPI: DSDT (v001 TOSCPLSB200 0x0604 MSFT
0x010e) @ 0x
Jul 12 16:45:03 Avalon ACPI: PM-Timer IO Port: 0x8008
Jul 12 16:45:03 Avalon ACPI: Local APIC address 0xfee0
Jul 12 16:45:03 Avalon ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Jul 12 16:45:03 Avalon ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Jul 12 16:45:03 Avalon ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
Jul 12 16:45:03 Avalon ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Jul 12 16:45:03 Avalon ACPI: IOAPIC (id[0x02] address[0xfec0]
gsi_base[0])
Jul 12 16:45:03 Avalon ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2
high edge)
Jul 12 16:45:03 Avalon ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21
low level)
Jul 12 16:45:03 Avalon ACPI: IRQ0 used by override.
Jul 12 16:45:03 Avalon ACPI: IRQ2 used by override.
Jul 12 16:45:03 Avalon Using ACPI (MADT) for SMP configuration information
Jul 12 16:45:03 Avalon ACPI: bus type pci registered
Jul 12 16:45:03 Avalon ACPI: Subsystem revision 20050408
Jul 12 16:45:03 Avalon ACPI: Interpreter enabled
Jul 12 16:45:03 Avalon ACPI: Using IOAPIC for interrupt routing
Jul 12 16:45:03 Avalon ACPI: PCI Root Bridge [PCI0] (:00)
Jul 12 16:45:03 Avalon ACPI: 

Re: [gentoo-user] OpenOfficeWriter: wee small fonts

2005-07-12 Thread Ian K
Christoph Eckert wrote:

>Hi,
>
>
>  
>
>>Today, I started OpenOfficeWriter, and I only got wee small
>>fonts. When setting the font size to 96 and zomming the
>>document to 200% the text still appears in a size like 9px
>>on the screen.
>>
>>
>
>sorry for the traffic, but I just noticed that it mainly 
>happened for some fonts (including times) which have a 
>printer symbol in front of it (Postscript fonts?) in the 
>fonts popup menu.
>
>The others (TrueType?) behave OK. Weird. Any hints?
>
>
>Thanks & best regards
>
>
>ce
>  
>
Maybe the update changed some things in X.org's configuration file?
Thats my best guess.
Ian
begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: "PentaQuad"=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [gentoo-user] nptl

2005-07-12 Thread A. Khattri
On Sat, 9 Jul 2005, LostSon wrote:

> Hey
>  I would like to use nptl and did not use it as a use flag when
> installing my gentoo system. When adding this to my use flags what other
> packages would i have to compile to get use of nptl ?? Thanks

I thought there were two nptl-related USE flags - the regular "nptl" flag
enables it but build glibc to have both pthreads and nptl; there is also
an "nptlonly" flag which will drop the pthreads and build a pure nptl
glibc.


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



Re: [gentoo-user] Re: PHP and PEAR

2005-07-12 Thread A. Khattri
On Sun, 10 Jul 2005, Catalin Trifu wrote:

>$ emerge PEAR-PEAR
>
> >>> Install PEAR-PEAR-1.3.5 into /var/tmp/portage/PEAR-PEAR-1.3.5/image/ 
> >>> category dev-php
> /usr/portage/eclass/php-pear.eclass: line 47: pear: command not found
>
> !!! ERROR: dev-php/PEAR-PEAR-1.3.5 failed.
> !!! Function php-pear_src_install, Line 47, Exitcode 127
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status 
> message.
>
>As you can see the error /usr/bin/pear is not found, exactly because the 
> .eclass which
> installs PHP in the first place is not installed.

I have php installed on many servers and it installs the pear binary for
me. Is PHP installed?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound

2005-07-12 Thread Allan Gottlieb
At Tue, 12 Jul 2005 16:48:01 +1000 Richard Watson <[EMAIL PROTECTED]> wrote:

>>> Have you loaded the newly-compiled alsa driver modules for your sound
>>> card, run alsaconf and unmuted the mixer via alsamixer?
>>> Holly
>
> Hi again - I tried
> # emerge -s alsa 
> and got loads of output. Would you know what the correct emerge command is
> for the alsa driver modules? Does alsaconf come as part of the driver
> install? 
>
> I had installed alsamixer (with -alsa ...) earlier and it loads a blank
> interface with no controls at all.
>
> At this stage I'm doing 
> # emerge --update --ask --deep --verbose --newuse --tree world 

One of my favorite commands.

> as setting alsa on is asking quite few items to want to recompile.

For me, the key to sound was adding "gstreamer" to USE (and then
running one of my favorite commands).  I use gnome.

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



Re: [gentoo-user] Mounting USB Storage Devices

2005-07-12 Thread busby
> Hi all,
>
> I'm pretty much out out ideas, and I'd welcome any suggestions.
>
> Sincerely,
>
>   Matthias
> --
> gentoo-user@gentoo.org mailing list


Mine always show up as /dev/sda etc so I load mine as
mount /dev/sda1 /mnt/usb_disk

/djb
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Mounting USB Storage Devices

2005-07-12 Thread Matthias Schweinoch
Hi all,

I'm running Gentoo 2005.0 with an up-to-date portage tree, and I'm
having some trouble getting an external USB harddisk running. My kernel
is a 2.6.11-gentoo-r9. I have compiled USB support and SCSI
support into the kernel.

When I attach the harddisk via USB, the following output is produced in
/var/log/messages:

Jul 12 23:47:25 genbox usb 1-1.1: new full speed USB device using
ohci_hcd and address 6  
Jul 12 23:47:25 genbox scsi2 : SCSI emulation for USB Mass Storage
devices  
Jul 12 23:47:25 genbox usb-storage: device found at 6 
Jul 12 23:47:25 genbox usb-storage: waiting for device to settle before
scanning  
Jul 12 23:47:30 genbox Vendor: TOSHIBA   Model: MK4004GAHRev: 0811 
Jul 12 23:47:30 genbox Type:   Direct-Access  ANSI SCSI revision: 00 

Jul 12 23:47:30 genbox Attached scsi generic sg0
at scsi2, channel 0, id 0, lun 0,  type 0  
Jul 12 23:47:30 genbox usb-storage: device scan complete 
Jul 12 23:47:30 genbox scsi.agent[8603]: disk at
/devices/pci:00/:00:03.0/usb1/1-1/1-1.1/1-1.1:1.0/host2/target2
:0:0/2:0:0:0 

Running 'lsusb' gives me the following for device 6:

Bus 001 Device 006: ID 2735:1005

'sg_scan' produces the following ouput:

/dev/sg0: scsi2 channel=0 id=0 lun=0 [em]

I would think this all looks pretty good, i.e. I would expect to be able
to mount the drive by doing something like:

mount /dev/sg0 /mnt/usbstorage

However, if I try this, mount produces an output saying that the device
is not a block device. 

I'm pretty much out out ideas, and I'd welcome any suggestions.

Sincerely,

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



Re: [gentoo-user] Can't login using KDM

2005-07-12 Thread Gregorcy

Check etc-update to see if there any config files that need to be updated.


Simon Windsor wrote:

Hi

Check the permissions on

/dev/null

If these are not

crw-rw-rw-  1 root root 1, 3 Jul 11 19:32 /dev/null

then please run 


env-update && source /etc/profile && etc-update

All the best

Simon

On Tuesday 12 July 2005 16:23, Zac Medico wrote:


Yuval Scharf wrote:


Hi,

I'm using KDE 3.4.
Since few days ago I can't login using KDM.
The login process can't pass the "initializing peripherals" stage.
I can see that there are two processes running kded (one of the is the
father of the other) which I can't kill.
After rebooting the machine I can login once and then the probelm
returns.

Any ideas?

Thanks,
Yuval Scharf


This kind of problem is usually some type of permissions issue.  Maybe it's
related to the hidden .ICE-unix, .X0-lock, or .X11-unix in /tmp.  Try
logging in as root and/or bypass kdm with startx.  Did you get anything in
/var/log/kdm.log?

Zac


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOfficeWriter: wee small fonts

2005-07-12 Thread Christoph Eckert
Hi,


> Today, I started OpenOfficeWriter, and I only got wee small
> fonts. When setting the font size to 96 and zomming the
> document to 200% the text still appears in a size like 9px
> on the screen.

sorry for the traffic, but I just noticed that it mainly 
happened for some fonts (including times) which have a 
printer symbol in front of it (Postscript fonts?) in the 
fonts popup menu.

The others (TrueType?) behave OK. Weird. Any hints?


Thanks & best regards


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



[gentoo-user] OpenOfficeWriter: wee small fonts

2005-07-12 Thread Christoph Eckert

Hi all,


recently I did some changes like updating x.org to and 
building some custom kernels to get low latencies for audio 
work.

Today, I started OpenOfficeWriter, and I only got wee small 
fonts. When setting the font size to 96 and zomming the 
document to 200% the text still appears in a size like 9px on 
the screen.

Can anyone provide a link to some documentation or did anyone 
make similar experiences? If so, I'd be glad you let me know.

Thanks a lot,


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



[gentoo-user] Packet loss unknown issue

2005-07-12 Thread José Pedro Saraiva
Hello,
I'm quite desperate and have tried just about anything to understand my issue.
I'll try to explain it...

I connect to the net through eth0 and have a masquerading through eth1
to my other computers, using shorewall.
My server never had any problems of this kind and all was fine until a
couple of days ago. I'm experiencing some heavy packet loss when
pinging different hosts.
I have isolated the problem (at least I think I did) and got to the
conclusion that issuing a simple 'ifconfig eth1 down' and leaving eth0
up, the packet loss vanishes.
Tests were made with all services down (shorewall, sshd, apache2,
mysqld, proftpd, sendmail, ...)
Here are the statistics:


- eth1 up -
# ping -c 200 google.com

--- google.com ping statistics ---
200 packets transmitted, 104 received, 48% packet loss, time 208227ms
rtt min/avg/max/mdev = 152.388/229.520/2016.847/279.805 ms, pipe 3

- eth1 down -
ping -c 200 google.com

--- google.com ping statistics ---
200 packets transmitted, 200 received, 0% packet loss, time 199175ms
rtt min/avg/max/mdev = 147.197/169.978/193.949/8.384 ms



Both network cards are using the same chipset (RLT8139) loaded as a
module in the kernel (2.6.11-hardened-r13).
I have tried to replace the network card (with one also using RLT8139)
and changing it from IRQ but with no effect.
Please help me, I've runned out of ideas...

Thanks in advance!
José Pedro

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emacs Problem

2005-07-12 Thread Sebastien Morand
What I did to get it working is really bad ...

I compile it by my self (without any patch)

and juste replace the binary ... in the system

no comment :)

but it works ...

> On Mon, 11 Jul 2005, Sebastien Morand wrote:
> 
> > BHi everybody,
> >
> > I got the following error with emacs:
> > pyrenees:~ $ emacs
> > Fatal error (6).Aborted
> >
> > I tried to compile by mself with the same flag emacs and didn'get any
> > problem and it works fine, so why do I get a problem when using Gentoo
> > compilation process?
> >
> > I got to a problem with linux kernel configuration:
> > pyrenees:/usr/src/linux # make gconfig
> > scripts/kconfig/gconf arch/i386/Kconfig
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> > `GTK_IS_LABEL (label)' failed
> >
> > (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> > is invalid for instance `0x80bd9c0'
> >
> > (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> > is invalid for instance `0x80bfd30'
> >
> > (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> > is invalid for instance `0x80c0200'
> >
> > (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> > is invalid for instance `0x80bde38'
> >
> > (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> > is invalid for instance `0x80b36d0'
> > make[1]: *** [gconfig] Segmentation fault
> > make: *** [gconfig] Error 2
> 
> 
> Did you try rebuilding glib and/or gtk?
> 
> 
> -- 
> Aj.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Richard Fish
A. Khattri wrote:

>On Tue, 12 Jul 2005, Jarry wrote:
>
>  
>
>>Pardon for my ignorance, but what do you mean with "Linux raid-1 rather
>>than the software raid"??? Is it not the same? Or do you mean some
>>hw-raid?
>>
>>
>
>Some motherboards claim to have RAID built-in but really it is software
>RAID in the BIOS. Linux's software RAID is usually better though. I think
>this is what was implied.
>
>  
>
>>BTW, I'm already on the track of my problem:
>>After booting (actually not booting) I entered into that "maintenance
>>mode" and found out, that there are no /dev/md? files (although I
>>created them during installation)! Why??? Should not udev create them
>>automatically? Or did I misconfigured something concerning udev/devfs
>>in kernel?
>>
>>
>
>Firstly, is RAID support built-in to your kernel? Also did you set the
>partition types to "Linux raid autodetect" when running fdisk?
>
>
>  
>

Just an FYI, the md driver does not create sysfs entries and thus udev
does not create device nodes if autodetection is not performed by the
driver.  Autodetection is not performed if either:

1. The md driver is a module (not a problem according to your original
email)
2. You are using an initramfs (vs an initrd) to bring up the system
3. or if you do not have the right partition types defined.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread A. Khattri
On Tue, 12 Jul 2005, Jarry wrote:

> Pardon for my ignorance, but what do you mean with "Linux raid-1 rather
> than the software raid"??? Is it not the same? Or do you mean some
> hw-raid?

Some motherboards claim to have RAID built-in but really it is software
RAID in the BIOS. Linux's software RAID is usually better though. I think
this is what was implied.

> BTW, I'm already on the track of my problem:
> After booting (actually not booting) I entered into that "maintenance
> mode" and found out, that there are no /dev/md? files (although I
> created them during installation)! Why??? Should not udev create them
> automatically? Or did I misconfigured something concerning udev/devfs
> in kernel?

Firstly, is RAID support built-in to your kernel? Also did you set the
partition types to "Linux raid autodetect" when running fdisk?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't login using KDM

2005-07-12 Thread Simon Windsor
Hi

Check the permissions on

/dev/null

If these are not

crw-rw-rw-  1 root root 1, 3 Jul 11 19:32 /dev/null

then please run 

env-update && source /etc/profile && etc-update

All the best

Simon

On Tuesday 12 July 2005 16:23, Zac Medico wrote:
> Yuval Scharf wrote:
> > Hi,
> >
> > I'm using KDE 3.4.
> > Since few days ago I can't login using KDM.
> > The login process can't pass the "initializing peripherals" stage.
> > I can see that there are two processes running kded (one of the is the
> > father of the other) which I can't kill.
> > After rebooting the machine I can login once and then the probelm
> > returns.
> >
> > Any ideas?
> >
> > Thanks,
> > Yuval Scharf
>
> This kind of problem is usually some type of permissions issue.  Maybe it's
> related to the hidden .ICE-unix, .X0-lock, or .X11-unix in /tmp.  Try
> logging in as root and/or bypass kdm with startx.  Did you get anything in
> /var/log/kdm.log?
>
> Zac
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger
> Thanks for the scripts and help!

That's what we're here for ;-)

> When I roll out a new TCP/IP based data-logger
> (hopefully this fall) it'll take sensor inputs and control a few outputs.
> No humans will use the devices for anything other than interfacing
> sensors and collecting data.

As with most other embedded devices, wouldn't these remain fairly static at
the OS level?  I mean, would you really want to try to debug why (all of a
sudden) the remote devices stopped functioning because of an errant package
emerge?

As for learning gentoo at a deeper level, we encourage that.  I would
suggest, only because it really made things clear for me, that you look at
Linux from Scratch http://www.linuxfromscratch.org.  It will make the entire
process for how to custom build a linux box a lot clearer.

> The experience I gain form helping kids/adults use Gentoo, will help me
> manage thousands of dataloggers across public and private networks.
> Besides if I screw it up, no big deal. They can always use a winblows
> box until I get it fixed. Strict user control semantics will be
> used to limit what they can screw up.

>From an administrative point of view, however, I think you'd be better
served by having one system working, freeze it and then clone it to the
other systems.  Skip updates as much as possible.

Basically you'd be taking the same route as other embedded linux products.
My linksys routers, all linux based, have the ability to handle new firmware
(linux distribution) but they do not auto-update themselves.

> I'm also using jffnms to update and manage all sorts of routers and
> industrial contols embedded devices. After some
> time, I'm sure I'll roll my own solution, but for now, managing Gentoo
> user systems and customizing JFFNMS for router and other snmp devices
> is enough of to keep me busy.

Exactly my point - why introduce even more administrative headaches to have
thousands of gentoo systems automatically emerging packages on their own?



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread James
Dave Nebinger  joat.com> writes:


Thanks for the scripts and help!

> > I'll take this under consideration. My purpose in extending automated
> > updates, is to be able to manage a large number of embedded gentoo
> > devices in the future.  Roll-back and Recovery mechanism will be
> > added later. Besides Gentoo needs to leave the laboratory
> > (purvey of experts) and enter the world of normal humanoids. That will
> > force the Gentoo community to make Gentoo a commodity technology for
> > the world's normal folks.gentoo's destiny in my opinion.

> Oh, I'd tend to disagree.  Source-based distributions IMHO would be a huge
> pain in the neck for those responsible for a large number of systems.  Twer
> it up to me I'd be using a binary-based distro such as suse or redhat; let
> them work out the kinks so I wouldn't have to.

> I prefer running gentoo because I have total control over the box.  Downtime
> at home simply means I can't surf or receive email; it also means that I
> have some good old down and dirty work ahead to get the box back up, which I
> enjoy.  It's also a hassle that only I have to deal with, not a whole floor
> of workers sitting idle waiting for the problem to be resolved.

> But to be an admin over an office full of gentoo systems?  Not sure I'd like
> that or that they would pay me what it would take to keep it functional.
> Unless, of course, all systems were exactly the same (hardware and software
> installations) and the users had minimal permissions to the systems (i.e.
> they could only write files to their home directories and nowhere else on
> the system, including /tmp & /var/tmp).

Well, I do not think we disagree at all. I'm ramping up to support 5-15
gentoo user systems, to get some experience. My real goal is to learn
gentoo at a deeper level. When I roll out a new TCP/IP based data-logger
(hopefully this fall) it'll take sensor inputs and control a few outputs. 
No humans will use the devices for anything other than interfacing 
sensors and collecting data. 

The experience I gain form helping kids/adults use Gentoo, will help me
manage thousands of dataloggers across public and private networks. 
Besides if I screw it up, no big deal. They can always use a winblows
box until I get it fixed. Strict user control semantics will be
used to limit what they can screw up.

I'm also using jffnms to update and manage all sorts of routers and 
industrial contols embedded devices. After some
time, I'm sure I'll roll my own solution, but for now, managing Gentoo
user systems and customizing JFFNMS for router and other snmp devices
is enough of to keep me busy.

Thanks again for all of your help!

sincerely,
James Horton




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: where is the functionality of etcat

2005-07-12 Thread Holly Bostick
James schreef:
> Holly Bostick  planet.nl> writes:
> 
> 
> 
>>>Holly: eix is probably not it, since it looks like it does not show the 
>>>availability of the package (masked+keyword), but thanks for the suggestion!
> 
> 
>>Actually, it most certainly does; keyworded packages are shown in brown
>>with a ~ in front, masked packages are listed in red with a [M] in front.
> 
> 
>>Of course you can use what suits you best; just wanted to clear up the
>>misconception.
> 
> 
> 
> Well 'eix zoneminder' shows '~0.9.12  ~1.21.2'
> both in brown.
> 
> emerge -s zoneminders shows
> that it is masked in red and only 1.21.2. is available.
> 
> Maybe my color scheme is messed up?
> 
> James
> 
> 
> 
> 

According to packages.gentoo.org, both zoneminder 0.9.12 and 1.21.2 are
keyword masked, so the output is correct (for x86).

Esearch shows only the last version, and doesn't distinguish between
hard and keyword masking; perhaps emerge -s is the same.

Also, it helps to remember to do an update-eix after an esync, so that
new or updated packages are added to the eix database.

Other than that, I don't see a problem.

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



RE: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Dave Nebinger
> What's the dhcp server? A router or a computer? I had the same
> problem, my router refused to give me the dhcp response upon reboot,
> rebooting the router itself solved the problem, its like the router
> refuses to give dhcp right after the lease of the client.
> 
> Maybe check the configuration of the dhcp server...

It's a gentoo box using iptables to act as a router.  It talks to an adsl
modem connected to ISP which, for the last year now, has not offered similar
problems.

The configuration would appear to be correct in that manually starting dhcp
client results in the network card coming up.

The issue, from my perspective, is that some failure is occurring during
net.eth0 startup that, because of the various script files involved, hides
the component that is actually failing.  There's no messages in the syslog
nor does dmesg show anything of value.

So the recently redone base layout update, where net.eth0 was supposed to
become a symlink (etc) somewhere introduced a point of failure.  And for all
of the pieces involved one of them is crapping out but the failure reason is
not getting rolled up to a point where it is made obvious.

I'm afraid I'm going to have to dig into /etc/init.d/net.eth0 and try to
find how it's actually trying to bring the card up.  Gotta love bash
debugging!



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: where is the functionality of etcat

2005-07-12 Thread James
Holly Bostick  planet.nl> writes:


> > Holly: eix is probably not it, since it looks like it does not show the 
> > availability of the package (masked+keyword), but thanks for the suggestion!

> Actually, it most certainly does; keyworded packages are shown in brown
> with a ~ in front, masked packages are listed in red with a [M] in front.

> Of course you can use what suits you best; just wanted to clear up the
> misconception.


Well 'eix zoneminder' shows '~0.9.12  ~1.21.2'
both in brown.

emerge -s zoneminders shows
that it is masked in red and only 1.21.2. is available.

Maybe my color scheme is messed up?

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Daniel da Veiga
What's the dhcp server? A router or a computer? I had the same
problem, my router refused to give me the dhcp response upon reboot,
rebooting the router itself solved the problem, its like the router
refuses to give dhcp right after the lease of the client.

Maybe check the configuration of the dhcp server...

On 7/12/05, Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > Don't know if the problem you're having is related
> > to the one I had with 3rd party usb adsl modem init script
> > but try to add related modules to /etc/modules.autoload.d/kernel-2.6
> 
> Nope.  I consider the networking support critical enough to warrant being
> compiled into the kernel rather than loaded as a module.  Module loading,
> therefore, is not an issue.
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



FOLLOWUP: [gentoo-user] K8N Neo4 and skge

2005-07-12 Thread Vernon A. Fort

Vernon A. Fort wrote:


Ow Mun Heng wrote:


On Mon, 2005-07-11 at 19:27 -0500, Vernon A. Fort wrote:
 

New to gentoo!



Welcome to a new world of learning!

 

I have gentoo amd64 loaded and the forcedepth drive is detecting the 
first network card.  Both the default skge and the sk98lin manually 
downloaded from SysKonnect will load without errors and display in 
the lsmod.  Neither will actually detect the network card.
  



I don't get it. If it's modprobed and lsmod shows it, means the cards
are detected. your lcpci shows the cards are detected.

 


 I have included the lspci -vv at the end of this message.

  1.  are both of these interfaces active, meaning can I use both.
  



Yes. Doesn't ifconfig show anything? ifconfig eth1 or ifconfig eth0??

 

  2.  Being new to gentoo, should the interface be added 
automatically upon modprobe or is there something more I need to do.
  



U modprobe the drivers, they get seen by the kernel. Then you need to up
the interface. DHCP?

make sure you edit /etc/conf.d/net (there are example files in there as
well)

/etc/init.d/net.eth? up

Oh.. yeah.. since you have 2 eth, make the apropriate symlink for eth1

eg: ln -s eth0 eth1


 

I think this may be a PCIE issue, from what I have read.  But, I have 
recomplied the kernel (network devices) and configured both the 
forcedepth and skge drivers as modules.  If I unload the forcedepth or 
rename so it won't start durning boot, the SKGE driver WILL load and 
be listed in the lsmod and lspci but does nothing - no dmesg 
anything!  Its almost like the driver sees the device but is waiting 
on something else to load.  There's very little information 
concerning this device - I'll keep digging.


Vernon


Ok - I managed to get this working, kind of.  I installed a fresh 
gentoo-sources, selected the forcedepth, skge and the sk98lin drivers as 
modules.  Recompiled and booted.  Then I downloaded the
http://www.syskonnect.com/syskonnect/support/driver/htm/sk9elin.htm and 
ran the install.  It did detect the network card!!  I configued and 
rebooted.  Both network cards did come up - I assigned different ip 
address to both cards ( both on the same network - 192.168.1.50 (eth0) 
and 192.168.1.55(eth1).  The odd thing is if I plug in the eth0 card, I 
can telnet to BOTH ip addresses while eth1 is disconnected.  If I 
disconnect eth0 and connect eth1, I cannot connect to either address.  
Am I missing something? or is this the correct behavior?


Vernon

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where is the functionality of etcat

2005-07-12 Thread Tom Wesley
On Tue, 12 Jul 2005 19:26:14 +0200
Holly Bostick <[EMAIL PROTECTED]> wrote:

> Rudmer van Dijk schreef:
> > 
> > Holly: eix is probably not it, since it looks like it does not show the 
> > availability of the package (masked+keyword), but thanks for the suggestion!
> > 
> > Rudmer
> 
> Actually, it most certainly does; keyworded packages are shown in brown
> with a ~ in front, masked packages are listed in red with a [M] in front.
> 
> Of course you can use what suits you best; just wanted to clear up the
> misconception.
> 
> Holly

I haven't seen anyone post this script as yet.  It's by ciaranm and is
very useful when people ask on irc why a certain package version can't
be installed on their arch.

Sample output:
[EMAIL PROTECTED] ~ 0 0.67 $ eshowkw
gnome Keywords for gnome-base/gnome:

| a a a h i m m p p p p s s s x x x x
| l m r p a 6 i p p p p 3 h p 8 8 8 8
| p d m p 6 8 p c c c c 9   a 6 6 6 6
| h 6   a 4 k s   6 - - 0   r   - - -
| a 4 4 m o c   f o o
|   a d b b d
|   c   s s
|   o   d d
|   s
+
1.4-r3  |   -   + +
2.8.2   | + +   + +   + +   + +
2.8.3-r1| ~ +   + +   ~ +   + +
2.10|   ~ ~ ~ ~ ~ ~
2.10-r1 | + +   + ~ + ~ + +
2.10.1_pre0 |   ~   ~ ~ ~ ~

Hope this is helpful to someone ;)

-- 
Tom Wesley <[EMAIL PROTECTED]>


eshowkw
Description: Binary data


pgpNM7WBJBiEj.pgp
Description: PGP signature


[gentoo-user] konqueror+flashplugin+alsa

2005-07-12 Thread rodrigo ahumada
hi
Is there some trick to make the flash plugin in konqueror to use alsa?
i have sound in firefox by using aoss, but in konqueror there is an external 
program: nspluginviewer, and i tried to rename it and made an script that 
runs "aoss nspluginviewer-oss" but then konq. hangs.

thanx.





___ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where is the functionality of etcat

2005-07-12 Thread Holly Bostick
Rudmer van Dijk schreef:
> 
> Holly: eix is probably not it, since it looks like it does not show the 
> availability of the package (masked+keyword), but thanks for the suggestion!
> 
>   Rudmer

Actually, it most certainly does; keyworded packages are shown in brown
with a ~ in front, masked packages are listed in red with a [M] in front.

Of course you can use what suits you best; just wanted to clear up the
misconception.

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



Re: [gentoo-user] where is the functionality of etcat

2005-07-12 Thread Rudmer van Dijk
On Monday 11 July 2005 23:47, Renat Golubchyk wrote:
> On Mon, 11 Jul 2005 23:25:06 +0200 Rudmer van Dijk
>
> <[EMAIL PROTECTED]> wrote:
> > etcat is deprecated in favor of equery but equery does not have a
> > functionality like `etcat -v ` (listing all available
> > versions of a  package). I used it quite often and have been
> > struggling with equery ever  since etcat is deprecated... Are there
> > plans to build this functionality into  equery? if not, why??
>
> It is already in there, people just tend to overlook it ;-) Run
> "equery list -p package", for more information run "equery list --help"
> or generally "equery  --help". If you run "equery --help" you
> will notice that equery has global options and local options which do
> some nice stuff.

thanks! I should have RTFM better than I did...

Holly: eix is probably not it, since it looks like it does not show the 
availability of the package (masked+keyword), but thanks for the suggestion!

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



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger
> > I've been considering adding an "emerge --fetchonly" line to the script
> but
> > don't yet have the warm and fuzzies about the http-replicator script.
> 
> Yes, well I'm going to go slowly with this
> until I have the warm feeling and some
> happy experience over time.
> I'd be interested in keeping up with your scipt enhancements.
> If it's not too much trouble, when you are happy with
> some enhancements, send them to me for testing

Sure, but I don't have any plans for updates in the near future.  They all
seem to be functioning well enough for my intents and purposes.

> > They've been working out great for me.  I've recently added a
> > 'revdep-rebuild' script so I can be reported of packages in need of
> fixing
> > (in case I miss the step manually).
> 
> Can you send me a copy of that script or post it to this thread?

Sure.  It's nothing fancy, but does the job.  The biggest headache is the
gentoo script developers expectation that the only time you're going to call
their script is when you're sitting at a color-supporting terminal.  When
trying to build an email message all of the color-coding crap still seeps
through.  If I could get them to do anything it would be to add a common
"--nocolor" command line argument to disable that stuff.

cornholio ~ # cat bin/revdep.sh
#!/bin/sh
#
# revdep.sh Script to report on revdep/rebuild tasks.
#

# Remove existing files.
/bin/rm -f /root/.revdep* >> /var/log/revdep.log 2>&1

# Now do the revdep stuff
revdep-rebuild -p > /var/log/revdep.rpt 2>>/var/log/revdep.log

# now mail the report to root
strings /var/log/revdep.rpt > /var/log/revdep.txt
mail -s "Cornholio revdep report" root < /var/log/revdep.txt
2>>/var/log/revdep.log

cornholio ~ #

> > In your case I'd probably ensure the kids logins are typical user logins
> (no
> > update capability).  Run the scripts (or similar scripts) to automate
> the
> > syncing and reporting.  Keep ssh running on their systems.  Hold off on
> > updates until they run into something that breaks or until a critical
> > package update is released.  Then you can ssh in and emerge stuff until
> it
> > works.
> 
> I'll take this under consideration. My purpose in extending automated
> updates, is to be able to manage a large number of embedded gentoo
> devices in the future.  Roll-back and Recovery mechanism will be
> added later. Besides Gentoo needs to leave the laboratory
> (purvey of experts) and enter the world of normal humanoids. That will
> force the Gentoo community to make Gentoo a commodity technology for
> the world's normal folks.gentoo's destiny in my opinion.

Oh, I'd tend to disagree.  Source-based distributions IMHO would be a huge
pain in the neck for those responsible for a large number of systems.  Twer
it up to me I'd be using a binary-based distro such as suse or redhat; let
them work out the kinks so I wouldn't have to.

I prefer running gentoo because I have total control over the box.  Downtime
at home simply means I can't surf or receive email; it also means that I
have some good old down and dirty work ahead to get the box back up, which I
enjoy.  It's also a hassle that only I have to deal with, not a whole floor
of workers sitting idle waiting for the problem to be resolved.

But to be an admin over an office full of gentoo systems?  Not sure I'd like
that or that they would pay me what it would take to keep it functional.
Unless, of course, all systems were exactly the same (hardware and software
installations) and the users had minimal permissions to the systems (i.e.
they could only write files to their home directories and nowhere else on
the system, including /tmp & /var/tmp).




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emacs Problem

2005-07-12 Thread Sebastien Morand
> Did you try rebuilding glib and/or gtk?

Yes I do.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread James
Dave Nebinger  joat.com> writes:


> > OK but can't I do that with a simple mode to the /etc/crontab ?:
> > 30 1 * * * root emerge sync 2>&1

> Yes, but I do a little more in my script and want the pieces to be
> synchronized.  As you saw in the script not only do I emerge sync but I also
> update the eix and esearch databases (both are cached package search/query
> tools that kick the crap out of "emerge --search").

I'm going to test your scripts and look at this for a while

> I've been considering adding an "emerge --fetchonly" line to the script but
> don't yet have the warm and fuzzies about the http-replicator script.

Yes, well I'm going to go slowly with this
until I have the warm feeling and some
happy experience over time.
I'd be interested in keeping up with your scipt enhancements.
If it's not too much trouble, when you are happy with
some enhancements, send them to me for testing

> > This script is for the internal rsync/replicator server?

> Runs on all of them.  All of them need to sync and I like being able to
> query from whatever system I'm on.

Yea, I was not sure, but it makes
sense.

> > OK, the port has changed. What's the deal about that?

> Most local http daemons run on 8080 or 8088; I just didn't want to deal with
> conflicts so I chose my own number.

Yea, I might change the port number...if I see problems. 

> > OK thanks for the script. I'll have to study it, test it and let you know
> > how it goes...

> They've been working out great for me.  I've recently added a
> 'revdep-rebuild' script so I can be reported of packages in need of fixing
> (in case I miss the step manually).

Can you send me a copy of that script or post it to this thread?


> In your case I'd probably ensure the kids logins are typical user logins (no
> update capability).  Run the scripts (or similar scripts) to automate the
> syncing and reporting.  Keep ssh running on their systems.  Hold off on
> updates until they run into something that breaks or until a critical
> package update is released.  Then you can ssh in and emerge stuff until it
> works.

I'll take this under consideration. My purpose in extending automated
updates, is to be able to manage a large number of embedded gentoo 
devices in the future.  Roll-back and Recovery mechanism will be 
added later. Besides Gentoo needs to leave the laboratory
(purvey of experts) and enter the world of normal humanoids. That will
force the Gentoo community to make Gentoo a commodity technology for
the world's normal folks.gentoo's destiny in my opinion.

Using kids as experiments and developing baseline analysis semantics, is
of great fun... (Hell, that's what God gave them to us for: to 
experiment with them and then explain where dad messed up and dad's
newest ideas.) Even their friends like the approach of experimental
parenting... Furthermore, as an engineer, I often tell my clients 
that something works with the children or that children understand the
new technology, so maybe management can adapt too...)

YMMV

James

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger
> I guess I have to run emerge sync and emerge -uD world on each client
> still,
> but they use the http replicator instead of gentoo servers for both
> updating the portage/rsync files and downloading the distfiles (via the
> http
> replicator)?

In the case of distfiles and sync's, you're still using primary gentoo
servers for the first fetch; the cached files are used after that.

Basically emerge is going to want a file foo.tar.bz2 to complete an ebuild;
it builds a url in the form of http://gentoo.mirror.com/gentoo/ that comes
from /etc/make.conf and adds the necessary components
"/distfiles/foo.tar.bz2".  It then calls wget to retrieve the components.
Since the http-replicator proxy is in use, when wget calls through the proxy
it will see if foo.tar.bz2 is in the cache; if so it returns the cached
copy.  If not it is retrieved from the url provided by wget so
gentoo.mirror.com is used for the retrieval.
 
For sync the primary server handles the emerge --sync against the official
gentoo mirror; internal systems sync against the local server, but the data
still originates from the official gentoo mirrors.

> I still have to run 'emerge -uD world' on the server/workstation
> manually each day?

Each system is still administrated as if it is a standalone box; so you can
choose to or not to "emerge -uD world" on a system by system basis.

My primary rsync/http-replicator server is also my mail server, web server,
firewall, etc.  I try not to "emerge -uD world" on it until I really have
to.  It's your decision on your end when to do it on the server.



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger

> OK but can't I do that with a simple mode to the /etc/crontab ?:
> 30 1 * * * root emerge sync 2>&1
> ?

Yes, but I do a little more in my script and want the pieces to be
synchronized.  As you saw in the script not only do I emerge sync but I also
update the eix and esearch databases (both are cached package search/query
tools that kick the crap out of "emerge --search").

I've been considering adding an "emerge --fetchonly" line to the script but
don't yet have the warm and fuzzies about the http-replicator script.

> This script is for the internal rsync/replicator server?

Runs on all of them.  All of them need to sync and I like being able to
query from whatever system I'm on.

> OK, the port has changed. What's the deal about that?

Most local http daemons run on 8080 or 8088; I just didn't want to deal with
conflicts so I chose my own number.
 
> OK thanks for the script. I'll have to study it, test it and let you know
> how it goes...

They've been working out great for me.  I've recently added a
'revdep-rebuild' script so I can be reported of packages in need of fixing
(in case I miss the step manually).

> Agreed. But I intend to set up a test-quarrantine system that is fully
> automated, and if all goes well for (1) 24-hour period, then push the
> updates to a bunch of PI and PII systems for a bunch of kids (hoodlums
> some of which are mine.)

Ah, but how long would it take to test out the new package(s) in the
quarantine system?  When it's something significant (i.e. pam) are you going
to test out every system component using pam before deploying internally?

In your case I'd probably ensure the kids logins are typical user logins (no
update capability).  Run the scripts (or similar scripts) to automate the
syncing and reporting.  Keep ssh running on their systems.  Hold off on
updates until they run into something that breaks or until a critical
package update is released.  Then you can ssh in and emerge stuff until it
works.

Basically it's a question that even windows folks have to face - is it more
important to have a working yet somewhat out of date system or a
cutting-edge updated system that can sometimes be unstable?

In my home I've chosen to keep my boxen up to date but the kids systems tend
to lag well behind the curve.



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread James
A. Khattri  bway.net> writes:


> > Is there a script to update workstation systems, automatically,
> >  say 10 minutes after booting? How best to do this?

> I run this in my servers at 3am (they sync off a local rsync server,
> similar to your setup):
> http://www.panhorst.com/glcu/


This looks interesting. 
For now I'm going to keep it manual, for a variety of reasons.
When I get ready to 'automate' clients (gentoo workstations)
I'll take a deeper look at this software.

For now, I'm going to sit back and tweak the manual process
to gain a deeper understanding of the issues with automation.

Thanks for the information.

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't login using KDM

2005-07-12 Thread Zac Medico
Yuval Scharf wrote:
> Hi,
> 
> I'm using KDE 3.4.
> Since few days ago I can't login using KDM.
> The login process can't pass the "initializing peripherals" stage.
> I can see that there are two processes running kded (one of the is the father 
> of the other) which I can't kill. 
> After rebooting the machine I can login once and then the probelm returns.
> 
> Any ideas?
> 
> Thanks,
> Yuval Scharf

This kind of problem is usually some type of permissions issue.  Maybe it's 
related to the hidden .ICE-unix, .X0-lock, or .X11-unix in /tmp.  Try logging 
in as root and/or bypass kdm with startx.  Did you get anything in 
/var/log/kdm.log?

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



Re: [gentoo-user] no ogg support in juk?

2005-07-12 Thread Luigi Pinna
Alle 02:25, sabato 09 luglio 2005, Norberto Bensa ha scritto:
> Luigi Pinna wrote:
> > What can I do?
>
> Compile it with +arts

arts is bugged!
I disable arts because it freeze my computer.
Another solution?
I cannot understand the relation from arts and the ogg files (they are 2 
different flags)
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgphJObTHERwg.pgp
Description: PGP signature


Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Zac Medico
Ow Mun Heng wrote:
> Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> down win32codec as a dependency and having that USE flag in the CLI as
> well as on make.conf doesn't make a difference.
> 
> I still can't get "-win32codecs" to "+win32codecs"
> 
> Comment?
> 

The use flag is called "avi" for =mplayer-1.0_pre6-r6 (read the ebuild to 

RDEPEND="avi? ( >=media-libs/win32codecs-20040916 )"

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



Re: [gentoo-user] K8N Neo4 and skge

2005-07-12 Thread Vernon A. Fort

Ow Mun Heng wrote:


On Mon, 2005-07-11 at 19:27 -0500, Vernon A. Fort wrote:
 

New to gentoo!  
   



Welcome to a new world of learning!

 

I have gentoo amd64 loaded and the forcedepth drive is 
detecting the first network card.  Both the default skge and the sk98lin 
manually downloaded from SysKonnect will load without errors and display 
in the lsmod.  Neither will actually detect the network card.
   



I don't get it. If it's modprobed and lsmod shows it, means the cards
are detected. your lcpci shows the cards are detected.

 

 I have 
included the lspci -vv at the end of this message.


  1.  are both of these interfaces active, meaning can I use both.
   



Yes. Doesn't ifconfig show anything? ifconfig eth1 or ifconfig eth0??

 

  2.  Being new to gentoo, should the interface be added automatically 
upon modprobe or is there something more I need to do.
   



U modprobe the drivers, they get seen by the kernel. Then you need to up
the interface. DHCP?

make sure you edit /etc/conf.d/net (there are example files in there as
well)

/etc/init.d/net.eth? up

Oh.. yeah.. since you have 2 eth, make the apropriate symlink for eth1

eg: ln -s eth0 eth1


 

I think this may be a PCIE issue, from what I have read.  But, I have 
recomplied the kernel (network devices) and configured both the 
forcedepth and skge drivers as modules.  If I unload the forcedepth or 
rename so it won't start durning boot, the SKGE driver WILL load and be 
listed in the lsmod and lspci but does nothing - no dmesg anything!  Its 
almost like the driver sees the device but is waiting on something else 
to load.  There's very little information concerning this device - 
I'll keep digging.


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



Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Jarry

Kurt Guenther wrote:

I did a similar setup, but I used Linux raid-1 rather then the software
raid.


Pardon for my ignorance, but what do you mean with "Linux raid-1 rather
than the software raid"??? Is it not the same? Or do you mean some
hw-raid?

BTW, I'm already on the track of my problem:
After booting (actually not booting) I entered into that "maintenance
mode" and found out, that there are no /dev/md? files (although I
created them during installation)! Why??? Should not udev create them
automatically? Or did I misconfigured something concerning udev/devfs
in kernel?

At least it is clear now that error message of "ext2fs_check_if_mount"
and "fsck.ext3": there is no /dev/md1, so it is not possible check it...

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



[gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread James
Dave Nebinger  joat.com> writes:


> > > and last run this daily on the server to keep it current?
> > > emerge -uDva world && repcacheman

> I forgot to mention that if your primary system is using the http replicator
> then it shouldn't be necessary to run repcacheman after each emerge.
> Repcacheman will a) ensure that packages retrieved via ftp are available
> from the cache and b) remove packages from the cache that are too old.  This
> can easily be run as a monthly task if you primarily retrieve packages via
> http and not ftp.



Dave,

Your last 2 emails have given me much to think about. Give me some time to
finish the implementation, and digest all you have written.

I guess I have to run emerge sync and emerge -uD world on each client still,
but they use the http replicator instead of gentoo servers for both
updating the portage/rsync files and downloading the distfiles (via the http
replicator)?

That's OK, I like keeping it manual for now.
But I can rsync and 'emerge update' as many systems per day as I like now.

On the server, the emerge sync is automated via the /etc/crontab entry:
30 1 * * * root emerge sync  2<&1

I still have to run 'emerge -uD world' on the server/workstation
manually each day?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread James
Dave Nebinger  joat.com> writes:


> > OK on the local rsync server I added this to automate the daily

> > 30 1 * * * root emerge sync

> Unless you want to receive the daily email full of all kinds of funky
> characters, I'd redirect the output from emerge to a file.  On my boxen I
> call 'dailysync.sh' from cron.  The script has this:

OK but can't I do that with a simple mode to the /etc/crontab ?:
30 1 * * * root emerge sync 2>&1
?

> cornholio ~ # cat bin/dailysync.sh
> #!/bin/sh
> #
> # sync.sh: Script to handle the portage syncing.

> emerge --sync 1>>/var/log/autosync.log 2>&1

> # Update eix and edb...
> if [ -e /usr/portage/profiles/default-linux/x86/2005.0/make.defaults ]
> then
>   echo Not recreating make.defaults, it exists... >>/var/log/autosync.log
> else
>   echo Recreating make.defaults... >>/var/log/autosync.log
>   ln -sf ../make.defaults
> /usr/portage/profiles/default-linux/x86/2005.0/make.defaults
> 1>>/var/log/autosync.log 2>&1
> fi

> eix -u 1>>/var/log/autosync.log 2>&1
> eupdatedb 1>>/var/log/autosync.log 2>&1

OK, I can try this script. I guess eix is an ebuild index
& searching tool, that I need to read up on...

This script is for the internal rsync/replicator server?


> The if/then logic is needed because eix expects a /make.defaults
> file, but the make.defaults has been pushed up one directory level.  The
> emerge --sync wipes the file out so I have to recreate it before updating
> eix.  And the output from the script goes to a log file rather than
> stdout/stderr (so when run via cron no email is generated).

> > OK, now I use document (C) to create the proxy entry on each client:
> > Editing File: /etc/env.d/99local to look like this
> > http_proxy="192.168.2.9:8080"
> > instead of this
> > http_proxy="proxy.server.com:8080"

> > I check it on the client by issuing "echo $http_proxy"
> > which give the correct results:
> > 192.168.2.9:8080

> > So far so good???

> Hmm, the documentation might have changed since I did my setup.  My internal
> boxes have 'http_proxy=http://192.168.0.1:8084' directly in the make.conf
> file; I didn't make any changes to /etc/conf.d/local.start for the http
> proxy.

OK, the port has changed. What's the deal about that?

> > and last run this daily on the server to keep it current?
> > emerge -uDva world && repcacheman

> Well if you have the time and inclination you can do it daily.  Once you get
> into maintaining the system you'll realize that this kind of attention to
> the box is frequently overkill - a working box is a working box and there is
> no need to fix what isn't broken.

> Rather than do this on a daily basis I generate a daily email of packages to
> be updated; if I see one I feel is critical I'll deal with the update
> otherwise I'll let the system go for awhile.  The script I use for this is:

OK, monthly on a manual basis. I'll try your script/email approach.

> cornholio ~ # cat bin/updatereport.sh
> #!/bin/sh

> # updatereport.sh: Script to send an update report to root.

> # Remove the old report file.

> if [ -e /var/log/update.report ] ; then
>   /bin/rm -f /var/log/update.report
> fi
> if [ -e /var/log/update.rpt.txt ] ; then
>   /bin/rm -f /var/log/update.rpt.txt
> fi

> # Run the command to generate the output file.

> emerge --pretend --update --deep world 1>/var/log/update.report

> # Put a standard header at the top of the text file.

> echo "Current gentoo update report." > /var/log/update.rpt.txt
> echo "" >> /var/log/update.rpt.txt
> date >> /var/log/update.rpt.txt
> echo "" >> /var/log/update.rpt.txt

> # Extract a clean text file

> strings /var/log/update.report >> /var/log/update.rpt.txt

> # Mail the clean text file.

> mail -s "Cornholio Portage Update Report" root < /var/log/update.rpt.txt


OK thanks for the script. I'll have to study it, test it and let you know
how it goes...


> > Anything I missed?

> Well sure.  The part I should have mentioned is that if your systems are all
> similar in that they have the same hardware and same use flags, package
> installs, etc., then you might want to have one system build binary packages
> for distribution to the internal systems.  That way you only suffer the
> build once.

In the future I'll be distributing binaries to lots of old pI and pII systems,
so that kind of automation will have to wait.


> Personnaly I've got different architectures (PIII, P4, and AMD) mixed in
> and, as each system has a different purpose they typically don't have
> similar use flags or package installations, so a binary package distribution
> doesn't work for me.

ditto.

> > Surely parts of all (4) documents belong in one master howto?

> I'm sure it could but there's probably folks on the other side of the fence
> that only want a local rsync mirror or a local portage download cache and
> not both.

Well the simple cases are easy. What I need, including your scripts is
to be in a single document. I'll write something, and you can look it
over. That helps me fully understand

Re: [gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Kurt Guenther

I did a similar setup, but I used Linux raid-1 rather then the software
raid.

If I remember right, I tried the software raid, but I think you made it
further then I did.  I couldn't get the software raid working under the
live CD.

Sorry, no help other then to recommend Linux raid instead of the
software raid.  Usually the performance is better (from what I hear)
anyways.

--Kurt



Jarry wrote:

> Hi,
>
> I'm trying to install gentoo on a small server in full sw-raid1 setup,
> using info in http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml
>
> I have a similar setup with /boot / and swap on md. After creating md's
> I continued with installation using info in
> http://www.gentoo.org/doc/en/handbook/2005.0/index.xml
>
> I recompilled kernel with md-support (no modules), installed boot-loader
> (lilo, on /dev/md0), created /etc/fstab, emerged mdadm, etc, etc...
> Everything was OK until 10.d: Rebooting the System
>
> When booting into new system (this time from disks, not from
> installation cd), I got following messages:
> -
> ... ...
>
> * mounting sysfs at sys ...
> can't create lock file /etc/mtab1008: Read only file-system
> (use -n flag to override)   [!!]
>
> ..
>
> * checking root filesystem
> ext2fs_check_if_mount: No such file or directory while determining
> whether /dev/md1 is mounted
> fsck.ext3: No such file or directory while trying to open /dev/md1
> /dev/md1:
> The superblock could not be read or does not describe a correct ext2
> filesystem. If the device is valid and it really contain an ext2
> filesystem (and not swap or ufs or something else), then the superblock
> is corrupt, and you might try running e2fsck with an alternate
> superblock: e2fsck -b 8193 
>
> * Filesystem could not be fixed :-( [!!]
>
> Give root-password for maintenance
> (or type Control-D for normal startup):
> -
>
> Then I logged as root and tried that "e2fsck -b 8193 /dev/md1" with
> the same error. Rebooting did not change anything...
>
> BTW, I repeated the whole installation 3 times, even with different
> pair of disks (I thought there is some hw-error), but no difference...
> What now? Could someone tell me where the problem is?
>
> Thanks,
> Jarry


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] [OT] LiveCD with rdiff-backup?

2005-07-12 Thread Dave Nebinger
> I am using rdiff-backup for my full system backups. Of course, it would
> be annoying if I had to use it to do a full restore. I would need a
> LiveCD with rdiff-backup on it.
> 
> I am assuming the gentoo install cd's dont have this. I have looked at
> knoppix, it is not on those. Any ideas?

Sure, there's stuff in gentoo-wiki about building a live CD from gentoo:

  http://gentoo-wiki.com/HOWTO_build_a_LiveCD
  http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch

Also there appears to be a live CD for linux from scratch that may allow for
a simpler live cd creation:

  http://www.linuxfromscratch.org/livecd/

I haven't done anything with it but it appears to have scripts etc. to build
your own live CD.  It's probably much more minimal than the Gentoo CDs, so
you might be able to package it with part of your backup data.

If so you could boot with disk 1, restore data, mount 2 and restore, ...



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't login using KDM

2005-07-12 Thread Yuval Scharf
Hi,

I'm using KDE 3.4.
Since few days ago I can't login using KDM.
The login process can't pass the "initializing peripherals" stage.
I can see that there are two processes running kded (one of the is the father 
of the other) which I can't kill. 
After rebooting the machine I can login once and then the probelm returns.

Any ideas?

Thanks,
Yuval Scharf
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound

2005-07-12 Thread Holly Bostick
Richard Watson schreef:
>>>Have you loaded the newly-compiled alsa driver modules for your sound
>>>card, run alsaconf and unmuted the mixer via alsamixer?
>>>Holly
> 
> 
> Hi again - I tried
> # emerge -s alsa 
> and got loads of output. Would you know what the correct emerge command is
> for the alsa driver modules? Does alsaconf come as part of the driver
> install? 

If you are using a 2.6-series kernel, the alsa drivers are part of your
*kernel* config, and no additional driver package is necessary to emerge
(although some people like to, but that's another story).

Alsaconf is part of the alsa-utils package. If you are using the
kernel's alsa drivers (which are perfectly adequate), you probably want
to emerge all the other packages that are *not* alsa-driver in order to
get everything working properly under all circumstances:

alsa-lib (required)

alsa-headers (probably required)

alsa-utils (required)

alsa-tools (required)

alsa-oss (probably optional)

alsa-firmware (probably optional)

You might also want a systray applet for the mixer if you're using KDE
or GNOME:

kamix

gamix

> 
> I had installed alsamixer (with -alsa ...) earlier and it loads a blank
> interface with no controls at all.
> 
> At this stage I'm doing 
> # emerge --update --ask --deep --verbose --newuse --tree world 
> as setting alsa on is asking quite few items to want to recompile.


OK, stop where you are. Hands off the 'Enter' key ;-) .

First, you need to confirm your kernel config. I'm going to assume that
we're going for a standard setup with the kernel modules compiled into
the kernel, rather than as loadable nodules.

Let's look at the output of

lsmod

and see what modules are already loaded. You're looking for items that
start with

snd-

and also items that contain

i810

But don't worry if you don't see them; statically compiled kernel
drivers don't show in this list anyway. But it's a pre-check before we
check the kernel itself. Now, you could look at the .config file in a
text editor, but ... spare me. Especially if you're a genkernel user,
that's even more confusing to figure out. Since I don't know if you are
in fact a genkernel user, and I furthermore don't know a thing about
genkernel (meaning, I don't know squat about initrds), we're just going
to look at the kernel the way I know how to do it

cd /usr/src/linux

make menuconfig

NOTE: if you are a genkernel user, you can (apparently) also do
genkernel --menuconfig

for the same effect, and then you'll still get a new initrd if you make
changes (and save them).

OK, now that we're in the menuconfig, we want to know the following:

1. Is support for the onboard components of your motherboard compiled
into the kernel (I am assuming that the soundcard is enabled in your
BIOS, which is necessary for it to work at all)?

2. Is support for a) sound, b) ALSA and c)ALSA OSS emulation available,
and if so, as a module or statically?

3. Are the drivers for your particular sound card compiled, and if so,
statically or as a module?

So check these settings:

Device Drivers=>ATA/ATAPI/MFM/RLL support=> AMD and nVidia IDE support


Device Drivers=>Character Devices=>NVIDIA nForce/nForce2 chipset support


(these are both to add support for what is *supposed* to be
'other'motherboard resources than onboard sound, but-- since I don't
know how motherboards are wired, thus 'what is really connected to
what'-- I tend to feel that one wants to confirm any and all 'special'
drivers for one's mobo chipset. Besides which, next after sound is all
straightened out, you may well want to configure support for 3D hardware
accelleration for your video card, in which case you'll be happy to
already know whether your mobo's agp support is active or not :-) ).

But these are the important ones to check:

Device Drivers=>Sound=> Sound card support

Device Drivers=>Sound=>ALSA=> Advanced Linux Sound Architecture

Device Drivers=>Sound=>ALSA=> Sequencer support

Device Drivers=>Sound=>ALSA=> OSS Mixer API


Device Drivers=>Sound=>ALSA=> OSS PCM (digital audio) API

Device Drivers=>Sound=>ALSA=> OSS Sequencer API

Device Drivers=>Sound=>ALSA=>PCI devices=>Intel/SiS/nVidia/AMD/ALi AC97
Controller

These are the 'necessary drivers' for your sound card, and the ALSA/ALSA
OSS emulation backend.

We can argue for a month as to whether these should be compiled as
modules or statically, but I have found with both onboard sound and an
external sound card that the following config offers the least issues
(* = static, M = module):

Sound card support M

ALSA * (however, if you want to use the alsa-driver package, this *must*
be M, or the emerge will fail)

Sequencer support M

OSS Mixer API M

OSS PCM M

OSS Sequencer * (no choice)

Actual card driver M

If any of these are missing, you'll have to select them, recompile the
kernel and reboot to the recompiled kernel.

Your problems may already be solved, if you have previously set up
alsasound and the like, but the drivers could not be found to load
a

RE: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Dave Nebinger
> Don't know if the problem you're having is related
> to the one I had with 3rd party usb adsl modem init script
> but try to add related modules to /etc/modules.autoload.d/kernel-2.6

Nope.  I consider the networking support critical enough to warrant being
compiled into the kernel rather than loaded as a module.  Module loading,
therefore, is not an issue.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GDM, Fluxbox and display 0

2005-07-12 Thread Daniel da Veiga
Many Thanks Cyrille, it solved the problem, now...
WHAT THE HECK WAS THAT FILE DOING IN MY HOME DIR?
*lol*

(answer delayed due to a fried power supply)

Thanks to all who replied too...

On 7/7/05, Cyrille Damez <[EMAIL PROTECTED]> wrote:
> Le Tuesday 05 July 2005 13:30, vous avez écrit :
> > Ok, I'll try this again,
> >
> > Any ideas on how can I run gdm and avoid being stuck because display
> > 0:0 doesn't accept my WM?!
> 
> I had exactly the same problem a couple weeks ago. AFAIR, you just need to
> delete the Xauthority file in your user home directory.
> 
> HTH
> 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Alexander Kirillov
> Cycled the system many times with pretty much the same result.  Initially
> dmesg was showing that ifconfig was failing due to some SMP issue so I
> updated the kernel to 2.6.12.2 and installed and this failure went away.
> 
> But now any boot results in the dhcp starting for eth0 but then failing
> completely.
> 
> When the system comes up I can log in as root and manually start eth0 by
> running the dhcp command as /etc/init.d/net.eth0 start should be trying to
> do (although I can't tell that it is doing as I suspect).

Don't know if the problem you're having is related
to the one I had with 3rd party usb adsl modem init script
but try to add related modules to /etc/modules.autoload.d/kernel-2.6
Sasha

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger
> > and last run this daily on the server to keep it current?
> > emerge -uDva world && repcacheman

I forgot to mention that if your primary system is using the http replicator
then it shouldn't be necessary to run repcacheman after each emerge.
Repcacheman will a) ensure that packages retrieved via ftp are available
from the cache and b) remove packages from the cache that are too old.  This
can easily be run as a monthly task if you primarily retrieve packages via
http and not ftp.



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: rsync internal mirror configuration

2005-07-12 Thread Dave Nebinger

> OK on the local rsync server I added this to automate the daily
> task of rsync(ing)
> # Rsync entries
> #
> 30 1 * * * root emerge sync

Unless you want to receive the daily email full of all kinds of funky
characters, I'd redirect the output from emerge to a file.  On my boxen I
call 'dailysync.sh' from cron.  The script has this:

cornholio ~ # cat bin/dailysync.sh
#!/bin/sh
#
# sync.sh: Script to handle the portage syncing.
#

emerge --sync 1>>/var/log/autosync.log 2>&1

# Update eix and edb...
if [ -e /usr/portage/profiles/default-linux/x86/2005.0/make.defaults ]
then
  echo Not recreating make.defaults, it exists... >>/var/log/autosync.log
else
  echo Recreating make.defaults... >>/var/log/autosync.log
  ln -sf ../make.defaults
/usr/portage/profiles/default-linux/x86/2005.0/make.defaults
1>>/var/log/autosync.log 2>&1
fi

eix -u 1>>/var/log/autosync.log 2>&1
eupdatedb 1>>/var/log/autosync.log 2>&1

cornholio ~ #

The if/then logic is needed because eix expects a /make.defaults
file, but the make.defaults has been pushed up one directory level.  The
emerge --sync wipes the file out so I have to recreate it before updating
eix.  And the output from the script goes to a log file rather than
stdout/stderr (so when run via cron no email is generated).

> OK, now I use document (C) to create the proxy entry on each client:
> Editing File: /etc/env.d/99local to look like this
> http_proxy="192.168.2.9:8080"
> instead of this
> http_proxy="proxy.server.com:8080"
> 
> I check it on the client by issuing "echo $http_proxy"
> which give the correct results:
> 192.168.2.9:8080
> 
> So far so good???

Hmm, the documentation might have changed since I did my setup.  My internal
boxes have 'http_proxy=http://192.168.0.1:8084' directly in the make.conf
file; I didn't make any changes to /etc/conf.d/local.start for the http
proxy.

> and last run this daily on the server to keep it current?
> emerge -uDva world && repcacheman

Well if you have the time and inclination you can do it daily.  Once you get
into maintaining the system you'll realize that this kind of attention to
the box is frequently overkill - a working box is a working box and there is
no need to fix what isn't broken.

Rather than do this on a daily basis I generate a daily email of packages to
be updated; if I see one I feel is critical I'll deal with the update
otherwise I'll let the system go for awhile.  The script I use for this is:

cornholio ~ # cat bin/updatereport.sh
#!/bin/sh
#
# updatereport.sh: Script to send an update report to root.
#

#
# Remove the old report file.
#
if [ -e /var/log/update.report ] ; then
  /bin/rm -f /var/log/update.report
fi
if [ -e /var/log/update.rpt.txt ] ; then
  /bin/rm -f /var/log/update.rpt.txt
fi

#
# Run the command to generate the output file.
#
emerge --pretend --update --deep world 1>/var/log/update.report

#
# Put a standard header at the top of the text file.
#
echo "Current gentoo update report." > /var/log/update.rpt.txt
echo "" >> /var/log/update.rpt.txt
date >> /var/log/update.rpt.txt
echo "" >> /var/log/update.rpt.txt

#
# Extract a clean text file
#
strings /var/log/update.report >> /var/log/update.rpt.txt

#
# Mail the clean text file.
#
mail -s "Cornholio Portage Update Report" root < /var/log/update.rpt.txt

cornholio ~ #

> Anything I missed?

Well sure.  The part I should have mentioned is that if your systems are all
similar in that they have the same hardware and same use flags, package
installs, etc., then you might want to have one system build binary packages
for distribution to the internal systems.  That way you only suffer the
build once.

Personnaly I've got different architectures (PIII, P4, and AMD) mixed in
and, as each system has a different purpose they typically don't have
similar use flags or package installations, so a binary package distribution
doesn't work for me.

> Surely parts of all (4) documents belong in one master howto?

I'm sure it could but there's probably folks on the other side of the fence
that only want a local rsync mirror or a local portage download cache and
not both.
 
> Is there a script to update workstation systems, automatically,
>  say 10 minutes after booting? How best to do this?

Sure.  Generate a script that sleeps for 10 minutes then kicks off the
emerge process.  Call the script from /etc/conf.d/local.start (be sure to
include the & to spawn it in the background) and you're golden.

However, you need to consider if this is something that you really want to
do.  Automated updates are frowned upon by folks on the list.

I tend to stagger my system emerges because I use distcc.  The individual
boxes have a smaller time impact handling the package recompiles.



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Dave Nebinger
> On Sat, 2005-07-09 at 17:22 -0400, [EMAIL PROTECTED] wrote:
> > Hey, all.  Suffered power outtage yesterday.  Not much of a big deal as
> the
> > ups brought the system down on battery...
> >
> > That's the good news.  The bad news is that, upon system boot, my dhcp-
> based
> > eth0 interface no longer comes up and I don't know why...
> >
> > When the init script is run it reports that it is bringing the card up
> in
> > DHCP and that it is calling dhclient.  At that point, however, the
> startup
> > shows the [!!] indicating a failure occurred but I have no real details
> why.
> >
> > The only thing in the system log is a message from dhclient:
> > receive_packet failed on eth0: Network is down.
> 
> I suspect dhclient's pid was still around and you need to manually
> kill/zap it before it will restart itself.
> 
> I believe also that if you were to restart your PC/server now, all will
> be oK

Cycled the system many times with pretty much the same result.  Initially
dmesg was showing that ifconfig was failing due to some SMP issue so I
updated the kernel to 2.6.12.2 and installed and this failure went away.

But now any boot results in the dhcp starting for eth0 but then failing
completely.

When the system comes up I can log in as root and manually start eth0 by
running the dhcp command as /etc/init.d/net.eth0 start should be trying to
do (although I can't tell that it is doing as I suspect).


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: KDE/KDM problems

2005-07-12 Thread Alexander Kirillov
>>What sort of a problem with /dev/dsp?
>>You can't use /dev/dsp when arts (KDE sound daemon) is active.
>>Either try artsdsp [-m] or wait till arts is suspended.
> 
> Doesn't that situation call for the use of artswrapper? I don't use arts
> very much, so I forget how to call it (srtswrapper application?)

You probably mean artsdsp which emulates /dev/dsp using arts api?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound

2005-07-12 Thread Szabo Bence
2005-07-11, h keltezéssel 20.22-kor Bob Sanders ezt írta:
> On Tue, 12 Jul 2005 03:10:34 +0200
> Szabo Bence <[EMAIL PROTECTED]> wrote:
> 
> 
> > Hi! I haven't got any sound too. I emerged all the alsa things, and when
> > I alsaconf tries to start the sound I get this:
> > 
> > Loading driver...
> >  * Loading ALSA modules ...
> >  *  Loading:snd-card-0 ...
> >  * ERROR: Failed to load necessary drivers
> > 
> 
> In /etc/modules.d/alsa, do you have - 
> 
> ##  ALSA portion
> alias snd-card-0 snd-intel8x0
> 
> And did you do a modules-update ?
> 
> Bob
> -  
Yeah, I've done this.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread David Morgan
On 18:12 Tue 12 Jul , Ow Mun Heng wrote:
> [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
> [SNIP]
>  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 k
> 
> grep win32 /etc/make.conf
> USE="acl acpi dvd minimal aac apache2 win32codecs ssl mmx xine \
> 
> 
> USE="win32codecs" emerge -av mplayer
> 
> [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
> [SNIP]
>  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 kB 
> 
> x86 keyword
> 

iirc the (..) mean that the use flag is unavailable on your profile
(thought maybe it could also mean that it's unavailable for some other
 reason).

what profile are you using?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's new with all those new packages?

2005-07-12 Thread Jason Stubbs
On Tuesday 12 July 2005 19:35, Martin S wrote:
> On 11/07/05, Myk Taylor <[EMAIL PROTECTED]> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > I think if you're using Gentoo, there is an assumption that "if it's new
> > (and acceptably stable), I want it".
>
> That's hardly in line with Gentoos "choice policy".
> Gentoo isn't about imposing someone elses preferences on everyone.

You're not forced to upgrade. You're not even forced to sync with the rsync 
servers. If you're happy with your machine the way it is, don't upgrade. 
Simple.

Regards,
Jason Stubbs


pgp4nhBX1Gxq0.pgp
Description: PGP signature


Re: [gentoo-user] what's new with all those new packages?

2005-07-12 Thread Martin S
On 11/07/05, Myk Taylor <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1I think if you're using Gentoo, there is an assumption that "if it's new(and acceptably stable), I want it". 


That's hardly in line with Gentoos "choice policy".
Gentoo isn't about imposing someone elses preferences on everyone.
Regards,Martin S


Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Ow Mun Heng
On Tue, 2005-07-12 at 11:29 +0200, Renat Golubchyk wrote:
> On Tue, 12 Jul 2005 17:12:33 +0800 Ow Mun Heng <[EMAIL PROTECTED]>
> wrote:
> > Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> > down win32codec as a dependency and having that USE flag in the CLI as
> > well as on make.conf doesn't make a difference.
> > 
> > I still can't get "-win32codecs" to "+win32codecs"

> What does "emerge -pv mplayer" say? Do you have x86 or ~x86 in your
> ACCEPT_KEYWORDS?

[ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
[SNIP]
 (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 k

grep win32 /etc/make.conf
USE="acl acpi dvd minimal aac apache2 win32codecs ssl mmx xine \


USE="win32codecs" emerge -av mplayer

[ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
[SNIP]
 (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 kB 

x86 keyword

Thanks


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 18:11:09 up 5 days, 2:07, 8 users, load average: 1.18, 1.23,
1.10 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cedega - segmentation fault

2005-07-12 Thread Nemrod
My mistake. The same problem occurs with self-compiled wersion of 
cedega-cvs. 
About games there's no matter because it's exactly the same error message 
(but i try with counter-strike, gta san andreas and unreal 2004).

Dnia piątek 08 lipca 2005 16:12, z adresu Daniel da Veiga 
<[EMAIL PROTECTED]> napisano:
> So, you subscribed to transgaming and downloaded cedega, it is a
> little hard to configure, specially if the game requires some special
> registry keys (by the way, what game are you trying to run?).
>
> The easy way to use it is to install Point2Play, wich is a GUI for
> cedega that allows you to test your system, download the latest
> updates for all components (fonts, mozilla activex, versions of
> cedega), install and then run the game.
>
> On 7/8/05, Nemrod <[EMAIL PROTECTED]> wrote:
> > hello ...
> >
> > I have problem with cedega. Installed binary version of cedega (emerge
> > cedega). After that i try to start it by typing cedega (as user) and get
> > error like this:
> >
> > "$ cedega
> > Moving all local fonts to /home/nemrod/.transgaming_global/Fonts and
> > removing
> > local Fonts directory
> > /usr/bin/cedega: line 235: 10342 Segmentation fault "$REGAPI" --
> > setValue
> > -force <"$WINEXINSTALLDIR/update.reg" 2>&1 >/dev/null
> >
> > usage: cedega [-use-pthreads ] [[-]-winver ] [[-]-
> > debugmsg
> > ] [[-]-version] [[-]-use-dos-cwd ] [[-]monitor-cdrom-eject]
> >  [application parameters]"
> >
> > Some applications are working but most of the games I install crash with
> > error
> > like this:
> >
> > "An error (some numbers eg. -5009: 0x80040154) has occured while running
> > the
> > setup.
> > Please make sure you have finished any previous setup and closed other
> > applications. If the error still occurs, please contact your vendor (..
> > .)"
> >
> > Of course there is any other working applications.
> >
> > This problem occures only with gentoo ...
> >
> > My hardware:
> > - Radeon 9200 (ati-drivers-8.14.13-r1)
> > - P4 3ghz HT
> > - kernel: ck-sources-2.6.12_p3; gentoo-sources-2.6.11-r9;
> > gentoo-sources-2.6.12-r4 (tested on this 3 kernels)
> >
> > --
> > Nemrod ...
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Daniel da Veiga
> Computer Operator - RS - Brazil

-- 
 Pozdrawiam,
  Nemrod ...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Renat Golubchyk
On Tue, 12 Jul 2005 17:12:33 +0800 Ow Mun Heng <[EMAIL PROTECTED]>
wrote:
> Why doesn't mplayer let me compile with win32codecs? It doesn't pull
> down win32codec as a dependency and having that USE flag in the CLI as
> well as on make.conf doesn't make a difference.
> 
> I still can't get "-win32codecs" to "+win32codecs"
> 
> Comment?

What does "emerge -pv mplayer" say? Do you have x86 or ~x86 in your
ACCEPT_KEYWORDS?

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise lösen,
durch die sie entstanden sind.
  (Einstein)


pgp91OzvFf4xW.pgp
Description: PGP signature


[gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread Ow Mun Heng
Why doesn't mplayer let me compile with win32codecs? It doesn't pull
down win32codec as a dependency and having that USE flag in the CLI as
well as on make.conf doesn't make a difference.

I still can't get "-win32codecs" to "+win32codecs"

Comment?

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 17:11:11 up 5 days, 1:07, 8 users, load average: 1.17, 1.27,
1.37 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: MySQL doc [updated]

2005-07-12 Thread Francesco Talamona
On Tuesday 12 July 2005 18:22, Chris White wrote:
> I've updated the MySQL doc here:
>
> http://dev.gentoo.org/~chriswhite/mysql.html
>
> It contains the fixes that have been suggested to me, as well as a
> note on the SELECT field FROM table form of the SELECT statement. 
> Thanks for the input recieved!
>
> Chris White
your doc states:
SQL stands for (S)tandard (Q)uery (L)anguage

but Virtual Entity of Relevant Acronyms (Version 1.9, June 2002) [vera] 
says:
SQL
 Structured Query Language (ISO 9075, DB, 4GL)

and The Free On-line Dictionary of Computing (27 SEP 03) [foldoc] says:
According to Allen G. Taylor, SQL does _not_ stand for
"Structured Query Language".  That, like "SEQUEL" (and its
pronunciation /see'kw*l/), was just another unofficial name
for a precursor of SQL.  However, the IBM SQL Reference manual
for DB2 and Craig Mullins's "DB2 Developer's Guide" say SQL
_does_ stand for "Structured Query Language".

So I think you have to correct (S)tandard to (S)tructured

Ciao
Francesco

-- 
Linux Version 2.6.9, Compiled #1 Tue Dec 28 11:57:18 CET 2004
One 946MHz Intel Celeron Processor, 255M RAM, 1875.96 Bogomips Total
TecSW4
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] MySQL doc [updated]

2005-07-12 Thread Chris White
I've updated the MySQL doc here:

http://dev.gentoo.org/~chriswhite/mysql.html

It contains the fixes that have been suggested to me, as well as a note on the 
SELECT field FROM table form of the SELECT statement.  Thanks for the input 
recieved!

Chris White


pgpG6PeaPIM26.pgp
Description: PGP signature


[gentoo-user] problem with raid1: error while booting

2005-07-12 Thread Jarry

Hi,

I'm trying to install gentoo on a small server in full sw-raid1 setup,
using info in http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml

I have a similar setup with /boot / and swap on md. After creating md's
I continued with installation using info in
http://www.gentoo.org/doc/en/handbook/2005.0/index.xml

I recompilled kernel with md-support (no modules), installed boot-loader
(lilo, on /dev/md0), created /etc/fstab, emerged mdadm, etc, etc...
Everything was OK until 10.d: Rebooting the System

When booting into new system (this time from disks, not from
installation cd), I got following messages:
-
... ...

* mounting sysfs at sys ...
can't create lock file /etc/mtab1008: Read only file-system
(use -n flag to override)   [!!]

..

* checking root filesystem
ext2fs_check_if_mount: No such file or directory while determining
whether /dev/md1 is mounted
fsck.ext3: No such file or directory while trying to open /dev/md1
/dev/md1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contain an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock: e2fsck -b 8193 

* Filesystem could not be fixed :-( [!!]

Give root-password for maintenance
(or type Control-D for normal startup):
-

Then I logged as root and tried that "e2fsck -b 8193 /dev/md1" with
the same error. Rebooting did not change anything...

BTW, I repeated the whole installation 3 times, even with different
pair of disks (I thought there is some hw-error), but no difference...
What now? Could someone tell me where the problem is?

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



Re: [gentoo-user] K8N Neo4 and skge

2005-07-12 Thread Ow Mun Heng
On Mon, 2005-07-11 at 19:27 -0500, Vernon A. Fort wrote:
> New to gentoo!  

Welcome to a new world of learning!

> I have gentoo amd64 loaded and the forcedepth drive is 
> detecting the first network card.  Both the default skge and the sk98lin 
> manually downloaded from SysKonnect will load without errors and display 
> in the lsmod.  Neither will actually detect the network card.

I don't get it. If it's modprobed and lsmod shows it, means the cards
are detected. your lcpci shows the cards are detected.

>   I have 
> included the lspci -vv at the end of this message.
> 
>1.  are both of these interfaces active, meaning can I use both.

Yes. Doesn't ifconfig show anything? ifconfig eth1 or ifconfig eth0??

>2.  Being new to gentoo, should the interface be added automatically 
> upon modprobe or is there something more I need to do.

U modprobe the drivers, they get seen by the kernel. Then you need to up
the interface. DHCP?

make sure you edit /etc/conf.d/net (there are example files in there as
well)

/etc/init.d/net.eth? up

Oh.. yeah.. since you have 2 eth, make the apropriate symlink for eth1

eg: ln -s eth0 eth1


> 
> Again:  amd64 3500+ MSI K8N Neo4 Platinum 1GB ram
> 
> Thanks for any help!
> 
> Vernon
> 
> office ~ # lspci -vv
> :00:00.0 Memory controller: nVidia Corporation CK804 Memory 
> Controller (rev a3)
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Latency: 0
>Capabilities: [44] #08 [01e0]
>Capabilities: [e0] #08 [a801]
> 
> :00:01.0 ISA bridge: nVidia Corporation: Unknown device 0050 (rev a3)
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Latency: 0
> 
> :00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Interrupt: pin A routed to IRQ 11
>Region 0: I/O ports at ff00
>Region 4: I/O ports at 4c00 [size=64]
>Region 5: I/O ports at 4c40 [size=64]
>Capabilities: [44] Power Management version 2
>Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot+,D3cold+)
>Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> :00:02.0 USB Controller: nVidia Corporation CK804 USB Controller 
> (rev a2) (prog-if 10 [OHCI])
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Latency: 0 (750ns min, 250ns max)
>Interrupt: pin A routed to IRQ 217
>Region 0: Memory at febff000 (32-bit, non-prefetchable)
>Capabilities: [44] Power Management version 2
>Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> :00:02.1 USB Controller: nVidia Corporation CK804 USB Controller 
> (rev a3) (prog-if 20 [EHCI])
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Latency: 0 (750ns min, 250ns max)
>Interrupt: pin B routed to IRQ 50
>Region 0: Memory at feb0 (32-bit, non-prefetchable)
>Capabilities: [44] #0a [2098]
>Capabilities: [80] Power Management version 2
>Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> :00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) 
> (prog-if 8a [Master SecP PriP])
>Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125
>Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR- FastB2B-
>Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- 
> SERR- Latency: 0 (750ns min, 250ns max)
>Region 4: I/O ports at fb00 [size=16]
>Capabilities: [44] Power Management version 2
>Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> :00:07.0 IDE interface: nVidia Corp

Re: [gentoo-user] DHCP-based eth0 startup failure.

2005-07-12 Thread Ow Mun Heng
On Sat, 2005-07-09 at 17:22 -0400, [EMAIL PROTECTED] wrote:
> Hey, all.  Suffered power outtage yesterday.  Not much of a big deal as the
> ups brought the system down on battery...
> 
> That's the good news.  The bad news is that, upon system boot, my dhcp-based
> eth0 interface no longer comes up and I don't know why...
> 
> When the init script is run it reports that it is bringing the card up in 
> DHCP and that it is calling dhclient.  At that point, however, the startup
> shows the [!!] indicating a failure occurred but I have no real details why.
> 
> The only thing in the system log is a message from dhclient: 
> receive_packet failed on eth0: Network is down.

I suspect dhclient's pid was still around and you need to manually
kill/zap it before it will restart itself.

I believe also that if you were to restart your PC/server now, all will
be oK

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:00:59 up 4 days, 22:57, 7 users, load average: 1.44,
1.23, 1.62 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emacs Problem

2005-07-12 Thread A. Khattri
On Mon, 11 Jul 2005, Sebastien Morand wrote:

> BHi everybody,
>
> I got the following error with emacs:
> pyrenees:~ $ emacs
> Fatal error (6).Aborted
>
> I tried to compile by mself with the same flag emacs and didn'get any
> problem and it works fine, so why do I get a problem when using Gentoo
> compilation process?
>
> I got to a problem with linux kernel configuration:
> pyrenees:/usr/src/linux # make gconfig
> scripts/kconfig/gconf arch/i386/Kconfig
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): Gtk-CRITICAL **: gtk_label_set_use_underline: assertion
> `GTK_IS_LABEL (label)' failed
>
> (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> is invalid for instance `0x80bd9c0'
>
> (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> is invalid for instance `0x80bfd30'
>
> (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> is invalid for instance `0x80c0200'
>
> (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> is invalid for instance `0x80bde38'
>
> (gconf:4737): GLib-GObject-WARNING **: gsignal.c:1719: signal `pressed'
> is invalid for instance `0x80b36d0'
> make[1]: *** [gconfig] Segmentation fault
> make: *** [gconfig] Error 2


Did you try rebuilding glib and/or gtk?


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