Re: [gentoo-user] where is my /dev/cdrom using UDEV

2005-04-28 Thread Wenju Zhang
gt-dell root # dmesg |grep ^hdhdc: SAMSUNG SC-140B, ATAPI CD/DVD-ROM drivegt-dell root # lf /dev/hd*ls: /dev/hd*: No such file or directoryI don't know why /dev/hdc does not exist.thanks,
WenjuOn 4/27/05, Robert S <[EMAIL PROTECTED]> wrote:
Try$ dmeg | grep ^hdand look for the CDROM drive.  If this fails, try dmesg |less and lookfor it in the entire output.On 4/27/05, Wenju Zhang <[EMAIL PROTECTED]
> wrote:> I have try this. but the problem remains.> There is not /dev/hdc at all in my machine.>> thanks> zwj On 4/26/05, Robert S < 
[EMAIL PROTECTED]>> wrote:> >> > Try this:> >> > Create a file called /etc/udev/rules.d/10- udev.rules> >> > Insert the following in the file
> >> > BUS="pci", KERNEL="hdc", SYSFS{vendor}="0x10de", NAME="%k",> > SYMLINK="cdrom cdroms/cdrom%n"> >> > You'll need to change the SYSFS{vendor} statement and you'll probably
> > need to reboot.> >> > There's a HOWTO in the gentoo docs on udev - and a very useful link on> > creating rules.> >> >> > On 4/26/05, Wenju Zhang <
[EMAIL PROTECTED]> wrote:> > > I have install gentoo 2005.0 with udev (without devfs) following> > > the gentoo udev guide,> > > 
http://www.gentoo.org/doc/en/udev-guide.xml> > > and http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV> > >> > > I can't find the /dev/cdrom.
> > >> > > FYI> > >> > > gt-dell rules.d # dmesg |grep hdc> > > Kernel command line: hdc=ide-cd ro> > > ide_setup: hdc=ide-cd> > > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
> > > hdc: SAMSUNG SC-140B, ATAPI CD/DVD-ROM drive> > >> > >> > > help me, please.> > >> > > Thanks in advance.> > >> > > zwj
> > >> >> > --> > gentoo-user@gentoo.org mailing list> >> >>>--
gentoo-user@gentoo.org mailing list

Re: [gentoo-user] where is my /dev/cdrom using UDEV

2005-04-28 Thread Neil Bothwick
On Thu, 28 Apr 2005 15:18:57 +0800, Wenju Zhang wrote:

> gt-dell root # lf /dev/hd*
> ls: /dev/hd*: No such file or directory
> 
> I don't know why /dev/hdc does not exist.

Do you have CONFIG_BLK_DEV_IDECD enabled in your kernel?


-- 
Neil Bothwick

What is the difference between Mechanical Engineers and Civil Engineers?
Mechanical Engineers build weapons, Civil Engineers build targets.


pgpluAaCdvnF1.pgp
Description: PGP signature


[gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Daniel Röder
Hi NG,
I try to get my external USB2.0 HDD working with my Gentoo-System with 
Kernel 2.6.11-r6.

With Knoppix 3.3 there are no problems, there it is working good.
But not with Gentoo! An USB stick which I also connect to my System 
works fine with my self-compiled kernel. The stick is on /dev/sda, and I 
use udev to use it as /dev/usbstick. I compiled all Modules for USB 
Storage into the kernel, also ohci, uhci and ehci. I have no USB2.0 
support on my Mainboard (only USB1.1), so I plugged a PCI-Card with 
USB2.0-support into my System.

When I connect the external storage to my computer /var/log/messages syas:
Apr 27 19:50:44 neon usb 5-2: new high speed USB device using ehci_hcd
and address 25
But there is no /dev/sdb (or /dev/sda if the stick is not connected) so
udevinfo -a -p /sys/block/sdb gives no infos.
Anybody any idea? How can I figure out what "thing" is diffrent between 
the Knoppix 3.3 kernel and my self-compiled kernel?

Daniel Röder
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Neil Bothwick
On Thu, 28 Apr 2005 10:10:00 +0200, Daniel Röder wrote:

> Anybody any idea? How can I figure out what "thing" is diffrent between 
> the Knoppix 3.3 kernel and my self-compiled kernel?

If Knoppix running with a 2.4 or 2.6 krnel? If it is 2.6 you may be able
to save the kernel config with

zcat /proc/config.gz >somefile

Then compare it with your Gentoo config.

Alternatively, do "tail -f /var/log/messages" while plugging the device
in on Knopppix to see which modules are loaded. Comparing the output of
lsmod before and after, and with the same on Gentoo, may also reveal some
useful information.


-- 
Neil Bothwick

If it's tourist season, why can't we shoot them?


pgpsod0rg3UUh.pgp
Description: PGP signature


[gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Ow Mun Heng
Is this a feature or a bug? It seems that emerge -C will not remove any
altered files from /etc/ once it has been changed.

This really leaves some cruft in my /etc/ Is this due to config-protect
or is it something else??

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 16:24:30 up 2 days, 7:04, 6 users, load average: 0.61, 0.40,
0.41 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] intel 6300esb onboard raid

2005-04-28 Thread Scott Storck
Claudinei Matos schrieb:
Hi guys,
I'm own a Intel se7210tp1-e with a onboard Intel 6300ESB Raid Controller w/ two 
80GB disks
Well, I'm new to this hardware RAID things. My doubt is the follow:
I've booted gentoo 2005.0 live-cd and when I typed "fdisk -l" I've got two disks printed:
sda and sdb
 

If your raid shows both drives under linux, instead of one drive, then 
it is not a true hardware raid.
It is then a hardware raid which need os software support for the raid 
function.

SATA raid is a little strange with kernel 2.6 and gentoo doesn't seem to 
fully support it yet.
As of kernel 2.6 there is a new block device manager called "device mapper".
The device mapper is used to support this type of raid controler.

Using a tool called "dmraid" you can have the RAID information read out 
of the disks,
and dmraid will construct the device mapper devices which allow you to 
use the raid as such.
After booting a 2005.0 livecd, you can check to see if  running "dmsetup 
ls" shows you a raid device.

If so, then the dmraid command and device mapper on the 2005.0 livdcd 
supports your controler.
The dmraid on the 2005.0 livecd has some know problems. The version on 
the cd is 1.0.0.rc6.
Specifically, sometimes it shows the capacitly of RAID 1 devices being 
less then what it is.
Usually by a factor of two. ie 2 x 80GB in RAID 1 makes 80GB, however 
you end up with only 40GB in your raid.
If this is the case, you can't simply use the normal livecd to install.
There is a newer version of the "dmraid" tool. (1.0.0.rc7) which however 
fixes this.

Look at the following links for help.
http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/
http://forums.gentoo.org/viewtopic-t-258981.html
If you have a controler which has the about problem with RAID 1, let me 
know.
I already have my own livecd which fixes this.

Good Luck!
-Scott
--
gentoo-user@gentoo.org mailing list


[gentoo-user] What happened to nautilus Scripts??

2005-04-28 Thread Ow Mun Heng
Is There such a thing left?? it used to be that we can select a file,
right click on it and then select which script we want to execute it
with.

(shred comes to mind, rather than go to the cli)

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 16:33:47 up 2 days, 7:14, 6 users, load average: 0.26, 0.43,
0.42 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WARNING: /etc removed from CONFIG_PROTECT portage-2.0.51.20

2005-04-28 Thread Taka John Brunkhorst
Michael W. Holdeman wrote:
On Tuesday 26 April 2005 04:19 am, Neil Bothwick wrote:
 

On Tue, 26 Apr 2005 00:02:36 +0100, Neil Bothwick wrote:
   

Today it is calling for 2.0.51.20-r4, any problems here?
   

not any more. It did stop emerge working altogether on two computers
here, but resyncing and re-emerging it seemed to fix the problem (I
noticed the USE flags for portage had changed after the resync).
 

Update. r4 stopped working again. The fix is available from
http://bugs.gentoo.org/attachment.cgi?id=57171&action=view
   

is -r5 ok?
Mike
 

ya -r5 , -r6 should be fixed by now
Taka John Brunkhorst
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Samba start error

2005-04-28 Thread Andreas Fredriksson
On 4/28/05, Richard Watson <[EMAIL PROTECTED]> wrote:
> When Samba starts I get the error "lpstat: Unable to connect to server:
> Connection refused". It actually doesn't seem to affect much as I can see
> the shares I've created but I'm curious. Thanks, Richard

This has to do with the printing support of samba, your smb.conf is
probably configured to share printers as well as files, and when samba
tries to access the print spooler to find out what printers are
available it fails to connect.

Samba regards this as non-fatal as it can still provide useful
services by sharing files and directories.

You should be able to find more information about samba's printing
support in their HOWTO or FAQ documents.

Regards,
Andreas

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Error when trying to emerge openldap-2.1.30-r4

2005-04-28 Thread Jonathan Gill
Hi all,

When trying to install openldap-2.1.30-r4 I get the following errors.

I guess its something to do with perl, but im running the latest perl
(just re-installed it to make sure) and have done the lib update for
perl.

Any clues?

cc -O2 -march=pentium3 -pipe .libs/slapdS.o -o .libs/slapd main.o
daemon.o connection.o search.o filter.o add.o cr.o attr.o entry.o
config.o backend.o result.o operation.o dn.o compare.o modify.o delete.o
modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o
filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o
repl.o lock.o controls.o extended.o kerberos.o passwd.o schema.o
schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o
syntax.o oc.o saslauthz.o oidm.o starttls.o index.o sets.o referral.o
root_dse.o sasl.o module.o mra.o mods.o limits.o backglue.o
operational.o matchedValues.o cancel.o version.o -rdynamic -pthread
-Wl,--export-dynamic
libbackends.a ../../libraries/libavl/libavl.a ../../libraries/libldbm/libldbm.a 
../../libraries/liblunicode/liblunicode.a 
../../libraries/librewrite/librewrite.a ../../libraries/libldif/libldif.a 
../../libraries/liblutil/liblutil.a 
../../libraries/libldap_r/.libs/libldap_r.so 
/var/tmp/portage/openldap-2.1.30-r4/work/openldap-2.1.30/libraries/liblber/.libs/liblber.so
 ../../libraries/liblber/.libs/liblber.so /usr/lib/libdb-4.1.so 
-L/usr/local/lib 
/usr/lib/perl5/5.8.5/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -lm 
-lutil -lcrypt -lssl -lcrypto -lresolv /usr/lib/libltdl.so -ldl -lwrap
daemon.o(.text+0x113b): In function `slap_open_listener':
: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
instead
daemon.o(.text+0x1132): In function `slap_open_listener':
: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r'
instead
libbackends.a(perlinit.o)(.text+0x46b): In function `perl_back_db_open':
: undefined reference to `Perl_croak_nocontext'
libbackends.a(perlmodify.o)(.text+0x4ca): In function
`perl_back_modify':
: undefined reference to `Perl_croak_nocontext'
libbackends.a(perlmodrdn.o)(.text+0x3c1): In function
`perl_back_modrdn':
: undefined reference to `Perl_croak_nocontext'
libbackends.a(perlsearch.o)(.text+0x6be): In function
`perl_back_search':
: undefined reference to `Perl_croak_nocontext'
libbackends.a(perladd.o)(.text+0x2ab): In function `perl_back_add':
: undefined reference to `Perl_croak_nocontext'
libbackends.a(perlbind.o)(.text+0x2fb): more undefined references to
`Perl_croak_nocontext' follow
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.1.30-r4/work/openldap-2.1.30/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.1.30-r4/work/openldap-2.1.30/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.1.30-r4 failed.
!!! Function src_compile, Line 143, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status
message.

Thanks

Jonathan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Edward Catmur
On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
> Is this a feature or a bug? It seems that emerge -C will not remove any
> altered files from /etc/ once it has been changed.
> 
> This really leaves some cruft in my /etc/ Is this due to config-protect
> or is it something else??

No, portage will not remove any files that have been changed (actually,
had their mtime altered) wherever on the filesystem they reside.

This is a feature.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FrameBuffer + Splash & Startx

2005-04-28 Thread Ow Mun Heng
On Thu, 2005-04-28 at 03:52 +0800, Ow Mun Heng wrote:
> It seems that on 2005.0 install, I can't have the 3 of these together
> like I did when I was running on 2004.3. 
> 
> The difference is the usage of devpts vs udev.
> 
> Since 2005.0 is udev, to get gen/fbsplash to work, I need to pass
> vga=7xx to the kernel command line.
> 
> passing 
> video=vesafb:ywrap,[EMAIL PROTECTED] splash=silent,theme:livecd-2005.0
> 
> doesn't seem to have any effect at all. I've tried both vesafb as well
> as using vesafb-tng and both fails.
> 
> With VGA=7xx passed, I get splash but Freevo won't come up. (and neither
> will startx work) as it complains about not being able to find DISPLAY
> and default to using fbdev. (On occations in which it does comes up it
> doesn't stretch the display to fullscreen!)
> 
> Without the VGA=7xx line, then I don't get the splash screen at all but
> freevo will start with no issues.

The other thing is that startx will also fail for the same reason.

Doesn't anyone has any idea at all??


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 17:41:37 up 2 days, 8:22, 6 users, load average: 0.87, 0.88,
0.59 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Bastian Balthazar Bux
Edward Catmur wrote:
> On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
> 
>>Is this a feature or a bug? It seems that emerge -C will not remove any
>>altered files from /etc/ once it has been changed.
>>
>>This really leaves some cruft in my /etc/ Is this due to config-protect
>>or is it something else??
> 
> 
> No, portage will not remove any files that have been changed (actually,
> had their mtime altered) wherever on the filesystem they reside.
> 
> This is a feature.
> 
Files in /etc are never removed from portage, to force portage remove
files under etc you can use :
CONFIG_PROTECT_MASK="/etc/init.d"


-- 
 
. These pages are best viewed by coming to my house and looking at   .
. my monitor. [S. Lucas Bergman (on his website)].
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get IPV6 working?

2005-04-28 Thread Nicolas Litchinko
On 02:34 Thu 28 Apr , Walter Dnes wrote:
>   I've found out "the hard way" that IPV6 does work on the Gentoo LiveCD
> via my ISP, notwithstanding my IPV4-only router (must be tunneling of
> some sort).  I'm trying to get it going on my second machine, but can't
> get anywhere.  I assume there are some extra configuration details I
> need to set.  Is there a detailed configuration for IPV6, or a mailing
> list?  If someone on this group has gotten IPV6 working, tunneling over
> IPV4, I'd appreciate the details.
> 
> -- 
> Walter Dnes <[EMAIL PROTECTED]>
> An infinite number of monkeys pounding away on keyboards will
> eventually produce a report showing that Windows is more secure,
> and has a lower TCO, than linux.
> -- 
> gentoo-user@gentoo.org mailing list

Hello,

I am using IPv6 over IPv4 at home without any problem.
I had to recompile my kernel to enable IPv6 support and add the protocol 
to /etc/rc.conf:

PROTOCOLS="1 2 10"

There is a good guide in the gentoo.org documentation about IPv6 [1]. It
explains how to set up an IPv6 router but its beginning can also be used 
for a workstation (kernel, iproute2, applications, etc.)

I am using btexact [2] as a tunnel broker because it provides a simple 
script to configure the tunnel.

[1]: http://www.gentoo.org/doc/en/ipv6.xml
[2]: https://tb.ipv6.btexact.com/

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Ow Mun Heng
On Thu, 2005-04-28 at 10:41 +0100, Edward Catmur wrote:
> On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
> > Is this a feature or a bug? It seems that emerge -C will not remove any
> > altered files from /etc/ once it has been changed.
> > 
> > This really leaves some cruft in my /etc/ Is this due to config-protect
> > or is it something else??
> 
> No, portage will not remove any files that have been changed (actually,
> had their mtime altered) wherever on the filesystem they reside.
> 

Which is what I would expect. But it doesn't seem to the case for me. 

I installed synergy and then removed it but the conf file was still
around.

Maybe there's something I'm not doing??

> This is a feature.
> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 17:54:36 up 2 days, 8:35, 6 users, load average: 0.83, 0.50,
0.47 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened to nautilus Scripts??

2005-04-28 Thread Edward Catmur
On Thu, 2005-04-28 at 16:35 +0800, Ow Mun Heng wrote:
> Is There such a thing left?? it used to be that we can select a file,
> right click on it and then select which script we want to execute it
> with.

The location is ~/.gnome2/nautilus-scripts, if you had them anywhere
else.

However, see http://bugs.gentoo.org/show_bug.cgi?id=87719 if you are
using nautilus 2.10 - you will need to unmask and install 
shared-mime-info 0.16.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT]Which TV recorder

2005-04-28 Thread Tamas Sarga
Hi,

I use tvtime for viewing TV. What do you suggest as a simple tv
recorder and why? I just want a simple app. to record from-time to-time
x-station to an AVI. My card uses bt787.
I read about Mythtv, but I don't want to install Mysql if it isn't
absolutely required. BTW why Mythtv depends on Mysql? It can not work
without it? What Mythtv use it for?

TIA.
Cheers,
Tamas Sarga Sárga Tamás
--
Make the world confused!Zavard össze a világot!
Smile on monday morning!Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] resume emerge after reboot

2005-04-28 Thread Tamas Sarga
Hi,

I'd like to do an emerge -e world. It would take 3 days, but I can't
sleep next to my machine, 'cause of the sound of the 7000RPM CPU cooler.
If I start an emerge, then C-c it, shutdown, start the PC at morning,
can I resume the emerge -e?

TIA.
Cheers,
Tamas Sarga Sárga Tamás
--
Make the world confused!Zavard össze a világot!
Smile on monday morning!Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT]Which TV recorder

2005-04-28 Thread Jason Cooper
Tamas Sarga ([EMAIL PROTECTED]) scribbled:
> I read about Mythtv, but I don't want to install Mysql if it isn't
> absolutely required. BTW why Mythtv depends on Mysql? It can not work
> without it? What Mythtv use it for?

mythtv uses mysql to keep track of *everything*.  Including, but not
limited to, program guide, recording schedule, previously recorded
shows, configuration, etc.  

Is there a particular reason you want to avoid mysql?  I've been using
mythtv for almost two years now.  It's a lot easier than trying to brew
your own.  Especially under gentoo.

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



Re: [gentoo-user] [OT]Which TV recorder

2005-04-28 Thread Tim Igoe
MythTV is a very useful package for recording TV, and pausing on demand
TV (you never know when you'll get that annoying phonecall while
watching your favourite program)

It needs mySQL to store all its data (TV Listings and whatnot) - it
downloads listings from a selection of sites using xmltv and stores them
in the database along with other info (channels / what to record etc).

Another advantage to myth is you can have the backend on one box, and
watch from another over a network.

Aswell as mythtv, there is an alternative called Freevo
(http://freevo.sourceforge.net/) - I haven't tried this, but from what I
gather its very similar to mythtv.

Hope that helps you a bit.

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"


Tamas Sarga wrote:
> Hi,
> 
> I use tvtime for viewing TV. What do you suggest as a simple tv
> recorder and why? I just want a simple app. to record from-time to-time
> x-station to an AVI. My card uses bt787.
> I read about Mythtv, but I don't want to install Mysql if it isn't
> absolutely required. BTW why Mythtv depends on Mysql? It can not work
> without it? What Mythtv use it for?
> 
> TIA.
> Cheers,
> Tamas Sarga   Sárga Tamás
> --
> Make the world confused!  Zavard össze a világot!
> Smile on monday morning!  Mosolyogj hétfő reggel!
> 



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] resume emerge after reboot

2005-04-28 Thread Jason Stubbs
On Thursday 28 April 2005 20:20, Tamas Sarga wrote:
> Hi,
>
> I'd like to do an emerge -e world. It would take 3 days, but I can't
> sleep next to my machine, 'cause of the sound of the 7000RPM CPU cooler.
> If I start an emerge, then C-c it, shutdown, start the PC at morning,
> can I resume the emerge -e?

Sure. emerge --resume. --resume functionality is planned to be improved in the 
future. However, at the moment emerging something else will kill the record 
of the previous emerge. I usually do a quick manual loop for it like this:

# emerge -ep world | grep ebuild | awk '{print "="substr($0, 17)}' > world
# for x in $( world2 && 
mv world2 world || break; done

The second and third lines are one line.

This allows me to stop and emerge something else first if I want to. If 
something fails, it also means that I can play around with it until it is 
merged without having to use --resume every time. Or you could remove the
"|| break" and have it continue on regardless of failures and you'll have a 
list of problems at the end.

Regards,
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Hans-Gunther Borrmann
On Thursday 28 April 2005 11:55, Ow Mun Heng wrote:
> On Thu, 2005-04-28 at 10:41 +0100, Edward Catmur wrote:
> > On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
> > > Is this a feature or a bug? It seems that emerge -C will not remove any
> > > altered files from /etc/ once it has been changed.
> > >
> > > This really leaves some cruft in my /etc/ Is this due to config-protect
> > > or is it something else??
> >
> > No, portage will not remove any files that have been changed (actually,
> > had their mtime altered) wherever on the filesystem they reside.
>
> Which is what I would expect. But it doesn't seem to the case for me.
>
> I installed synergy and then removed it but the conf file was still
> around.
>
> Maybe there's something I'm not doing??
>
> > This is a feature.
>

from "emerge --help config":

In addition to protecting overwritten files, Portage will not delete any files
from a protected directory when a package is unmerged.  While this may be a
little bit untidy, it does prevent potentially valuable config files from 
being deleted, which is of paramount importance.
-- 

Hans-Gunther Borrmann <[EMAIL PROTECTED]>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax:  +49 761/203-4643

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Laptop Internal Modem not recognised

2005-04-28 Thread Ric de France
Hi Richard,

On 4/28/05, Richard Watson <[EMAIL PROTECTED]> wrote:
> Can anyone help?  I'm trying to setup a dialup. I guess I need to set a
> ttyS?. Is there a command I can run to see if the modem has already been
> allocated a ttyS?.

Can I suggest you look up your model of your laptop at sites like:

http://tuxmobil.org/
http://www.linux-on-laptops.com/

and see if anyone else has already solved it... I went through a
period of attempting to get the winmodem working on my Toshie
notebook, but got broadband later that month, and didn't bother trying
to get it to work. I may try again in the future... 2 other links I
can also suggest (that sorta point you in the right direction) are:

http://linmodems.technion.ac.il/Linmodem-howto.html
http://linmodems.technion.ac.il/resources.html

Good luck... I don't envy you...

:-)

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
== Do you, uh... Gentoo? Gent-hooo!! ==

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where is my /dev/cdrom using UDEV

2005-04-28 Thread Wenju Zhang
CONFIG_BLK_DEV_IDECD=mI think I configed it as module.# modprobe ide-cdohh, it's ok, thank you very much.On 4/28/05, Neil Bothwick
 <[EMAIL PROTECTED]> wrote:On Thu, 28 Apr 2005 15:18:57 +0800, Wenju Zhang wrote:
> gt-dell root # lf /dev/hd*> ls: /dev/hd*: No such file or directory>> I don't know why /dev/hdc does not exist.Do you have CONFIG_BLK_DEV_IDECD enabled in your kernel?--
Neil BothwickWhat is the difference between Mechanical Engineers and Civil Engineers?Mechanical Engineers build weapons, Civil Engineers build targets.

Re: [gentoo-user] resume emerge after reboot

2005-04-28 Thread William Kenworthy
use software suspend2, just put it to sleep when needed - it will take
off again at boot.  Much better than "emerge --resume" - especially
after a few hours into openoffice ...

After trialling it on my laptop, Ive even converted my 24/7 gateway over
- can sleep it and restart it faster than a clean boot when needed
(passing thunderstorms, expected power outages etc)  A much undervalued
function!

BillK


On Thu, 2005-04-28 at 13:20 +0200, Tamas Sarga wrote:
> Hi,
> 
> I'd like to do an emerge -e world. It would take 3 days, but I can't
> sleep next to my machine, 'cause of the sound of the 7000RPM CPU cooler.
> If I start an emerge, then C-c it, shutdown, start the PC at morning,
> can I resume the emerge -e?
> 
> TIA.
> Cheers,
> Tamas Sarga   Sárga Tamás
> --
> Make the world confused!  Zavard össze a világot!
> Smile on monday morning!  Mosolyogj hétfő reggel!
> 
-- 
William Kenworthy <[EMAIL PROTECTED]>
Home!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Ciaran McCreesh
On Thu, 28 Apr 2005 10:41:58 +0100 Edward Catmur <[EMAIL PROTECTED]>
wrote:
| On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
| > Is this a feature or a bug? It seems that emerge -C will not remove
| > any altered files from /etc/ once it has been changed.
| > 
| > This really leaves some cruft in my /etc/ Is this due to
| > config-protect or is it something else??
| 
| No, portage will not remove any files that have been changed
| (actually, had their mtime altered) wherever on the filesystem they
| reside.
| 
| This is a feature.

It isn't what's happening here, however. Portage won't unmerge anything
that's CONFIG_PROTECTed. Yet another reason /etc/init.d should be added
to CONFIG_PROTECT_MASK...

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgp5La5pQRkJx.pgp
Description: PGP signature


Re: [gentoo-user] Emerge -C doesn't clean up /etc/ config files

2005-04-28 Thread Jason Stubbs
On Thursday 28 April 2005 23:24, Ciaran McCreesh wrote:
> On Thu, 28 Apr 2005 10:41:58 +0100 Edward Catmur <[EMAIL PROTECTED]>
>
> wrote:
> | On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote:
> | > Is this a feature or a bug? It seems that emerge -C will not remove
> | > any altered files from /etc/ once it has been changed.
> | >
> | > This really leaves some cruft in my /etc/ Is this due to
> | > config-protect or is it something else??
> |
> | No, portage will not remove any files that have been changed
> | (actually, had their mtime altered) wherever on the filesystem they
> | reside.
> |
> | This is a feature.
>
> It isn't what's happening here, however. Portage won't unmerge anything
> that's CONFIG_PROTECTed. Yet another reason /etc/init.d should be added
> to CONFIG_PROTECT_MASK...

The goal there is to have a MERGE_PROTECT and UNMERGE_PROTECT or whatever 
names are chosen. They will essentially do the same as CONFIG_PROTECT but 
will separate the functionality into install time and uninstall time.

The mtime/md5 checks will also be dropped. Instead there'll be a refcount on 
all known files and the file is removed when the refcount drops to 0.

Regards,
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] {OT} LayeredTech.com not Gentoo friendly

2005-04-28 Thread Grant
I'm trying to sign up with LayeredTech.com but they are rabidly
refusing to go through the:

1. boot to LiveCD
2. start networking
3. set passwd
4. start sshd

process.  They insist I rent a KVM unit from them for $30 per 24
hours.  Is this abnormal or do most hosts act this way?  I was
definitely with a Gentoo-friendly host before.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} LayeredTech.com not Gentoo friendly

2005-04-28 Thread Matthew Cline
On 4/28/05, Grant <[EMAIL PROTECTED]> wrote:
> I'm trying to sign up with LayeredTech.com but they are rabidly
> refusing to go through the:
> 
> 1. boot to LiveCD
> 2. start networking
> 3. set passwd
> 4. start sshd

If there is already a Linux distro installed on the system, you could
use the Alternative Installation HOWTO:

http://www.gentoo.org/doc/en/altinstall.xml#doc_chap6

IIRC, someone also posted some time ago their method for remotely
installing Gentoo from an existing RH install.


Matt

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] .ebuild from mod_bt ?

2005-04-28 Thread raptor
Anyone to know a .ebuild for mod_bt (torrent tracker)

mod_bt
http://freshmeat.net/projects/modbt/

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] root password from installation

2005-04-28 Thread Panos Laganakos
Hello,
I was on the installation process of 2005.0 on an x86 box. When i 
reached the point of rebooting i tried to log in as root but i got an 
"incorrect password" message.

So, what i did was, i rebooted with the universal cd and:
   o mounted dev/hda1 (boot) && dev/hda3 (root)
   o chrooted and used passwd to set the password again
Though i did this, i tried rebooting and when i tried to log in as root, 
i got the "incorrect password" message once more. Am i doing something 
wrong or is there another way of doing it?

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


Re: [gentoo-user] PAM error messsages

2005-04-28 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

/etc/security/pam_env.conf

Comment out all in that config. It was a bug in the ebuilds a while ago
(it was in the bugs database, but you will have to search for that
yourself if you want to confirm). The solution was I believe to uncomment:

REMOTEHOST DEFAULT= [EMAIL PROTECTED]
XAUTHORITY DEFAULT= [EMAIL PROTECTED]

Just put a # infront and restart sshd.


Greetings
Ralph

Patrick Marquetecken wrote:
> with my last computer i have these error when i login, it doens't matter
> if its with ssh or local. The machine has no gui installed.
> 
> Apr 27 09:05:47 localhost PAM-env[18418]: Unknown PAM_ITEM: 
> Apr 27 09:05:47 localhost sshd[18418]: PAM pam_putenv: delete non-existent
> entry; DISPLAY
> Apr 27 09:05:47 localhost PAM-env[18418]: Unknown PAM_ITEM: 
> Apr 27 09:05:47 localhost sshd[18418]: PAM pam_putenv: delete non-existent
> entry; XAUTHORITY
> 
> where can i change this, without problems?
> 
> TIA
> Patrick
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCcQdYAWKxH5yWMT8RAmJSAJ9imv8ZnKHq5Z8PgnuUuyzKH7SnEQCdGDRW
MCMCgAgJ4g7GrXlSZnbL8i8=
=CSo6
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT:HDTV and PVR

2005-04-28 Thread James
Hello,

I just read something in the linux journal about a new law going
into effect on July 1 2005, that will prevent anyone from purchasing
eqiupment that will allow you to receive HDTV broadcast signals and then
record them on your pc or burn them to a DVD.

The EFF has more details at http:
http://www.eff.org/broadcastflag/
//www.eff.org/broadcastflag/hdtv-introHY.php  

Is this true? If so, ans anyone used a HDTV capture card
that can receive broadcasts over the airwave (not cable or
satelitte) and combined it wth Personal Video Recorder
software, such as mythtv on Gentoo?

Where brand/make of hdtv-receiver-card did you use
for your PC?


James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password from installation

2005-04-28 Thread Christoph Gysin
Panos Laganakos wrote:

> Though i did this, i tried rebooting and when i tried to log in as
> root, i got the "incorrect password" message once more. Am i doing
> something wrong or is there another way of doing it?


No, you did everything right.

Boot the CD again, mount and chroot. Then create a user, set its passwd
and try to log in as user. Does that work? If yes, try to su to root.
Does that work too?

Christoph

-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT:HDTV and PVR

2005-04-28 Thread Jason Cooper
James ([EMAIL PROTECTED]) scribbled:
> Where brand/make of hdtv-receiver-card did you use
> for your PC?

http://www.pchdtv.com

It's *only* over-the-air though.

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



Re: [gentoo-user] .ebuild from mod_bt ?

2005-04-28 Thread Christoph Gysin
raptor wrote:

>Anyone to know a .ebuild for mod_bt (torrent tracker)
>
>mod_bt
>http://freshmeat.net/projects/modbt/
>
You could try writing one. There are lots of examples in
/usr/portage/www-apache using the apache-module.eclass.
It's basically just defining some variables.

If you succeed, you could submit it through bugs.gentoo.org, and it will
get integrated into portage.

Christoph

-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password from installation

2005-04-28 Thread Dirk Raeder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoph Gysin wrote:
> Panos Laganakos wrote:
> 
> 
>>Though i did this, i tried rebooting and when i tried to log in as
>>root, i got the "incorrect password" message once more. Am i doing
>>something wrong or is there another way of doing it?
> 
> 
> 
> No, you did everything right.
> 
> Boot the CD again, mount and chroot. Then create a user, set its passwd
> and try to log in as user. Does that work? If yes, try to su to root.
> Does that work too?
> 
> Christoph
> 
Don't forget to add this user to the group 'wheel' - otherwise you can't su!

- --
Dirk Raeder

I prefer encrypted and signed messages. My GPG key is available at
hkp://blackhole.pca.dfn.de with ID 0x05EB5446

Registered Linux user #378554
http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCcSH62QYJ1wXrVEYRAgbzAJ4lRn1xbXDLbOCwZDVVd20H4m+sKACcDwKj
OsbMZUaWG3O2DPmptJr3DrM=
=bcub
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB mouse stalls under X after some time of inactivity

2005-04-28 Thread Thomas Drueke
Argghhh !

And the winner is of course Jerry (don't ask about Tom, though). 


Here comes the solution:

When ever doing kernel configuration read the .

Sometimes it really s GRRR :-)



Snapshot from the help of 

"USB Human Interface Device (full HID) support"

CONFIG_USB_HID: 
  
You can't use this driver and the HIDBP (Boot Protocol) keyboard
and mouse drivers at the same time. More information is available:
. 




And guess what: I had the standard PS/2 mouse support enabled in the
kernel in parallel (for a couple of years, since I installed Linux for
the first time :-) ).

In germany we have a nice saying for that:
"Wer lesen kann ist, klar im Vorteil".
(Basically the english translation would mean something like RTFM
but in a more polite way :-) ).


Thanks for the help and friendly words, guys. :-)

BR
Thomas

Am Mittwoch, den 27.04.2005, 19:18 +0200 schrieb Thomas Drueke:
> Yep. :-)
> 
> And appearently it's still not clear who wins... :-( (or better:
> GRRR ;-) )
> 
> Well I upgraded to "udev" now but still no better situation.
> 
> Thomas
> 
> Am Dienstag, den 26.04.2005, 16:10 +0200 schrieb Bastian Balthazar Bux:
> > > information is now obvious. Now even the "cat /dev/input/mice" does not
> > > bring back my mouse. GRRR. :-)
> > 
> > this seems to be a Tom & Jerry story :)
> > 
> -- 
> Thomas Drueke <[EMAIL PROTECTED]>
> 
-- 
Thomas Drueke <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT:HDTV and PVR

2005-04-28 Thread James
Jason Cooper  lakedaemon.net> writes:

> 
> James (wireless  tampabay.rr.com) scribbled:
> > Where brand/make of hdtv-receiver-card did you use
> > for your PC?
> 
> http://www.pchdtv.com
> 
> It's *only* over-the-air though.

That's OK, I was looking at a Samsung SyncMaster 403T 40"
display. It has a vga (Dsub 15pin) connector. 
It's 1280x768 (15:9 aspect ratio). How do I know if this
display watches (filters) for the "broadcast flag" over the
Dsub 15pin connector or not?


James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] i386-pc-linux-gnu-gcc broken

2005-04-28 Thread Lubos Kolouch
Hello again

I found another two packages with this problem :

libgtkhtml-2.3.5

compilation result : 

orbit-idl-2 2.12.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers
skel_impl imodule

gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file

** (process:13023): WARNING **: ./Editor.idl compilation failed
make[3]: *** [Editor.h] Error 1
make[3]: Leaving directory
`/var/tmp/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5/components/html-editor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5'
make: *** [all] Error 2

and gthumb-2.6.5.

orbit-idl-2 2.12.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers
skel_impl imodule

gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file

** (process:20472): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gthumb-2.6.5/work/gthumb-2.6.5/components/image-viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gthumb-2.6.5/work/gthumb-2.6.5/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gthumb-2.6.5/work/gthumb-2.6.5'
make: *** [all] Error 2


Is it just my problem or anybody of you has it too?

Thanks

Lubos

On 4/27/05, Lubos Kolouch <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> (after hours of googling)
> 
> When I do emerge kdegraphics (but also other packages) the compilation
> ends with error complaining that the i386-pc-linux-gnu-gcc cannot be
> run/located.
> 
> however
> 
> (installed from 2005.3 universal CD)
> 
> # /usr/bin/i386-pc-linux-gnu-gcc
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> 
> # ls -l /usr/bin/ | grep i386
> -rwxr-xr-x  1 root root   7196 Mar 10 19:50 i386-pc-linux-gnu-gcc
> -rwxr-xr-x  1 root root 47 Mar 10 19:56 i386-pc-linux-gnu-gcc32
> 
> # gcc-config -l
> [1] i686-pc-linux-gnu-3.3.5 *
> [2] i686-pc-linux-gnu-3.3.5-hardened
> [3] i686-pc-linux-gnu-3.3.5-hardenednopie
> [4] i686-pc-linux-gnu-3.3.5-hardenednossp
> [5] i686-pc-linux-gnu-3.4.3-20050110
> [6] i686-pc-linux-gnu-3.4.3-20050110-hardened
> [7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
> [8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp
> 
> Where is the problem?
> 
> Thank you
> 
> Lubos
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: OT:HDTV and PVR

2005-04-28 Thread Jason Cooper
James ([EMAIL PROTECTED]) scribbled:
> Jason Cooper  lakedaemon.net> writes:
> 
> > 
> > James (wireless  tampabay.rr.com) scribbled:
> > > Where brand/make of hdtv-receiver-card did you use
> > > for your PC?
> > 
> > http://www.pchdtv.com
> > 
> > It's *only* over-the-air though.
> 
> That's OK, I was looking at a Samsung SyncMaster 403T 40"
> display. It has a vga (Dsub 15pin) connector. 
> It's 1280x768 (15:9 aspect ratio). How do I know if this
> display watches (filters) for the "broadcast flag" over the
> Dsub 15pin connector or not?

If the input is VGA, then it has to comply with the VESA VGA standard.
There is no broadcast flag there, AFAIK.  If it can tune HDTV directly 
(raw antenna input), then you'll have to check the manual or call the
manufacturer.

Regardless, if you feed it via the VGA port, then you won't have a
problem.

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



[gentoo-user] Getting DVD label naam

2005-04-28 Thread Patrick Marquetecken
Hi,

I need to copy 50 DVD's, with a script i create a .iso with mkisofs and
then burn it with growisofs.
I have seen that this way i looses the DVD naam with is important, how i
can i keep/know the original DVD naam so i can use it as a parameter for
mkisofs?
The machine where the copy is done has no X installed.

TIA
Patrick
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Julien Cayzac
On 4/28/05, Daniel Röder <[EMAIL PROTECTED]> wrote:
> I try to get my external USB2.0 HDD working with my Gentoo-System with
> Kernel 2.6.11-r6.

Mine works out of the box on a 2.6.10-r6 system.
$ dmesg
...
usb 1-1: new high speed USB device using ehci_hcd and address 3
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: TUSB6250  Model: USB20 DISK DRIVE  Rev:
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: assuming drive cache: write through
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: assuming drive cache: write through
 /dev/scsi/host2/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

and it shows up as /dev/sda.

Must be your kernel config.

Julien.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] i386-pc-linux-gnu-gcc broken

2005-04-28 Thread Dave Nebinger
> I found another two packages with this problem :
> 

Have you tried "fix_libtool_files.sh 3.3.5"?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wine with Jack

2005-04-28 Thread Christoph Eckert

>   Quick question - has anyone had any success running
> Windows sound apps in any version of Wine using the Jack
> driver?

native windows applications don't be jackified.

For JACK, there's a jack-vsti plugin to run VSTI plugins on 
top of JACK using Wine.

I've been told that some people got VSTIs running this way.

BTW: I guess you can get better answers from the linux audio 
user mailing list.

cu there ;-)


 Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT:HDTV and PVR

2005-04-28 Thread James
Jason Cooper  lakedaemon.net> writes:


> If the input is VGA, then it has to comply with the VESA VGA standard.
> There is no broadcast flag there, AFAIK.  If it can tune HDTV directly 
> (raw antenna input), then you'll have to check the manual or call the
> manufacturer.
> 
> Regardless, if you feed it via the VGA port, then you won't have a
> problem.

Cool beans

Last question.

Are there any pci buss cards that receive HDTV signal other than
terrestrial broadcast, such as satellite or cable or ?

If not, then could I receive Cable grade hdtv, divert it into the 
pchdtv card, record and then send to a monitor?

Any other schemes or places to read about schema and equipment?

James


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sshd publickey only

2005-04-28 Thread Peet Grobler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Me again.
I need to configure the ssh daemon to only accept public-key auth, not
password-auth. As far as I am aware, disabling password-auth in
/etc/ssh/sshd_config should accomplish this. I did this:
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no
RSAAuthentication yes
PubkeyAuthentication yes
But - I can stil login without pubkey and with password. I did re-start
the ssh daemon. This method worked fine on my debian boxen, what am I
missing in gentoo?
If you need more info - just ask.
Regards,
- --
Peet Grobler
Public PGP key available from wwwkeys.pgp.net
http://peet.hivemind.net/PGPKeys.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCcTzzz77+L65p5ZIRAgyLAKChIOF5HodofPfrb61pSwdG5qFJCwCfcphl
ZwqeCnsXKQ7U4U+aeXgxSHg=
=hBN1
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Re: sshd publickey only

2005-04-28 Thread Tom Van Doorsselaere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I had the same problem.
The problem is caused by PAM interfering with sshd. To solve it you need
to adjust /etc/pam.d/sshd.
My file contains
- -
accountrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
auth   required /lib/security/pam_warn.so
auth   required /lib/security/pam_deny.so
- -
If I remember correctly, the last two lines are the lines you need.
HTH
Tom
Peet Grobler wrote:
| Me again.
|
| I need to configure the ssh daemon to only accept public-key auth, not
| password-auth. As far as I am aware, disabling password-auth in
| /etc/ssh/sshd_config should accomplish this. I did this:
|
| # To disable tunneled clear text passwords, change to no here!
| PasswordAuthentication no
| PermitEmptyPasswords no
| RSAAuthentication yes
| PubkeyAuthentication yes
|
| But - I can stil login without pubkey and with password. I did re-start
| the ssh daemon. This method worked fine on my debian boxen, what am I
| missing in gentoo?
|
| If you need more info - just ask.
|
| Regards,
| --
| Peet Grobler
|
| Public PGP key available from wwwkeys.pgp.net
|
| http://peet.hivemind.net/PGPKeys.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCcUJYQTaBhxBS2xERAvhZAJ99+7sq+3ZnWdSieAvSCeqp9sJ0/ACfS//l
TJLugSit6dvd0ECOD22sLMM=
=uCrL
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


[gentoo-user] ATAPI burner recognition fails on kernel 2.6.11

2005-04-28 Thread Norbert Kamenicky
Hi,

I have i865PE based mobo + SATA HDD on /dev/sda (primary/master).
I had to setup BIOS to SATA+PATA (combined) mode, for my burner,
which is secondary/master.

BIOS sees both drives and even (older) Knoppix 3.7 is booting no problem
(ide-scsi module is used for CDRW handling on /dev/scd0).

I like to use CDRW in ATAPI mode, but kernel 2.6.11
(I tried vanilla-sources-2.6.11.7 and also gentoo-sources-2.6.11-r6)
do not recognize my burner, "dmesg |grep hd"  shows only SATA HDD.

I tried to add hdx=cdrom (x={a,b,c,d}) to boot prompt, but it doesn't
help at all.

I also replaced the burner with another model without success.
If I replace it with PATA HDD, kernel recognizes it, but the HDD is
accessible via /dev/sdb (probably here the problem is - this is really
a bit strange for me).

There are my relevant kernel options:

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y  (ata cdrom)
CONFIG_BLK_DEV_IDEPCI=y
4CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y

CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_ATA_PIIX=y (i865 SATA)
CONFIG_SCSI_QLA2XXX=y (added by ghost)

CONFIG_BLK_DEV_SR=m (scsi cdrom)


Does anybody know, where the problem is ?
Any suggestions appreciated.
(.config of working SATA+PATA kernel would help me too.)

TIA noro

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting DVD label naam

2005-04-28 Thread Neil Bothwick
On Thu, 28 Apr 2005 20:41:17 +0200 (CEST), Patrick Marquetecken wrote:

> I need to copy 50 DVD's, with a script i create a .iso with mkisofs and
> then burn it with growisofs.

"cp /dev/cdrom somefile.iso" is all you need. There's no need to use
mkisofs since the DVD already has an ISO or UDF filesystem.

> I have seen that this way i looses the DVD naam with is important, how i
> can i keep/know the original DVD naam so i can use it as a parameter for
> mkisofs?

To grab the original volume name from a DVD, along with plenty of other
information, use cd-info, which is part of the libcdio package.


-- 
Neil Bothwick

"Bad dog! Leave that wire [EMAIL PROTECTED] TERRIER


pgpRhDWdRd1w3.pgp
Description: PGP signature


Re: [gentoo-user] sshd publickey only

2005-04-28 Thread Graham Murray
Peet Grobler <[EMAIL PROTECTED]> writes:

> # To disable tunneled clear text passwords, change to no here!
> PasswordAuthentication no
> PermitEmptyPasswords no
> RSAAuthentication yes
> PubkeyAuthentication yes
>
> But - I can stil login without pubkey and with password. I did re-start
> the ssh daemon. This method worked fine on my debian boxen, what am I
> missing in gentoo?

Have you also got
UsePAM yes

If so then set this to 'no'
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally! But a few issues...

2005-04-28 Thread Walter Dnes
On Wed, Apr 27, 2005 at 12:53:29AM -0400, Colin wrote
> Finally!  I have a working install of Linux 2.6.11-gentoo-r6 on a
> Pentium II machine that I plan to  use as a portable media center. 
> (Think of it as an iPod on steroids.)

  It's probably OK if you intend to run only audio, but video might be a
problem.  I finally found an excuse to look for a replacement for my
1999-vintage Dell (450 mhz PIII with 128 megs of RAM).  I find that
mplayer has problems keeping up with 45 kbit/sec "internet TV" streams.

  You mentioned that your USB is painfully slow.  A PII-vintage machine
would not have been built with USB 2.  It didn't exist back then.  You
have USB 1.1 at best, i.e. just over 1 megabyte/second.  You're *NOT*
going to get faster speeds by changing the filesystem on the key or
media.  The main bottleneck is your old USB hardware.  The PII probably
would have problems keeping up with USB 2 throughput as well.

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with media-libs/libsdl-1.2.8-r1

2005-04-28 Thread Vittorio
 Tonight - after "emerge --sync" -  "emerge -uD world"  stops compiling 
media-libs/libsdl-1.2.8-r1 and says:
...
arch=pentium4 -fomit-frame-pointer -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT 
-DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT 
-DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT 
-DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.3/include/artsc -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT 
-DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video 
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL 
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION 
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux 
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions 
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread 
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c 
SDL_yuv_mmx.c -o SDL_yuv_mmx.o >/dev/null 2>&1
make[3]: *** [SDL_yuv_mmx.lo] Error 1
make[3]: *** Waiting for unfinished jobs
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. 
-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer -Wall -DENABLE_DUMMYVIDEO 
-DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes 
-DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM 
-DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.3/include/artsc 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT 
-DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video 
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL 
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION 
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux 
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions 
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread 
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c 
SDL_yuv_sw.c -o SDL_yuv_sw.o >/dev/null 2>&1
make[3]: Leaving directory 
`/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsdl-1.2.8-r1 failed.
!!! Function src_compile, Line 137, Exitcode 2

What should I do?

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



Re: [gentoo-user] Problems with media-libs/libsdl-1.2.8-r1

2005-04-28 Thread darren kirby
quoth the Vittorio:

> What should I do?
>
> Vittorio

Turn off distcc and try again. I have found that some apps refuse to compile 
when using distcc. I think this solved the same problem for me last night, 
although it may have been one of the other sdl* packages.

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972


pgpEdTB9Q3KjR.pgp
Description: PGP signature


Re: [gentoo-user] [OT]Which TV recorder

2005-04-28 Thread Urs Schuetz
On Thu, 28 Apr 2005, Tamas Sarga wrote:

> Hi,
> 
> I use tvtime for viewing TV. What do you suggest as a simple tv
> recorder and why? I just want a simple app. to record from-time
> to-time x-station to an AVI. My card uses bt787.

Nuppelvideo, a simple low-ressource CLI recorder. Project seems
abadoned, too bad! *.nuv filescan be converted/compressed to *.avi
with mencoder. Records full tv resolution on my 880 MHz AMD.

http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/

Urs

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] script to recursively unmask a package

2005-04-28 Thread Roy O. Wright
Howdy,
I was wanting to install just kdebase-3.4.0 without unmasking all of 
kde-3.4.0.  The "HOWTO
Update KDE 3.3 to KDE 3.4" 
(http://www.gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4)
suggested running emerge kdebase -p, find a package that is blocking, 
then add that package to
/etc/portage/packages.keywords, and repeat until no more packages are 
blocking.  Tedious. 
So here's a perl script to do just that.  It will work for any package.

Usage:  unmask.pl packageName
-- begin: unmask.pl 
#!/usr/bin/perl -w
# quick hack to recursively unmask all packages that are blocking the given
# package from emerging.
# usage: unmask.pl packageName
print "unmasking:=$ARGV[0]\n";
&doit;
exit(0);
# doit()
sub doit {
   local $flag = 1;
   local $package = $ARGV[0];
   while($flag) {
   $flag = 0;
   open my $fh, "emerge $package -p|" || die "could not open: 
emerge $package -p";
   while(<$fh>) {
   if(/^\-\s+(.*)\-[\d\.]+\s+\(masked 
by\:\s+(\~\S+)\s+keyword\)/) {
   unmask($1, $2);
   $flag = 1;
   last;
   }
   }
   close($fh);
   }
}

# unmask the file by adding it to /etc/portage/package.keywords
sub unmask
{
   local($name, $arch) = @_;
   print "unmasking: $name\n";
   open my $fh, ">>/etc/portage/package.keywords" || die "can't open 
package.keywords: $!";
   print $fh "$name $arch\n";
   close $fh;
}
-- end: unmask.pl 

Have fun,
Roy
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] script to recursively unmask a package

2005-04-28 Thread Jason Cooper
Roy O. Wright ([EMAIL PROTECTED]) scribbled:
> Howdy,
> 
> I was wanting to install just kdebase-3.4.0 without unmasking all of 
> kde-3.4.0.  The "HOWTO
> Update KDE 3.3 to KDE 3.4" 
> (http://www.gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4)
> suggested running emerge kdebase -p, find a package that is blocking, 
> then add that package to
> /etc/portage/packages.keywords, and repeat until no more packages are 
> blocking.  Tedious. 
> So here's a perl script to do just that.  It will work for any package.
> 
> Usage:  unmask.pl packageName
> 
> -- begin: unmask.pl 
[snip]
> -- end: unmask.pl 

No, no, no... You got it all wrong.  We can't have a portage utility
with a name that makes sense.  You need to rename it to something like
'gunmk' (Gentoo UNMasK).  :-)

Seriously, though.  Nice script.  

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



Re: [gentoo-user] Recommendation for online contact manager?

2005-04-28 Thread Sean Higgins

Travis,

Check out SugarCRM.  We just purchased it for our office.  There is a 
free/professional version.  We moved from SalesForce to SugarCRM and it is 
working very well for us.

  Sean

On Tuesday 26 April 2005 01:15 pm, Travis Osterman wrote:
> Does anyone have a good recommendation for a contact information
> management system for a relatively small group of people (~200)?  I
> would prefer web-based and it should allow users to update their own
> information easily while allowing everyone easy access to searching
> and viewing the directory.
>
> Thanks for any input.
>
> -- Travis Osterman

-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - "Where information becomes knowledge."
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password from installation

2005-04-28 Thread Panos Laganakos
Christoph Gysin wrote:
No, you did everything right.
Boot the CD again, mount and chroot. Then create a user, set its passwd
and try to log in as user. Does that work? If yes, try to su to root.
Does that work too?
Christoph
You lead me to the answer, thanks :)
Apparently i misconfigured the ability of root to login from the shell, 
but i hope i'll fix.

Dirk Raeder wrote:
Don't forget to add this user to the group 'wheel' - otherwise you can't su!
Thanks for the heads up. :)
--
gentoo-user@gentoo.org mailing list


[gentoo-user] gnome config

2005-04-28 Thread Adi
Hi.
Well I decided to try the new gnome 2.10, after previous dissapointments and 
uninstallations so I painfully unmasked and unkeyworded (?) each dependancy 
by hand just to find out when starting gnome that it somehow kept my old 
settings. I tried rming ~/.gnome* ~/.gtk* ~/.gconf*, but to no avail. They 
were still there. And looking in /etc/ and /usr/share/ didn't yeld anything.
Anyone got any thoughts on how I should go about removing my old settings to 
start from scratch (except creating a new user)? 

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



Re: [gentoo-user] script to recursively unmask a package

2005-04-28 Thread Adi
Vineri 29 Aprilie 2005 01:26, Roy O. Wright a scris:
> Howdy,
>
> I was wanting to install just kdebase-3.4.0 without unmasking all of
> kde-3.4.0.  The "HOWTO
> Update KDE 3.3 to KDE 3.4"
> (http://www.gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4)
> suggested running emerge kdebase -p, find a package that is blocking,
> then add that package to
> /etc/portage/packages.keywords, and repeat until no more packages are
> blocking.  Tedious.
> So here's a perl script to do just that.  It will work for any package.
>
> Usage:  unmask.pl packageName
>
> -- begin: unmask.pl 
> #!/usr/bin/perl -w
>
> # quick hack to recursively unmask all packages that are blocking the given
> # package from emerging.
> # usage: unmask.pl packageName
>
> print "unmasking:=$ARGV[0]\n";
>
> &doit;
> exit(0);
>
> # doit()
> sub doit {
> local $flag = 1;
> local $package = $ARGV[0];
>
> while($flag) {
> $flag = 0;
> open my $fh, "emerge $package -p|" || die "could not open:
> emerge $package -p";
> while(<$fh>) {
> if(/^\-\s+(.*)\-[\d\.]+\s+\(masked
> by\:\s+(\~\S+)\s+keyword\)/) {
> unmask($1, $2);
> $flag = 1;
> last;
> }
> }
> close($fh);
> }
> }
>
> # unmask the file by adding it to /etc/portage/package.keywords
> sub unmask
> {
> local($name, $arch) = @_;
> print "unmasking: $name\n";
> open my $fh, ">>/etc/portage/package.keywords" || die "can't open
> package.keywords: $!";
> print $fh "$name $arch\n";
> close $fh;
> }
> -- end: unmask.pl 
>
> Have fun,
> Roy
I wish you posted this 2 days ago ... great work! :)
-- 
Adi
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome config

2005-04-28 Thread Spider
On Fri, 2005-04-29 at 02:25 +0300, Adi wrote:
> Hi.
> Well I decided to try the new gnome 2.10, after previous dissapointments and 
> uninstallations so I painfully unmasked and unkeyworded (?) each dependancy 
> by hand just to find out when starting gnome that it somehow kept my old 
> settings. I tried rming ~/.gnome* ~/.gtk* ~/.gconf*, but to no avail. They 
> were still there. And looking in /etc/ and /usr/share/ didn't yeld anything.
> Anyone got any thoughts on how I should go about removing my old settings to 
> start from scratch (except creating a new user)? 


make sure you are logged out of gnome.
Kill all stray gconf processes (gconftool-2 --shutdown )
remove ~/.gnome2 ~/.gconf*  


And you should be set. The thing is that the gconf process stores its
state in RAM, and writes it to disk when it exits.


//Spider

-- 
begin  .signature
Tortured users / Laughing in pain
See Microsoft KB Article Q265230 for more information.
end



signature.asc
Description: This is a digitally signed message part


RE: [gentoo-user] Samba start error

2005-04-28 Thread Richard Watson
On 4/28/05, Richard Watson <[EMAIL PROTECTED]> wrote:
> When Samba starts I get the error "lpstat: Unable to connect to server:
> Connection refused". It actually doesn't seem to affect much as I can see
> the shares I've created but I'm curious. Thanks, Richard

This has to do with the printing support of samba, your smb.conf is
probably configured to share printers as well as files, and when samba
tries to access the print spooler to find out what printers are
available it fails to connect.

Samba regards this as non-fatal as it can still provide useful
services by sharing files and directories.

You should be able to find more information about samba's printing
support in their HOWTO or FAQ documents.

Thanks ... All fixed ... Richard

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: intel 6300esb onboard raid

2005-04-28 Thread Claudinei Matos
Scott,

I've tryed your tips and found that my RAID controller is software
based aka RAID fake...
well, I get the gen2dmraid and give it a try but it not found any
software RAID at my system.
I've discovered that my controller is a intel IHC5 and it's hard to
find docummentation to his...
I found at the intel CD some drivers for redhat 9 pro, but it refuse
to work at RH9 installation and I coudn't unpack the modules.cgz file.
Maybe doesn't exists support for this controller at linux yet?
I'm thinking that I'll only use RAID in this machine if I do it with
software, what sounds bad to me. So any tips would be appreciated.


Tks in any advice,

Claudinei Matos

-- Forwarded message --
From: Scott Storck <[EMAIL PROTECTED]>
>Hi guys,
>
>I'm own a Intel se7210tp1-e with a onboard Intel 6300ESB Raid
Controller w/ two 80GB disks
>Well, I'm new to this hardware RAID things. My doubt is the follow:
>
>I've booted gentoo 2005.0 live-cd and when I typed "fdisk -l" I've
got two disks printed:
>sda and sdb
>
>
If your raid shows both drives under linux, instead of one drive, then
it is not a true hardware raid.
It is then a hardware raid which need os software support for the raid
function.

SATA raid is a little strange with kernel 2.6 and gentoo doesn't seem to
fully support it yet.
As of kernel 2.6 there is a new block device manager called "device mapper".
The device mapper is used to support this type of raid controler.

Using a tool called "dmraid" you can have the RAID information read out
of the disks,
and dmraid will construct the device mapper devices which allow you to
use the raid as such.
After booting a 2005.0 livecd, you can check to see if  running "dmsetup
ls" shows you a raid device.

If so, then the dmraid command and device mapper on the 2005.0 livdcd
supports your controler.
The dmraid on the 2005.0 livecd has some know problems. The version on
the cd is 1.0.0.rc6.
Specifically, sometimes it shows the capacitly of RAID 1 devices being
less then what it is.
Usually by a factor of two. ie 2 x 80GB in RAID 1 makes 80GB, however
you end up with only 40GB in your raid.
If this is the case, you can't simply use the normal livecd to install.
There is a newer version of the "dmraid" tool. (1.0.0.rc7) which however
fixes this.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get IPV6 working?

2005-04-28 Thread Walter Dnes
On Thu, Apr 28, 2005 at 11:57:34AM +0200, Nicolas Litchinko wrote

> [1]: http://www.gentoo.org/doc/en/ipv6.xml
> [2]: https://tb.ipv6.btexact.com/

  Thanks.  RTFM is easy.  It seems that the hardest part of linux is
FTFM, i.e.  Find The F.. Manual

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] resume emerge after reboot

2005-04-28 Thread Daevid Vincent
No, 'emerge --resume' is lame. It doesn't do what you're thinking it does.

What you want is:

ebuild  merge

should do the trick -- at least for the last package that was worked
on. To find the last ebuild that was worked on, check
/var/log/emerge.log... it'll be one of the last lines in the file.

After that, you should be able to just issue the original emerge
command, and it should pick up where it left off.

> -Original Message-
> From: Tamas Sarga [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 28, 2005 4:20 AM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] resume emerge after reboot
>
> Hi,
>
> I'd like to do an emerge -e world. It would take 3 days, but I can't
> sleep next to my machine, 'cause of the sound of the 7000RPM
> CPU cooler.
> If I start an emerge, then C-c it, shutdown, start the PC at morning,
> can I resume the emerge -e?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: intel 6300esb onboard raid

2005-04-28 Thread W.Kenworthy
Software raid has a few advantages.  On long lived systems (which any
gentoo system should be - install once and modify on the fly), it allows
you to move the raid from system to system and across hardware in a much
easier and transparent fashion with less risk to your data - did this
twice up until one of the ibm "death"stars failed.  FS repair may be
easier without propriety hardware in between as well.  As to speed, my
only benchmark was from my Mandrake 7. something days where it was
"thought" that linux software raid clearly outperformed the
manufacturers softraid approach.  Driver maturity may have helped here
by now, but then again cpu's have gotten much faster.  It was
reccomended that the raid controllers be set to ide mode, and just use
the linux software raid - in ide mode the controllers were quite good in
their own right.

I would be interested in other ideas and benchmarks here as I will be
going back to a raid zero setup soon (2x 200GB WD sata drives driven
from a promise softraid controller - do I use the internal raid for
performance, or go with the way I used to do it ?)

BillK


On Thu, 2005-04-28 at 21:47 -0300, Claudinei Matos wrote:
> Scott,
> 
> I've tryed your tips and found that my RAID controller is software
> based aka RAID fake...
> well, I get the gen2dmraid and give it a try but it not found any
> software RAID at my system.
> I've discovered that my controller is a intel IHC5 and it's hard to
> find docummentation to his...
> I found at the intel CD some drivers for redhat 9 pro, but it refuse
> to work at RH9 installation and I coudn't unpack the modules.cgz file.
> Maybe doesn't exists support for this controller at linux yet?
> I'm thinking that I'll only use RAID in this machine if I do it with
> software, what sounds bad to me. So any tips would be appreciated.
> 
> 
> Tks in any advice,
> 
> Claudinei Matos
> 
> -- Forwarded message --
> From: Scott Storck <[EMAIL PROTECTED]>
> >Hi guys,
> >
> >I'm own a Intel se7210tp1-e with a onboard Intel 6300ESB Raid
> Controller w/ two 80GB disks
> >Well, I'm new to this hardware RAID things. My doubt is the follow:
> >
> >I've booted gentoo 2005.0 live-cd and when I typed "fdisk -l" I've
> got two disks printed:
> >sda and sdb
> >
> >
> If your raid shows both drives under linux, instead of one drive, then
> it is not a true hardware raid.
> It is then a hardware raid which need os software support for the raid
> function.
> 
> SATA raid is a little strange with kernel 2.6 and gentoo doesn't seem to
> fully support it yet.
> As of kernel 2.6 there is a new block device manager called "device mapper".
> The device mapper is used to support this type of raid controler.
> 
> Using a tool called "dmraid" you can have the RAID information read out
> of the disks,
> and dmraid will construct the device mapper devices which allow you to
> use the raid as such.
> After booting a 2005.0 livecd, you can check to see if  running "dmsetup
> ls" shows you a raid device.
> 
> If so, then the dmraid command and device mapper on the 2005.0 livdcd
> supports your controler.
> The dmraid on the 2005.0 livecd has some know problems. The version on
> the cd is 1.0.0.rc6.
> Specifically, sometimes it shows the capacitly of RAID 1 devices being
> less then what it is.
> Usually by a factor of two. ie 2 x 80GB in RAID 1 makes 80GB, however
> you end up with only 40GB in your raid.
> If this is the case, you can't simply use the normal livecd to install.
> There is a newer version of the "dmraid" tool. (1.0.0.rc7) which however
> fixes this.
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burner recognition fails on kernel 2.6.11

2005-04-28 Thread Walter Dnes
On Thu, Apr 28, 2005 at 10:09:56PM +0200, Norbert Kamenicky wrote
> Hi,
> 
> I have i865PE based mobo + SATA HDD on /dev/sda (primary/master).
> I had to setup BIOS to SATA+PATA (combined) mode, for my burner,
> which is secondary/master.
> 
> BIOS sees both drives and even (older) Knoppix 3.7 is booting no problem
> (ide-scsi module is used for CDRW handling on /dev/scd0).
> 
> I like to use CDRW in ATAPI mode, but kernel 2.6.11
> (I tried vanilla-sources-2.6.11.7 and also gentoo-sources-2.6.11-r6)
> do not recognize my burner, "dmesg |grep hd"  shows only SATA HDD.
> 
> I tried to add hdx=cdrom (x={a,b,c,d}) to boot prompt, but it doesn't
> help at all.

  You probably have to be root to do the following.  Try the command...

cdrecord dev=help >x.txt 2>&1

and look at the contents of x.txt with your favourite text editor or
file viewer.  cdrecord sends diagnostic output to stderr, not stdout,
which is why the weird redirection is required.

Look for lines beginning with... "Transp. layer ind.:"

  They list the type of transports potentially available. On my system,
the transports listed are ATA: and ATAPI: (plus REMOTE:, which is not
applicable to my system).  Therefore, I can use either of...

cdrecord -scanbus dev=ATA:
cdrecord -scanbus dev=ATAPI:

  They both generate a list CDROM/DVDROM devices.  The "ATA:" version
returns the list immediately, but the "ATAPI:" version spins its wheels
for a few seconds before outputting the list.  The available transports
may be different on your system.  Can you get any of your available
transport options to return a list?

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATAPI burner recognition fails on kernel 2.6.11

2005-04-28 Thread Richard Fish
Norbert Kamenicky wrote:

>Hi,
>
>I have i865PE based mobo + SATA HDD on /dev/sda (primary/master).
>I had to setup BIOS to SATA+PATA (combined) mode, for my burner,
>which is secondary/master.
>
>BIOS sees both drives and even (older) Knoppix 3.7 is booting no problem
>(ide-scsi module is used for CDRW handling on /dev/scd0).
>
>I like to use CDRW in ATAPI mode, but kernel 2.6.11
>(I tried vanilla-sources-2.6.11.7 and also gentoo-sources-2.6.11-r6)
>do not recognize my burner, "dmesg |grep hd"  shows only SATA HDD.
>
>I tried to add hdx=cdrom (x={a,b,c,d}) to boot prompt, but it doesn't
>help at all.
>
>I also replaced the burner with another model without success.
>If I replace it with PATA HDD, kernel recognizes it, but the HDD is
>accessible via /dev/sdb (probably here the problem is - this is really
>a bit strange for me).
>
>There are my relevant kernel options:
>
>CONFIG_IDE=y
>CONFIG_BLK_DEV_IDE=y
>CONFIG_BLK_DEV_IDEDISK=y
>CONFIG_IDEDISK_MULTI_MODE=y
>CONFIG_BLK_DEV_IDECD=y  (ata cdrom)
>CONFIG_BLK_DEV_IDEPCI=y
>4CONFIG_BLK_DEV_IDEDMA_PCI=y
>CONFIG_IDEDMA_PCI_AUTO=y
>CONFIG_BLK_DEV_IDEDMA=y
>CONFIG_IDEDMA_AUTO=y
>
>CONFIG_SCSI=y
>CONFIG_SCSI_PROC_FS=y
>CONFIG_SCSI_MULTI_LUN=y
>CONFIG_SCSI_CONSTANTS=y
>CONFIG_SCSI_LOGGING=y
>CONFIG_SCSI_SATA=y
>CONFIG_SCSI_ATA_PIIX=y (i865 SATA)
>CONFIG_SCSI_QLA2XXX=y (added by ghost)
>
>CONFIG_BLK_DEV_SR=m (scsi cdrom)
>
>
>Does anybody know, where the problem is ?
>Any suggestions appreciated.
>(.config of working SATA+PATA kernel would help me too.)
>
>TIA noro
>
>  
>

I could be wrong (don't have SATA yet), but I think maybe you also need
one or both of:

CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_PIIX=y

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Richard Fish
Julien Cayzac wrote:

>On 4/28/05, Daniel Röder <[EMAIL PROTECTED]> wrote:
>  
>
>>I try to get my external USB2.0 HDD working with my Gentoo-System with
>>Kernel 2.6.11-r6.
>>
>>
>
>Mine works out of the box on a 2.6.10-r6 system.
>$ dmesg
>...
>usb 1-1: new high speed USB device using ehci_hcd and address 3
>scsi2 : SCSI emulation for USB Mass Storage devices
>usb-storage: device found at 3
>  
>

BTW, something that happens to me quite often is that the drive comes
loose inside the case.  When it happens, I get the "new high speed.."
message, but not the USB storage messages.  You might just want to
double check that the drive is still attached to the card...although if
the live CD can still recognize it then this isn't the problem.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] resume emerge after reboot

2005-04-28 Thread Jason Stubbs
On Friday 29 April 2005 10:23, Daevid Vincent wrote:
> No, 'emerge --resume' is lame. It doesn't do what you're thinking it does.
>
> What you want is:
>
> ebuild  merge
>
> should do the trick -- at least for the last package that was worked
> on. To find the last ebuild that was worked on, check
> /var/log/emerge.log... it'll be one of the last lines in the file.
>
> After that, you should be able to just issue the original emerge
> command, and it should pick up where it left off.

This can be dangerous depending on the package you are trying to resume the 
compile of. There are also other side-effects of using ebuild (such as 
packages not being added to world) that will invariably lead to INVALID bugs.

Regards,
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] what's the deal with use flags in (brackets)?

2005-04-28 Thread daniel
i've been noticing lately that the output of emerge -pv is giving me some 
interesting output:

  $ emerge -pv mplayer

  These are the packages that I would merge, in order:

  Calculating dependencies ...done!
  [ebuild   R   ] media-video/mplayer-1.0_pre6-r5  (-3dfx) (-3dnow) +3dnowext
  +X -aalib +alsa (-altivec) -arts +avi -bidi -bl +cdparanoia +debug +dga
  -directfb (-divx4linux) -doc +dts +dv +dvb +dvd +dvdread +edl +encode -esd
  -fbcon -ggi +gif -gtk +i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live
  +lzo +mad -matroska -matrox (-mmx) (-mmxext) +mpeg -mythtv -nas +nls -nvidia
  +oggvorbis +opengl -oss +png +real +rtc -samba -sdl (-sse) (-sse2) (-svga)
  +tga +theora +truetype +v4l +v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc 0kB

what i'm trying to understand here is why so many of the above flags are in 
brackets and marked with a "-" even though they're clearly enabled in my 
make.conf file as flags i want to use.  most important being mmx, sse, sse2 
and divx4linux.

can someone please explain to me why these flags are being ignored and what 
those brackets mean?  if you're interested, here's my USE variable in 
make.conf (i used app-portage/ufed):

USE="-* 3dnow 3dnowex 3dnowext X aac acl acpi acpi4linux aim alsa amarok
 audiofile avantgo avi berkdb bzip2 bzlib cdda cdio cdparanoia cdr
 chroot codecs css curl debug dga dio divx4linux dnd dts dv dvb dvd
 dvdr dvdread edl encode exif extraicons faad ffmpeg freetype ftp gd
 geoip gif gpgme gstreamer i8x0 icq jabber java javascript jpeg
 jpeg2k kde kdepim libclamav libgd libwww lm_sensors logitech-mouse
 lzo lzw-tiff mad maildir md5sum mmx mmxext motif moznocompose
 moznoirc moznomail moznoxft mozp3p mozsvg mp3 mpeg mpeg4 mplayer
 msn ncurses network nls no-old-linux noamazon nocd oav offensive
 ogg oggvorbis openal opengl pam pam_chroot pam_timestamp pda pdf
 pdflib perl png posix povray python qt quicktime rar real rtc sdk
 session smime sms sox spamassassin spell sql sqlite sqlite3 sse
 sse2 ssl svg svga tga theora tidy tiff transcode truetype
 truetype-fonts type1-fonts usb v4l v4l2 vcd vcdimager wmf xface
 xine xml xml2 xmms xosd xsl xv xvid yahoo zlib"


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] just another complement

2005-04-28 Thread Bruno Trevisan
Hi there all
Sorry for bothering with such a lamer message, but, from times to times, 
specially when I set up a new server with Gentoo I feel the need to just 
say 'Gentoo is GREAT!'

Congrats for the great work, thank you very much for such a fantastic 
system, the astonishing and always up to date documentation.

--
[]'s
Bruno Trevisan
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Will this SATA card work with the Linux Kernel?

2005-04-28 Thread Jamie Dobbs
I am running Gentoo with kernel 2.6.11-gentoo-r6 and want to add an SATA
controller and drive(s) to my PC (as I am out of IDE interfaces!).

The SATA controller I am looking at is the Sunix SATA2000, which uses a
Silicon Image Sil3112a chipset (Silicon Image SataLink Sil3112CT144
according to http://www.elx.com.au/item/elsPCI-SATA-2P).

Can anyone tell me if this particular controller will work and where I can
find relevant information on setting it up in the Kernel.

Cheers and TIA

Jamie


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's the deal with use flags in (brackets)?

2005-04-28 Thread Paul Varner
On Thu, 2005-04-28 at 22:46 -0400, daniel wrote:
> i've been noticing lately that the output of emerge -pv is giving me some 
> interesting output:
> 
>   $ emerge -pv mplayer
> 
>   These are the packages that I would merge, in order:
> 
>   Calculating dependencies ...done!
>   [ebuild   R   ] media-video/mplayer-1.0_pre6-r5  (-3dfx) (-3dnow) +3dnowext
>   +X -aalib +alsa (-altivec) -arts +avi -bidi -bl +cdparanoia +debug +dga
>   -directfb (-divx4linux) -doc +dts +dv +dvb +dvd +dvdread +edl +encode -esd
>   -fbcon -ggi +gif -gtk +i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live
>   +lzo +mad -matroska -matrox (-mmx) (-mmxext) +mpeg -mythtv -nas +nls -nvidia
>   +oggvorbis +opengl -oss +png +real +rtc -samba -sdl (-sse) (-sse2) (-svga)
>   +tga +theora +truetype +v4l +v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc 0kB
> 
> what i'm trying to understand here is why so many of the above flags are in 
> brackets and marked with a "-" even though they're clearly enabled in my 
> make.conf file as flags i want to use.  most important being mmx, sse, sse2 
> and divx4linux.
> 
> can someone please explain to me why these flags are being ignored and what 
> those brackets mean?  if you're interested, here's my USE variable in 
> make.conf (i used app-portage/ufed):

What profile are you using?

ls -l /etc/make.profile

The parenthesis indicate that the USE flag is masked by your profile.

Regards,
Paul
-- 
My Gentoo stuff: http://varnerfamily.org/pvarner/gentoo
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened to nautilus Scripts??

2005-04-28 Thread Ow Mun Heng
On Thu, 2005-04-28 at 11:18 +0100, Edward Catmur wrote:
> On Thu, 2005-04-28 at 16:35 +0800, Ow Mun Heng wrote:
> > Is There such a thing left?? it used to be that we can select a file,
> > right click on it and then select which script we want to execute it
> > with.
> 
> The location is ~/.gnome2/nautilus-scripts, if you had them anywhere
> else.

OK Found it. But still doesn't provide for the option to run them.

(yes.. I just touched a script in there.


> However, see http://bugs.gentoo.org/show_bug.cgi?id=87719 if you are
> using nautilus 2.10 - you will need to unmask and install 
> shared-mime-info 0.16.

I'm on nautilus 2.8.2 and shared-mime-info 0.14


> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 11:15:33 up 3 days, 1:56, 6 users, load average: 0.34, 0.29,
0.27 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] how to use gnome-vfs

2005-04-28 Thread 韡武 张
Hello. I have several applications running that said could deal with
gnome-vfs, thus being able to operate remote file through ssh. Amone them
the bluefish-1.0 would be very useful with gnome-vfs, that means I could
operate file on the webserver:)

But I don't know how to use gnome-vfs. Every gnoem application opens up the
fileopen dialguage like this:

http://lemmit.kaplinski.com/home/green/Gnome/images/fileopen.png

there is no place for me to type the path. When I was in nautlius I can
type:

ssh://webserver.realss.com/web/html/file/path

And get the file, however in bluefish where do I type the above?

also with gphpedit: never know how to operate remote file.

Any hints?
--
éäèæ Real SoftService
http://www.realss.com.cn
æææåçè: 0086 592 2086411
Technical Contact: 0086 592 2086411



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alsaconf doesn't recognize sound card, but kernel does

2005-04-28 Thread Nick Rout
the first thing to do is see what sort of file alsaconf is:

file $(which alsaconf)

serva root # file $(which alsaconf)
/usr/sbin/alsaconf: Bourne-Again shell script text executable


just read the script!


On Wed, 27 Apr 2005 15:37:24 +0100
Francisco Santiago Capel Torres wrote:

> On Tuesday 26 April 2005 17:04, Mark Knecht wrote:
> > It may just be an oversite in alsaconf. Someone should post a bug
> > report a the Alsa bug site and let them know to look into it.
> 
> Ok, let's supose I want to debug alsaconf.
> 
> I supose I have to emerge it using some debug flag. Then I want to hack the 
> code an recompile again.
> 
> How can I do that? Is this the correct approach? Any documentation?
> 
> Regards!
> 
> 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kde kwifimanager

2005-04-28 Thread LostSon
Hello 
 I seem to be having a problem with Kwifimanager when i try to run it i get 
 error while loading shared llibraries: libiw.so.28
 from my googling and looking around this lib is in wireless-tools i 
recompiled this package and still no luck, any ideas, thanks.
-- 
LostSon

http://www.lostsonsvault.org

Public Key
http://www.lostsonsvault.org/dls/lostson.asc


pgpCTWoNrdwQM.pgp
Description: PGP signature


Re: [gentoo-user] kde kwifimanager

2005-04-28 Thread John Myers
On Thursday 28 April 2005 22:35, LostSon wrote:
> Hello
>  I seem to be having a problem with Kwifimanager when i try to run it i get
>  error while loading shared llibraries: libiw.so.28
>  from my googling and looking around this lib is in wireless-tools i
> recompiled this package and still no luck, any ideas, thanks.
Try recompiling KWifimanager.


pgpBk9ZBiSpDS.pgp
Description: PGP signature


Re: [gentoo-user] i386-pc-linux-gnu-gcc broken

2005-04-28 Thread Lubos Kolouch
On 4/28/05, Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > I found another two packages with this problem :
> >
> 
> Have you tried "fix_libtool_files.sh 3.3.5"?
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 

Yes. Not helped. Same problem

orbit-idl-2 2.12.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers
skel_impl imodule

gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file

** (process:11762): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1

What to do now?

Thanks

Lubos

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Daniel Röder
Julien Cayzac wrote:
> On 4/28/05, Daniel Röder <[EMAIL PROTECTED]> wrote:
> 
>>I try to get my external USB2.0 HDD working with my Gentoo-System with
>>Kernel 2.6.11-r6.
> 
> 
> Mine works out of the box on a 2.6.10-r6 system.
> $ dmesg
> ...
> usb 1-1: new high speed USB device using ehci_hcd and address 3
> scsi2 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 3
> usb-storage: waiting for device to settle before scanning
>   Vendor: TUSB6250  Model: USB20 DISK DRIVE  Rev:
>   Type:   Direct-Access  ANSI SCSI revision: 00
> SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
> sda: assuming drive cache: write through
> SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
> sda: assuming drive cache: write through
>  /dev/scsi/host2/bus0/target0/lun0: p1 p2 p3
> Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
> Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 0
> usb-storage: device scan complete
> 
> and it shows up as /dev/sda.
> 
> Must be your kernel config.
> 
> Julien.
> 

I figured it out, its the ehci-hcd driver, it seems my drive doesn´t
like it. If I only enable uhci-hcd it works fine. Maybe its also the
PCI-USB2.0-Card which causes the problem, who knows???

What I test now is, if the speed is OK.

Daniel Röder
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB Mass Storage Device with Gentoo Kernel 2.6.11

2005-04-28 Thread Daniel Röder
Daniel Röder wrote:
> Julien Cayzac wrote:
> 
>>On 4/28/05, Daniel Röder <[EMAIL PROTECTED]> wrote:
>>
>>
>>>I try to get my external USB2.0 HDD working with my Gentoo-System with
>>>Kernel 2.6.11-r6.
>>
>>
>>Mine works out of the box on a 2.6.10-r6 system.
>>$ dmesg
>>...
>>usb 1-1: new high speed USB device using ehci_hcd and address 3
>>scsi2 : SCSI emulation for USB Mass Storage devices
>>usb-storage: device found at 3
>>usb-storage: waiting for device to settle before scanning
>>  Vendor: TUSB6250  Model: USB20 DISK DRIVE  Rev:
>>  Type:   Direct-Access  ANSI SCSI revision: 00
>>SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
>>sda: assuming drive cache: write through
>>SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
>>sda: assuming drive cache: write through
>> /dev/scsi/host2/bus0/target0/lun0: p1 p2 p3
>>Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
>>Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 0
>>usb-storage: device scan complete
>>
>>and it shows up as /dev/sda.
>>
>>Must be your kernel config.
>>
>>Julien.
>>
> 
> 
> I figured it out, its the ehci-hcd driver, it seems my drive doesn´t
> like it. If I only enable uhci-hcd it works fine. Maybe its also the
> PCI-USB2.0-Card which causes the problem, who knows???
> 
> What I test now is, if the speed is OK.
> 
> Daniel Röder

I figured out the _real_ problem! It is a Hub, which puts the
USB-Connectors from the rear of the computer to the front. If I connect
the Storage to the front it doesn't work, _but_ if I connect it to the
rear, directly to the PCI-Card, it also works with ehci-hcd. Its
probably, that the "Hub" doesnt really support USB2.0, also it should,
if I belive the Manual ;( .

thx for all help, If anybody has other ideas, I'll read...

Daniel Röder



-- 
gentoo-user@gentoo.org mailing list