Re: [gentoo-user] FreeAgent USB drive

2008-05-16 Thread Akselii
On Thu, May 15, 2008 at 9:20 PM, James [EMAIL PROTECTED] wrote:
 Hello,

 I have a FreeAgent(Seagate) usb drive, that shows up as /medea/sdb1
 in Konqueror. I can go thru it via Konqueror and see all of the files
 (dll .exe, docs etc) but I cannot cd into the directories and sub
 directories and see any files.

 The kernel I use (2.6.24-gentoo-r7) has NTFS r/w enabled and fat fs too.
 It works fine with most usb/ntfs devices. I also have ivman installed
 as well as dbus and hald.

 I've googled and folks talk about FreeAgent usb drive not being too
 linux friendly. The advise ranges from reformat the drive to patching
 the kernel to deal with it auto-shut-down.

 I'd be curious how folks on this list use a free agent usb drive with Gentoo.

 If possible, I'd like to keep it with it's windows features and be able
 to move it seemlessly between doz and gentoo system, as a general purpose
 backup/restore/archive drive.


 Ideas and comments are most welcome.


 James

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



Did you try to patch the kernel with that auto shutdown thingy? Btw,
there is a pretty good ext2 driver for windows. Thats how i backed up
my last system :)

-- 
Akseli Ollikainen
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Nice level for X11

2008-05-16 Thread Alan McKinnon
On Thursday 15 May 2008, Mick wrote:
  You'll probably get better results with X by selecting a suitable
  process scheduler and configuring your HZ to 1000

 Now, this I have noticed making a difference.  Not all schedulers are
 born the same.  I have found that (the current version of) CFQ is
 better than others.

 As a matter of interest, I remember reading somewhere that squeezing
 1000Hz out of an old machine may have the opposite effect to that
 intended.  Is this pub talk, or have you experienced something that
 confirms this?

No, it's not just pub talk. The trick is to look closely at what is 
happening and why.

The HZ value indicates how often the kernel should tick, which is a 
timing signal. The tick consumes resources of course, but has the 
benefit of accurate timing signals. Modern machines can cope with this 
nicely, they are fast enough. Older machines, in combination with the 
kind of software we run these days, can't cope with this amount of 
activity, and the whole system slows down. The problem is very dynamic 
and subject to many variables so there is no single one-shot solution. 
The answer to what to do very much starts with It depends

This is why Con first started working on process schedulers, looking for 
an algorithm the kernel could use to adapt to these cases and still be 
responsive on the desktop. The man with the numbers to back it all up 
is Ingo Molnar. You can read the lkml archives from a few months back 
when CFQ was going through heavy development to get an idea of how 
tricky this can really get

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Nice level for X11

2008-05-16 Thread Alan McKinnon
On Thursday 15 May 2008, Mick wrote:

 As a matter of interest, I remember reading somewhere that squeezing
 1000Hz out of an old machine may have the opposite effect to that
 intended.  Is this pub talk, or have you experienced something that
 confirms this?

No, it's not just pub talk. The trick is to look closely at what is 
happening and why.

Sorry, got my names mixed up in the last post.

I mentioned CFQ.

Of course, I meant CFS


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Marko Kocić
 Is it possible in packages.mask to mask only release
 candidates/alpha/beta versions, while leaving final releases unmasked?

 what is the aim of this?  To have a stable system?  In that case you
 should make sure ACCEPT_KEYWORDS in make.conf does NOT have a ~

 Then you may get release candidates and betas but only when they're
 proven to work, or work better.

I don't wand to mask all rc/alphas/betas for all packages, but only for some.

The aim is to be able to use eg vanilla-sources versioned with 2.25, 2.25.1,
2.25.2, 2.25.3, 2.26. 2.26.1 while skipping 2.26_rcZ, 2.25.rcx, 2.27_rcX.

Thanks,
Marko
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Justin

Marko Kocić schrieb:

Is it possible in packages.mask to mask only release
candidates/alpha/beta versions, while leaving final releases unmasked?
  

what is the aim of this?  To have a stable system?  In that case you
should make sure ACCEPT_KEYWORDS in make.conf does NOT have a ~

Then you may get release candidates and betas but only when they're
proven to work, or work better.



I don't wand to mask all rc/alphas/betas for all packages, but only for some.

The aim is to be able to use eg vanilla-sources versioned with 2.25, 2.25.1,
2.25.2, 2.25.3, 2.26. 2.26.1 while skipping 2.26_rcZ, 2.25.rcx, 2.27_rcX.

Thanks,
Marko
  
In my portage there are only rc for 26. So just add 
=sys-kernel/vanilla-sources-2.6.26 to your packages.keywords.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Justin

Justin schrieb:

Marko Kocić schrieb:

Is it possible in packages.mask to mask only release
candidates/alpha/beta versions, while leaving final releases unmasked?
  

what is the aim of this?  To have a stable system?  In that case you
should make sure ACCEPT_KEYWORDS in make.conf does NOT have a ~

Then you may get release candidates and betas but only when they're
proven to work, or work better.



I don't wand to mask all rc/alphas/betas for all packages, but only 
for some.


The aim is to be able to use eg vanilla-sources versioned with 2.25, 
2.25.1,
2.25.2, 2.25.3, 2.26. 2.26.1 while skipping 2.26_rcZ, 2.25.rcx, 
2.27_rcX.


Thanks,
Marko
  
In my portage there are only rc for 26. So just add 
=sys-kernel/vanilla-sources-2.6.26 to your packages.keywords.



I ment sys-kernel/vanilla-sources-2.6.26!!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Marko Kocić
 In my portage there are only rc for 26. So just add
 =sys-kernel/vanilla-sources-2.6.26 to your packages.keywords.

 I ment sys-kernel/vanilla-sources-2.6.26!!

Yes, but then I will not be notified by portage that new version (2.6.26 final)
is available. I will have to manually track versions.
And since all versions 2.6.26 are masked, 2.6.25.1 will be uninstalled during
emerge -u
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Justin

Justin schrieb:

Marko Kocić schrieb:

In my portage there are only rc for 26. So just add
=sys-kernel/vanilla-sources-2.6.26 to your packages.keywords.

  

I ment sys-kernel/vanilla-sources-2.6.26!!



Yes, but then I will not be notified by portage that new version 
(2.6.26 final)

is available. I will have to manually track versions.
  
If the final reaches stable in portage a emerge -u world will point on 
this.
And since all versions 2.6.26 are masked, 2.6.25.1 will be 
uninstalled during

emerge -u
  


You have to put it in packages.keywords and not mask!


Just add following to /etc/portage/packages.mask

=sys-kernel/vanilla-sources-2.6.26_rc*
=sys-kernel/vanilla-sources-2.6.27_rc*
=sys-kernel/vanilla-sources-2.6.28_rc*
=sys-kernel/vanilla-sources-2.6.29_rc*

On my system it works.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Justin

Marko Kocić schrieb:

In my portage there are only rc for 26. So just add
=sys-kernel/vanilla-sources-2.6.26 to your packages.keywords.

  

I ment sys-kernel/vanilla-sources-2.6.26!!



Yes, but then I will not be notified by portage that new version (2.6.26 final)
is available. I will have to manually track versions.
  

If the final reaches stable in portage a emerge -u world will point on this.

And since all versions 2.6.26 are masked, 2.6.25.1 will be uninstalled during
emerge -u
  


You have to put it in packages.keywords and not mask!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howto mask release candidates?

2008-05-16 Thread Marko Kocić
 You have to put it in packages.keywords and not mask!

 Just add following to /etc/portage/packages.mask

 =sys-kernel/vanilla-sources-2.6.26_rc*
 =sys-kernel/vanilla-sources-2.6.27_rc*
 =sys-kernel/vanilla-sources-2.6.28_rc*
 =sys-kernel/vanilla-sources-2.6.29_rc*

 On my system it works.

Thanks, seems I missed wildcards section in man pages ;)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Could not join to Windows 2k3 domain: Failed to set servicePrincipalNames

2008-05-16 Thread Vladimir Rusinov
Hello!

I'm trying to join my Gentoo box to Windows 2003 domain and I need some
help.

I've set up smb.conf,. krb5.conf, got a krb ticket, but I'm not able to join
domain:

# net ads join -U [EMAIL PROTECTED] -d2
[2008/05/16 16:13:11, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.5.21 bcast=192.168.5.255 nmask=255.255.255.0
[EMAIL PROTECTED]'s password:
[2008/05/16 16:13:13, 2] libsmb/cliconnect.c:cli_session_setup_kerberos(613)
  Doing kerberos session setup
Using short domain name -- CORP
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
[2008/05/16 16:13:13, 2] libsmb/cliconnect.c:cli_session_setup_kerberos(613)
  Doing kerberos session setup
Deleted account for 'RUVRN-NIX01' in realm 'CORP.MY.DOMAIN'
Failed to join domain: Type or value exists
[2008/05/16 16:13:13, 2] utils/net.c:main(1036)
  return code = -1

smb.conf:
[global]
   workgroup = CORP
   realm = CORP.MY.DOMAIN http://CORP.MURANOSOFT.COM
   server string = samba-%v
   printcap name = cups
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
   hosts allow = 192.168.1. 127.
   use sendfile = yes
  map to guest = bad user
   security = ads
  encrypt passwords = yes
   winbind use default domain = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain logons = no
   idmap uid = 1-2
  idmap gid = 1-2

  wins server = CORP.MY.DOMAIN
  wins proxy = no
  dns proxy = yes
  dos charset = 866
  unix charset = UTF-8

krb5.conf:
[libdefaults]
ticket_lifetime = 600
default_realm = CORP.MY.DOMAIN
default_etypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
default_etypes_des = des3-hmac-sha1 des-cbc-crc des-cbc-md5

[realms]
CORP.MY.DOMAIN = {
kdc = zaz.corp.my.domain:88
admin_server = zaz.corp.my.domain:749
}

[domain_realm]
.corp.my.domain = CORP.MY.DOMAIN
corp.my.domain = CORP.MY.DOMAIN
.my.domain = CORP.MY.DOMAIN
my.domain = CORP.MY.DOMAIN
corp = CORP.MY.DOMAIN
.corp = CORP.MY.DOMAIN

[logging]
kdc = SYSLOG
admin_server = SYSLOG
default = SYSLOG

[password_quality]
check_library = /usr/lib/sample_passwd_check.so
check_function = check_cracklib


installed packages:

net-fs/samba
 Installed versions:  3.0.28(14:37:31 05/16/08)(ads cups fam
kernel_linux ldap pam python readline winbind -acl -async -automount -caps
-doc -examples -ipv6 -linguas_ja -linguas_pl -quotas -selinux -swat -syslog)

[D] app-crypt/mit-krb5
 Installed versions:  1.6.3-r1(15:42:50 05/16/08)(-doc -ipv6 -krb4 -tcl)

# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: [EMAIL PROTECTED]

Valid starting ExpiresService principal
05/16/08 15:54:41  05/16/08 16:04:41  krbtgt/[EMAIL PROTECTED]

-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software


Re: [gentoo-user] FreeAgent USB drive

2008-05-16 Thread Stroller


On 15 May 2008, at 19:20, James wrote:

...
I have a FreeAgent(Seagate) usb drive, that shows up as /medea/sdb1
in Konqueror. I can go thru it via Konqueror and see all of the files
(dll .exe, docs etc) but I cannot cd into the directories and sub
directories and see any files.
...


What does `ls -ld /media/sdb1` say?
How about `ls -l /media/sdb1` and `ls -ld /media/sdb1/path/to/dir/you/ 
cannot/cd/into`?
If you're unable to run these commands, are you able to do so as  
root, using `su` or `sudo`?


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] FreeAgent USB drive

2008-05-16 Thread Mark Knecht
On Thu, May 15, 2008 at 11:20 AM, James [EMAIL PROTECTED] wrote:
 Hello,

 I have a FreeAgent(Seagate) usb drive, that shows up as /medea/sdb1
 in Konqueror. I can go thru it via Konqueror and see all of the files
 (dll .exe, docs etc) but I cannot cd into the directories and sub
 directories and see any files.

 The kernel I use (2.6.24-gentoo-r7) has NTFS r/w enabled and fat fs too.
 It works fine with most usb/ntfs devices. I also have ivman installed
 as well as dbus and hald.

 I've googled and folks talk about FreeAgent usb drive not being too
 linux friendly. The advise ranges from reformat the drive to patching
 the kernel to deal with it auto-shut-down.

 I'd be curious how folks on this list use a free agent usb drive with Gentoo.

 If possible, I'd like to keep it with it's windows features and be able
 to move it seemlessly between doz and gentoo system, as a general purpose
 backup/restore/archive drive.


 Ideas and comments are most welcome.


 James

I have multiple external USB drives that I use with this kernel.
However I do have a couple that don't seem to work so well. My clue is
to look at dmesg with the drive attached and then again after the
drive is first attached. In the case of a good drive I'm going to get
a bunch of messages about the drive and its partitions. Look carefully
at the device name

/dev/sda
/dev/sdb

etc.

Then look at the partitions the USB driver is finding on the drive:

/dev/sdb1
/dev/sdb2

Once you see those you're good to go.

fdisk -l /dev/sdb

will list the partitions and give you sizes, etc.

For drives that don't work I get messages about the drive is
stabilizing and the system is waiting. If that happens nothing I've
found so far makes that drive work on that system.

Hope this helps,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re enter chroot install

2008-05-16 Thread Alex Schuster
[EMAIL PROTECTED] writes:

 James [EMAIL PROTECTED] writes:
  # mount -o bind /dev /mnt/gentoo/dev

 [...]

  Any of the above steps that are not necessary?

 Other have commented about the .../boot stuff but in dozens of times
 chrooting during all kinds of install situations I've never done
   `mount -o bind /dev /mnt/gentoo/dev'

 And far as I know it never caused me a problem.

I assume you have a static /dev setup then, probably not visible after udev 
has created new entries. Could you try the mount -o bind stuff and check if 
the contents of /dev and /mnt/gentoo/dev differ? Typical devices like 
[hs]d[a-d] should be present in both trees, so the chroot /dev will work, 
too, at least for most practical purposes, like setting up grub.

On the other hand, my /dev only has two files in it (console and null), the 
rest is created by udev. In a chroot, they are gone, and grub would not 
work.

Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Daemon Group Accounts

2008-05-16 Thread King Spook
I was looking at my users and groups on my box, and I realized that
certain services add user accounts with specific UIDs, but then just
gets the next GID for it's corresponding group.  I know I, personally,
would like to have the UIDs and GIDs match (and I spent the time with
usermod, groupmod, and find fixing it so it was).

I was wondering if there was any policy for this (and if so, should I
file bugs?), and how other people felt about this, and if there was
any reason not to have the UIDs and GIDs correspond.

Cheers.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] ttyS0 conflict was UPS recommendation

2008-05-16 Thread maxim wexler
 Thanks for your exhaustive replies. I've decided to go
 for the APC ES-350 for seventy bucks at the local Staples.

been following this page:

http://gentoo-wiki.com/HOWTO_APCUPSD

Kernel seems to have all the right stuff...

[EMAIL PROTECTED] ~ $ emerge -pv apcupsd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/apcupsd-3.12.4  USE=ncurses usb -cgi -doc -nls -snmp 
-threads -vhosts 0 kB

#rc-update add apcupsd default. So far so good. 

$cat /proc/bus/usb/devices

...
T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 1.06
S:  Manufacturer=APC
S:  Product=Back-UPS ES 350 FW:823.B1.D USB FW:B1
S:  SerialNumber=3B0742X02836
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   6 Ivl=10ms
...

But when I try dialup I get this:

Device ttyS0 is blocked by PID 3981

which turns out is apcupsd. So I have to kill it before I can dial out.
Sure enough, in the conf file there is this: DEVICE /dev/ttyS0.

Which makes me wonder why it needs /dev/ttyS0? I'm using an external USR modem 
which uses ttyS0.

If I don't need to protect a fax-machine why do I need that phone line 
connector in the back of the UPS device anyway? When the power goes I don't 
care if the modem dies.

Can I just tell it to use one of these other /dev/ttyS*? If I comment out that 
DEVICE line will the thing still protect my PC?

[EMAIL PROTECTED] ~ $ ls /dev/ttyS*
/dev/ttyS0  /dev/ttyS1  /dev/ttyS2  /dev/ttyS3

Maxim







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



Re: [gentoo-user] ttyS0 conflict was UPS recommendation

2008-05-16 Thread Neil Bothwick
On Fri, 16 May 2008 14:57:24 -0700 (PDT), maxim wexler wrote:

  Thanks for your exhaustive replies. I've decided to go
  for the APC ES-350 for seventy bucks at the local Staples.  

 But when I try dialup I get this:
 
 Device ttyS0 is blocked by PID 3981
 
 which turns out is apcupsd. So I have to kill it before I can dial out.
 Sure enough, in the conf file there is this: DEVICE /dev/ttyS0.

Is this a serial or USB model? My APC CS 650 uses USB and the DEVICE
entry in the config file is just DEVICE as per the comments in the file
and the man page.

If it is a serial device, then you clearly cannot have two devices
plugged into the same post, so one of them must be ttyS1 or higher.


-- 
Neil Bothwick

WinErr 002: No Error - Yet


signature.asc
Description: PGP signature


[gentoo-user] Re: FreeAgent USB drive

2008-05-16 Thread James
Stroller stroller at stellar.eclipse.co.uk writes:

 
 
 On 15 May 2008, at 19:20, James wrote:
  ...
  I have a FreeAgent(Seagate) usb drive, that shows up as /medea/sdb1
  in Konqueror. I can go thru it via Konqueror and see all of the files
  (dll .exe, docs etc) but I cannot cd into the directories and sub
  directories and see any files.
  ...
 
 What does `ls -ld /media/sdb1` say?

Now the drive shows up as sdc1. When I plug it in
Konqueror pops up showing the drive's contents:
system:/media/sdc1

 How about `ls -l /media/sdb1` and `ls -ld /media/sdb1/path/to/dir/you/ 
 cannot/cd/into`?

ls -ld /media/sdc1
ls: cannot access /media/sdc1: No such file or directory

but it does show up as 'FreeAgent Drive'

ls /media/
FreeAgent Drive  sdb1  sdb12  sdb5  sdb7  sdb8  sdb9  sdc  sdc3  sdd  sdd1


This seems to indicate that the names used by Konqueror and udev
are not consistent. I can go through Konqueror and read the file,
but the edits do not  work via Konqueror or with vi going thru
the dir tree to access the file.

dr-x--  1 james root 4096 Oct 13  2007 FreeAgent Drive

 # chmod 777 FreeAgent\ Drive/
chmod: changing permissions of `FreeAgent Drive/': Read-only file system

 If you're unable to run these commands, are you able to do so as  
 root, using `su` or `sudo`?
 
I tried everything as root.  I have support for the necessary file
systems in the kernel. However, I do think my problem is the 
kernel options


James



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



Re: [gentoo-user] Daemon Group Accounts

2008-05-16 Thread Alan McKinnon
On Friday 16 May 2008, King Spook wrote:
 I was looking at my users and groups on my box, and I realized that
 certain services add user accounts with specific UIDs, but then just
 gets the next GID for it's corresponding group.  I know I,
 personally, would like to have the UIDs and GIDs match (and I spent
 the time with usermod, groupmod, and find fixing it so it was).

 I was wondering if there was any policy for this (and if so, should I
 file bugs?), and how other people felt about this, and if there was
 any reason not to have the UIDs and GIDs correspond.

The reason is simple - it doesn't matter and you shouldn't concern 
yourself with such detail. uids map to usernames so that you can 
concentrate on meaningful names rather than meaningless 16 bit 
integers...

There isn't a one-to-one correspondence between users and groups because 
this is usually pointless, and because of the following entirely 
realistic (but made up by me) type of scenario:

postfix runs as the postfix user
postfixadmin runs as the postfixadmin user
mailscanner and spamassassin run as the mailscan user

all three daemon users have the mail group as their primary group.

At this point you have lost the synchronization between uid and gid 
sequencing and have to insert two blank groups to get it back. This is 
so grossly inelegant it defies description, utterly completely 
pointless and a total waste of dev time.

Some of these accounts are defined in baselayout - the ones that can 
reasonably be assumed to be needed on almost all machines. The rest 
result from useradd/groupadd calls from the ebuild, which simply take 
the next one in sequence.

The only broken app I have worked with in ages that required me to look 
up a uid/gid for it's config was postfixadmin, for all others I simply 
used the user/group name, which is totally sensible.

By all means file a bug, but be aware Jakub will probably close it 
immediately as NOTABUG or WONTFIX

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: FreeAgent USB drive

2008-05-16 Thread James
Mark Knecht markknecht at gmail.com writes:


 I have multiple external USB drives that I use with this kernel.
 However I do have a couple that don't seem to work so well. My clue is
 to look at dmesg with the drive attached and then again after the
 drive is first attached. In the case of a good drive I'm going to get
 a bunch of messages about the drive and its partitions. Look carefully
 at the device name

From dmesg:

usb 4-1: new full speed USB device using ohci_hcd and address 12
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: USB disconnect, address 12
usb 4-2: new full speed USB device using ohci_hcd and address 14
usb 4-2: not running at top speed; connect to a high speed hub
usb 4-2: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
scsi 9:0:0:0: Direct-Access Seagate  FreeAgentDesktop 100D PQ: 0 ANSI: 4
sd 9:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
sd 9:0:0:0: [sdc] Write Protect is off
sd 9:0:0:0: [sdc] Mode Sense: 1c 00 00 00
sd 9:0:0:0: [sdc] Assuming drive cache: write through
sd 9:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
sd 9:0:0:0: [sdc] Write Protect is off
sd 9:0:0:0: [sdc] Mode Sense: 1c 00 00 00
sd 9:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 9:0:0:0: [sdc] Attached SCSI disk
sd 9:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
ReiserFS: sdb5: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb5: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb7: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb7: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb1: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb1: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb9: warning: zam-7001: io error in reiserfs_find_entry
ReiserFS: sdb9: warning: zam-7001: io error in reiserfs_find_entry
NTFS-fs warning (device sdc1): parse_options(): Option utf8 is no longer
supported, using option nls=utf8. Please use option nls=utf8 in the future and
make sure utf8 is compiled either as a module or into the kernel.
NTFS volume version 3.1.
NTFS-fs error (device sdc1): load_system_files(): Volume is dirty.  Mounting
read-only.  Run chkdsk and mount in Windows.

I'm definitely seeing your issues.



James

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



[gentoo-user] Re: Daemon Group Accounts

2008-05-16 Thread King Spook
Well, naturally I wasn't going to file a bug unless someone told me
they were supposed to have matching uids/gids.

It just seemed odd, for example, to have clamav's uid=103, and it's gid=1004.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] ttyS0 conflict was UPS recommendation

2008-05-16 Thread maxim wexler



--- On Fri, 5/16/08, Neil Bothwick [EMAIL PROTECTED] wrote:

 From: Neil Bothwick [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] ttyS0 conflict was UPS recommendation
 To: gentoo-user@lists.gentoo.org
 Date: Friday, May 16, 2008, 3:21 PM
 On Fri, 16 May 2008 14:57:24 -0700 (PDT), maxim wexler
 wrote:
 
   Thanks for your exhaustive replies. I've
 decided to go
   for the APC ES-350 for seventy bucks at the local
 Staples.  
 
  But when I try dialup I get this:
  
  Device ttyS0 is blocked by PID 3981
  
  which turns out is apcupsd. So I have to kill it
 before I can dial out.
  Sure enough, in the conf file there is this: DEVICE
 /dev/ttyS0.
 
 Is this a serial or USB model? My APC CS 650 uses USB and

USB

 the DEVICE
 entry in the config file is just DEVICE as per
 the comments in the file
 and the man page.

There are comments for everything else except the line:

DEVICE /dev/ttyS0

But that would seem to conflict with the line further up the page:

UPSCABLE usb

But yeah, the manual says leave DEVICE blank for USB-connected units. I'll try 
that. Thanks.

mw


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



[gentoo-user] Multiple error messages for each keystroke in nano

2008-05-16 Thread Bob Young
Okay, I've had this happen before and was never able to fix it, hopefully
someone here will recognize what is happening and tell me where I went
wrong. 

 

I'm installing a new Gentoo box, and have the basic system installed (
without X ). The problem began after I completed a successful emerge -DuN
world The symptom is: when I start nano, (just nano by itself, not editing
a file), several hundred lines similar to the following are spewed to the
console:

 

No match found...

list val = 1

Hey, set sequence to 63 for shortcut M-?

No match found...

list val = 286

Hey, set sequence to 25 for shortcut ^Y

No match found...

list val = 286

Hey, set sequence to 22 for shortcut ^V

No match found...

list val = 3072

Hey, set sequence to 330 for shortcut kdel

No match found...

list val = 8191

Hey, set sequence to 8 for shortcut ^H

No match found...

list val = 8191

Hey, set sequence to 263 for shortcut kbsp

Shortcut ^G, function: Get Help, menus 8191

Shortcut F1, function: Get Help, menus 8191

Shortcut ^X, function: Exit, menus 1

Shortcut F2, function: Exit, menus 1

Shortcut F14, function: Replace, menus 3

Shortcut M-R, function: Replace, menus 3

Shortcut ^R, function: Replace, menus 3

Shortcut ^E, function: End, menus 1

Shortcut M-+, function: Scroll Down, menus 1

Shortcut M-=, function: Scroll Down, menus 1

Hmm, didnt find a func for M-Y

Hmm, didnt find a func for M-H

Hmm, didnt find a func for M-I

Hmm, didnt find a func for M-K

Hmm, didnt find a func for M-N

Hmm, didnt find a func for M-Z

Shortcut ^T, function: Go To Text, menus 16

Shortcut M-F, function: New Buffer, menus 64

Shortcut ^C, function: Cancel, menus 15102

Shortcut ^X, function: Exit, menus 1

Shortcut ^Z, function: Suspend, menus 1

Shortcut ^L, function: Refresh, menus 257

Shortcut ^I, function: Tab, menus 1

Shortcut kdel, function: Delete, menus 1

Shortcut ^H, function: Backspace, menus 1

Parsing file /etc/nanorc

After rebinding keys...

Shortcut ^G, function: Get Help, menus 8191

Shortcut M-6, function: Copy Text, menus 1

Shortcut M-}, function: Indent Text, menus 1

Shortcut M-{, function: Unindent Text, menus 1

Main: set up windowsion: Forward, menus 1025

Shortcut kright, fMain: open filed, menus 1025

Shortcut ^B, function: Back, menuMain: top and bottom win

Shortcut kleft, function: Back, menus 1025   In bottombars,
and slen == 12

Shortcut ^Space, function: Next Word, menus 1
Checking menu itemsfound one! f-menus = 8191, desc = Get Help

Shortcut M-Space, function: Prev Word, menus 1
Calling onekey with keystr ^G and desc Get Help

Shortcut ^Q, function: , menus 1
Checking menu itemsChecking menu itemsfound one! f-menus = 1, desc
= Exit

Shortcut ^P, function: Prev Line, menus 1281
Calling onekey with keystr ^X and desc Exit

Shortcut kup, function: Prev Line, menus 1281
Checking menu itemsChecking menu itemsChecking menu itemsfound
one! f-menus = 1, desc = WriteOutcut ^N, function: Next Line, menus
1281

ShortCalling onekey with keystr ^O and desc WriteOut

Shortcut ^A, function: Home, menus 1  Checking menu
itemsfound one! f-menus = 1, desc = Read File

Shortcut khome, function: Home, menus 1
Calling onekey with keystr ^R and desc Read File

Shortcut ^E, function: End, menus 1
Checking menu itemsfound one! f-menus = 1025, desc = Where Isnction:
End, menus 1

Shortcut M-C, funCalling onekey with keystr ^W and desc Where Is

Shortcut M-C, function: Case Sens, menus 2054
Checking menu itemsfound one! f-menus = 257, desc = Prev Page

Hmm, didnt find a func for M-H

Hmm, didnt find a func for M-I

Hmm, didnt find a func for M-K

Hmm, didnt find a func for M-N

Hmm, didnt find a func for M-Z

Shortcut ^T, function: Go To Text, menus 16

Shortcut M-F, function: New Buffer, menus 64

Shortcut ^C, function: Cancel, menus 15102

Shortcut ^X, function: Exit, menus 1

Shortcut F2, function: Exit, menus 1

Shortcut kenter, function: Enter, menus 1

Shortcut ^D, function: Delete, menus 1

Shortcut kdel, function: Delete, menus 1

Shortcut ^H, function: Backspace, menus 1

 





And then once I'm in nano and ready to edit, typing test results in the
following:

 

 

 

tget_key_buffer(): key_buffer_len = 1

pparse_kbinput(): 

kbinput = 101, 

meta_key = FALSE, 

func_key = FALSE, 

escapes = 0, 

byte_digits = 0, 

retval = 101

gget_shortcut(): 

kbinput = 101, 

meta_key = FALSE, 

func_key = FALSE

mmatched nothing btw meta was 0

   

 

eget_key_buffer(): 

key_buffer_len = 1

parse_kbinput(): 

kbinput = 115, 

meta_key = FALSE, 

func_key = FALSE, 

escapes = 0, 

byte_digits = 0, 

retval = 115

get_shortcut(): 

kbinput = 115, 

meta_key = FALSE, 

func_key = FALSE 

matched nothing btw meta was 0

  

 

sget_key_buffer(): 

key_buffer_len = 1

parse_kbinput(): 

kbinput = 116, 

[gentoo-user] Re: Multiple error messages for each keystroke in nano

2008-05-16 Thread Francesco Talamona
On Saturday 17 May 2008, Bob Young wrote:
 Can anybody explain what's going on here, and tell me how I can fix
 it?

  

 BTW, if I edit with vi.everything works fine, and of course typing at
 the console works okay as well.

Just a guess... Did you run etc-update?

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r3, Compiled #1 PREEMPT Sun May 11 08:04:22 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list