Re: [gentoo-user] What network configuration should I use with vbox

2010-10-09 Thread Mick
On 9 October 2010 03:29, James Wall wallservi...@gmail.com wrote:
 On 10/08/2010 05:47 PM, Bill Longman wrote:
 On 10/08/2010 03:36 PM, Maciej Grela wrote:
 2010/10/8 Mick michaelkintz...@gmail.com:
 I want to install MSWindows in a VM.  I want to be able to use the guest
 MSWindows OS to connect to a website run on apache on the Gentoo host OS on
 the same machine.

 What is the recommended network configuration for the VM?  NAT or bridge?
 Anything I should pay particular attention to?  I haven't configured a 
 network
 machine before.

 I would suggest bridge mode in this case.

 I second the motion to use bridge mode. All in favor, say aye.

 Aye! The bridged mode will give the VM a LAN address from DHCP (provided
 that your LAN uses DHCP) address that can then be used like a regular
 machine.

Nice, thanks.

-- 
Regards,
Mick



Re: [gentoo-user] HAL? ACPID?

2010-10-09 Thread Maciej Grela
2010/10/9  meino.cra...@gmx.de:

 Hi,

 in search of informations about acpi/acpid on the internet I found
 the statement, that acpid is now obsoleted by hal.
 When I give acpi in the gentoo wiki I found installation
 instructions for acpid and HAL is not mentioned.

 I am confused now...

 I am using an ASUS Crosshair IV Formula wuth an AMD Phenom II X6
 CPU. Suspend-to-Swap works fine (as a sign of a working ACPI
 implemention...)

 What should I use ? Acpid? Hal? Both?


What do you want to do with acpi ?

-- 
Maciej Grela



Re: [gentoo-user] IP aliasing problem

2010-10-09 Thread Adam Carter
  The same TX  RX are shown for both interfaces.


That implies that they are layer 2 counters and will therefore be the same
for a given physical interface.

 I don't know whether the tools have changed much since those I'm using on
 this box, but the difference *might* be that Grant's IPs are on the same
 subnet. I *think* it's possible for the route (as in: `man route`) to
 configure packets that come in on 1.2.3.2 to be replied to via 1.2.3.1.


If the return packets are part of the same TCP session it will automatically
be sent from the correct IP address. If it didnt, the remote end wouldnt
consider the return packets part of the same session and reject them.


Re: [gentoo-user] HAL? ACPID?

2010-10-09 Thread Stroller

On 9 Oct 2010, at 05:40, meino.cra...@gmx.de wrote:
 ...
 in search of informations about acpi/acpid on the internet I found
 the statement, that acpid is now obsoleted by hal.
 When I give acpi in the gentoo wiki I found installation
 instructions for acpid and HAL is not mentioned.
 
 I am confused now...

Gentoo-wiki is of limited reliability, because there are not enough people with 
time to edit it. It's very possible that article is out of date -  if you're 
talking about this page http://en.gentoo-wiki.com/wiki/ACPI/Configuration 
then notice that it's barely been edited since it was imported from the 
archives a year ago. The Great Gentoo Wiki Data Loss was another year before 
that, so deity only knows how old that information is.

Stroller.




Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-10-09 Thread Matthias Schwarzott
On Monday 30 August 2010, Pau Peris wrote:
 Hi, i would like to give persistent device names to the system hard
 drives (just renaming its original device name to the one i want using
 its serial number as identifier). I've created the following rules
 which are not currently working. I'm trying to use device serial
 numbers to properly set its device name. One of the main reasons for
 doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd)
 and when i plug another 4 disks sda becomes sde, sdc becomes sdg and
 so on while new drives take old device names, that's why i would like
 to make it sure device names remains always the same.
 Here are the rules
 Código:
 
 SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda
 SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda
 SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb
 SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc
 SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc
 
 KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH,
 NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM,
 NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D,
 NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G,
 NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN,
 NAME=sdc%n
 
 
 Should this work? Do some one know how can i get it to work? thanks in
 advanced

It could work if you fixed the rules as the other answers told you, but PLEASE 
don't do this!

There are a lot of arguments like dmesg output and sysfs content will no 
longer match userspace observations.
It will break once there is another disk that is not renamed and gets 
KERNEL=sda assigned.

Why do you not just use /dev/disk/by-* links as everyone else does?

Regard
Matthias




Re: [gentoo-user] Re: Beyond-Gentoo question

2010-10-09 Thread meino . cramer
James wirel...@tampabay.rr.com [10-10-08 16:36]:
  meino.cramer at gmx.de writes:
 
 
 
 
  for a long time I have compiled makehuman from the svn tree. 
 
 quick guess...lafilefixer --justfixit?
 
 
 In the past with some video games, I had problems with the 
 .la files after compiling new versions of the games that
 used libsdl.
 
 (WAG)
 
 
 James
 
 
 
 
 

Hi all,

I finally found the reason for haveing no z-buffering available...

The libsdl was copiled without the opengl USE-flag set.
Would it possible, that this flag is set for 32bit-Linux by default
and is totally missing (not shown when doing a 'emerge -pv libsd�',
neither set nor unset) on 64bit-Linux?

I added this flag and now everything is working fine...

Best regards,
mcc




Re: [gentoo-user] Re: Beyond-Gentoo question

2010-10-09 Thread Stroller

On 9 Oct 2010, at 13:14, meino.cra...@gmx.de wrote:
 ...
 I finally found the reason for haveing no z-buffering available...
 
 The libsdl was copiled without the opengl USE-flag set.
 Would it possible, that this flag is set for 32bit-Linux by default
 and is totally missing (not shown when doing a 'emerge -pv libsdl',
 neither set nor unset) on 64bit-Linux?

It appears to be set as -opengl by default on 32-bit here, but it is shown as 
an option.

Stroller.




[gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Peter Weilbacher
On 05.10.2010 07:49, Walter Dnes wrote:
 On Thu, Sep 30, 2010 at 12:37:10PM -0700, walt wrote
 On 09/30/2010 05:30 AM, Mark David Dumlao wrote:
 On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmeljohannes.kim...@gmx.de  
 wrote:
 On 09/30/2010 12:58 PM, Mark David Dumlao wrote:

 Heya,
 I noticed that my firefox-bin is a lot smaller in memory footprint
 compared to ordinary gentoo-compiled firefox.

 Does anyone know what compiler flags upstream applies to their
 firefox?

 Try entering about:buildconfig in the URL bar.
 
   I tried it, and for good measure, did some spelunking in the
 .configure file in the firefox tarball.  I have some questions, before
 possibly tweaking the Firefox ebuild and/or .configure on my machine...
 
 --enable-application=xulrunner
 will Firefox run without this?
 
 --enable-pango
 will Firefox run without this?  I have the moznopango flag set, which
 is supposed to speed things up, but about:buildconfig indicates that
 pango is enabled.
 
 --disable-strip --disable-strip-libs --disable-install-strip
 Why?  I thought most packages stripped code after install.
 
 --enable-default-toolkit=cairo-gtk2
 will Firefox run without this?
 
 --enable-oji
 will Firefox run without this?  And what is oji?  I can't find any
 mention of what it does.
 
 --enable-mathml
 I don't really need it right now.
 
 --enable-storage
 will Firefox run without this?  The help says...
 Enable mozStorage module and related components.  Can someone please
 give a short explanation in plain English what this does?
 
 --disable-ogg
 One thing I might consider enabling.  Is there a problem with Firefox's
 ogg support, or any other reason to disable it?

And you see all those options listed in firefox-bin buildconfig? Then this
is surely not the Firefox built by upstream (mozilla.com). They would only
use a minimal set of build options not all the rubbish (most of which is
currently ignored or just obsolete) that the Gentoo non-bin ebuilds set.
   Peter.




Re: [gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Arttu V.
On 10/9/10, Walter Dnes waltd...@waltdnes.org wrote:
 On Thu, Oct 07, 2010 at 12:03:19PM +0300, Arttu V. wrote

 I think the eclass(es) might be messing up the config, e.g., by
 force-feeding pango and some other settings.

 Could you try also copying the mozcoreconf-2.eclass to your local
 overlay's eclass/ subdir, and edit it there to suite your taste?

   I tried but no luck.  I think I'll try building manually and see what
 happens.

Sorry, I went after the wrong eclass. Apparently www-client/firefox
compiles just a shell of an application (front-end, mostly written
in XUL and JS?) when the real stuff is in net-libs/xulrunner. And
xulrunner's ebuilds use mozconfig-3.eclass instead.

Another thing I noticed about mozilla's build system is that one
*must* remove the enabling from the eclass(es) due to the way
mozilla's configure checks for these settings. If you have both
--enable-pango and --disable-pango in .mozconfig then enable will
override. And since Gentoo moz* eclasses will automatically force
several enabling lines into .mozconfig, it's useless to add
--disable-foo later on (e.g., in the ebuild). The change has to be
made in the eclass(es).

Thus equipped, I copied both mozconfig-3.eclass and
mozcoreconf-2.eclass over to a local overlay, modified their hardcoded
--enable-pango statements into --disable-pango's, re-emerged both
packages (xulrunner, firefox), and now about:buildconfig shows among
other things:

snip
Configure arguments
--enable-application=xulrunner --enable-optimize --disable-installer
--disable-pedantic --enable-crypto --with-system-jpeg
--with-system-zlib --disable-updater --disable-pango --disable-svg
--enable-system-cairo --disable-strip --disable-strip-libs
--disable-install-strip
/snip

There it is, --disable-pango. Unfortunately by now I have already
forgotten why I was even removing pango in the first place, so I think
I'll re-enable it. I'd rather see if there are some ricing
opportunities^W^Wcompiler optimization switches that can be toggled to
make this sluggish browser faster.

-- 
Arttu V. -- Running Gentoo is like running with scissors



[gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Peter Weilbacher
On 05.10.2010 17:16, walt wrote:
 
 --enable-default-toolkit=cairo-gtk2
 will Firefox run without this?

Yes, it will. cairo-gtk2 is the default (last I looked).

 You need to pick either that one or cairo-qt if you are building on linux.
 
 --enable-oji
 will Firefox run without this?  And what is oji?  I can't find any
 mention of what it does.
 
 Open JVM Integration:  it enables support for the java plugin named
 libjavaplugin_oji.so

But that will only work until FF 3.5.x. 3.6 has OJI support removed.
And as all up-to-date Java plugins without security problems on Linux
are not OJI, you will want to not set this one.

 --enable-mathml
 I don't really need it right now.
 
 Add ac_add_options --disable-mathml to your .mozconfig file.

Don't bother, or does it matter if you save 15 kB in the binaries? Nothing
will run faster if you disable it.

 --enable-storage
 will Firefox run without this?  The help says...
 Enable mozStorage module and related components.  Can someone please
 give a short explanation in plain English what this does?
 
 'storage' is the mozilla wrapper for SQLite, but configure.in doesn't
 eplain what that means.  I don't see where '--disable-storage' is even
 defined, but you can always try it and see what happens.

This is the default, and I think one cannot disable it any more. SQLite
is an integral part of Firefox by now. The flag above is probably ignored.

 --disable-ogg
 One thing I might consider enabling.  Is there a problem with Firefox's
 ogg support, or any other reason to disable it?
 
 I notice that my own firefox builds do compile the code for ogg support,
 but I have no idea what it does or if it works correctly.

Use --disable-ogg is you don't want HTML5-like Ogg-Theora movies in
webpages.

   Peter.




Re: [gentoo-user] Re: Beyond-Gentoo question

2010-10-09 Thread meino . cramer
Stroller strol...@stellar.eclipse.co.uk [10-10-09 18:16]:
 
 On 9 Oct 2010, at 13:14, meino.cra...@gmx.de wrote:
  ...
  I finally found the reason for haveing no z-buffering available...
  
  The libsdl was copiled without the opengl USE-flag set.
  Would it possible, that this flag is set for 32bit-Linux by default
  and is totally missing (not shown when doing a 'emerge -pv libsdl',
  neither set nor unset) on 64bit-Linux?
 
 It appears to be set as -opengl by default on 32-bit here, but it is shown as 
 an option.
 
 Stroller.
 
 

Hi,

yes, thats why I activated it on my 32bit system and therefore the
z-buffer problem does not hit me.

But doing an

emerge -pv libsdl 

on my 64bit system does not show this neither activated nor
deactivated. Thats why did not noticed that it is missing.

Adding it to package.use (activate it) results in a clean compile,
so despite it is not mentioned at all it is known and solved the 
problem.

Thats why I am thinking it should be shown as it is shown on 32bit
system.

Just an idea for a little bit more comfort in searching for problem
fixes...

Only my two cent, your currency may vary...

Best regards,
mcc




[gentoo-user] Does updating grub require mounting /boot first?

2010-10-09 Thread Tanstaafl
Hello,

I'm ready to update grub, but just realized I'm not sure if I need to
mount /boot before I emerge update it or not...

Anyone?



Re: [gentoo-user] Does updating grub require mounting /boot first?

2010-10-09 Thread Andrea Conti
On 09/10/2010 18:30, Tanstaafl wrote:
 Hello,
 
 I'm ready to update grub, but just realized I'm not sure if I need to
 mount /boot before I emerge update it or not...

/boot must be mounted, but the ebuild will mount it for you if it is not.

Note however that the ebuild will *not* update the stages installed in
the MBR and/or boot sector: after you're done emerging you have to do
that either manually or by re-running grub-install.

Depending on what changed between the two releases, failure to update
the stages might result in an unbootable system.

HTH,
andrea




Re: [gentoo-user] Does updating grub require mounting /boot first?

2010-10-09 Thread Tanstaafl
On 2010-10-09 1:48 PM, Andrea Conti wrote:
 On 09/10/2010 18:30, Tanstaafl wrote:
 I'm ready to update grub, but just realized I'm not sure if I need to
 mount /boot before I emerge update it or not...

 /boot must be mounted, but the ebuild will mount it for you if it is not.

Thanks - I thought that was the case but couldn't remember (since grub
isn't updated very often)...

 Note however that the ebuild will *not* update the stages installed in
 the MBR and/or boot sector: after you're done emerging you have to do
 that either manually or by re-running grub-install.
 
 Depending on what changed between the two releases, failure to update
 the stages might result in an unbootable system.

Right... thanks...



Re: [gentoo-user] Kmail editor freezes

2010-10-09 Thread Yohan Pereira

thats odd im typing this from kmail.

whavt version?

-- 
- Yohan Pereira.



[gentoo-user] USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2

2010-10-09 Thread Fatih Tümen
Hi,

When I ran eix hdf command, all of a sudden my usb drive started
making weird noises. I only have ccache, distfiles and packaes
directories on sda2, the usb disk partition. I don't know why eix
waked up the disk. Eix hung there non-responding for a moment as the
disk kept making noises, so I interrupted the task. Immediately
checked the logs[0] and umounted the device as a reflex.

The time 20:38 in [0] corresponds to the time I issues eix. There was
nothing in the logs for 8 minutes. The last operation I had on the
disk was fetching kde updates which finished at about 19:00.

I wanted to fsck the device and got:
# fsck.ext3 -pvf /dev/sda2
fsck.ext3: Attempt to read block from filesystem resulted in short
read while trying to open /dev/sda2
Could this be a zero-length partition?

fdisk -l was not showing the device anymore. I could not mounted it back.

Googling the subject brought some unsolved threads so far. There were
some similar issues, one with ext4, one with ipod. But in all those
cases they still had their device alive whereas I seem to completely
lost it. Here is what smartmontools says:

# smartctl -d /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== INVALID ARGUMENT TO -d: /dev/sda
=== VALID ARGUMENTS ARE: ata, scsi, marvell, sat, 3ware,N,
hpt,L/M/N cciss,N ===

Use smartctl -h to get a usage summary

21:08:23 | log # smartctl -a /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: WDVersion: 1.02
 Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options.
21:08:31 | log # fdisk /dev/sda

Unable to read /dev/sda
21:14:33 | log # ll /dev/sda
brw-rw 1 root disk 8, 0 Oct  9 21:14 /dev/sda

I tried to plug it in a ubuntu box on a different machine, the result was same.
And this is the messages I get upon plugging[1]. For comparison here
is usual message I got last time mounted[2]

I am not sure what may have caused the issue but there are two things
I suspect that may have caused this.
1. I usually forget the device is mounted and sda1 partition swappedon
while suspending/sleeping the system. I run fsck.ext3 on the
complaining dirty partitions.
2. I accidentally ran grub-install /dev/sda instead of /dev/hda last
week and interrupted immediately. There is no sign of a problem in the
logs for a week. I had install grub on sda couple of years ago  but
hadnt used it for a long time.

I thought this may be related because interrupting the grub-install
left in complete mbr. So I ran grub-install on sda again but it could
not find the disk[3].

I cannot think of anything else to try. I hope you can suggest me a
way to recover the device or to extract data from it.


[0]
Oct  9 20:30:01 elsewhere cron[3670]: (root) CMD (test -x
/usr/sbin/run-crons  /usr/sbin/run-crons )
Oct  9 20:38:00 elsewhere kernel: [265616.964879] sd 8:0:0:0: [sda]
Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:00 elsewhere kernel: [265616.964893] sd 8:0:0:0: [sda]
Sense Key : 0x5 [current]
Oct  9 20:38:00 elsewhere kernel: [265616.964904] Info fld=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964909] sd 8:0:0:0: [sda]
ASC=0x21 ASCQ=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964918] sd 8:0:0:0: [sda]
CDB: cdb[0]=0x28: 28 00 00 19 b6 78 00 00 08 00
Oct  9 20:38:00 elsewhere kernel: [265616.964938] end_request: I/O
error, dev sda, sector 1685112
Oct  9 20:38:00 elsewhere kernel: [265616.964972] EXT3-fs error
(device sda2): ext3_find_entry: reading directory #8238 offset 0
Oct  9 20:38:20 elsewhere kernel: [265637.556176] sd 8:0:0:0: [sda]
Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.556190] sd 8:0:0:0: [sda]
Sense Key : 0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.556200] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556206] sd 8:0:0:0: [sda]
ASC=0x21 ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556214] sd 8:0:0:0: [sda]
CDB: cdb[0]=0x28: 28 00 00 1d c6 60 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.556234] end_request: I/O
error, dev sda, sector 1951328
Oct  9 20:38:20 elsewhere kernel: [265637.556281] EXT3-fs error
(device sda2): ext3_get_inode_loc: unable to read inode block -
inode=24579, block=99331
Oct  9 20:38:20 elsewhere kernel: [265637.558297] sd 8:0:0:0: [sda]
Result: hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.558310] sd 8:0:0:0: [sda]
Sense Key : 0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.558320] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558325] sd 8:0:0:0: [sda]
ASC=0x21 ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558333] sd 8:0:0:0: [sda]
CDB: cdb[0]=0x2a: 2a 00 00 11 a6 48 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.558352] end_request: I/O
error, dev sda, sector 1156680

[gentoo-user] Re: USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2

2010-10-09 Thread Fatih Tümen
2010/10/9 Fatih Tümen fthtmn+gen...@gmail.com:
 I am not sure what may have caused the issue but there are two things
 I suspect that may have caused this.
 1. I usually forget the device is mounted and sda1 partition swappedon
 while suspending/sleeping the system. I run fsck.ext3 on the
 complaining dirty partitions.
 2. I accidentally ran grub-install /dev/sda instead of /dev/hda last
 week and interrupted immediately. There is no sign of a problem in the
 logs for a week. I had install grub on sda couple of years ago  but
 hadnt used it for a long time.

 I thought this may be related because interrupting the grub-install
 left in complete mbr. So I ran grub-install on sda again but it could
 not find the disk[3].

 I cannot think of anything else to try. I hope you can suggest me a
 way to recover the device or to extract data from it.

The attached file should be better for viewing the logs.

--
Fatih
[0]
Oct  9 20:30:01 elsewhere cron[3670]: (root) CMD (test -x /usr/sbin/run-crons 
 /usr/sbin/run-crons )
Oct  9 20:38:00 elsewhere kernel: [265616.964879] sd 8:0:0:0: [sda] Result: 
hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:00 elsewhere kernel: [265616.964893] sd 8:0:0:0: [sda] Sense Key : 
0x5 [current]
Oct  9 20:38:00 elsewhere kernel: [265616.964904] Info fld=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964909] sd 8:0:0:0: [sda] ASC=0x21 
ASCQ=0x0
Oct  9 20:38:00 elsewhere kernel: [265616.964918] sd 8:0:0:0: [sda] CDB: 
cdb[0]=0x28: 28 00 00 19 b6 78 00 00 08 00
Oct  9 20:38:00 elsewhere kernel: [265616.964938] end_request: I/O error, dev 
sda, sector 1685112
Oct  9 20:38:00 elsewhere kernel: [265616.964972] EXT3-fs error (device sda2): 
ext3_find_entry: reading directory #8238 offset 0
Oct  9 20:38:20 elsewhere kernel: [265637.556176] sd 8:0:0:0: [sda] Result: 
hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.556190] sd 8:0:0:0: [sda] Sense Key : 
0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.556200] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556206] sd 8:0:0:0: [sda] ASC=0x21 
ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.556214] sd 8:0:0:0: [sda] CDB: 
cdb[0]=0x28: 28 00 00 1d c6 60 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.556234] end_request: I/O error, dev 
sda, sector 1951328
Oct  9 20:38:20 elsewhere kernel: [265637.556281] EXT3-fs error (device sda2): 
ext3_get_inode_loc: unable to read inode block - inode=24579, block=99331
Oct  9 20:38:20 elsewhere kernel: [265637.558297] sd 8:0:0:0: [sda] Result: 
hostbyte=0x00 driverbyte=0x08
Oct  9 20:38:20 elsewhere kernel: [265637.558310] sd 8:0:0:0: [sda] Sense Key : 
0x5 [current]
Oct  9 20:38:20 elsewhere kernel: [265637.558320] Info fld=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558325] sd 8:0:0:0: [sda] ASC=0x21 
ASCQ=0x0
Oct  9 20:38:20 elsewhere kernel: [265637.558333] sd 8:0:0:0: [sda] CDB: 
cdb[0]=0x2a: 2a 00 00 11 a6 48 00 00 08 00
Oct  9 20:38:20 elsewhere kernel: [265637.558352] end_request: I/O error, dev 
sda, sector 1156680
Oct  9 20:38:20 elsewhere kernel: [265637.558363] Buffer I/O error on device 
sda2, logical block 0
Oct  9 20:38:20 elsewhere kernel: [265637.558370] lost page write due to I/O 
error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.325405] sd 8:0:0:0: [sda] Result: 
hostbyte=0x00 driverbyte=0x08
Oct  9 20:39:25 elsewhere kernel: [265702.325419] sd 8:0:0:0: [sda] Sense Key : 
0x5 [current]
Oct  9 20:39:25 elsewhere kernel: [265702.325430] Info fld=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.325435] sd 8:0:0:0: [sda] ASC=0x21 
ASCQ=0x0
Oct  9 20:39:25 elsewhere kernel: [265702.325444] sd 8:0:0:0: [sda] CDB: 
cdb[0]=0x2a: 2a 00 00 11 ce 90 00 00 08 00
Oct  9 20:39:25 elsewhere kernel: [265702.325464] end_request: I/O error, dev 
sda, sector 1166992
Oct  9 20:39:25 elsewhere kernel: [265702.325475] Buffer I/O error on device 
sda2, logical block 1289
Oct  9 20:39:25 elsewhere kernel: [265702.325482] lost page write due to I/O 
error on sda2
Oct  9 20:39:25 elsewhere kernel: [265702.325533] [ cut here 
]
Oct  9 20:39:25 elsewhere kernel: [265702.325547] WARNING: at fs/buffer.c:1151 
mark_buffer_dirty+0x23/0x6b()
Oct  9 20:39:25 elsewhere kernel: [265702.325554] Hardware name: Amilo A1640
Oct  9 20:39:25 elsewhere kernel: [265702.325563] Pid: 3711, comm: umount Not 
tainted 2.6.35-gentoo-r4 #1
Oct  9 20:39:25 elsewhere kernel: [265702.325569] Call Trace:
Oct  9 20:39:25 elsewhere kernel: [265702.325584]  [c1031c61] 
warn_slowpath_common+0x60/0x75
Oct  9 20:39:25 elsewhere kernel: [265702.325593]  [c10b3012] ? 
mark_buffer_dirty+0x23/0x6b
Oct  9 20:39:25 elsewhere kernel: [265702.325604]  [c1031c85] 
warn_slowpath_null+0xf/0x13
Oct  9 20:39:25 elsewhere kernel: [265702.325612]  [c10b3012] 
mark_buffer_dirty+0x23/0x6b
Oct  9 20:39:25 elsewhere kernel: [265702.325624]  [c1133e7b] 
journal_update_superblock+0x62/0xab
Oct  9 20:39:25 elsewhere kernel: [265702.325634]  [c1132a38] 
cleanup_journal_tail+0xd2/0xdb
Oct  9 20:39:25 

[gentoo-user] Re: USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2

2010-10-09 Thread walt

On 10/09/2010 12:36 PM, Fatih Tümen wrote:


2. I accidentally ran grub-install /dev/sda instead of /dev/hda


If you still actually have an 'hda' then you should start using the new
disk drivers in the kernel CONFIG_ATA section rather than the older
and deprecated CONFIG_IDE section.

That will make all of your /dev/hd* devices become /dev/sd* instead.  This
may have nothing to do with your current problem, but it's time to make the
change in any case.  (You will need to make appropriate changes in fstab.)


grub  setup  --stage2=/boot/grub/stage2 --prefix=/grub (hd1)
Error 21: Selected disk does not exist


What choices does grub show you when you type root (hd and then hit
TAB?  That should list all hard disks that your BIOS knows about.  The
list will change, of course, depending on whether your USB disk is plugged
in (and working) or not.  (grub always refers to 'hd' and never 'sd', which
I'm sure you already know :)

I'm not using the dreaded 'hardware' word yet, though I'm suspicious.

When you tested the drive on the other machine, did you use a different
USB cable?

Will fdisk read and recognize the partition table on the USB disk? If fdisk
results in disk read errors then I'd begin to think more about 'hardware' :(






Re: [gentoo-user] text in xterm

2010-10-09 Thread James
Using various different hardware configurations -- my laptop has a
Intel 915GM. The same thing happens on my iMac which has an nVidia
card.

I tried to take a screenshot of the issue, but the artifacts do NOT
appear in the screenshot.

-james

On Thu, Oct 7, 2010 at 3:27 AM, Adam Carter adamcart...@gmail.com wrote:


 On Thu, Oct 7, 2010 at 5:57 AM, James j...@nc.rr.com wrote:

 Folks,

 I have an interesting problem -- not sure what's causing it.

 Using xfce4 + compiz -- nothing too fancy. When I open an xterm and
 start typing, I start getting 'artifacts' (specifically green lines
 between the various letters I'm trying) in my xterm.

 What video hardware and driver are you using?




Re: [gentoo-user] Kmail editor freezes

2010-10-09 Thread Peter Humphrey
On Saturday 09 October 2010 19:22:57 Daniel D Jones wrote:

 Any help on tracking down the cause is greatly appreciated.

That's interesting. Here it's the other way round: on first logging-in to 
the desktop, with kmail saved as an application from the previous 
session, kmail takes for ever to get through its startup sequence, which 
includes fetching new e-mails via POP3. It's usually a few minutes 
before I can do anything with it. After that it's as responsive as any 
other program, and the composer is too. I've had the same problem with 
all recent versions as far as I remember; the current version here is 
kmail 1.13.5 in KDE 4.5.2.

(Not wishing to hijack your thread...) I doubt it's your problem, but I 
wonder if mine is the dreaded IPv6 lookup problem raising its ugly head 
again.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] text in xterm

2010-10-09 Thread Willie Wong
On Sat, Oct 09, 2010 at 09:29:36PM +, James wrote:
 Using various different hardware configurations -- my laptop has a
 Intel 915GM. The same thing happens on my iMac which has an nVidia
 card.
 
 I tried to take a screenshot of the issue, but the artifacts do NOT
 appear in the screenshot.
 

Hum, does http://www.nvnews.net/vbulletin/showthread.php?t=150390
help? (It suggests that it is a problem with Compiz 0.8.6 against
nVidia and Intel drivers, and a work around is to downgrade to 0.8.4.)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: USB Disk failure - Buffer I/O error on device sda2, logical block 1289 lost page write due to I/O error on sda2

2010-10-09 Thread Fatih Tümen
On Sun, Oct 10, 2010 at 12:15 AM, walt w41...@gmail.com wrote:
 On 10/09/2010 12:36 PM, Fatih Tümen wrote:

 2. I accidentally ran grub-install /dev/sda instead of /dev/hda

 If you still actually have an 'hda' then you should start using the new
 disk drivers in the kernel CONFIG_ATA section rather than the older
 and deprecated CONFIG_IDE section.

I was happy with the distinction between local and external disk. But
thanks for the advice.

 That will make all of your /dev/hd* devices become /dev/sd* instead.  This
 may have nothing to do with your current problem, but it's time to make the
 change in any case.  (You will need to make appropriate changes in fstab.)

 grub  setup  --stage2=/boot/grub/stage2 --prefix=/grub (hd1)
 Error 21: Selected disk does not exist

 What choices does grub show you when you type root (hd and then hit
 TAB?  That should list all hard disks that your BIOS knows about.  The
 list will change, of course, depending on whether your USB disk is plugged
 in (and working) or not.  (grub always refers to 'hd' and never 'sd', which
 I'm sure you already know :)

Grub currently know only  about hd0, hd1 was what grub called the usb disk.

 I'm not using the dreaded 'hardware' word yet, though I'm suspicious.

If you heard the noise coming from the drive when plugged in you be
more than suspicious I think.

 When you tested the drive on the other machine, did you use a different
 USB cable?

No but I will do, as soon as I find the other cable.But as I just
noted, drive makes some noise when plugged in. The noise is similar
but less worrying that the one it make first time I ran eix.

 Will fdisk read and recognize the partition table on the USB disk? If fdisk
 results in disk read errors then I'd begin to think more about 'hardware' :(

No Unable to read /dev/sda is what fdisk says. I never had a disk
(hardware) failure before. Is there no way to extract data from it?

--
Fatih