Re: [gentoo-user] emerge sync

2005-11-17 Thread Nagatoro

Cédric FINANCE wrote:

Hello,

   I have some trouble when I try to sync the portage tree. It works
fine when I try by a friend in a wire network. At home, I have a
wireless network and a treeway adsl modem. When I execute the emerge
sync, it starts to download some files but everytime, it stops after 272
files.

dev-util/kdevelop/kdevelop-3.3.0_rc1.ebuild
   3001 100%2.66kB/s0:00:01  (270, 31.2% of 131566)
eclass/kde-meta.eclass
  15598 100%   13.20kB/s0:00:01  (271, 32.1% of 131566)
eclass/kde.eclass
   8465 100%7.11kB/s0:00:01  (272, 32.1% of 131566)
media-libs/mesa/
media-libs/mesa/files/
media-libs/netpbm/files/
...
metadata/cache/x11-apps/
io timeout after 180 seconds - exiting


This seems to indicate that the server you are trying to sync with 
hasn't responded in 180 seconds. How is the quality of you wireless 
connection?



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



Re: [gentoo-user] error source? on update of world

2005-11-17 Thread Neil Bothwick
On Wed, 16 Nov 2005 22:33:51 -0600, Harry Putnam wrote:

 The messages below show up at the login prompt when I boot my updated
 world system.  I've searched this group on all of those in caps at
 gmane and got some  hits but not that I could put together into a plan
 of action.
 
 First, where do they come from... dmesg is inlined at the end.
 
 configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
 configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
 configuration error - unknown item 'MOTD_FILE' (notify administrator)
 configuration error - unknown item 'FTMP_FILE' (notify administrator)

These are all settings from /etc/login.defs. Although I have this file on
my system, no package appears to own it, so I suspect it is part of pam
(I removed pam many months ago). Did you update pam or shadow?


-- 
Neil Bothwick

Seduced by the Chocolate side of the Force...


signature.asc
Description: PGP signature


Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Neil Bothwick
On Wed, 16 Nov 2005 19:03:18 -0800, Mark Knecht wrote:

  Then I was able to tweak my USE flags and CFLAGS and
  rebuild the system to the same as I'd have got from Stage 1
 
 Neil,
Would you mind sharing what changes you made to your CFLAGS to get
 the equivalent of a Stage 1 install?

When installing a stage 3 you are using packages compiled with the
default compiler and USE flags. All I did was set them up as I wanted and
rebuilt everything with emerge -e world. The specific change I made in
this case was changing -mcpu to G4 and adding -fomit-frame-pointer, which
may be unnecessary. But that's not relevant, the emerge -e world is.


-- 
Neil Bothwick

CONGRSS.SYS corruptd... Re-boot Washington D.C? (Y/N)


signature.asc
Description: PGP signature


[gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
I have a USB memory stick and an external USB box with an IDE disk.
I configured udev to assign device names to both items, or so I thought.
The external box is plugged, the memory stick isn't.
The problem is: the device for the box is not created, and the memstick
device exists but represents the box, not the stick. I read
http://www.reactivated.net/writing_udev_rules.html#identify-sysfs
and
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html

What else should I do?

The gory details:

$ ls /etc/udev/rules.d/
40-my.rules  40-my.rules~  50-udev.rules

$ cat /etc/udev/rules.d/40-my.rules
BUS=scsi, SYSFS{vendor}=PLEXTOR , SYSFS_model=PlexFlash-2*, 
NAME=plextor_memstick%n
BUS=scsi, SYSFS{vendor}=Maxtor 6 , SYSFS_model=L250R0*, 
NAME=external_hd%n

I tried also SYSFS_vendor instead of SYSFS{vendor} ...

$ mount -t auto /dev/plextor_memstick1 /mnt/maxtor/
$ ls /mnt/maxtor/
lost+found

-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-17 Thread Fernando Meira
On 11/16/05, abhay [EMAIL PROTECTED] wrote:
I nailed it on my system. I had some free time so installed gdb and ranamarok. Looks like if Retrieve similar artists is checked under Last.fm, itcrashes amaroK. I unchecked the option and now it runs flawlessly.
Check it in your case as well.Abhay
Ok, I did have that option on!
So, I'm trying now without it.. let's see what happens :)
I'm still using version 1.2, thou I'll try later to compile again 1.3.6 without arts and see if that was the problem!

Thanks,
Fernando 



Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 10:26 schrieb ext Jorge Almeida:

 I have a USB memory stick and an external USB box with an IDE disk.
 I configured udev to assign device names to both items, or so I thought.
 The external box is plugged, the memory stick isn't.
 The problem is: the device for the box is not created, and the memstick
 device exists but represents the box, not the stick. I read

Some questions:

What's your udev and kernel version?

Did you configure your kernel to use USB storage (if in doubt, post your 
kernel config)?

Does the system detect the devices when you plug them in (post the last few 
lines of dmesg output after plugging in each device)

What does udevinfo -a -p $(udevinfo -q path -n /dev/sdX) tell you (replace X 
with the appropriate letter for each device)?

Maybe we can sort this out.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpqQWX5yy68q.pgp
Description: PGP signature


[gentoo-user] binary package installation problem

2005-11-17 Thread askar k
Hello!

I have packages CD. Mounted it and did #export PKGDIR=/mnt/cdrom

When I do #emerge --usepkg packagename - sometimes it works, but sometimes it doesn't work and bedins compiling.
For example, I wanted to install kde from package CD but it goes to compiling, though I see a lot of tbz files for kde.
Can anybody tell what do I do wrong?

Thanks,
askar


Re: [gentoo-user] binary package installation problem

2005-11-17 Thread Nagatoro

askar k wrote:

Hello!

I have packages CD. Mounted it and did #export PKGDIR=/mnt/cdrom

When I do #emerge --usepkg packagename - sometimes it works, but 
sometimes it doesn't work and bedins compiling.
For example, I wanted to install kde from package CD but it goes to 
compiling, though I see a lot of tbz files for kde.

Can anybody tell what do I do wrong?


A guess would be that the packages that portage want's to compile 
isn't on the CD. Not all packages from portage is there... Check tha 
package names and versions that want's to compile against the CD.


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



Re: [gentoo-user] binary package installation problem

2005-11-17 Thread askar k
 A guess would be that the packages that portage want's to compile
 isn't on the CD. Not all packages from portage is there... Check tha
 package names and versions that want's to compile against the CD.

 --
 Naga
Thanks. Seems there's no kde itself, but many its components.
How is the package CD useful then??? Can't understand. Very sad.

askar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Derek Tracy
On 11/16/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 16 Nov 2005 15:50:00 -0500, Derek Tracy wrote:

  The biggest reason for the reinstall was because in my contant playing
  around with DE's and WM's trying to find one that I completely liked. I
  had KDE, GNOME, E17, FVWM, OpenBOX (I think that is it) all on my
  system. In all of my toying around I found out a lot about myself, for
  1 GUI applications make me work slower and FVWM was and is all I need
  to make me happy. So I could either unemerge KDE GNOME and the rest
  (which would surely leave all sorts of unneeded libs and things) or I
  could reinstall.

 emerge -C kde-meta gnome
 emerge depclean -a

Thank you.  If this system gets over cluttered again I will do just that.


 Much easier than reinstalling, and the reason for depclean.

  To me reinstallation sounded a lot easier.

 Reinstallation is never easier. All it ever does is hide the issues, you
 never find out how to resolve them.

  That is what I was thinking when I switched to stable. From what I
  am seeing either my computer doesn't like stable code or stable does
  not mean stable anymore.

 It's not about stable code, that is up to the upstream developers. arch
 vs. ~arch is about the stability of the ebuilds, and this is using stable
 in the same way that Debian do; not changing. An arch ebuild is stable
 because it has not changed in, usually, at least 30 days. A ~arch ebuild
 is for testing, it does not mean the program is unstable.

I can definately see your point and I have never heard arch and ~arch
explained like that.  It gives me a lot of food for thought.  Again
thank you.


 --
 Neil Bothwick

 First Law of Laboratory Work:




To give a big update.  In the original post I mentioned that I was in
the middle of doing an emerge -e world after changing from x86 to ~x86

Well after the compile completed I did a quick etc-update.. Re-emerged
madwifi-driver and ipw2200 ipw2200-firmware nvidia-kernel nvidia-glx
(I did not change any other config files) and low and behold after a
quick reboot everything was working again.

--
-
Derek Tracy
[EMAIL PROTECTED]
-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] binary package installation problem

2005-11-17 Thread Chris Cox
On Thursday 17 November 2005 05:18, askar k wrote:
  A guess would be that the packages that portage want's to compile
  isn't on the CD. Not all packages from portage is there... Check tha
  package names and versions that want's to compile against the CD.
 
  --
  Naga

 Thanks. Seems there's no kde itself, but many its components.
 How is the package CD useful then??? Can't understand. Very sad.

 askar

So many different ways to build packages with many different USE flags.  
Besides, why would you want to use someone elses pre-compiled package?  You 
have a lot more control over it by building it from source and  Gentoo *is 
not* a binary distro.  
-- 
Chris
Linux 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP
 05:26:35 up 1 day,  1:41, 10 users,  load average: 0.12, 0.11, 0.28
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Nagatoro

Derek Tracy wrote:
[...]


(I did not change any other config files) and low and behold after a
quick reboot everything was working again.



The magic of computers :)


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



[gentoo-user] SpamAssassin upgrade

2005-11-17 Thread Nils William Olsson

Hello,

I have recently upgrade spamassassin to 3.1.0-r1. That version should be 
run as spamd but system did not create this user automaticaly? is that a 
bug or?


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



Re: [gentoo-user] error source? on update of world

2005-11-17 Thread Iain Buchanan
On Thu, 2005-11-17 at 09:05 +, Neil Bothwick wrote:
 On Wed, 16 Nov 2005 22:33:51 -0600, Harry Putnam wrote:
 
  The messages below show up at the login prompt when I boot my updated
  world system.
  
  configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
  
 These are all settings from /etc/login.defs. Although I have this file on
 my system, no package appears to own it, so I suspect it is part of pam

/etc/login.defs is owned by sys-apps/pam-login.  You can check the
version with `emerge -p pam-login`.  Try re-emerging it and see if you
missed updating /etc/login.defs by accident.

(I have pam-login-4.0.12, and I don't see those config items
in /etc/login.defs)

If that fails, post back and we'll see!
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Dirk Heinrichs wrote:

 Am Donnerstag, 17. November 2005 10:26 schrieb ext Jorge Almeida:
 
  I have a USB memory stick and an external USB box with an IDE disk.
  I configured udev to assign device names to both items, or so I thought.
  The external box is plugged, the memory stick isn't.
  The problem is: the device for the box is not created, and the memstick
  device exists but represents the box, not the stick. I read
 
 Some questions:
 
 What's your udev and kernel version?
 
sys-fs/udev-070-r1
2.6.13-gentoo-r3

 Did you configure your kernel to use USB storage (if in doubt, post your 
 kernel config)?

Yes, and I can use the devices (write and read files...).

CONFIG_USB_STORAGE=y
(...)
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y

 
 Does the system detect the devices when you plug them in (post the last few 
 lines of dmesg output after plugging in each device)
 
ipt_recent v0.3.1: Stephen Frost [EMAIL PROTECTED].
http://snowman.net/projects/ipt_recent/
spurious 8259A interrupt: IRQ7.
EXT3 FS on hda6, internal journal
usb 1-3: new high speed USB device using ehci_hcd and address 3
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: Maxtor 6  Model: L250R0Rev: BAH4
Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: assuming drive cache: write through
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: assuming drive cache: write through
 sda: unknown partition table
 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
 usb-storage: device scan complete
 SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
 sda: assuming drive cache: write through
  sda: sda1
  SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
  sda: assuming drive cache: write through
   sda: sda1
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda1, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda1, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda1, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   FAT: conv=auto option is obsolete, not supported now
   FAT: posix option is obsolete, not supported now
   FAT: bogus number of reserved sectors
   VFS: Can't find a valid FAT filesystem on dev sda1.
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda1, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda1, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.

The memstick has a vfat in it (original). The external disk has 1
partition with ext3.
The line in /etc/fstab corresponding to the memstick (the disk doesn't
have one, yet):
/dev/plextor_memstick1  /mnt/penvfat 
noauto,user,noexec,nodev,rw,noatime,conv=auto,uni_xlate,posix   0 0

Now I plugged the memstick. dmesg says:

usb 1-7: new high speed USB device using ehci_hcd and address 4
usb 1-7: device descriptor read/64, error -71
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 1-7: reset high speed USB device using ehci_hcd and address 4
  Vendor: PLEXTOR   Model: PlexFlash-2   Rev: 5.02
Type:   Direct-Access  ANSI SCSI revision: 00
usb 1-7: reset high speed USB device using ehci_hcd and address 4
usb 1-7: reset high speed USB device using ehci_hcd and address 4
usb 1-7: reset high speed USB device using ehci_hcd and address 4
usb 1-7: reset high speed USB device using ehci_hcd and address 4
usb 1-7: reset high speed USB device using ehci_hcd and address 4
usb 1-7: reset high speed USB device using ehci_hcd and address 4
sdb: Write Protect is on
sdb: Mode Sense: 45 00 80 08
sdb: assuming drive cache: write through
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete


 What does udevinfo -a -p $(udevinfo -q path -n /dev/sdX) tell you (replace X 
 with the appropriate letter for each device)?
 
$ udevinfo -a -p $(udevinfo -q path -n /dev/sda)

udevinfo starts with the device the node belongs to 

[gentoo-user] Re: error source? on update of world

2005-11-17 Thread Harry Putnam
Neil Bothwick [EMAIL PROTECTED] writes:

 These are all settings from /etc/login.defs. Although I have this file on
 my system, no package appears to own it, so I suspect it is part of pam
 (I removed pam many months ago). Did you update pam or shadow?

Yes, pam and I think Iain has guessed the problem.  Rebooting now

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: error source? on update of world

2005-11-17 Thread Harry Putnam
Iain Buchanan [EMAIL PROTECTED] writes:

 These are all settings from /etc/login.defs. Although I have this file on
 my system, no package appears to own it, so I suspect it is part of pam

 /etc/login.defs is owned by sys-apps/pam-login.  You can check the
 version with `emerge -p pam-login`.  Try re-emerging it and see if you
 missed updating /etc/login.defs by accident.

Yup looks like I went the wrong way somehow.  Instead of cping the new
conf over the original  I moved the new conf to
WAS.cfg_login.defs_ON_111405_140846 and never copied it over
/etc/login.defs.

 (I have pam-login-4.0.12, and I don't see those config items
 in /etc/login.defs)

Ditto here... we'll see shortly what a reboot brings

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Allan Gottlieb
At Thu, 17 Nov 2005 09:23:46 + Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 16 Nov 2005 19:03:18 -0800, Mark Knecht wrote:

Would you mind sharing what changes you made to your CFLAGS to get
 the equivalent of a Stage 1 install?

 When installing a stage 3 you are using packages compiled with the
 default compiler and USE flags. All I did was set them up as I wanted and
 rebuilt everything with emerge -e world. The specific change I made in
 this case was changing -mcpu to G4 and adding -fomit-frame-pointer, which
 may be unnecessary. But that's not relevant, the emerge -e world is.

What about -march ?  At one point that was something that you weren't
supposed to change unless using stage1.  If one changes -march after
stage3, are we supposed to first run bootstrap.sh before emerge -e ?

Although I always did stage1 installs, I must confess to once getting
into trouble by changing USE flags too early.  This taught me the
advantage of first going stage1--stage2--stage3 with the std USE
flags and only then changing USE flags.  I realize that in that case
one might as well start with stage3 (assuming you can change -march).

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



Re: [gentoo-user] confused udev?

2005-11-17 Thread Dirk Heinrichs
Am Donnerstag, 17. November 2005 13:43 schrieb ext Jorge Almeida:

   CONFIG_USB_STORAGE=y
   (...)

Did you also enable the sub options?

   # SCSI device support
   #
   CONFIG_SCSI=y
   CONFIG_SCSI_PROC_FS=y

   #
   # SCSI support type (disk, tape, CD-ROM)
   #
   CONFIG_BLK_DEV_SD=y

Looks good.

dmesg output for the HD looks good, too.

   usb 1-7: new high speed USB device using ehci_hcd and address 4
   usb 1-7: device descriptor read/64, error -71
   scsi1 : SCSI emulation for USB Mass Storage devices
   usb-storage: device found at 4
   usb-storage: waiting for device to settle before scanning
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
 Vendor: PLEXTOR   Model: PlexFlash-2   Rev: 5.02
   Type:   Direct-Access  ANSI SCSI revision: 00
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   usb 1-7: reset high speed USB device using ehci_hcd and address 4
   sdb: Write Protect is on
   sdb: Mode Sense: 45 00 80 08
   sdb: assuming drive cache: write through
   Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
   usb-storage: device scan complete

I'm a bit confused about all those resets.

  What does udevinfo -a -p $(udevinfo -q path -n /dev/sdX) tell you
  (replace X with the appropriate letter for each device)?

 $ udevinfo -a -p $(udevinfo -q path -n /dev/sda)

 udevinfo starts with the device the node belongs to and then walks up the
 device chain, to print for every device found, all possibly useful
 attributes in the udev key format.
 Only attributes within one device section may be used together in one
 rule, to match the device for which the node will be created.

OK, here's the interesting part:

0:0:0:0': BUS==scsi
 ID==0:0:0:0
 DRIVER==sd
 SYSFS{device_blocked}==0
 SYSFS{iocounterbits}==32
 SYSFS{iodone_cnt}==0x1642
 SYSFS{ioerr_cnt}==0x0
 SYSFS{iorequest_cnt}==0x1642
 SYSFS{max_sectors}==240
 SYSFS{model}==L250R0  
 SYSFS{queue_depth}==1
 SYSFS{queue_type}==none
 SYSFS{rev}==BAH4
 SYSFS{scsi_level}==3
 SYSFS{state}==running
 SYSFS{timeout}==30
 SYSFS{type}==0
 SYSFS{vendor}==Maxtor 6

That would give the following rule (all in one line):

BUS==usb, KERNEL==sd*, SYSFS{model}==L250R0  , 
SYSFS{vendor}==Maxtor 6, NAME=usb/disk%n

Note the spaces in the model part, don't know wether the wildcard * works 
here, too. Feel free to change the name part to whatever you like :-)


 After plugging the memstick:

   $ udevinfo -a -p $(udevinfo -q path -n /dev/sdb)
   no record for 'sdb' in database
   udevinfo: option requires an argument -- p
   Usage: udevinfo [-anpqrVh]
 (etc)

Hmm, this is strange. Did you check if /dev/sdb is really there? I currently 
have no idea what could be wrong. If not already done, could you recompile 
your kernel with all sub options of CONFIG_USB_STORAGE and see if this 
makes any difference with the stick?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpY0cSDUUTUr.pgp
Description: PGP signature


[gentoo-user] Re: error source? on update of world

2005-11-17 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 /etc/login.defs is owned by sys-apps/pam-login.  You can check the
 version with `emerge -p pam-login`.  Try re-emerging it and see if you
 missed updating /etc/login.defs by accident.

 Yup looks like I went the wrong way somehow.  Instead of cping the new
 conf over the original  I moved the new conf to
 WAS.cfg_login.defs_ON_111405_140846 and never copied it over
 /etc/login.defs.

 (I have pam-login-4.0.12, and I don't see those config items
 in /etc/login.defs)

 Ditto here... we'll see shortly what a reboot brings

On reboot no such messages.  Thanks

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Bill Roberts
On 11:20 Wed 16 Nov , Derek Tracy wrote:
After restarting I noticed that ipw2200 did not load properly was posted
in my boot mesg WTF.  I distinctly remembered during the install that I
waited until after I installed the kernel, then I went ahead and installed
the external modules.  (NOTE: I did not use the built in kernel modules
for ipw2200 or ieee80211 I had read too many horror stories about
incompatible versions of ipw2200-firmware and I have always had good luck
with the external drivers)  One other thing, instead of going for pure on
the edge goodness of using a Nitro-esque kernel (one optimized for speed
over stability) I decided to use Gentoo-sources again trusting the
developers judgement.  After searching through tons of articles regarding
ipw2200 drivers not working with the latest Stable Gentoo-Sources I
decided to go with the kernel drivers and give them a shot.  I recompiled
rebooted and low and behold the drivers still weren't working.  After
trying all sorts of different combinations Unstable versions of this
stable versions of that.  Nothing worked, so I proceeded to reboot back
into the livecd and re-chroot into my system so I could get a network
connection and install the Madwifi Drivers, for a pcmcia card that I have
laying around.  Also note that the Madwifi drivers are considered
Unstable.  I rebooted the computer and the drivers actually worked (Yea
Unstable).  So I got the network connection up, then I decided to go ahead
and install X (I thought that it would be easier to troubleshoot the ipw
drivers from a graphical environment copy, paste, multiple xterms.).  Well

Maybe this will help a little. I am using the ipw2200 drivers, and they
work fine. I am using the gentoo-sources kernel, 2.6.13-r4, with
ipw2200-1.0.6-r3. My eix shows ipw2200-firmware 2.3 and 2.4 installed (I
guess they are slotted), I'm not sure which one is being loaded. I tried
upgrading to 2.6.14, wireless broke (I think that's when I tried loading
the 2.4 firmware), so I went back to my current kernel. I'll hang out here
for a while, 'til they get the bugs worked out of 2.6.14.

I have an ati video, so no help there.

My intial approach to my new laptop was a bit different than yours. Though
I've been doing Gentoo three years, I've never done it on a laptop, never
done Linux or wireless on a laptop. I've had good luck with Ubuntu, wanted
to try their newest, so I loaded it up first, to get info on hardware, get
a working xorg.conf, etc. Had a fully functional laptop in less than an
hour.

I then set up a dual boot gentoo, used the xorg.conf from Ubuntu,
cherry-picked a few ideas from the nicely done Ubuntu. I've added
additional functionality to my Gentoo build as I've needed it. So now,
every time I fire up, I always have a choice. I can use the fully loaded
Ubuntu, which I love for its ease of installation and administration, or I
can use Gentoo, my stripped down hot rod, which on occasion gives me fits.
Gentoo gets the nod every time, unless I'm looking for a bit of freecell.
Why?, I ask myself. I think it's the same reason I liked to take watches
apart when I was a kid. I want to know how things work. I love the Zen-like
aesthetic, starting with a blank slate, and adding only what is absolutely
essential. No cruft.

It's not for everyone, and it's not the only true way. But it works for
me.

Good Luck

Bill Roberts


pgpMrNqhSY0Ss.pgp
Description: PGP signature


[gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
driver.  I fought with it for a week or two and finally got it working
with alsa-driver (it wouldn't work when I attempted to compile ALSA
support for the card into the kernel.)  Yesterday it just kind of
stopped.  I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
support - someone told me last time that it might cause a problem) and
before I rebuilt the kernel I removed all the old modules
from /lib/modules for this kernel.  I remerged alsa-driver.  I try to
start /etc/init.d/alsamixer and I hear the little click/pop sound out
of my speakers that tells me that Gentoo has activated my sound card.  I
try to run alsamixer to unmute the card, but I get an error:

camille ~ # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]camille ~ # alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument

The funny thing is that when I reload gnome-panel (killall gnome-panel)
I have a volume control applet there.  It's muted, but I slide the
volume bar up.  On File-Change Device (in the volume control applet) it
claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
sound from any of my other applications (including by selecting the OSS
Mixer in xmms.)  After I turn the volume up in the volume control applet
if I go back to my terminal and try to run alsamixer again I get the
same stupid error message, and if I restart /etc/init.d/alsasound I get
this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]

I have an /etc/asound.state backed up.  When I restore it and
restart /etc/init.d/alsasound I get this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
/usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
(Invalid argument) * Errors while restoring defaults, ignoring
[ ok ]

Any thoughts on how to get my sound back, or why it just quit in the
first place?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 $ cat /etc/udev/rules.d/40-my.rules
 BUS=scsi, SYSFS{vendor}=PLEXTOR , SYSFS_model=PlexFlash-2*, 
 NAME=plextor_memstick%n
 BUS=scsi, SYSFS{vendor}=Maxtor 6 , SYSFS_model=L250R0*, 
 NAME=external_hd%n

 SYSFS{model}==L250R0  
 SYSFS{queue_depth}==1
 SYSFS{queue_type}==none
 SYSFS{rev}==BAH4
 SYSFS{scsi_level}==3
 SYSFS{state}==running
 SYSFS{timeout}==30
 SYSFS{type}==0
 SYSFS{vendor}==Maxtor 6

Here is a problem...you have an extra space in your vendor string, so
the first rule will not match.

Also, you should be using == in your rules, not =, and
SYSFS{model}, not SYSFS_model.I think these latter issues are the
reason the plextor rule is matching, because from the udev man page,
= does not test for equality, it assigns a value to a key.

So first, cut-n-paste the vendor and model strings from this output
into your rule, and change all of the = to == (except for the NAME
setting).  Then try setting udev_log=7 in /etc/udev/udev.conf, and
watch /var/log/messages when you plug in the drive.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Dirk Heinrichs wrote:

 Am Donnerstag, 17. November 2005 13:43 schrieb ext Jorge Almeida:
 
  CONFIG_USB_STORAGE=y
  (...)
 
 Did you also enable the sub options?
No, since none appeared to have much to do with my devices.
 
 
  usb 1-7: new high speed USB device using ehci_hcd and address 4
  usb 1-7: device descriptor read/64, error -71
  scsi1 : SCSI emulation for USB Mass Storage devices
  usb-storage: device found at 4
  usb-storage: waiting for device to settle before scanning
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
Vendor: PLEXTOR   Model: PlexFlash-2   Rev: 5.02
  Type:   Direct-Access  ANSI SCSI revision: 00
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  usb 1-7: reset high speed USB device using ehci_hcd and address 4
  sdb: Write Protect is on
  sdb: Mode Sense: 45 00 80 08
  sdb: assuming drive cache: write through
  Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
  usb-storage: device scan complete
 
 I'm a bit confused about all those resets.
 
 OK, here's the interesting part:
 
 0:0:0:0': BUS==scsi
  ID==0:0:0:0
  DRIVER==sd
  SYSFS{device_blocked}==0
  SYSFS{iocounterbits}==32
  SYSFS{iodone_cnt}==0x1642
  SYSFS{ioerr_cnt}==0x0
  SYSFS{iorequest_cnt}==0x1642
  SYSFS{max_sectors}==240
  SYSFS{model}==L250R0  
  SYSFS{queue_depth}==1
  SYSFS{queue_type}==none
  SYSFS{rev}==BAH4
  SYSFS{scsi_level}==3
  SYSFS{state}==running
  SYSFS{timeout}==30
  SYSFS{type}==0
  SYSFS{vendor}==Maxtor 6
 
 That would give the following rule (all in one line):
 
 BUS==usb, KERNEL==sd*, SYSFS{model}==L250R0  , 
 SYSFS{vendor}==Maxtor 6, NAME=usb/disk%n

Is it really BUS==usb rather than BUS==scsi?
 
 Note the spaces in the model part, don't know wether the wildcard * works 
 here, too. Feel free to change the name part to whatever you like :-)
 
 
  After plugging the memstick:
 
  $ udevinfo -a -p $(udevinfo -q path -n /dev/sdb)
  no record for 'sdb' in database
  udevinfo: option requires an argument -- p
  Usage: udevinfo [-anpqrVh]
(etc)
 
 Hmm, this is strange. Did you check if /dev/sdb is really there? I currently 

/dev/sdb and /dev/sdb1 exist, but don't seem to be much help.
$ ls /dev|grep sdb
sdb
sdb1
sdb10
sdb11
sdb12
sdb13
sdb14
sdb15
sdb2
sdb3
sdb4
sdb5
sdb6
sdb7
sdb8
sdb9

$ mount -t vfat /dev/sdb1 /mnt/pen
mount: /dev/sdb1: can't read superblock

 have no idea what could be wrong. If not already done, could you recompile 
 your kernel with all sub options of CONFIG_USB_STORAGE and see if this 
 makes any difference with the stick?
 
Will try it...
 Bye...
 
   Dirk
 
Thanks,

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



Re: [gentoo-user] binary package installation problem

2005-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2005 05:28:32 -0600, Chris Cox wrote:

 Besides, why would you want to use someone elses pre-compiled package?
 You have a lot more control over it by building it from source

To get a working desktop as quickly as possible. It is no different from
doing a stage 3 installation, it gets you working faster, then you can
optimise at your leisure.


-- 
Neil Bothwick

Never get into fights with ugly people because they have nothing to lose.


signature.asc
Description: PGP signature


Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2005 08:52:47 -0500, Allan Gottlieb wrote:

 What about -march ?  At one point that was something that you weren't
 supposed to change unless using stage1.  If one changes -march after
 stage3, are we supposed to first run bootstrap.sh before emerge -e ?

There's no problem with changing -march, you're thinking of changing
CHOST, which can break things. The answer is to run fix_libtool_files.sh
after changing CHOST. I didn't change CHOST on this machine, because
there is only one possible setting for it.


-- 
Neil Bothwick

Time is an illusion but never so much as whem you're using a modem.


signature.asc
Description: PGP signature


[gentoo-user] Scroll back buffer on boot screen

2005-11-17 Thread Harry Putnam
What tools do I need to be looking at to set the scrollback buffer of
the boot screen.

I don't use framebuffer splash type stuff, just the basic terminal.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dinosaur Matrox Mystique: corruption

2005-11-17 Thread Alan E. Davis
Bob:

Your comments are extremely useful. However much I would
like to get a newer graphics card, I am stuck with this one for a few
weeks at least. It works well on an Ubuntu system on a different
partition. 

How would you recommend to go about trying vesa. That may be what Ubuntu is doing. Turn on vesa framebuffer? 

I backed down to 1024xsomething: vertical lines were
scalloped/wavy. Someone mentioned this would be a timing issue,
but I don't know what I'd do to microadjust timing?
xvidtune? I'll try it. 

Thanks again.

Alan On 11/17/05, Bob Sanders [EMAIL PROTECTED] wrote:
Have you tried just using - vesa?Or vga?It should work.Turning on everythingis always a sure way to break a kernel. Description: when scrolling the buffer, some lines are doubled, some are
 lost, and using Firefox at least, when I type Ctrl-L, the frame displays properly until it is scrolled again. I have found descriptions of similar issues on the Inet, but nothing that has helped get my system to work
 properly. Does this symptom ring a bell with anyone?Generally, it's because the gfx card can't refresh from it's internal memory fast enough.As I recall, the Mystique had an optional memory module, which I have on mine.Perhaps
its just that your trying to use too high a resolution and hitting the cards performancelimits?With due respect, save up your pennies and get a current Gfx card.Should be aroundUS$42. Sure, that's a months wages in some parts of the world.But still - throwing a massively
powerful processor in a system with a dead-end Gfx card is kind of wasteful, unless you're makingthis thing into a server.Bob---gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] Gnome Timer

2005-11-17 Thread Alan E. Davis
I found a source package called lab3timer. It didn't want to
compile on my box. I think this guy has it set up with three
separate timers for laboratory use.

AlanOn 11/17/05, Kurt Guenther [EMAIL PROTECTED] wrote:
Is there something akin to the KDE timer?--Kurt--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] binary package installation problem

2005-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2005 10:27:40 +, askar k wrote:

 When I do #emerge --usepkg packagename - sometimes it works, but
 sometimes it doesn't work and bedins compiling.
 For example, I wanted to install kde from package CD but it goes to
 compiling, though I see a lot of tbz files for kde.
 Can anybody tell what do I do wrong?

Because you have emerge sync'd since the packages CD was built, your
portage tree contains newer versions of many of the packages, so emerge
tries to install those. As there is no package available for the newer
versions, it tries to download the source and compile.

You need to use --usepkgonly (-K), --usepkg (-k) means use a package if
one is available, otherwise build from source. If that doesn't work, use
specific version numbers to ensure the version on the CD is installed

emerge -Kav =cate-gory/package-x.y.z-rN


-- 
Neil Bothwick

I am neither for nor against apathy.


signature.asc
Description: PGP signature


Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Mark Knecht
On 11/17/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 16 Nov 2005 19:03:18 -0800, Mark Knecht wrote:

   Then I was able to tweak my USE flags and CFLAGS and
   rebuild the system to the same as I'd have got from Stage 1
 
  Neil,
 Would you mind sharing what changes you made to your CFLAGS to get
  the equivalent of a Stage 1 install?

 When installing a stage 3 you are using packages compiled with the
 default compiler and USE flags. All I did was set them up as I wanted and
 rebuilt everything with emerge -e world. The specific change I made in
 this case was changing -mcpu to G4 and adding -fomit-frame-pointer, which
 may be unnecessary. But that's not relevant, the emerge -e world is.


Thanks Neil.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Mark Knecht
On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
 driver.

SNIP

 I remerged alsa-driver.

Unless your sound card is a special case you should not emerge
alsa-driver. The alsa-driver is included in the kernel.

Just a thought.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
 On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
  I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
  driver.
 
 SNIP
 
  I remerged alsa-driver.
 
 Unless your sound card is a special case you should not emerge
 alsa-driver. The alsa-driver is included in the kernel.
 
 Just a thought.
 
 Cheers,
 Mark

When I first got this computer and I couldn't get my sound to work I
emailed this list asking for help.  A lot of people on the list told me
to use ALSA compiled into my kernel with support for my card, but I
could never get it to work.  I finally got it to work by not enabling
ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
working.  It seems unlikely that what wouldn't work before (namely
compiling ALSA support into my kernel) would work now...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Mark Knecht
On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
  On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
   I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
   driver.
 
  SNIP
 
   I remerged alsa-driver.
 
  Unless your sound card is a special case you should not emerge
  alsa-driver. The alsa-driver is included in the kernel.
 
  Just a thought.
 
  Cheers,
  Mark

 When I first got this computer and I couldn't get my sound to work I
 emailed this list asking for help.  A lot of people on the list told me
 to use ALSA compiled into my kernel with support for my card, but I
 could never get it to work.  I finally got it to work by not enabling
 ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
 working.  It seems unlikely that what wouldn't work before (namely
 compiling ALSA support into my kernel) would work now...


OK, but you are not running the same kernel today that you were
running a month ago, correct? Are you running the same version of
alsa-driver, or is it newer? Did you possibly choose testing before
and grabbed stable this time? (~x86 vs. x86)

I would assume that if you choose exactly the software you used before
you will get exactly the same results.

- Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Uwe Klosa
Which kernel were you using before the new kernel install. I did also have some problems when i upgraded from 2.6.13 to 2.6.14. Check 
that your kernel config is correct. In my case the config hasn't been correct.


Cheers
Uwe

Michael Sullivan wrote:

I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
driver.  I fought with it for a week or two and finally got it working
with alsa-driver (it wouldn't work when I attempted to compile ALSA
support for the card into the kernel.)  Yesterday it just kind of
stopped.  I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
support - someone told me last time that it might cause a problem) and
before I rebuilt the kernel I removed all the old modules
from /lib/modules for this kernel.  I remerged alsa-driver.  I try to
start /etc/init.d/alsamixer and I hear the little click/pop sound out
of my speakers that tells me that Gentoo has activated my sound card.  I
try to run alsamixer to unmute the card, but I get an error:

camille ~ # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]camille ~ # alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument

The funny thing is that when I reload gnome-panel (killall gnome-panel)
I have a volume control applet there.  It's muted, but I slide the
volume bar up.  On File-Change Device (in the volume control applet) it
claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
sound from any of my other applications (including by selecting the OSS
Mixer in xmms.)  After I turn the volume up in the volume control applet
if I go back to my terminal and try to run alsamixer again I get the
same stupid error message, and if I restart /etc/init.d/alsasound I get
this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]

I have an /etc/asound.state backed up.  When I restore it and
restart /etc/init.d/alsasound I get this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
/usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
(Invalid argument) * Errors while restoring defaults, ignoring
[ ok ]

Any thoughts on how to get my sound back, or why it just quit in the
first place?

begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



[gentoo-user] acx100 + 2.6.14-suspend2

2005-11-17 Thread Arnau Bria Ramírez
Hi,

I'm trying to compile acx100 wireless driver in my gentoo box that uses
2.6.14-suspend2 kernel. I know that this module is in the blacklist of the
resume modules, but I'd like to use it spite of it.

The error that emerge gives me is:
* Preparing acx_pci module
make: Entering directory `/usr/src/linux-2.6.14-suspend2-r1'
  CC [M]  /var/tmp/portage/acx100-0.2.4/work/wlan.o
  CC [M]  /var/tmp/portage/acx100-0.2.4/work/conv.o
In file included from /var/tmp/portage/acx100-0.2.4/work/acx.h:5,
 from /var/tmp/portage/acx100-0.2.4/work/conv.c:43:
/var/tmp/portage/acx100-0.2.4/work/acx_struct.h:233:5: warning:
OLD_FIRMWARE_VERSIONS is not defined In file included from
/var/tmp/portage/acx100-0.2.4/work/acx.h:5, from
/var/tmp/portage/acx100-0.2.4/work/wlan.c:50:
/var/tmp/portage/acx100-0.2.4/work/acx_struct.h:233:5: warning:
OLD_FIRMWARE_VERSIONS is not defined
/var/tmp/portage/acx100-0.2.4/work/wlan.c:157:5: warning: UNUSED is not
defined /var/tmp/portage/acx100-0.2.4/work/conv.c:296:5: warning:
DEBUG_CONVERT is not defined /var/tmp/portage/acx100-0.2.4/work/conv.c:556:5:
warning: DEBUG_CONVERT is not defined  CC [M] 
/var/tmp/portage/acx100-0.2.4/work/helper2.o  CC [M] 
/var/tmp/portage/acx100-0.2.4/work/ioctl.o In file included from
/var/tmp/portage/acx100-0.2.4/work/acx.h:5, from
/var/tmp/portage/acx100-0.2.4/work/helper2.c:50:
/var/tmp/portage/acx100-0.2.4/work/acx_struct.h:233:5: warning:
OLD_FIRMWARE_VERSIONS is not defined In file included from
/var/tmp/portage/acx100-0.2.4/work/acx.h:5, from
/var/tmp/portage/acx100-0.2.4/work/ioctl.c:46:
/var/tmp/portage/acx100-0.2.4/work/acx_struct.h:233:5: warning:
OLD_FIRMWARE_VERSIONS is not defined
/var/tmp/portage/acx100-0.2.4/work/ioctl.c:758:5: warning:
ENODATA_TO_BE_USED_AFTER_SCAN_ERROR_ONLY is not defined
/var/tmp/portage/acx100-0.2.4/work/helper2.c:1366:5: warning: UNUSED is not
defined /var/tmp/portage/acx100-0.2.4/work/helper2.c:1383:5: warning:
BOGUS_ITS_NOT_A_NULL_FRAME_HANDLER_AT_ALL is not defined In file included from
/var/tmp/portage/acx100-0.2.4/work/ioctl.c:2173:
/var/tmp/portage/acx100-0.2.4/work/setrate.c:85:5: warning: UNUSED is not
defined /var/tmp/portage/acx100-0.2.4/work/helper2.c:1906:5: warning: UNUSED
is not defined /var/tmp/portage/acx100-0.2.4/work/ioctl.c:2627: error: unknown
field `spy_offset' specified in initializer
/var/tmp/portage/acx100-0.2.4/work/ioctl.c:2627: warning: initialization makes
pointer from integer without a cast
/var/tmp/portage/acx100-0.2.4/work/helper2.c:2343:5: warning:
THIS_IS_TROUBLESOME is not defined
/var/tmp/portage/acx100-0.2.4/work/helper2.c:2496:6: warning: POWER_SAVE_80211
is not defined make[1]: *** [/var/tmp/portage/acx100-0.2.4/work/ioctl.o] Error 1
make[1]: *** Waiting for unfinished jobs
/var/tmp/portage/acx100-0.2.4/work/helper2.c:2502: warning:
`acx_s_activate_power_save_mode' defined but not used make: ***
[_module_/var/tmp/portage/acx100-0.2.4/work] Error 2 make: Leaving directory
`/usr/src/linux-2.6.14-suspend2-r1'

!!! ERROR: net-wireless/acx100-0.2.4 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make  -C /usr/src/linux
SUBDIRS=/var/tmp/portage/acx100-0.2.4/work modules. !!! If you need support,
post the topmost build error, NOT this status message.


any help will be preciated.

Regards,
-- 
Arnau Bria
-- 
[EMAIL PROTECTED] mailing list



-- 
Arnau Bria
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 07:55 -0800, Mark Knecht wrote:
 On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
  On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
   On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
driver.
  
   SNIP
  
I remerged alsa-driver.
  
   Unless your sound card is a special case you should not emerge
   alsa-driver. The alsa-driver is included in the kernel.
  
   Just a thought.
  
   Cheers,
   Mark
 
  When I first got this computer and I couldn't get my sound to work I
  emailed this list asking for help.  A lot of people on the list told me
  to use ALSA compiled into my kernel with support for my card, but I
  could never get it to work.  I finally got it to work by not enabling
  ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
  working.  It seems unlikely that what wouldn't work before (namely
  compiling ALSA support into my kernel) would work now...
 
 
 OK, but you are not running the same kernel today that you were
 running a month ago, correct? Are you running the same version of
 alsa-driver, or is it newer? Did you possibly choose testing before
 and grabbed stable this time? (~x86 vs. x86)
 
 I would assume that if you choose exactly the software you used before
 you will get exactly the same results.
 
 - Mark
 

It did.  Until yesterday.  I was playing an MP3 in xmms and the sound
just stopped.  I couldn't get sound out of anything, and when I tried
rebooting (and therefore restarting /etc/init.d/alsasound) it started
giving me those stupid errors...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote:

 On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
  $ cat /etc/udev/rules.d/40-my.rules
  BUS=scsi, SYSFS{vendor}=PLEXTOR , SYSFS_model=PlexFlash-2*, 
  NAME=plextor_memstick%n
  BUS=scsi, SYSFS{vendor}=Maxtor 6 , SYSFS_model=L250R0*, 
  NAME=external_hd%n
 
  SYSFS{model}==L250R0  
  SYSFS{queue_depth}==1
  SYSFS{queue_type}==none
  SYSFS{rev}==BAH4
  SYSFS{scsi_level}==3
  SYSFS{state}==running
  SYSFS{timeout}==30
  SYSFS{type}==0
  SYSFS{vendor}==Maxtor 6
 
 Here is a problem...you have an extra space in your vendor string, so
 the first rule will not match.
 
 Also, you should be using == in your rules, not =, and
 SYSFS{model}, not SYSFS_model.I think these latter issues are the
 reason the plextor rule is matching, because from the udev man page,
 = does not test for equality, it assigns a value to a key.
So much for the rules in
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html#hotplug
...
 
 So first, cut-n-paste the vendor and model strings from this output
 into your rule, and change all of the = to == (except for the NAME
 setting).  Then try setting udev_log=7 in /etc/udev/udev.conf, and
 watch /var/log/messages when you plug in the drive.
 
Did it. Upon reboot, I had /dev/external_hd and /dev/external_hd1, but
only /dev/plextor_memstick (i.e., no mountable /dev/plextor_memstick1).
I unplugged the stick and turned off the HD case. I plugged back the
stick. Now /dev/plextor_memstick and /dev/plextor_memstick1 exist, as
they should. I turned the case on. Well, no /dev/external_hd...

Moreover:
$ systool  -vb scsi | grep vendor
vendor  = PLEXTOR 

No external disk...
$ udevinfo -a -p $(udevinfo -q path -n /dev/sda)
no record for 'sda' in database
(...)
The same for sdb...

(There's something very wrong either with me or with udev. I'm ready to
accept the former, but I still remember when devfs went out, one year or
so ago, and my USB scanner stopped working.)

 -Richard
 
Thanks again.

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



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 16:55 +0100, Uwe Klosa wrote:
 Which kernel were you using before the new kernel install. I did also have 
 some problems when i upgraded from 2.6.13 to 2.6.14. Check 
 that your kernel config is correct. In my case the config hasn't been correct.
 
 Cheers
 Uwe
 
 Michael Sullivan wrote:
  I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
  driver.  I fought with it for a week or two and finally got it working
  with alsa-driver (it wouldn't work when I attempted to compile ALSA
  support for the card into the kernel.)  Yesterday it just kind of
  stopped.  I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
  support - someone told me last time that it might cause a problem) and
  before I rebuilt the kernel I removed all the old modules
  from /lib/modules for this kernel.  I remerged alsa-driver.  I try to
  start /etc/init.d/alsamixer and I hear the little click/pop sound out
  of my speakers that tells me that Gentoo has activated my sound card.  I
  try to run alsamixer to unmute the card, but I get an error:
  
  camille ~ # /etc/init.d/alsasound start
   * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] * Restoring Mixer Levels ...
   * No mixer config in /etc/asound.state, you have to unmute your card!
  [ ok ]camille ~ # alsamixer
  
  alsamixer: function snd_mixer_load failed: Invalid argument
  
  The funny thing is that when I reload gnome-panel (killall gnome-panel)
  I have a volume control applet there.  It's muted, but I slide the
  volume bar up.  On File-Change Device (in the volume control applet) it
  claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
  sound from any of my other applications (including by selecting the OSS
  Mixer in xmms.)  After I turn the volume up in the volume control applet
  if I go back to my terminal and try to run alsamixer again I get the
  same stupid error message, and if I restart /etc/init.d/alsasound I get
  this:
  
  camille ~ # /etc/init.d/alsasound restart
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
  /usr/sbin/alsactl: get_control:149: Cannot read control info
  '2,0,0,Front Playback Volume,0': Invalid argument
  [ !! ] * Unloading ALSA ...
  [ ok ] * Unloading ALSA modules ...
  [ ok ] * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] *   Loading: snd-pcm-oss ...
  [ ok ] * Restoring Mixer Levels ...
   * No mixer config in /etc/asound.state, you have to unmute your card!
  [ ok ]
  
  I have an /etc/asound.state backed up.  When I restore it and
  restart /etc/init.d/alsasound I get this:
  
  camille ~ # /etc/init.d/alsasound restart
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
  /usr/sbin/alsactl: get_control:149: Cannot read control info
  '2,0,0,Front Playback Volume,0': Invalid argument
  [ !! ] * Unloading ALSA ...
  [ ok ] * Unloading ALSA modules ...
  [ ok ] * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] *   Loading: snd-pcm-oss ...
  [ ok ] * Restoring Mixer Levels ...
  /usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
  (Invalid argument) * Errors while restoring defaults, ignoring
  [ ok ]
  
  Any thoughts on how to get my sound back, or why it just quit in the
  first place?
  

I use genkernel.  To get my sound card to work the first time I had to
reboot with the LiveCD (Gentoo 2005), mount my partitions, chroot to the
new environmeny, etc, unmerge gentoo-sources and alsa-driver, completely
delete the directories under /usr/src and /lib/modules, remerge
gentoo-sources, zcat /proc/config.gz
 /usr/share/genkernel/x86/kernel-2.6 and run genkernel --all and then
reboot into my regular environment and emerge alsa-driver then
restart /etc/init.d/alsasound.  Yesterday I did everything I did
originally to get the sound to work and it doesn't.  I'm not sure the
kernel config was really clean.  What would I have to do to get the
original kernel config for when one first installs Gentoo?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread abhay
On Thursday 17 Nov 2005 7:36 pm, Michael Sullivan wrote:
I've just rebuild kernel-2.6.14-gentoo-r2
Can we have output of
lspci | grep Audio
lsmod | grep snd
emerge -pv alsa-driver
dmesg

Abhay


pgpVG6964dwcR.pgp
Description: PGP signature


Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 So much for the rules in
 http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html#hotplug
 ...

Yes, it is terribly out of date, being written when udev was at
version 016!!  That is s last month! :-

 Did it. Upon reboot, I had /dev/external_hd and /dev/external_hd1, but
 only /dev/plextor_memstick (i.e., no mountable /dev/plextor_memstick1).
 I unplugged the stick and turned off the HD case. I plugged back the
 stick. Now /dev/plextor_memstick and /dev/plextor_memstick1 exist, as
 they should. I turned the case on. Well, no /dev/external_hd...

Can you post your current rules.  Also, don't forget Dirk's suggestion
regarding BUS==usb instead of scsi.

 No external disk...
 $ udevinfo -a -p $(udevinfo -q path -n /dev/sda)
 no record for 'sda' in database
 (...)
 The same for sdb...

Yes, this I would expect now, because you are not creating sdX device
nodes anymore.  You would need to use the device nodes that you are
creating.

You could use the SYMLINK target instead of changing the name.  Something like:

BUS==usb ... NAME=%k, SYMLINK=plextor_memstick%n

This would keep the default sdX device nodes, but give you symlinks
for your persistent names.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-17 Thread Mrugesh Karnik

Well hi again,

It took longer than I expected to change the server. Anyway.

The VIA Unichrome situation turned out to be a no-go for me. I had to 
install an NVIDIA GeForce FX5200 on the machine and get X running.


I think this whole thread and me compiling various Xorg versions about 8 
or 9 times was a waste of time. Because as it turns out, fluxbox, even 
on the nvidia drivers took ages to open xcalc and such. The only 
difference was that, the mouse pointer moved properly with nvidia 
drivers when fluxbox was trying to open xcalc. With vesa, the pointer 
lagged like hell!


Something interesting did happen though. I had that Unknown device in 
my lspci output for both Gentoo and FC4 when I was on VIA Unichrome. Now 
after switching to nvidia, I can see a Host Bridge properly identified 
in its place. I wonder why that would be?


I still am confused about one thing though... which exactly is the 2D 
driver for VIA Unichrome?


I apologise to those who wasted their time reading this thread and 
replying in it.. but I found the problem worth investigating and I am 
still intrigued by it..


Regards and a sincere thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list



[gentoo-user]Specific umask for a specific ext3 filesystem

2005-11-17 Thread Mrugesh Karnik

Hello,

I have couple of ext3 partitions for my data. I need to mount them in 
such a way that all the files created on those partitions would always 
bear a umask which is different from the umask globally set in 
/etc/profile. How do I achieve this?


I tried mounting the partition with umask=whatever option, but 
apparently, according to man mount, umask option isn't available for ext3.


Temporarily, I've put a little code into /etc/conf.d/local.start that 
checks if the the partitions are mounted and if they are, chmod's them. 
This, I don't think will be a good idea, once data starts filling up the 
partition


Help would be really appreciated.

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



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Allan Gottlieb
At Thu, 17 Nov 2005 14:35:27 + Neil Bothwick [EMAIL PROTECTED] wrote:

 On Thu, 17 Nov 2005 08:52:47 -0500, Allan Gottlieb wrote:

 What about -march ?  At one point that was something that you weren't
 supposed to change unless using stage1.  If one changes -march after
 stage3, are we supposed to first run bootstrap.sh before emerge -e ?

 There's no problem with changing -march, you're thinking of changing
 CHOST, which can break things. The answer is to run fix_libtool_files.sh
 after changing CHOST. I didn't change CHOST on this machine, because
 there is only one possible setting for it.

You are correct, I meant CHOST.  Seeing your answer, I now realize
why, unless one is changing bootstrap.sh, there is no need to do a
stage1 compile.

thank you,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev not getting unmounted at shutdown/reboot

2005-11-17 Thread abhay
Hello, 
 
A few days ago my system hung and I had to do a reboot by pressing the power 
button. Since then I get the following message while shutdown/reboots 
 
Remounting remaining filesystems readonly [!!] 
umount : udev busy - remounted read-only 
umount : /: device is busy 
umount : /: device is busy 
umount : /: device is busy 
Give root password for maintenance 
(or type Control-D to continue):

If I don't do anything then the system reboots in approximately 5 seconds but 
on reboot it says that / filesystem is NOT clean. I boot into Slackware (my 
alternate distro) and during boot it replays over 100 transactions on Gentoo 
partition. It is a kind of routine. I shutdown/reboot, get the above 
mentioned message and then a filesystem is NOT clean on next boot. How can 
I get rid of this annoyance? Can this error harm my install any way?

Versions I am currently using
sys-fs/udev-070-r1
sys-kernel/gentoo-sources-2.6.14-r2

I have tried re-emerging udev but it did not help. 
Googling did not bring any results either. 
 
Any ideas to solved this problem will be highly appreciated. 
 
Regards, 
Abhay


pgpML13nM7mxe.pgp
Description: PGP signature


Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote:
 
 Can you post your current rules.  Also, don't forget Dirk's suggestion
 regarding BUS==usb instead of scsi.
 
 You could use the SYMLINK target instead of changing the name.  Something 
 like:
 
 BUS==usb ... NAME=%k, SYMLINK=plextor_memstick%n
 
 This would keep the default sdX device nodes, but give you symlinks
 for your persistent names.
 
 -Richard
 
 
Current:
BUS==scsi, SYSFS{vendor}==PLEXTOR*, SYSFS{model}==PlexFlash-2*, 
NAME=%k, SYMLINK=plextor_memstick%n
BUS==scsi, SYSFS{vendor}==Maxtor 6*, SYSFS{model}==L250R0*, 
NAME=%k, SYMLINK=external_hd%n
No change (i.e., still no /dev/external...)
/dev/plextor_memstick and /dev/plextor_memstick1 exist as symlinks.
With usb instead of scsi, also no change. With
NAME=plextor_memstick%n etc, no change (except that there are dev
nodes, not symlinks)

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



Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-17 Thread Fernando Meira
On 11/16/05, abhay [EMAIL PROTECTED] wrote:
On Wednesday 16 Nov 2005 9:08 pm, Fernando Meira wrote: .libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xb8): undefined reference to `virtual thunk to Arts::StdSynthModule::streamEnd()' collect2: ld returned 1 exit status
 make[6]: *** [libamarokarts.la http://libamarokarts.la] Error 1 make[6]: Leaving directory `/var/tmp/portage/amarok-1.3.6
/work/amarok-1.3.6 /amarok/src/engine/arts/amarokarts' make[5]: *** [all-recursive] Error 1 (...)Looks like a problem in compiling with Arts. Try with -arts.Abhay
You were right!! 
Without arts compiles fine!
Thanks!
:)
Fernando
 


Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 On Thu, 17 Nov 2005, Richard Fish wrote:
 
  Can you post your current rules.  Also, don't forget Dirk's suggestion
  regarding BUS==usb instead of scsi.
 
  You could use the SYMLINK target instead of changing the name.  Something 
  like:
 
  BUS==usb ... NAME=%k, SYMLINK=plextor_memstick%n
 
  This would keep the default sdX device nodes, but give you symlinks
  for your persistent names.
 
  -Richard
 
 
 Current:
 BUS==scsi, SYSFS{vendor}==PLEXTOR*, SYSFS{model}==PlexFlash-2*, 
 NAME=%k, SYMLINK=plextor_memstick%n
 BUS==scsi, SYSFS{vendor}==Maxtor 6*, SYSFS{model}==L250R0*, 
 NAME=%k, SYMLINK=external_hd%n
 No change (i.e., still no /dev/external...)
 /dev/plextor_memstick and /dev/plextor_memstick1 exist as symlinks.
 With usb instead of scsi, also no change. With
 NAME=plextor_memstick%n etc, no change (except that there are dev
 nodes, not symlinks)

Hmm, looks ok.  Could you set udev_log=7 in /etc/udev/udev.conf, and
post the entries that are added to /var/log/messages when you turn on
the hard drive.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-17 Thread abhay
On Thursday 17 Nov 2005 10:55 pm, Mrugesh Karnik wrote:
 I still am confused about one thing though... which exactly is the 2D
 driver for VIA Unichrome?
Could this be it?
http://unichrome.sourceforge.net/

Abhay


pgpO6lNw5C6kd.pgp
Description: PGP signature


[gentoo-user] root password gremlin

2005-11-17 Thread ÿffffc1lvaro Castro
Hello all!

This is just a short question...

Does anyone know why it doesn't allow me to log on my
system?
I just installed gentoo...

I KNOW my password. And I also tried the 2 techniques
for changing it (the init=/bin/sh in the bootloader
and chrooting from the live-cd). I change them
succesfully but it still doesn't work!
It is reeeaally strange. Maybe because I don't
have an alternative user created?

Thank you very much!


.alvaro.castro.



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread abhay
On Friday 18 Nov 2005 12:08 am, Michael Sullivan wrote:
 PCI: Setting latency timer of device :00:1b.0 to 64
 hda_codec: Unknown model for ALC880, trying auto-probe from BIOS...
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
...and that is what I was looking for.
It is a known bug (1453) in ALSA hda-intel drivers. Your driver version is 
fine as it did not work in 1.0.9 AT ALL but you need to pass some extra 
options with =1.0.10_rc2 in /etc/modules.d/alsa. This is what I am using

#--
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10rc2 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

options snd-hda-intel model=3stack position_fix=2
#---

I have the same sound device so it should work for you as well.

Abhay


pgpogchcfWOaj.pgp
Description: PGP signature


Re: [gentoo-user] root password gremlin

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 20:17 +0100, ÿc1lvaro Castro wrote:
 Hello all!
 
 This is just a short question...
 
 Does anyone know why it doesn't allow me to log on my
 system?
 I just installed gentoo...
 
 I KNOW my password. And I also tried the 2 techniques
 for changing it (the init=/bin/sh in the bootloader
 and chrooting from the live-cd). I change them
 succesfully but it still doesn't work!
 It is reeeaally strange. Maybe because I don't
 have an alternative user created?
 
 Thank you very much!
 
 
 .alvaro.castro.

Have you run passwd for the root user while in the chroot environment?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev: lost dvd

2005-11-17 Thread James
Hello,

A few weeks ago I updated all of the gentoo systems I manage to udev.
(Late to the udev party). Well I've got vlc, mplayer, and kaffeine
working splendidly on 2 different intel portables. However, an Athlon
on an Asus A7v8X-X motherboard is not happy with the dvd or the 
audio: Works fine, as audio CDs play just fine.

Hardware:
AMD Athlon(TM) XP 2400+
(from lscpi)
:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
5200] (rev a1)

(from lshw)
capabilities: smbios-2.3 dmi-2.3
 product: A7V8X-X
   vendor: ASUSTeK Computer INC.
   physical id: 0
   version: REV 1.xx
description: BIOS
  vendor: Award Software, Inc.
  physical id: 0
  version: ASUS A7V8X-X ACPI BIOS Revision 1007 (11/13/2003)
  *-cdrom
   description: IDE CD-ROM
   product: SAMSUNG CD-ROM SC-152G
   physical id: 0
   bus info: [EMAIL PROTECTED]
   logical name: /dev/hdc
   version: C400
   capabilities: packet atapi cdrom removable 
   nonmagnetic dma lba iordy audio

(from dmesg)
hdc: SAMSUNG CD-ROM SC-152G, ATAPI CD/DVD-ROM drive

Kernel (miscellaneous from config file:
CONFIG_I2C_NFORCE2=m
CONFIG_SENSORS_VIA686A=y
CONFIG_VIDEO_DEV=y
CONFIG_FB=y
CONFIG_FB_NVIDIA=m
# CONFIG_FB_NVIDIA_I2C is not set

Symptoms:
When (2.6.14-gentoo-r2)booting I get this error:
AT boot time: screen errors related to lm_sensors, which I 
do not think are related to audio and DVD problems.

video:
vlc's gui fires up but nothing happens when I select to play a DVD
that plays on an intel portable..

Kaffeine gives more information:
The source can't be read. 
Maybe you don't have enough rights for this, or the sourece doesn't 
contain data (e.g. no disc in drive). (/dev/dvd)

Sooo:
I did notice The dvd devices are missing:
ls -alg /dev/dvd
ls: /dev/dvd: No such file or directory
likewise video is missing:   
ls -alg /dev/video
ls: /dev/video: No such file or directory

The dvd/video devices are not  being created by the boot process 
and udev, or I've munged things up in the kernel. Ideas on how to 
diagnose and fix the dvd mapping to hdc are welcome.

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Fri, 2005-11-18 at 00:53 +0530, abhay wrote:
 #--
 alias /dev/mixer snd-mixer-oss
 alias /dev/dsp snd-pcm-oss
 alias /dev/midi snd-seq-oss
 
 # Set this to the correct number of cards.
 # --- BEGIN: Generated by ALSACONF, do not edit. ---
 # --- ALSACONF version 1.0.10rc2 ---
 alias snd-card-0 snd-hda-intel
 alias sound-slot-0 snd-hda-intel
 # --- END: Generated by ALSACONF, do not edit. ---
 
 options snd-hda-intel model=3stack position_fix=2
 #---

Yes that worked.  Thank you!  That'll be one less worry on my mind...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Michael Kjorling
On 2005-11-17 20:17 +0100, [EMAIL PROTECTED] wrote:
 I KNOW my password. And I also tried the 2 techniques
 for changing it (the init=/bin/sh in the bootloader
 and chrooting from the live-cd). I change them
 succesfully but it still doesn't work!

Check to make sure the console is listed in /etc/securetty, otherwise
you won't be able to log in as root directly. (However, you can log in
as a normal user and then use `su'.)

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgprsvc6rvAeQ.pgp
Description: PGP signature


Re: [gentoo-user] root password gremlin

2005-11-17 Thread ÿffffc1lvaro Castro
Hi!

Yes... I've done it a couple of times to be sure...

Other thing: my console is using UTF-8 ¿maybe...?
The console is still not working properly, it shows
deformed characters because of the resolution.

thanks!

 Have you run passwd for the root user while in the
 chroot environment?




__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Kjorling wrote:
 Check to make sure the console is listed in /etc/securetty, otherwise
 you won't be able to log in as root directly. (However, you can log in
 as a normal user and then use `su'.)

... if that user is in the wheel group.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfN2KAlpOsGhXcE0RAvmAAJ9mfXW7vVqyOS3gUicwdEVUJ5y1wwCfa7NU
efbkILA3c+wSwY3fzLdOWC8=
=Wh1x
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 On Thu, 17 Nov 2005, Richard Fish wrote:
  Hmm, looks ok.  Could you set udev_log=7 in /etc/udev/udev.conf, and
  post the entries that are added to /var/log/messages when you turn on
  the hard drive.
 
 $ tail -F /var/log/kernel/current
 Nov 17 17:41:51 [kernel] usb-storage: -- transfer complete
 Nov 17 17:41:51 [kernel] usb-storage: Bulk command transfer result=0
 Nov 17 17:41:51 [kernel] usb-storage: Attempting to get CSW...
 Nov 17 17:41:51 [kernel] usb-storage: usb_stor_bulk_transfer_buf: xfer
 13 bytes
 Nov 17 17:41:51 [kernel] usb-storage: Status code 0; transferred 13/13
 Nov 17 17:41:51 [kernel] usb-storage: -- transfer complete
 Nov 17 17:41:51 [kernel] usb-storage: Bulk status result = 0
 Nov 17 17:41:51 [kernel] usb-storage: Bulk Status S 0x53425355 T 0x78 R
 0 Stat 0x0
 Nov 17 17:41:51 [kernel] usb-storage: scsi cmd done, result=0x0
 Nov 17 17:41:51 [kernel] usb-storage: *** thread sleeping.
 Nov 17 18:21:25 [kernel] usb 1-3: new high speed USB device using
 ehci_hcd and address 20
 Nov 17 18:21:25 [kernel] usb 1-3: device descriptor read/all, error -71
 Nov 17 18:21:25 [kernel] usb 1-3: new high speed USB device using
 ehci_hcd and address 21
 Nov 17 18:21:25 [kernel] usb 1-3: string descriptor 0 read error: -71
 - Last output repeated 2 times -
 Nov 17 18:21:25 [kernel] usb 1-3: new high speed USB
 device using ehci_hcd and address 22
 Nov 17 18:21:25 [kernel] usb 1-3: string descriptor 0
 read error: -71
 - Last output repeated 2 times -
 Nov 17 18:21:25 [kernel] usb 1-3: new
 high speed USB device using ehci_hcd and
 address 23
 Nov 17 18:21:25 [kernel] usb 1-3: string
 descriptor 0 read error: -71

Ok, something is going wrong in either hardware or kernel land for
this device.  You should be seeing entries like this from the kernel:

Nov 17 13:10:30 carcharias usb 1-3: new high speed USB device using
ehci_hcd and address 5
Nov 17 13:10:30 carcharias scsi2 : SCSI emulation for USB Mass Storage devices
Nov 17 13:10:30 carcharias usb-storage: device found at 5
Nov 17 13:10:30 carcharias usb-storage: waiting for device to settle
before scanning
Nov 17 13:10:35 carcharias Vendor: ST910082  Model: 3ARev: 3.02
Nov 17 13:10:35 carcharias Type:   Direct-Access 
ANSI SCSI revision: 00
Nov 17 13:10:35 carcharias SCSI device sda: 195371568 512-byte hdwr
sectors (100030 MB)

Particularly the last one, about the new SCSI device and it's size, is
important.  If you have USB and the other drivers built as modules,
reload them and try again.  If they are built into your kernel,
reboot.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, James [EMAIL PROTECTED] wrote:
 Sooo:
 I did notice The dvd devices are missing:
 ls -alg /dev/dvd

Does /dev/hdc exist?  If so, what are the permissions there?  What
about /dev/cdrom?

What does /sbin/cdrom_id /dev/hdc report?

You can also try setting udev_log=7 in /etc/udev/udev.conf, run
udevstart, and take a look at the messages in /var/log/messages to see
what devices udev is seeing, what rules it is matching for those, and
what devices and links it is creating.

 likewise video is missing:
 ls -alg /dev/video
 ls: /dev/video: No such file or directory

The default rules for udev (in /etc/udev/rules.d/50-udev.rules) makes
framebuffer devices in /dev/fb/, with symlinks at /dev/fbX.  The only
'video' devices are for capture cards, and are created as
/dev/v4l/videoX, with symlinks as /dev/videoX.  What device are you
expecting at /dev/video?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread ÿffffc1lvaro Castro
Hello!

Yes, I can find
tts/0
in /etc/securetty
The point is that the normal user can't login neither.

thanks!

.alvaro.castro.




 --- Michael Kjorling [EMAIL PROTECTED] escribió:

 On 2005-11-17 20:17 +0100, [EMAIL PROTECTED] wrote:
  I KNOW my password. And I also tried the 2
 techniques
  for changing it (the init=/bin/sh in the
 bootloader
  and chrooting from the live-cd). I change them
  succesfully but it still doesn't work!
 
 Check to make sure the console is listed in
 /etc/securetty, otherwise
 you won't be able to log in as root directly.
 (However, you can log in
 as a normal user and then use `su'.)
 
 -- 
 Michael Kjörling, [EMAIL PROTECTED] -
 http://michael.kjorling.com/
 * ASCII Ribbon Campaign: Against HTML Mail,
 Proprietary Attachments *
 * . No bird soars too high if he soars with his
 own wings . *
 




__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ÿc1lvaro Castro wrote:
 The point is that the normal user can't login neither.

You probable removed pam from your /etc/make.conf USE flags. That wont allow 
you to login, no
matter what user you try.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfO0vAlpOsGhXcE0RAosxAJ9hPaF7gkni4yvRLtxq5z+sZnd62QCdGuwU
5o6WJPEyVHFbemCRVqTlyfg=
=6x8v
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync

2005-11-17 Thread Cédric FINANCE
The Link quality is not supported by the driver (ndiswrapper). I am 
connected to an irc server and I have no problems. I don't think that 
the problem come from the wireless connection. It might have something 
to do with the rsync protocol, the modem or my ISP. But I don't know how 
to figure out where the problem is.


#iwconfig
wlan0 IEEE 802.11b  ...
 Mode:Managed  Frequency:2.412 GHz ...
 Bit Rate=2 Mb/s   Tx-Power:20 dBm   Sensitivity=0/3 
 RTS thr=-1 B   Fragment thr=-1 B  
  
 Link Quality:100/100  Signal level:-70 dBm  Noise level:-256 dBm

 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Nagatoro wrote:


Cédric FINANCE wrote:


Hello,

   I have some trouble when I try to sync the portage tree. It works
fine when I try by a friend in a wire network. At home, I have a
wireless network and a treeway adsl modem. When I execute the emerge
sync, it starts to download some files but everytime, it stops after 272
files.

dev-util/kdevelop/kdevelop-3.3.0_rc1.ebuild
   3001 100%2.66kB/s0:00:01  (270, 31.2% of 131566)
eclass/kde-meta.eclass
  15598 100%   13.20kB/s0:00:01  (271, 32.1% of 131566)
eclass/kde.eclass
   8465 100%7.11kB/s0:00:01  (272, 32.1% of 131566)
media-libs/mesa/
media-libs/mesa/files/
media-libs/netpbm/files/
...
metadata/cache/x11-apps/
io timeout after 180 seconds - exiting



This seems to indicate that the server you are trying to sync with 
hasn't responded in 180 seconds. How is the quality of you wireless 
connection?










___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync

2005-11-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Cédric FINANCE wrote:
 The Link quality is not supported by the driver (ndiswrapper). I am
 connected to an irc server and I have no problems. I don't think that
 the problem come from the wireless connection. It might have something
 to do with the rsync protocol, the modem or my ISP. But I don't know how
 to figure out where the problem is.

Have you tried emerge-webrsync instead of emerge sync?


- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfPCTAlpOsGhXcE0RAj7dAJ9EMB+vTMmUEcHwfB7veqi4f6yBkQCZAZnT
RtKZBs2/ps0Z90Jyuo3KrwQ=
=JCDg
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 On Thu, 17 Nov 2005, Richard Fish wrote:
  important.  If you have USB and the other drivers built as modules,
  reload them and try again.  If they are built into your kernel,
  reboot.
 
 This is Chaos.

 On reboot, /dev/external_hd and /dev/external_hd1 exist. I mounted the
 disk with no problems. /dev/plextor_memstick and /dev/plextor_memstick1
 don't exist (or rather they appear as broken links).

Hmm, do you RC_DEVICE_TARBALL set in /etc/conf.d/rc?  That would cause
something like this, and I recommend setting it to no for a pure
udev setup.

 Understandable,
 since the stick is not plugged. I plugged it and still no nodes.  I
 unmounted the external disk and /dev/external_hd /dev/external_hd1 are
 gone! And /dev/plextor_memstick  /dev/plextor_memstick1 didn't came
 back.

Your USB bus is really not working right!  Are these devices connected
directly to ports on the PC, or going through a hub?  If there is a
hub, maybe it is broken...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: udev: lost dvd

2005-11-17 Thread James
Richard Fish bigfish at asmallpond.org writes:

 Does /dev/hdc exist?  If so, what are the permissions there?  What
 about /dev/cdrom?
Initially:
brw-rw  1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
so I change it to 777
brwxrwxrwx  1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
but that did not fix it.
ls -alg /dev/cdrom
lrwxrwxrwx  1 root root 3 Nov 17 16:41 /dev/cdrom - hdc

 What does /sbin/cdrom_id /dev/hdc report?
ID_CDROM=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_RAM=1


I also get an additional error message from kaffeine now:
xine Error -Kaffeine Player
No plugin found to handle this resource (dvd:/)
Details
xine: cannot fine input plugin for MRL (dvd:/)
xine: input plugin cannot open MRL (dvd:/)
xine: found input plugin :DVD Navigator
demux_avi; invalid avi chunk demux_avi; invalid avi chunk

 You can also try setting udev_log=7 in /etc/udev/udev.conf, run
 udevstart, 

OK
 and take a look at the messages in /var/log/messages to see
 what devices udev is seeing, what rules it is matching for those, and
 what devices and links it is creating.
Hum, /var/log/messages does not exist. Lots of specific log files
are in /var/log

Which startup script do I edit to start logging to /var/log/messages?


  likewise video is missing:
  ls -alg /dev/video
  ls: /dev/video: No such file or directory
 The default rules for udev (in /etc/udev/rules.d/50-udev.rules) makes
 framebuffer devices in /dev/fb/, with symlinks at /dev/fbX.  The only
 'video' devices are for capture cards, and are created as
 /dev/v4l/videoX, with symlinks as /dev/videoX.  What device are you
 expecting at /dev/video?

None really, I was just looking at a portable, with an onboard usb cam
built into the screen case and it had the video drivers. I do think
I enabled v4l in the kernel on that one. Let's just ignore it for
now, as the frame grabber card that was in the amd system with the 
dvd problem was moved to another system a couple of months ago.

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-17 Thread Benno Schulenberg
Mrugesh Karnik wrote:
 Something interesting did happen though. I had that Unknown
 device in my lspci output for both Gentoo and FC4 when I was on
 VIA Unichrome. Now after switching to nvidia, I can see a Host
 Bridge properly identified in its place. I wonder why that would
 be?

Flaky hardware?  Timings too fast in the BIOS?

 I apologise to those who wasted their time reading this thread
 and replying in it.. but I found the problem worth investigating
 and I am still intrigued by it..

Kernel misconfigured?  When the vesa driver doesn't give acceptable 
performance, there is something wrong.  You might want to actually 
answer the questions I asked earlier.

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



Re: [gentoo-user] root password gremlin

2005-11-17 Thread ÿffffc1lvaro Castro
Uff!

Yes! That's for sure, since I made my own make.conf
and I didn't know this was necessary!
hum... how can I solve that?
I mean, what things should I recompile?
emerge --newuse world???


!!!thanks

.alvaro.castro.



 --- Arturo 'Buanzo' Busleiman [EMAIL PROTECTED]
escribió:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 ÿc1lvaro Castro wrote:
  The point is that the normal user can't login
 neither.
 
 You probable removed pam from your /etc/make.conf
 USE flags. That wont allow you to login, no
 matter what user you try.
 
 - --
 Arturo Buanzo Busleiman - www.buanzo.com.ar
 Consultor en Seguridad Informatica / Dominio Digital
 TV - Da FOSS man!
 KTP Consultores - info AT ktpconsultores.com.ar
 
 Romper un sistema de seguridad los acerca tanto a
 ser hackers como el
 encender autos puenteando los convierte en
 ingenieros automotrices.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird -
 http://enigmail.mozdev.org
 

iD8DBQFDfO0vAlpOsGhXcE0RAosxAJ9hPaF7gkni4yvRLtxq5z+sZnd62QCdGuwU
 5o6WJPEyVHFbemCRVqTlyfg=
 =6x8v
 -END PGP SIGNATURE-
 -- 
 gentoo-user@gentoo.org mailing list
 
 




__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ÿc1lvaro Castro wrote:
 Yes! That's for sure, since I made my own make.conf
 and I didn't know this was necessary!

[EMAIL PROTECTED] ~ $ grep ^pam /usr/portage/profiles/use*
/usr/portage/profiles/use.desc:pam - Adds support PAM (Pluggable Authentication 
Modules) - DANGEROUS
to arbitrarily flip

Remember: use* files are available when installing at the USE-flags-editing 
step.

 hum... how can I solve that?
 I mean, what things should I recompile?
 emerge --newuse world???

emerge --newuse system -pv first. See what packages will be recompiled.

After that, revdep-rebuild ill probably be needed.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfP50AlpOsGhXcE0RAjppAJ9eKVCnRy2hEMvqMnxPqPWmLUQbHQCeItYa
jsnrRcAcP3QVR2KwQJZFrVM=
=aOxE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Jorge Almeida
On Thu, 17 Nov 2005, Richard Fish wrote:
 
 Hmm, do you RC_DEVICE_TARBALL set in /etc/conf.d/rc?  That would cause
 something like this, and I recommend setting it to no for a pure
 udev setup.
 
Yes, it was there since the time it was recommended. I changed it and
rebooted. The memstick nodes are OK (no links) but still no sign of the
external disk. Turning the case switch off and on doesn't bring any
change...
  Understandable,
  since the stick is not plugged. I plugged it and still no nodes.  I
  unmounted the external disk and /dev/external_hd /dev/external_hd1 are
  gone! And /dev/plextor_memstick  /dev/plextor_memstick1 didn't came
  back.
 
 Your USB bus is really not working right!  Are these devices connected
 directly to ports on the PC, or going through a hub?  If there is a
 hub, maybe it is broken...
 
No hub. I changed the usb port the case is connected to and no change...
I substituted the USB connection by a firewire one. No change...(the
rule starts with BUS==scsi, so it should be detected).

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



Re: [gentoo-user] Re: udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, James [EMAIL PROTECTED] wrote:
 Richard Fish bigfish at asmallpond.org writes:

  Does /dev/hdc exist?  If so, what are the permissions there?  What
  about /dev/cdrom?
 Initially:
 brw-rw  1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
 so I change it to 777
 brwxrwxrwx  1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
 but that did not fix it.
 ls -alg /dev/cdrom
 lrwxrwxrwx  1 root root 3 Nov 17 16:41 /dev/cdrom - hdc

Rather than changing the permissions, a better plan is to add any
users that should be able to access cdrom/dvd devices to the cdrom
group.


  What does /sbin/cdrom_id /dev/hdc report?
 ID_CDROM=1
 ID_CDROM_MRW=1
 ID_CDROM_MRW_W=1
 ID_CDROM_RAM=1


Ok, this is why you have no /dev/dvd device.  A DVD reader should also
report ID_CDROM_DVD=1, and a burner will report ID_CDROM_DVD_R=1.

The /sbin/cdrom_id program is a part of udev, and is used by udev to
determine what symlinks to create.  So as I see it, you have two
choices:

1. Try upgrading to a more recent version of udev.  The current ~x86
version is 073.

2. Write a custom rule for your device, and add it to
/etc/udev/rules.d/10-local.rules.  Something like this should do the
trick:

KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
SYMLINK+=_dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

 Hum, /var/log/messages does not exist. Lots of specific log files
 are in /var/log

 Which startup script do I edit to start logging to /var/log/messages?

Actually, it depends upon what logger you have mergedI use
syslog-ng, configured so that my kernel and other logs go to
/var/log/messages.  Your messages may go somewhere else...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, Richard Fish [EMAIL PROTECTED] wrote:
 KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
 SYMLINK+=_dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

Ok, bad form to reply to myself, but the above should say:

SYMLINK+=dvd%e

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Dig

2005-11-17 Thread James
Nick Rout nick at rout.co.nz writes:


  Nick, the Debian list is organized by category and quite easy to browse
  and read. The gentoo list is not nearly as well organized as the
  Debian list, from my viewpoint.

 you can search by category on packages.gentoo.org, and also using eix.

 then again gentoo is a community effort, you make an interface as you
 describe, and if it is as good as you say the gentoo world will beat a
 path to your door.

 simple huh?

Nick,

Actually, I'm getting to know gentoo better and better every day.
I hope to be contributing soon. I like to write 'cook books'
and howtos

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Scroll back buffer on boot screen

2005-11-17 Thread Iain Buchanan
On Thu, 2005-11-17 at 09:28 -0600, Harry Putnam wrote:
 What tools do I need to be looking at to set the scrollback buffer of
 the boot screen.

You may have it already - try shift-pgup.  For me, it doesn't scroll
back much for the boot screen messages, but once I've done some I/O, I
can scroll through it.

 I don't use framebuffer splash type stuff, just the basic terminal.

I have framebuffer, so YMMV,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync

2005-11-17 Thread Iain Buchanan
On Thu, 2005-11-17 at 21:59 +0100, Cédric FINANCE wrote:
 The Link quality is not supported by the driver (ndiswrapper). I am 
 connected to an irc server and I have no problems.

irc as in chatting?  irc hardly does anything to stress your hardware!!

  I don't think that 
 the problem come from the wireless connection.

No?  Some network cards work fine until you pass large amounts of data
through them, at which point they fall over and in some cases crash the
entire system.  It's often a driver problem - I've seen it many times.

  It might have something 
 to do with the rsync protocol,

only inasmuch as the rsync protocl stresses your network card.

  the modem or my ISP. But I don't know how 
 to figure out where the problem is.

do you have a LAN as well? You could try that out.  Otherwise I would
look for an alternative .inf file to use with ndiswrapper (from windows
NT instead of windows XP for example), or look for a native linux driver
for your network card.

HTH,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: udev: lost dvd

2005-11-17 Thread James
Richard Fish bigfish at asmallpond.org writes:



 Rather than changing the permissions, a better plan is to add any
 users that should be able to access cdrom/dvd devices to the cdrom
 group.

In /etc/group it has been like this for some time:
cdrom::19:root,james
video::27:root,james


  What does /sbin/cdrom_id /dev/hdc report?
  ID_CDROM=1
  ID_CDROM_MRW=1
  ID_CDROM_MRW_W=1
  ID_CDROM_RAM=1

 Ok, this is why you have no /dev/dvd device.  A DVD reader should also
 report ID_CDROM_DVD=1, and a burner will report ID_CDROM_DVD_R=1.

 The /sbin/cdrom_id program is a part of udev, and is used by udev to
 determine what symlinks to create.  So as I see it, you have two
 choices:
 1. Try upgrading to a more recent version of udev.  The current ~x86
 version is 073.
Tried this first, (added ~x86 to packages.keywords and emerged udev)
Did not work. This look reasonable so I'll stay on version 073 of udev
for 

 2. Write a custom rule for your device, and add it to
 /etc/udev/rules.d/10-local.rules.  Something like this should do the
 trick:
OK, this file does not exist, only:
-rw-r--r--  1 root root54 Sep 14 10:38 30-svgalib.rules
-rw-r--r--  1 root root 11492 Nov 17 18:31 50-udev.rules

so I created it:
-rw-r--r--  1 root root   120 Nov 17 18:47 10-local.rules

 KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
 SYMLINK+=_dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode
Now:
cat /etc/udev/rules.d/10-local.rules
KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
SYMLINK+=dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode


  Which startup script do I edit to start logging to /var/log/messages?

 Actually, it depends upon what logger you have mergedI use
 syslog-ng, configured so that my kernel and other logs go to
 /var/log/messages.  Your messages may go somewhere else...

vixie-cron

I can swith if you think it's necessary to debug this problem?

James





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bug in net.eth0?

2005-11-17 Thread Hareesh Nagarajan
Hi,

Some verison info:
Version: # $Header:
/home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.41 2004/05/10
14:16:35 agriffis Exp $

Some background info:
I have my ethernet driver compiled into my kernel.

hareesh: hareesh/ $ lspci | grep Ethernet
:00:12.0 Ethernet controller: National Semiconductor Corporation
DP83815 (MacPhyter) Ethernet Controller

The problem:
After I shutdown my eth0 interface I see an UP in the ifconfig output.

hareesh: hareesh/ $ s ifconfig eth0 down
hareesh: hareesh/ $ ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0F:20:C7:25:5C
  UP BROADCAST NOTRAILERS MULTICAST  MTU:1500  Metric:1
  RX packets:28225 errors:0 dropped:0 overruns:0 frame:0
  TX packets:24421 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:22196299 (21.1 Mb)  TX bytes:4732287 (4.5 Mb)
  Interrupt:11

The /etc/init.d/net.eth0 script does the following check:

script
status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP {print up}')
[...]
if [[ ${status_IFACE} == up ]]; then
einfo Keeping kernel configuration for ${IFACE}
else
ebegin Bringing ${IFACE} up via DHCP
/sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE}
/script

So when I do the following, I get:
# /etc/init.d/net.eth0 start
 * Keeping kernel configuration for eth0

So as we can see, the script hasn't given my interface an IP.

Obviously, when I do this, I get:
hareesh: hareesh/ $ wget www.google.com
--14:09:55--  http://www.google.com/
   = `index.html'
Resolving www.google.com... failed: Temporary failure in name resolution.

So then, I do:
# /etc/init.d/net.eth0 stop
 * Bringing eth0 down...

So I guess, if you have the ethernet driver compiled in, ifconfig
interface still seems to show UP, no idea why. So I think, the
script needs to be modified to test if, ifconfig spits a line with
'inet', to truly test if the interface is up.

More importantly, UP just says that the device is functioning
correctly and does not say that interface actually has an IP address
assigned to it. So we need something more to rely on, to actually test
if the interface is up and running with an IP address assigned to it.

My modifications are as follows. This script, is just a hack, so all
you bash gurus please forgive me. Maybe there is a better way of doing
all this with the help of the /proc interface:

patch
--- /etc/init.d/net.eth0.1  2005-11-17 12:55:47.0 -0800
+++ /etc/init.d/net.eth02005-11-17 14:09:33.0 -0800
@@ -50,8 +50,13 @@
 #  ifconfig_fallback_IFACE (fallback ifconfig if dhcp fails)
 setup_vars() {
local i iface=${1//\./_}
-
-   status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP
{print up}')
+   #status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP
{print up}')
+   temp_IFACE=$(ifconfig  ${1} | gawk '{print $1}' | head -n 2 |
tr '\n' '_')
+   if [[ ${temp_IFACE} == ${1}_inet_ ]]; then
+   status_IFACE=up
+   else
+   status_IFACE=
+   fi
eval vlans_IFACE=\\$\{iface_${iface}_vlans\}\
eval ifconfig_IFACE=( \[EMAIL PROTECTED] )
eval dhcpcd_IFACE=\\$\{dhcpcd_$iface\}\
/patch

Now, when I execute the script, I get the following:

# s /etc/init.d/net.eth0 start
 * Bringing eth0 up via DHCP...[ ok ]
 *   eth0 received address 140.221.222.55

So is this a bug in net.eth0 or am I missing something obvious?

Thanks,

./hareesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Willie Wong
On Thu, Nov 17, 2005 at 05:50:55PM -0300, Arturo 'Buanzo' Busleiman wrote:
 ?c1lvaro Castro wrote:
  The point is that the normal user can't login neither.
 
 You probable removed pam from your /etc/make.conf USE flags. That wont 
 allow you to login, no
 matter what user you try.
 

Clarify? I certainly run my box without pam and I can still login. Is
this some new development that I am not aware of? 

W
-- 
Pintsize: fire, filth, and destruction? 
Clearly we are going to make good neighbors.
Sortir en Pantoufles: up 5 days, 15:28
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2005 22:58:15 +0100 (CET), ÿc1lvaro Castro wrote:

 I mean, what things should I recompile?

You need to re-emerge shadow after removing pam.

 emerge --newuse world???

That should cover all bases. IMO it's always worth doing --newuse after a
change to your USE flags.


-- 
Neil Bothwick

(A)bort (R)etry (S)ell it


signature.asc
Description: PGP signature


[gentoo-user] CFLAGS -mcpu value for Celeron 2.00GHz

2005-11-17 Thread sempsteen
Hi, I was reading about CFLAGS to set it best for my system. I've
searched for the -mcpu value that fits my Intel Celeron 2.00GHz
processor but couldn't find it. By looking cpu family and model from Gentoo Wiki Safe Cflags article pentium4 value seems the best but i've a celeron?. In make.conf
 file its default value is i686:

CFLAGS=-O2 -mcpu=i686 -pipe
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2

Please give me a hand, which value should i use for my processor?

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Celeron(R) CPU 2.00GHz
stepping : 9
cpu MHz : 2020.343
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu
vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4046.07


Re: [gentoo-user] Re: udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, James [EMAIL PROTECTED] wrote:
 Richard Fish bigfish at asmallpond.org writes:
  1. Try upgrading to a more recent version of udev.  The current ~x86
  version is 073.
 Tried this first, (added ~x86 to packages.keywords and emerged udev)
 Did not work. This look reasonable so I'll stay on version 073 of udev
 for

Ok, I would also suggest filing a bug report against udev on
bugs.gentoo.org, with the model of your DVD drive, and the output of
the cdrom_id

 Now:
 cat /etc/udev/rules.d/10-local.rules
 KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
 SYMLINK+=dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

Is this one line or two?  It should be a single line.

   Which startup script do I edit to start logging to /var/log/messages?

 I can swith if you think it's necessary to debug this problem?

Nope, not necessary for now I think...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS -mcpu value for Celeron 2.00GHz

2005-11-17 Thread Marko Kocic
pentium4

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: udev: lost dvd

2005-11-17 Thread James
James wireless at tampabay.rr.com writes:



  2. Write a custom rule for your device, and add it to
  /etc/udev/rules.d/10-local.rules.  Something like this should do the
  trick:
 OK, this file does not exist, only:
 -rw-r--r--  1 root root54 Sep 14 10:38 30-svgalib.rules
 -rw-r--r--  1 root root 11492 Nov 17 18:31 50-udev.rules

 so I created it:
 -rw-r--r--  1 root root   120 Nov 17 18:47 10-local.rules

  KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
  SYMLINK+=_dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

 cat /etc/udev/rules.d/10-local.rules
 KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
 SYMLINK+=dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

I tried it with this line a 2 lines in the file
/etc/udev/rules.d/10-local.rules
and as a single line. 

cat /etc/udev/rules.d/10-local.rules
KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add, SYMLINK+=dvd%e,
IMPORT=/sbin/cdrom_id --export $tempnode


Neither way workd and I get the  same error messages from kaffeine as before?

I guess it's time to remove vixie-cron and emerge 'syslog-ng' ?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS -mcpu value for Celeron 2.00GHz

2005-11-17 Thread sempsteen
thanks a lot Marko.


[gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a ATI Radeon 9200 graphics card (lspci says ATI Technologies,
device 5940, rev 01) which currently drives my monitor at 48.5 kHz 60
Hz 1024x768 using x11-base/xorg-x11-6.8.2-r4 and the radeon driver.
I would like to raise the refresh rate to 75 Hz. How do I do that?

Various Google searches have turned me up empty, except that possibly
the answer lies in the ModeLine used. Is that correct and if so, what
values would I need to tune to adjust the refresh rate?

/etc/X11/xorg.conf says that the vertical refresh rate is 50-90 Hz.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDfRe6dY+HSb3praYRAuczAJ9n1w0/A5Iw8k3hu34eWUogqnQ5pwCffXv5
ECG/+H7cS9WIO/vpl8tYWYE=
=P/O5
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, James [EMAIL PROTECTED] wrote:
 James wireless at tampabay.rr.com writes:
 I tried it with this line a 2 lines in the file
 /etc/udev/rules.d/10-local.rules
 and as a single line.

It should definitely be a single line.  And you will want to either
reboot or run udevstart afterwards.   After this, does /dev/dvd exist?
(ls -l /dev/dvd).

 I guess it's time to remove vixie-cron and emerge 'syslog-ng' ?

Actually, that would be bad.  Vixie-cron is a process scheduler, not a
system logger, although it also creates log files in /var/log.

The system loggers available in portage are:

app-admin/sdsc-syslog
app-admin/syslog-ng
app-admin/sysklogd
app-admin/socklog
app-admin/metalog

If you don't have one of the above installed, then syslog-ng is as good as any.

To find out where your messages are going, try:

grep -r Kernel command line /var/log/*

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-17 Thread Richard Fish
On 11/17/05, Jorge Almeida [EMAIL PROTECTED] wrote:
  Your USB bus is really not working right!  Are these devices connected
  directly to ports on the PC, or going through a hub?  If there is a
  hub, maybe it is broken...
 
 No hub. I changed the usb port the case is connected to and no change...
 I substituted the USB connection by a firewire one. No change...(the
 rule starts with BUS==scsi, so it should be detected).

I'm not sure what the problem could be then.  Maybe something in your
kernel configuration.  Could you post the output of:

grep =[ym] /usr/src/linux/.config

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: udev: lost dvd

2005-11-17 Thread James
Richard Fish bigfish at asmallpond.org writes:


 Ok, I would also suggest filing a bug report against udev on
 bugs.gentoo.org, with the model of your DVD drive, and the output of
 the cdrom_id

Ok I'll file the bug report.
Any recommendations on a DVDrw that has full linux support?
How do I browse the list of supported DVDr and DVDrw devices?

  cat /etc/udev/rules.d/10-local.rules
  KERNEL==hdc, NAME=%k, GROUP=cdrom, ACTION==add,
  SYMLINK+=dvd%e, IMPORT=/sbin/cdrom_id --export $tempnode

 Is this one line or two?  It should be a single line.

I tried it as 2 lines and a single line, both with the same error messages.

Thanks for the help!

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Richard Fish
On 11/17/05, Michael Kjorling [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I have a ATI Radeon 9200 graphics card (lspci says ATI Technologies,
 device 5940, rev 01) which currently drives my monitor at 48.5 kHz 60
 Hz 1024x768 using x11-base/xorg-x11-6.8.2-r4 and the radeon driver.
 I would like to raise the refresh rate to 75 Hz. How do I do that?

 Various Google searches have turned me up empty, except that possibly
 the answer lies in the ModeLine used. Is that correct and if so, what
 values would I need to tune to adjust the refresh rate?

 /etc/X11/xorg.conf says that the vertical refresh rate is 50-90 Hz.

Current x.org versions should be able to auto-detect the VertRefresh
and HorizSync settings, as well as appropriate modelines.  So I would
comment out all such stuff from your xorg.conf file, and see if the
autodetection will work.

Probably the easiest way to do this will be:

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.save
X -configure
(follow the printed instructions for testing the generated config)
mv path from X -configure /etc/X11/xorg.conf

You may have to change /dev/mouse to /dev/input/mice in the generated
config before it will work.

Then you can diff the generated config with your old one, and see what
settings you want/need to keep.

For reference, my Monitor and Screen sections contain just:

Section Monitor
Identifier   LCD
VendorName   ASUS
ModelName1680 x 1050
#   DisplaySize  331 207
EndSection

Section Screen
Identifier LCD
Device X600
MonitorLCD
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Mark Knecht
On 11/17/05, Michael Kjorling [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I have a ATI Radeon 9200 graphics card (lspci says ATI Technologies,
 device 5940, rev 01) which currently drives my monitor at 48.5 kHz 60
 Hz 1024x768 using x11-base/xorg-x11-6.8.2-r4 and the radeon driver.
 I would like to raise the refresh rate to 75 Hz. How do I do that?

 Various Google searches have turned me up empty, except that possibly
 the answer lies in the ModeLine used. Is that correct and if so, what
 values would I need to tune to adjust the refresh rate?

 /etc/X11/xorg.conf says that the vertical refresh rate is 50-90 Hz.

Generically modeline is the path to doing this. (I think...) I've done
similar things using this site:

http://koala.ilog.fr/cgi-bin/nph-colas-modelines

Hope this helps,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: udev: lost dvd

2005-11-17 Thread James
Richard Fish bigfish at asmallpond.org writes:


 It should definitely be a single line.  And you will want to either
 reboot or run udevstart afterwards.   After this, does /dev/dvd exist?
 (ls -l /dev/dvd).

lrwxrwxrwx  1 root root 3 Nov 17 19:01 /dev/dvd - hdc


 The system loggers available in portage are:

 app-admin/sdsc-syslog
 app-admin/syslog-ng
 app-admin/sysklogd
 app-admin/socklog
 app-admin/metalog

 If you don't have one of the above installed, then syslog-ng is as good as 
 any.
 
OK I emerge syslog-ng


 To find out where your messages are going, try:
 grep -r Kernel command line /var/log/*

/var/log/dmesg:Kernel command line: root=/dev/hda1 snd-via82xx.dxs_support=2

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bug in net.eth0?

2005-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2005 15:01:29 -0800, Hareesh Nagarajan wrote:

 Version: # $Header:
 /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.41 2004/05/10
 14:16:35 agriffis Exp $

This looks like a very old script. /etc/init.d/net.eth0 should now be a
symlink to net.lo.


-- 
Neil Bothwick

Press any key to continue... click Except that one..


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: udev: lost dvd

2005-11-17 Thread Richard Fish
On 11/17/05, James [EMAIL PROTECTED] wrote:

 lrwxrwxrwx  1 root root 3 Nov 17 19:01 /dev/dvd - hdc

Ok, so everything is fine...but you say vlc and kaffeine still don't
work?  Hold on...googling...

Um, the Samsung SC-152G is a CD-ROM drive, not a DVD drive.  So udev
and cdrom_id are doing the right thingsno bug here.

You'll need to buy a DVD drive if you want to watch DVDs.  Any ATAPI
DVD device should do, but Philips and Sony are probably the best.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-11-17 17:04 -0700, [EMAIL PROTECTED] wrote:
 Current x.org versions should be able to auto-detect the VertRefresh
 and HorizSync settings, as well as appropriate modelines.  So I would
 comment out all such stuff from your xorg.conf file, and see if the
 autodetection will work.

It did. Thanks a lot!

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDfSVtdY+HSb3praYRAh5EAJ9IDKuMdvh98TUieSYWXbsZ2K40kwCgnfh2
RYCSld0pVgmiil9HgsYl+TE=
=rn5V
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Holly Bostick
Mark Knecht schreef:
 On 11/17/05, Michael Kjorling [EMAIL PROTECTED] wrote:
 
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 I have a ATI Radeon 9200 graphics card (lspci says ATI
 Technologies, device 5940, rev 01) which currently drives my
 monitor at 48.5 kHz 60 Hz 1024x768 using x11-base/xorg-x11-6.8.2-r4
 and the radeon driver. I would like to raise the refresh rate to
 75 Hz. How do I do that?
 
 Various Google searches have turned me up empty, except that
 possibly the answer lies in the ModeLine used. Is that correct and
 if so, what values would I need to tune to adjust the refresh rate?
 
 
 /etc/X11/xorg.conf says that the vertical refresh rate is 50-90
 Hz.
 
 
 Generically modeline is the path to doing this. (I think...) I've
 done similar things using this site:
 
 http://koala.ilog.fr/cgi-bin/nph-colas-modelines
 

That's a good suggestion, but what all the replies so far seem to miss
is the fact that refresh rate is a *monitor* setting, not a video card
setting (although, because the monitor is a part of the X server-- along
with the video card, mouse, and keyboard-- the possible refresh rates
are also set in xorg.conf).

So the possible refresh rates for any given resolution rely on the
monitor's capabilities, not those of the video card.

From my own experience, this can sometimes be tricky, depending on the
monitor. For example, my monitor is a 17 Eizo F550i-W. From the Eizo
site (I don't have a manual, as this was a hand-me-down from an office
that was upgrading), I found that the monitor is capable of 1280x1024--
but [EMAIL PROTECTED], which many people find uncomfortable.

That's not the problem, though, if I want to use 1280x1024 (which I do);
the problem is that Eizo lists their monitor under both Windows and X,
meaning that they provide drivers for it, which I can use by selecting
the monitor's manufacturer and model during setup (under either Linux or
Windows). Except that the manufacturer-provided drivers are *limited* by
the manufacturer, to the optimal resolution of [EMAIL PROTECTED]

So under either Linux or Windows (when I was still using Windows), I
could not use the manufacturer-provided drivers for the monitor, if I
wanted to use a resolution of 1280x1024-- that resolution was not
available, because the monitor only displays that resolution at 60Hz,
and Eizo doesn't want me to use a 60Hz resolution.

The only way I am able to set my desktop to [EMAIL PROTECTED] is to not use
the manufacturer-provided driver; under Windows I used Generic VESA
1280x1024, and under X I must set my Horizontal and Vertical refresh
ranges manually (provided on the manufacturer's site, or in a manual, if
I had one). Under X, as long as the ranges are set correctly, X knows
that the monitor can display at 1280x1024, and sets the refresh to 60
automatically for that resolution (because the ranges I've given tell
it the correct combination of possible resolutions and refresh rates
that can be displayed).

The point being, you need to know your monitor's specs. Is it in fact
capable of displaying [EMAIL PROTECTED] If so, the same place that told you
that should tell you the refresh ranges of the monitor. Plug those into
xorg.conf rather than whatever defaults might be there (which for me are
usually off by quite a bit, especially the horizontal range), and the
problem should sort itself after restarting the X server.

You can also do this with modelines, but I don't understand them
(meaning, I can't look at a modeline spec and know what it's trying to
do so that at need I could plug in my own), and so don't bother with them.

Hope this helps.
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FN - keys mouse scrollwheel

2005-11-17 Thread karlos
hi,

I have just tried out gnome and uninstalled gdm after. now my FN-keys
on the laptop as well as the scrollwheel behaviour of the mouse has
changed (it does not scroll up but sideways anymore)
and I would like to get both back to to normal again. has anyone an idea how to set this?

Karsten


Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Richard Fish
On 11/17/05, Holly Bostick [EMAIL PROTECTED] wrote:
 The point being, you need to know your monitor's specs.

Back in the day, that was true.  But with modern monitors (I'm not
sure of the spec, I think is part of the VESA compliance requirements)
the video driver can query the monitor for what refresh rates and
modes supported by the monitor.  This is what the DDC module in X is
for, and why monitors no longer require 'drivers' (which was never a
'driver' anyway, just a .inf that told the video driver what the
possible modes were).

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dinosaur Matrox Mystique: corruption

2005-11-17 Thread Bob Sanders
On Fri, 18 Nov 2005 00:56:18 +1000
Alan E. Davis [EMAIL PROTECTED] wrote:

 
 How would you recommend to go about trying vesa. That may be what Ubuntu is
 doing. Turn on vesa framebuffer?
 

Yes.  Under - Device Driver --  Graphics support -- Select VESA VGA graphics 
support
The further down in the Gfx support section -- Console Display Driver 
Support --
* VGA text 
console
* Video mode 
selection support
* Framebuffer 
Console support

 I backed down to 1024xsomething: vertical lines were scalloped/wavy. Someone
 mentioned this would be a timing issue, but I don't know what I'd do to
 microadjust timing? xvidtune? I'll try it.
 

Yes, xvidtune.  Also, it mught be useful to download the mga.o from Matrox and
follow the instructions to replace the one in /usr/X11R6/lib/modules (if I 
recall
the path correctly).

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



Re: [gentoo-user] Dinosaur Matrox Mystique: corruption

2005-11-17 Thread Alan E. Davis
On 11/18/05, Bob Sanders [EMAIL PROTECTED] wrote:
 Also, it mught be useful to download the mga.o from Matrox andfollow the instructions to replace the one in /usr/X11R6/lib/modules (if I recallthe path correctly).
I did download this driver, and when I installed, a message was
generated that the version was wrong. Maybe I'll try again, and
just install it anyway.

Thanks again. I'll try these ideas.

Alan 


Re: [gentoo-user] Dinosaur Matrox Mystique: corruption

2005-11-17 Thread Bob Sanders
On Fri, 18 Nov 2005 13:11:58 +1000
Alan E. Davis [EMAIL PROTECTED] wrote:


 I did download this driver, and when I installed, a message was generated
 that the version was wrong. Maybe I'll try again, and just install it
 anyway.
 

I wonder if the HAL use flag needs to be set to use the driver?  It's a new USE 
flag this
year and may cause a re-compile of Xorg if an emerge -uDNav world is done after
setting it.

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



Re: [gentoo-user] udev not getting unmounted at shutdown/reboot

2005-11-17 Thread Richard Fish
On 11/17/05, abhay [EMAIL PROTECTED] wrote:
 Hello,

 A few days ago my system hung and I had to do a reboot by pressing the power
 button. Since then I get the following message while shutdown/reboots

 Remounting remaining filesystems readonly [!!]
 umount : udev busy - remounted read-only
 umount : /: device is busy
 umount : /: device is busy
 umount : /: device is busy
 Give root password for maintenance
 (or type Control-D to continue):

Try doing an init 1, umount -a, then lsof /dev.  Any processes
with a device node still open should show up there.

-Richard



 If I don't do anything then the system reboots in approximately 5 seconds but
 on reboot it says that / filesystem is NOT clean. I boot into Slackware (my
 alternate distro) and during boot it replays over 100 transactions on Gentoo
 partition. It is a kind of routine. I shutdown/reboot, get the above
 mentioned message and then a filesystem is NOT clean on next boot. How can
 I get rid of this annoyance? Can this error harm my install any way?

 Versions I am currently using
 sys-fs/udev-070-r1
 sys-kernel/gentoo-sources-2.6.14-r2

 I have tried re-emerging udev but it did not help.
 Googling did not bring any results either.

 Any ideas to solved this problem will be highly appreciated.

 Regards,
 Abhay




-- 
gentoo-user@gentoo.org mailing list



  1   2   >