Re: [gentoo-user] Gentoo 2006.0

2006-02-09 Thread Sascha Lucas

On Wed, 8 Feb 2006, Jorge Martín wrote:

Is Gentoo 2006.0 going to be released anytime soon? I want to install Gentoo
on my home computer but I'm too lazy to insall 2005.1.r1 and upgrade all
packages so I'm waiting for 2006.0.


The answer to your question can be found here: 
http://www.gentoo.org/proj/en/releng/index.xml


Release Roadmap for 2006

Note: These are estimated dates. Actual release dates may vary.
Date   Version
Feb 2006   2006.0

Running gentoo without internet (or slow internet) is simple: just sync 
and fetch distfiles on your laptop anywhere else (i.e. at your office) and 
take them home to your desktop.


Sascha.

--
Air conditioned environment - do not open windows!

 \|/  \|/
 @'/ .. \`@
 /_| \__/ |_\
\__U_/


Re: [gentoo-user] ufs

2006-02-22 Thread Sascha Lucas

On Tue, 21 Feb 2006, Arnau Bria Ramírez wrote:

I have a Solaris disk with Solari's ufs FS.
I found ufs support in my kernel, but I'm not sure if it's the same as Solari's
one (I'm not sure if solaris uses standards ufs fs).

does anyone mounted a solaris ufs disk using ufs kernel's support?


No not solaris but freebsd. Enable Solaris (x86) partition and Sun 
partition tables support + ufs filesystem. Read MOUNT(8) about ufs options 
(ufstype=sun or sunx86). Read 
/usr/src/linux/Documentation/filesystems/ufs.txt about ufs-write support. 
It should work.


Sascha.

[gentoo-user] OT: linux filesystem + transparent compression (rw)

2006-02-28 Thread Sascha Lucas

Hi list,

what is the status of transparent compression in a linux filesystem 
(read/write)? wikipedia[1] says jfs has one. Is this true? I don't think 
so. Hans Reiser proclaimed to have a reiser4 compression plugin before 
2.6.1[4-5]. Where is it? Has someone tried extz[2]? chattr(1) tells me to 
set the (c) attribute. But this seems not to work: writing 100MB /dev/zero 
to a c ./test file on a 100MB partion results in disk full.


There is a true gap in the linux market. Isn't it?

[1] http://en.wikipedia.org/wiki/Comparison_of_file_systems
[2] http://www.geocities.com/maxcompress/

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia vs. 2.6.15r1

2006-02-28 Thread Sascha Lucas

On Tue, 28 Feb 2006, Konstantinos Agouros wrote:

is it possible that these two are not compatible? I am running
2.6.15-r1 and nvidia-kernel-1.0-6629-r5. If I start X the kernel
oopses and I have to reboot.

Is there a bug open for this?


http://bugs.gentoo.org/show_bug.cgi?id=120103

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: which FS (ext3,reiserfs,xfs,jfs)?

2005-04-18 Thread Sascha Lucas
Hi,
I also couldn't resist to answer :-)
the choice of the right FS tends to be some kind of religion... ??? But we 
use gentoo and we decide on facts. Didn't we? :-)

The gentoo-father Daniel Robbins gives us a brief introduction to the 
differnt FSs. See http://www.gentoo.org/main/en/articles.xml - Advanced 
filesystem implementer's guide.

There you can learn that ext3 is the only one with true data-journaling. 
That it was not reiser's fault that causes problems (data lose) in kernel 
2.4.x-2.4.1y. And hopefully many more...

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


Re: [gentoo-user] OT - HA cluster failover problem

2005-04-20 Thread Sascha Lucas
Hi Patrick,
I'm not familiar with hearbeat so I can't help you.
But if you want HA-connectivity and you have 2 or more switches it can be 
interesting for you to read about the bonding-driver (linux-kernel i.e. 
/usr/src/linux-2.6.11-gentoo-r6/Documentation/networking/bonding.txt). 
With that you can build active-backup and/or channel-bonding.

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


Re: [gentoo-user] 1000Mbps NIC Getting 100Mbps speeds

2005-04-23 Thread Sascha Lucas

Right, everything except mii-tool (which apparently can't understand
1000Mbps) says 1000Mbps.
ok. what I want to say is that mii-tool is knowen to report the wrong 
speed for all/some Gbit cards (just for the case of missunderstanding).

Your setup seems to be fine. It's worth to try ping (floodping with 
increasing packet size):

$ ping -f -s $SIZE target
SIZE is default 56. SIZE=1480 comes close to MTU and 65507 is the biggest 
possible size.

You can messure the bandwidth with iptraf/iftop on the linux-side. With a 
small SIZE you get your max. packets/sec (iptraf) but with increasing SIZE 
bits/sec should also increase.

ping -f should have no (increasing) packet lose (see man ping).
Right. I'm familiar with speeds too. When it was connected an FTP
session would get about 9MB/s then slow to 8 or so, then stay there.
This is exactly the behavior i'm seeing now.
The bandwidth depends on the networkcard you are using and the CPU you 
have. Take a look on both sides CPUs. Both (NIC+CPU) reflects in CPU load. 
In linux use top/vmstat (be aware of user/system load when testing FTP). 
FTP-Performance depends heavily on the FTP-Server you use (vsftpd is a 
good one used by kernel.org).

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


Re: [gentoo-user] How to get script to execute on kde logout

2005-04-25 Thread Sascha Lucas
BTW - is there somewhere that these scripts could be put so that the
execute for ALL kde users?
$KDEDIR/env/startup-scripts.sh and $KDEDIR/shutdown/shutdown-scripts.sh
KDEDIR is normaliy something like /usr/kde/3.3. You may put multiple 
scripts in this dirs.

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


[gentoo-user] idea about small footprint gentoo

2005-09-22 Thread Sascha Lucas

Hi,

I'm thinking of a small footprint gentoo produced in this way:

1) install everything you need
2) note current system time
3) reboot and do all operations you need in this small gentoo
4) remount with noatime
5) find all files in the FS that have an atime before the system time you
   note in 2)
6) delete all files found in 5); they were not accessed, so we don't need
   them?

What do you think about this? Does it have a chance to work?

THX,

Sascha.

--
Air conditioned environment - do not open windows!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] idea about small footprint gentoo

2005-09-23 Thread Sascha Lucas

Hi Iain,

thanks a lot for your post (for the tips etc.).


I did much of the initial work to prove the concept and handed it over
to someone else to turn into a reproducible system.  As far as I know,
we've had 3 or 4 running continuously for quite a few months now.


Do you have a website were you publish your concept?


Our particular requirement was to make a running system for a 64 Mb
sandisk, with enough space left over for about 10-12 Mb of our own
software.  This is an embedded control system (no X), and we wanted a
very similar installation on our HMI (X, gnome, and other such boggy
apps :) running the same kernel so we could copy programs between them
if need be.  (The HMI runs a complete installation.)


A System with X is also my intension.


If you're planning on doing it in a short amount of time, think again!
It won't be trivial, but the concept is at least possible.


I'm very lucky that you have no unresolvable problems (yet), so I'm 
looking forward. In the next few month I will start to work on this. 
Currently I'm thinking (thinking only, nothing is done) of using qemu for 
the identification boot/run. It would be amazingly if a mechanism can be 
found, to dynamicaly bring in a file into an intial emtpy system.


THX,

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



Re: [gentoo-user] idea about small footprint gentoo

2005-09-27 Thread Sascha Lucas

Hi Ian


Do you have a website were you publish your concept?


That would be nice wouldn't it?  Unfortunately, no, I never had time to
do that.


yes it would :-). I sucessfully have now an minimalistic system. Solving 
problems with files not identified while root-FS mounted ro (currently 
3) and some misc from baselayout (awk functions for depscan and 
env-update).


I plan to write some text in gentoo-wiki, if I find some time...


A System with X is also my intension.


then you'll probably have more problems than I did.  I ran a very simple
installation.


Hopefully not :-)... let's see in a few days/weeks.

THX,

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] idea about small footprint gentoo

2005-09-27 Thread Sascha Lucas

Hi Neil,


You could use find to copy all symlinks, then use the symlinks -d -r /
to remove all those that point nowhere.

Or you could start with an empty partition and use find to copy newer
files instead of deleting the older ones. One way would be to direct the
output of find -newer /reference/file to a file and use this as the
--files-from argument to rsync.


I just want to say thank you for your tips. This 2 are realy usefull. I 
now have an minimalistic system.


Sascha.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: help on rpm fake/virtual spec file

2005-10-11 Thread Sascha Lucas

Hi,

I want an fake/vitual rpm spec to satisfy dependencies of some commercial 
software with an ugly install script.


My spec looks like this:

Summary: Use to generate virtual package to fake /bin/sh.
Vendor:  bla
Name:fake-bin-sh
Version: 0.0.0
Release: r1
Group:   foo
License: GPL2
buildarch: noarch

%description
Create virtual package specifying /bin/sh as a virtual package.

provides: /bin/sh

%prep
%build
%install
%clean
%files

But this does not what I want. Can some help me to fix this?

$ rpm -q --provides --specfile fake-rpm.spec
(none)
# rpmbuild -bb fake-rpm.spec
$ rpm -qp --provides /usr/src/redhat/RPMS/noarch/fake-bin-sh-0.0.0-r1.noarch.rpm
fake-bin-sh = 0.0.0-r1

Thanks,

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



Re: [gentoo-user] My Continuing ALSA Woes

2005-10-19 Thread Sascha Lucas

I've added it to my /etc/make.conf:

camille linux # cat /etc/make.conf | grep 'ALSA_CARDS'
ALSA_CARDS=intel8x0


You must chose to use in kernel driver or the external provided by 
sound/alsa-driver. See http://www.gentoo.org/doc/en/alsa-guide.xml.


ALSA_CARDS=intel8x0 indicates you want sound/alsa-driver. But your grep 
in kernel .config indicates the kernel driver.


Read the URL above and skip the part about Using the ALSA Driver 
package in section 2.


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Continuing ALSA Woes

2005-10-20 Thread Sascha Lucas

On Wed, 19 Oct 2005, Michael Sullivan wrote:


Can this be done with genkernel?  I've always used genkernel in the
past.  All attempts at building and installing kernels manually have


yes you can use genkenel. I also use it. And it's wrong that genkernel is 
only for wimps :-). It's also for the lazy (saves you typing some 
commands).


You may run following commands, just a try:

# mv /etc/kernels/* /tmp
# genkernel --menuconfig kernel

In the menuconfig enable your sound-card as module if not allready:

Symbol: SND_HDA_INTEL [=m] 
Location:

  - Device Drivers
 - Sound
- Advanced Linux Sound Architecture
   - Advanced Linux Sound Architecture (SND [=m])
  - PCI devices

after this you have a fresh kernel in /boot. Make shure you have a line in 
your grub.conf like this:


title=GNU/Linux (2.6.13-gentoo-r3)
  root (hd0,1)
  kernel /boot/kernel-genkernel-x86-2.6.13-gentoo-r3 root=/dev/hda2

please adopt the root () statment, the root= paramter and the kernel 
version to your needs.


If not allready merge the gentoolkit:

# emerge gentoolkit

then look for alsa packages:

# equery list alsa*

It's ok to have installed media-libs/alsa-lib media-sound/alsa-utils 
and media-sound/alsa-headers. Make shure to remove sound/alsa-driver.


# emerge -C sound/alsa-driver

Configure /etc/modules.d/alsa. You just have to edit one line in this 
file. To get the orginal version type:


# cp /usr/portage/media-sound/alsa-utils/files/alsa-modules.conf-rc 
/etc/modules.d/alsa

Then set the line to look like this: alias snd-card-0 snd-hda-intel

Finaly run:

# modules-update

Thats all. Cross your fingers and reboot.

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Continuing ALSA Woes

2005-10-20 Thread Sascha Lucas

On Thu, 20 Oct 2005, Michael Sullivan wrote:


kernel it gave me a kernel panic.  It said something about not being
able to find the root fs.  Should there be an initrd line?  Also, I


you only need an initrd if you have some special hardware. Do you? I.E. 
sata controler (intel ICH6), SCSI, or some special things with your root 
filesystem like lvm, md...



saved the output of the genkernel script.  I mv'd the files
from /etc/kernel to /tmp, but I still saw this line in the genkernel
output:

* Linux Kernel 2.6.13-gentoo-r3 for x86...
* kernel:  Running mrproper...
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.6
* Previous config backed up to .config.bak
*  Running oldconfig...

Should this be happening?


thats fine. this lines told you, that a generic kernel-config (like on 
livecd) is used.


The first thing is to make your kernel booting. This is not a hard thing, 
if you have no special setup. The siplest case is that your root=/dev/hdxx 
in grub.conf is wrong. Type mount and see what device is mounted for 
/boot. If you have none for /boot look for /. Then use this device 
in the root= parameter.


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



Re: [gentoo-user] My Continuing ALSA Woes

2005-10-20 Thread Sascha Lucas
If you have none for /boot look for /. Then use this device in the root= 
parameter.


sorry pleas only look for / not for /boot

S.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Continuing ALSA Woes

2005-10-20 Thread Sascha Lucas

Then why does Linux not continue to boot when I specify a kernel in
grub.conf without an initrd?


The answer is: you have a sata controler. Output from your lsmmod:

ata_piix6196  2

Make a kernel with this controler enabled:

Symbol: SCSI_ATA_PIIX [=n]
 Prompt: Intel PIIX/ICH SATA support
   Defined at drivers/scsi/Kconfig:452
   Depends on: SCSI!=n  SCSI_SATA  PCI
   Location:
 - Device Drivers
   - SCSI device support
 - SCSI device support (SCSI [=y])
   - SCSI low-level drivers
 - Serial ATA (SATA) support (SCSI_SATA [=n])

Compile this into kernel not as module.

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Sascha Lucas

Hi Richard,



I've just got a new laptop I'm installing Gentoo on and was wondering if
anyone could advise on the CFLAG setting I'm using. The CPU is a
Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
CFLAGS=-02 -mcpu=pentium -pipe


You may look at 
http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29

If you use x86 (not ~x86) then you have a gcc  3.4.3. The page above 
proposes to use: CFLAGS=-O2 -march=pentium3 -pipe. A friend of mine with 
a Pentium M uses CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer, 
which is dangerous if you believe the wiki-page.


If you plan to use gentoo on many x86 systems with different CPU's and you 
want to share binarys. I recommend to use: CFLAGS=-O2 -march=i686 
-fomit-frame-pointer -pipe (runs on any Intel/AMD/... starting from 
Pentium2-class CPU).


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Odd portage permission problems

2005-10-25 Thread Sascha Lucas

Hi Wes


What do you make of this?  Do I need to run fsck?


I don't know whats wrong with your portage-tree, but you can try to get a 
new one. Just move the olde tree away and sync:


# mv /usr/portage /usr/portage.old
# mkdir /usr/portage
# emerge sync


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] More 2.6.14 badness: iptables no longer logging

2005-11-12 Thread Sascha Lucas

More 2.6.14 badness: just realised my gateway iptables rules under
2.6.14 no longer log events.  rebuilt iptables with no changes so Ive
gone back to 2.6.13.  Is anyone else seeing this?


sorry I can't see this on my desktop. -j LOG works as expected. Do you use 
ULOG?


BTW: I use net-firewall/iptables-1.3.4 (~x86). Not 1.3.2 from x86-keyword.

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Server Mirroring...

2005-11-13 Thread Sascha Lucas

Hi Mal,


I run a Apache2 webserver and Postfix as per the virtual mailhost
guide...

For resilience I would like to have two gentoo boxes doing these tasks
for load balancing / redundancy - how can this be achieved?  Is there a
tool that will allow replication of the config files / mysql stuff to
allow the boxes to basically be a cluster ?


Thats not so easy to answer. Different solutions exists, each with pros 
and cons. It also depends heavily on the professional grad your solution 
should be.


You can solve this at different Levels: Hardware, OS, application. 
Hardware is expensive. OS far from perfect (i.e. openssi, openmosix). 
Applications must be cluster aware, moast aren't.


Do you mean http://www.gentoo.org/doc/en/virt-mail-howto.xml? If so you 
have to manage a bunch of apps: postfix, mysql, cyrus, apache.


Just some keywords:

easy with postfix: DNS round robin (solution inside DNS Server, nearly 
all MTAs are aware of this)


mysql: not multi master ready, just redundancy master-slave, try 
postgres


apache: behaves in sens of read only - LVS

cyrus: moast difficult part (shared storage/CFS,???) - 
NAS|SAN+CFS+LVS+?dono?


Cluster/HA is a complex area. Perhaps you want a simple not so perfect 
solotion? Try periodicaly rsynced standby with manual switch over.


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



Re: [gentoo-user] Server Mirroring...

2005-11-13 Thread Sascha Lucas

 easy with postfix: DNS round robin (solution inside DNS Server, nearly all
 MTAs are aware of this)


So DNS round robins between the two mail servers. A new mail comes into 
server1, how does this mail make it to server2.


Yes this is definitely the difficultest part. It must be solved somewhere 
in the LDA (cyrus). The MTA just pass mails to the LDA. So round robin 
should work.



I don't see that Postgres supports multiple masters either. Circular


I'm not an expert but what about this?
http://www.postgresql.org/about/news.289

The storage has to reside somewhere. If that site goes down, both servers go 
down. You either need both servers in the same site with shared storage or 
figure out how to do a shared nothing backend.


It depends on how both sites are connected. Just like redundancy in 
Servers/Network you can have redundant storage. I.E. with (a)synchronous 
replication over IP or FC-networks.


BTW: I don't know a cluster-solution with cyrus. We use a cluster aware 
commercial one.


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



Re: [gentoo-user] Detecting local host firewall

2005-11-13 Thread Sascha Lucas

Is there a way to detect programmatically whether the local host has a
firewall enabled?


as root: iptables -vnL

as user you may look at some files. They are indicators... interpret 
them. I don't know how to get the rule set.


$ test -d /proc/sys/net/ipv4/netfilter

get info from /proc/sys/net/ipv4/netfilter/* and /proc/net/ip_*

look for logs
$ dmesg | grep 'IN=.*OUT=.*SRC=.*DST=.*'

gentoo: specific
$ /etc/init.d/iptables status
$ test -s /var/lib/iptables/rules-save

Sascha.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] can't boot 2.6.14

2005-12-01 Thread Sascha Lucas

Hi List,

I upgraded my laptop from kernel 2.6.13 to 2.6.14 (gentoo-r2). 2.6.14 
stops at early boot:


PCI: Bus 1, cardbus bridge: :00:08.0
  IO window: 2000-2fff
  IO window: 4000-4fff
  PREFETCH window: 0c00-0dff
  MEM window: 0e00-0fff
PCI: Found IRQ 10 for device :00:08.0
Simple Boot Flag at 0x37 set to 0x1

After this line the systems hangs.

Can someone instruct me how to figure out what the problem is? On my other 
Desktops/Laptops 2.6.14 works without any problems.


THX,

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't boot 2.6.14

2005-12-02 Thread Sascha Lucas

send following info outputs...
#emerge info
#lspci


# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 
2.6.13-gentoo-r3 i686)

=
System uname: 2.6.13-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]

ccache version 2.3 [enabled]
dev-lang/python: 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -fomit-frame-pointer -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env 
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control

CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig ccache distcc distlocks sandbox sfperms strict
GENTOO_MIRRORS=ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo;

LINGUAS=de
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.de.gentoo.org/gentoo-portage
USE=x86 X alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts 
bzip2 cdr clamav crypt cups curl directfb dvd emboss encode ethereal exif 
expat fam fbcon ffmpeg foomaticdb fortran gdbm gif gimpprint glut gmp gpm 
gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib ipv6 irda java jpeg 
kde kdeenablefinal lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg 
ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcmcia pcre pdflib 
perl png python qt quicktime readline real samba sdl slang spell sse ssl 
svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode 
vorbis win32codecs wmf xine xinerama xml2 xmms xv xvid zlib 
video_cards_mach64 linguas_de userland_GNU kernel_linux elibc_glibc

Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

# lspci
:00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
:00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio 
Controller

:00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller
:00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
:00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller
:00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host 
Controller

:00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
:00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus 
Controller (rev 01)
:00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility 
P/M (rev 64)
:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
:00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink] 
Host Controller (rev 02)


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't boot 2.6.14

2005-12-02 Thread Sascha Lucas

sorry I forget one line after the boot stops. Right is:

PCI: Bus 1, cardbus bridge: :00:08.0
  IO window: 2000-2fff
  IO window: 4000-4fff
  PREFETCH window: 0c00-0dff
  MEM window: 0e00-0fff
PCI: Found IRQ 10 for device :00:08.0
Simple Boot Flag at 0x37 set to 0x1
Machine check exception polling timer started.

After Machine check exception polling timer started. Nothing happens any 
more.


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



Re: [gentoo-user] can't boot 2.6.14

2005-12-04 Thread Sascha Lucas

After Machine check exception polling timer started. Nothing happens any
more.


I'd start with acpi=off, and try to isolate the problem from there.


sorry this doesn't help. BTW: my chipset is on the acpi blacklist, it was 
allways disabled by default.


Sascha.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] laptop brocken since kernel 2.6.14

2005-12-07 Thread Sascha Lucas

Hi list,

my little PIII-M 600MHz Laptop doesn't boot with kernel =2.6.14. I have 
several systems from PII to Dual-Xeon all fine with 2.6.14. I don't know 
how to trouble-shoot this problem.


since 2.6.14 the kernel stops early before vesafb. The last lines look 
like this (taken from dmesg of 2.6.13):


Boot video device is :00:09.0
PCI: Using IRQ router PIIX/ICH [8086/7198] at :00:07.0
PCI: Cannot allocate resource region 0 of device :00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
PCI: Bus 1, cardbus bridge: :00:08.0
  IO window: 2000-2fff
  IO window: 4000-4fff
  PREFETCH window: 0c00-0dff
  MEM window: 0e00-0fff
PCI: Found IRQ 10 for device :00:08.0
Simple Boot Flag at 0x37 set to 0x1
Machine check exception polling timer started.


output from dmesg (2.6.13-gentoo-r3)
https://po2.uni-stuttgart.de/~ruslucas/laptop/dmesg-2.6.13-gentoo-r3

output of lspci -v
https://po2.uni-stuttgart.de/~ruslucas/laptop/lspci

config of gentoo-sources-2.6.13-r3
https://po2.uni-stuttgart.de/~ruslucas/laptop/config-2.6.13-gentoo-r3

config of gentoo-sources-2.6.14-r2
https://po2.uni-stuttgart.de/~ruslucas/laptop/config-2.6.14-gentoo-r2

config of vanilla-sources-2.6.15-rc4
https://po2.uni-stuttgart.de/~ruslucas/laptop/config-2.6.15-rc4

Can someone help me?

Thanks,

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



Re: [gentoo-user] laptop brocken since kernel 2.6.14

2005-12-07 Thread Sascha Lucas

 since 2.6.14 the kernel stops early before vesafb. The last lines look
 like this (taken from dmesg of 2.6.13):


have you tried booting of a kernel without vesafb?


yes and no. I didn't remove the VESA VGA graphics support from the kernel. 
But I booted without any vga= parameter. Otherwise I'll see just a blank 
screen.


Are there good reasons to remove VESA from kernel? The next view lines I 
expect from 2.6.14 are:


apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
JFS: nTxBlock = 1485, nTxLock = 11882
SGI XFS with ACLs, large block numbers, no debug enabled
Initializing Cryptographic API
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
vesafb: framebuffer at 0xc000, mapped to 0xcc90, using 3072k, 
total 4096k


THX,

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



Re: [gentoo-user] remote rsync

2006-03-12 Thread Sascha Lucas

On Sun, 12 Mar 2006, Paul Stear wrote:


In KDE I can copy files using Konqueror to lan://pc2/ which shows my
device.homenet.com.  If I then click on the device I get 3 icons NFS SMB HTTP
If I click on SMB the location changes to smb://device.homenet.com and I can
copy any files I want - even links seem to work


you can use network filesystems NFS or SMB. Make sure you compiled support 
into your kernel.


then try:

mount -t smbfs //netbios_name_of_server_or_ip/name_of_share /local_dir

or

mount -t nfs dns_server_name_or_ip:/remote_dir /local_dir


rsync -Cav --delete --progress /test lkd5f:/test


after mount run:

rsync -Cav --delete --progress /test /local_dir

to use advantages of rsync, or just use cp etc.

Sascha.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: awk scripting

2006-03-24 Thread Sascha Lucas

Hi list,

I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is 
this possible?


awk '{print $2???}'

TIA,

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: awk scripting

2006-03-24 Thread Sascha Lucas

On Fri, 24 Mar 2006, Hans-Werner Hilse wrote:

awk '{$1=;print $0}'

(awk recalculates $0 when $n is modified)
This still leaves you with one OFS starting the line (between $1 and
$2), you can get rid of this using

awk '{$1=;print substr($0,lenght(OFS))}'


thanks. the function lenght seems not defined. but substr($0,2) works.

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: awk scripting

2006-03-24 Thread Sascha Lucas

On Fri, 24 Mar 2006, Hans-Werner Hilse wrote:


On Fri, 24 Mar 2006 16:15:09 +0100 (CET) Sascha Lucas
[EMAIL PROTECTED] wrote:



thanks. the function lenght seems not defined. but substr($0,2) works.


That was a typo. Should of course be length.


sorry. I was in a hurry and didn't noticed the that it's just a typo.

Thanks again,

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



[gentoo-user] OT: bash scripting: implement uninterruptable sleep

2006-03-28 Thread Sascha Lucas

Hi List,

I have a shell script and want a uninterruptable sleep. /usr/bin/sleep 
itself seems to have its own signal handlers. How is it possible to sleep 
uninterruptable?


#!/bin/bash
trap echo 'Ctrl+C should not work' INT

for foo in 1 2 3; do
echo $foo
sleep 10
done
## end of script

TIA,

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



Re: [gentoo-user] OT: bash scripting: implement uninterruptable sleep

2006-03-31 Thread Sascha Lucas

Hi,

On Tue, 28 Mar 2006, Richard Fish wrote:


On 3/28/06, Sascha Lucas [EMAIL PROTECTED] wrote:

I have a shell script and want a uninterruptable sleep. /usr/bin/sleep
itself seems to have its own signal handlers. How is it possible to sleep
uninterruptable?


trap echo 'Ctrl+C should not work' INT
now=`date +%s`
expires=$(( $now + 10 ))
while test $now -lt $expires; do
   sleep $(( $expires - $now ))
   now=`date +%s`
done


excellent! take system time and loop sleep until time is over.

Thanks,

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



Re: [gentoo-user] Re: Completness of AVR toolset in dev-embedded?

2006-04-22 Thread Sascha Lucas

On Mon, 17 Apr 2006, Petr Kocmid wrote:


Well, now I found one: one needs to be a clearvoyant to detect that
dev-embedded/avr-libc is probably supposed to be used with sys-devel/crossdev
toolset generator.


right.

# crossdev -t avr

builds avr-libc / avr-gcc-3.4.6 / avr-bin-utils-2.16.1-r2

very easy...

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



[gentoo-user] ReiserFS extended attributes?

2006-05-15 Thread Sascha Lucas

Hi,

I'd like to use extended attributes on ReiserFS. I thought the only one is 
to enable it in the kernel:


# zgrep -i reiser.*attr /proc/config.gz
CONFIG_REISERFS_FS_XATTR=y

and then mount it with user_xattr:

# mount -o remount,user_xattr /mnt/reiserfs_mountpoint

but it seems not to work?

# lsattr /mnt/reiserfs_mountpoint
lsattr: Inappropriate ioctl for device While reading flags on 
/mnt/reiserfs_mountpoint/a

kernel is 2.6.16. any hints?

THX,

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ReiserFS extended attributes?

2006-05-15 Thread Sascha Lucas

On Mon, 15 May 2006, Hans-Werner Hilse wrote:


On Mon, 15 May 2006 20:18:26 +0200 (CEST)
Sascha Lucas [EMAIL PROTECTED] wrote:


and then mount it with user_xattr:

# mount -o remount,user_xattr /mnt/reiserfs_mountpoint

but it seems not to work?


I can't be of much further help, but my immediate question after
reading this was: what does /proc/mounts contain after doing this?


something different then mount shows:

# mount | grep home
/dev/hda3 on /home type reiserfs (rw,noatime,user_xattr)

# grep home /proc/mounts
/dev/hda3 /home reiserfs rw,noatime 0 0

any glue?

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ReiserFS extended attributes?

2006-05-15 Thread Sascha Lucas

On Mon, 15 May 2006, Sascha Lucas wrote:

This tools from SGI are a little bit different, then I expected, but they 
seem to work:


#  setfattr -n user.test -v foo bla
#  getfattr -d bla
#  file: bla
user.test=foo


I forget to mention, they work even without user_xattr mounted. curiosity!

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eix-cache doesn't exist?

2006-05-15 Thread Sascha Lucas

On Mon, 15 May 2006, Mick wrote:


What's this cache message?  Do I need to do anything to fix it?

==
# eix-sync -v
* eix-cache doesn't exist or uses obsolete format. Running update-eix!
Reading Portage settings ..
Building database (/var/cache/eix) from scratch ..
[0] /usr/portage/ (cache: metadata)
   Reading 100%
[1] /usr/local/portage (cache: none)
   Reading 100%
Applying masks ..
Database contains 11037 packages in 147 categories.
* Running emerge --sync

==


every thing is fine. you need nothing to fix. this tells you only that 
eix-cache doesn't exist or uses obsolete format.


doesn't exist: can be if you use eix-sync the 1st time
obsolete format: means you upgraded eix which now uses a neu db-format

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Sascha Lucas

On Mon, 30 Oct 2006, at 15:04 +0200, Alan McKinnon wrote:


all, and none so far use that flag directly). I'll even predict money
that the new binaries are identical to the old ones.


yes, they are identical.


Forgive my saying this, but that is a stupendous waste of my cpu cycles
and time. A better solution must exist - if this moves to arch
unchanged the gentoo user base will go ballistic


from portage pkg_postinst:
--
In portage-2.1.1, emerge --newuse is now sensitive to changes in IUSE. 
Immediately after upgrade from 2.1, users may notice a significantly 
larger number of packages pulled in by --newuse, but that behavior is 
normal. For additional information regarding this change, please see bugs 
#116955, #144333, #144661, and #146060.

--

I recommend to burdening @ #116955, or helping @ #144333 :-)

--
emerge: (7 of 9) star-trek/species-8.4.7.2 Compile

 \|/  \|/
 @'/ .. \`@
 /_| \__/ |_\
\__U_/
--
gentoo-user@gentoo.org mailing list



[gentoo-user] issue on binary merge

2005-09-07 Thread Sascha Lucas

Hi List,

can some explain this? Machine A+B have identical make.conf (expect in 3 
USE-falgs), /etc/portage/*, /usr/portage, profile.


Machine A:
 - FEATURES=buildpkg
 - added USE-flag samba
 - emerge -uD --newuse world
   * builds new samba package
   * rebuilds some packages (kdebase, cups, mplayer etc.)

Machine B:
 - mount PGKDIR of machine A via nfs to PGKDIR on machine B
 - added USE-flag samba
 - emerge -uD --newuse --usepkg world
   * merges binary samba
   * does not merge anything else (no binary, no ebuild )

It would be nice if I understand why emerge won't remerge binary packages 
with changed use-flags.


THX,

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] issue on binary merge

2005-09-07 Thread Sascha Lucas

Machine B:
  - mount PGKDIR of machine A via nfs to PGKDIR on machine B
  - added USE-flag samba
  - emerge -uD --newuse --usepkg world
* merges binary samba
* does not merge anything else (no binary, no ebuild )

It would be nice if I understand why emerge won't remerge binary packages
with changed use-flags.


It doesn't know that kdebase, cups etc need rebuilding unless you use
the --newuse option


well on Machine B I did emerge -uD --newuse --usepkg world. Isn't it what 
you ment?


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is binary emerge equivalent to source emerge?

2005-09-07 Thread Sascha Lucas

Hi Ian,


1) Does this seem like a sensible idea?  Will it generally work?
2) Will --usepkg --getbinpkg use binary packages for dependencies?
3) Is the resultant Portage database equivalent to source emerges, especially 
in respect of future --updates, --newuse, etc?

4) Am I right to use a Portage snapshot from the current machine?
5) Is this idea so close to the Catalyst idea that I should use its methods 
to achieve my aims?


I'm answering to your thread, because I'm also playing with binary merges. 
At the moment I'm not realy happy with it. I've played with catalyst/GRP, 
PORTAGE_BINHOST (aka --getbinpkg), PKGDIR via nfs (aka --usepkg).


Perhaps there is someone out there who can point me to some docs etc. Or 
correct my following statments:


to 1)
 - yes it will work
 - you have 3 choices how to build your binarys
   * GRP with catalyst (usefull if your USE-/CFLAGS-Falgs etc. on the
 build system and target system differ)
   * quickpkg from allready installed ebuilds
   * FEATURES=buildpkg in make.conf (creates bin's on merge)
 - the last 2 are usefull if your USE-/CFLAGS-Flags are identical or do
   not differ much

 - what you need is:
   * portage-snapshot (can be done with catalyst)
   * stage3 from internet or actual build with catalyst
   * binarys build with USE-/CFLAGS-Flags you want on the target

to 2)
  - yes binarys are used for deps
  - --usepkg looks for binarys in PKGDIR=${PORTDIR}/packages
  - --getbinpkg looks for binarys on PORTAGE_BINHOST (I tried ftp)
  - both have a only variant which should use only binarys
  - the only-variants doesn't make me happy, because they seem to ignore
different USE-Flags

to 3)
  - if you mean /var/db/pkg then yes it's the same
  - updates seem to work (-kuD world)
  - -uD --newuse world (ebuild only) works
  - -uD --newuse --usepkg world (binary if possible, else ebuild) does not
work very well

to 4 and 5) may be something in my comments to 1-3.

Perhaps I'm doing something wrong then please tell me the better way.

THX,

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



Re: [gentoo-user] issue on binary merge

2005-09-07 Thread Sascha Lucas

If you do --pretend --verbose, does it show the changed USE flags for
the packages?  Not sure if 'world' does this, but you could try the
individual packages that you expect to be rebuilt.  IIRC, it appears in
green (on a colour screen...) with a + and * next to the USE flag.


emerge -uD --pretend --verbose --usepkg --newuse world does not show the 
change in USE-Flags. However it installes some software cased by the new 
USE-Flag (in my example samba). I run equery hasuse my_new_flag and the 
merged this pkgs with:


emerge -1 --usepkg --pretend --verbose pkg_spec_from_equery

then the change in USE-Flags are showen and my _correct_ binarys are used.


Not a solution, but hopefully it'll add insight.


it seems we are actually 2 who worked at the same time with binarys :-)

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



Re: [gentoo-user] Is binary emerge equivalent to source emerge?

2005-09-07 Thread Sascha Lucas
I've also had problems with --usepkg.  When it gives me problems, as a 
workaround, I force emerge to do what I want with emerge --usepkgonly 
--nodeps --oneshot for each and every binpkg that I want merged.  If I think 
that this may have broken something then afterwards I use revdep-rebuild -p 
to check linking integrity.


thats nearly the same like I do: emerge --usepkg --oneshot binpkgs.

So I assume, I'm not alone with this problem (--newuse  --usepkg  -uD). 
The question is, is there a missunderstanding or a bug?


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



Re: [gentoo-user] issue on binary merge

2005-09-07 Thread Sascha Lucas

emerge -1 --usepkg --pretend --verbose pkg_spec_from_equery

then the change in USE-Flags are showen and my _correct_ binarys are used.



There's probably a good reason for it being the way it is, but it
doesn't sound as transparent as we might like.


yes may be... if so, I would like to know the reason :-)



A further interesting scenario might be to have a binary package
available built with different USE flags to those on the target machine,
and seeing if it gets installed or not.  I guess it shouldn't.  But then
there's the CFLAGS issue as well, and I'm even more unsure how that's
supposed to be handled.


If you build a binary with different USE flags then on the target it 
would be merged as ebuild and not as binary. But this seems only to work 
with --usepkg not with --getbinpkg. ?? CFLAGS handling is done in the same 
way like USE flags. You can use the tbz2tool to split your binary into 
data (tar) and info (text). In this info-text is every thing stored like 
USe, CFALGS, 



I'm still pretty new to Gentoo, but is this perhaps related to the
feature I've read about (and maybe misremembered) regarding only
packages that you explicity emerge going into world (dependencies
don't)?  I wonder if you'd see different results if you explicitly
emerged cups rather than it having been implicity emerged due to a
dependency.  By doing the emerge you described you've 'promoted' those
packages from implicit to explicit emerge.


Hm... yes every time you type emege  it will be recorded in the 
world-file, expect emerge --oneshot (-1)... so my explicit merge will not 
be recorded in world it stays what it was before (world or dependency).


So I understand --usepkg in this way to use binary if all USE/C flags etc 
match. If not fallback to ebuilds. So I know I have the right binary pkgs, 
why does:


emerge -uDpv --newuse world

and

emerge -uDpv --newuse --usepkg world

show different results?

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



Re: [gentoo-user] booting with an lvm2 root. How do I make a working initrd?

2006-06-23 Thread Sascha Lucas

On Fri, 23 Jun 2006, Javier Ubillos wrote:


I don't want to use genkernel, but I still want it to work.


you realy should use genkernel it's much easier.


mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9


well you should not use mkinitrd, if you refuse genkernel :-).
btw: md-mod is RAID (multiple devs), LVM is dm-mod (dev mapper).


In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?


that's much work to do it your self start building ext2 images or 
cpio's with static busybox  lvm2 and write your own linuxrc (here you may 
cheat by looking into linuxrc from genkernel :-)). Don't forget to create 
dev-files and to include some modules.


Sascha.

--
gentoo-user@gentoo.org mailing list