Re: [gentoo-user] Baselayout2/OpenRC migration question - dispatch-conf vs etc-update

2011-05-29 Thread Jake Moe
On 05/29/11 02:07, Bill Longman wrote:

 Yes, absolutely. I use cfgupdate too.

 -- 
 Bill Longman
 Sent from my Galaxy S

There was an announcement on the gentoo-announce mailing list that
listed a few different docs for reference.  Among other things, the part
of interest in this discussion was:

After these packages are emerged, it is absolutely critical that you 
immediately update your configuration files with dispatch-conf, 
etc-update or a similar tool [2] then follow the steps in the OpenRC 
Migration Guide [3].

2. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3chap=4
3. http://www.gentoo.org/doc/en/openrc-migration.xml

Like Dale, I used etc-update, and on two different laptops (one x86 and
one amd64), which worked without hitch on both.

Jake Moe



[gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jake Moe
I'm having a weird issue I'm hoping someone here can help with. I've
asked on the FVWM mailing list, but they can't reproduce with my config,
so I'm hoping someone here with experience with the KDE/QT side of
things might be able to offer a suggestion.

I've configured FVWM with a single 3x3 desktop, and I've left off edge
resistance so I can flip between them easily.  This works fine most of
the time, but recently, I believe with updating KDE to 4.6.2, I've
noticed this problem.  When I have a KDE app (or possibly any QT app,
I'm not sure where exactly the distinction lies; it happens with
SMplayer as well, which I don't believe is strictly a KDE app, but a QT
app) open and try to open a file (or save a new file), when the dialog
box its up, the mouse (and focus) is on that dialog box, and I try to
move my mouse up to the upper page, it flicks to the new page for a
split second and then puts me back on the page with the KDE/QT app.  If,
while the dialog box is open, I let the mouse rest for a moment on the
application, the app gets focus for a split second, and then the dialog
seems to take it back.  Then when I move the mouse off the top of the
page, it works fine.

It seems to only be limited to QT/KDE, but I have no idea if it's a
bug in FVWM, or a feature in KDE that needs disabling.  Hope this
description makes sense.  Does anyone have any ideas?

FVWM version is fvwm 2.6.1 compiled on May 23 2011 at 18:40:17 with
support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, XRender, XCursor,
XFT, NLS, and my config is attached.

Any thoughts?

Jake Moe



fvwmconf.bz2
Description: BZip2 compressed data


Re: [gentoo-user] FVWM Desktop scrolling not working with KDE open dialog box

2011-05-26 Thread Jake Moe
On 05/27/11 00:22, Jesús J. Guerrero Botella wrote:
 2011/5/26 Jake Moe jakesaddr...@gmail.com:
 I'm having a weird issue I'm hoping someone here can help with. I've
 asked on the FVWM mailing list, but they can't reproduce with my config,
 so I'm hoping someone here with experience with the KDE/QT side of
 things might be able to offer a suggestion.
 I saw your question in the fvwm mailing list. If Thomas Adam couldn't
 help there I don't think anyone here will be able to. But stay tuned,
 just in case... I, like him, couldn't reproduce this. I've
 occasionally used lots of kde applications with fvwm without this
 problem.
 It seems to only be limited to QT/KDE, but I have no idea if it's a
 bug in FVWM, or a feature in KDE that needs disabling.  Hope this
 description makes sense.  Does anyone have any ideas?
 Well, in my book, a kde app is an application that links against the
 kde foundations (kdelibs), a qt-only app is an application that links
 against any or many of the qt parts, but not against kdelibs. smplayer
 seems to fall into the later category.

 It could help if you were able to reproduce this with a minimal single
 config file and try some more qt and kde programs.
I've tried it with SMplayer, Kdevelop,  Kate, KMyMoney, and KolourPaint
and they all exhibit the same behaviour.  Gnome and other X apps don't
exhibit the same behaviour, it seems limited to KDE apps.

I'll try to strip down a config and see if I can't find what option does
it.  I think I might also move my .kde4 folder temporarily and see if it
still happens.

Thanks for the reply.

Jake Moe



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-25 Thread Jake Moe
I haven't followed this entire thread, but is there any chance this
isn't really a Cisco device as you know it, but a rebranded
Linksys?  After seeing a picture of the device, and reading that it's
a Small Business router, I'd suspect it's a device that came out of
their acquisition of Linksys.  That'd explain the different config style
you're seeing.

On 04/26/11 04:44, Mick wrote:
 On Monday 25 April 2011 18:37:31 Harry Putnam wrote:
 I'm probably jumping the gun, but this RVS4000 is looking more and
 more like some pretty sorry junk to me.
 I can but sympathise with your frustration.  They seem to have offered a 
 dumbed down version of something here which is not readily recognisable as a 
 Cisco machine.  Perhaps all this additional functionality is only available 
 for their professional grade platforms



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Jake Moe
On 04/05/11 18:14, KH wrote:
 Am 04.04.2011 21:30, schrieb Peter Humphrey:
 On Monday 04 April 2011 19:12:03 William Kenworthy wrote:

 I dont think http-replicator can manage a directory structure - are you
 trying to do something fancier than just serving out tarballs?
 Yes; I want it to mirror my portage tree and serve it to other boxes on the 
 LAN. 
 It used to do this well enough; I just want to get the permissions right.
 Hi,

 why not using the handbook-way?
 http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
 I am doing it that way.

 Regards KH
+1

I've got four boxes in my home network, and I have one pull down the
updates, the other three sync with that one.

I've also set up proftpd to allow anonymous read-only access to my
/usr/portage/distfiles folder, so the other three can try to pull their
packages from locally first as well, and if that box hasn't downloaded
it yet, only then will they try to retrieve it from the Internet.  See
http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
for info.

Jake Moe



Re: [gentoo-user] http-replicator permissions

2011-04-05 Thread Jake Moe
On 04/05/11 19:53, KH wrote:
 Am 05.04.2011 11:46, schrieb Jake Moe:
 On 04/05/11 18:14, KH wrote:
 Am 04.04.2011 21:30, schrieb Peter Humphrey:
 On Monday 04 April 2011 19:12:03 William Kenworthy wrote:

 I dont think http-replicator can manage a directory structure - are you
 trying to do something fancier than just serving out tarballs?
 Yes; I want it to mirror my portage tree and serve it to other boxes on 
 the LAN. 
 It used to do this well enough; I just want to get the permissions right.
 Hi,

 why not using the handbook-way?
 http://www.gentoo.org/doc/en/rsync.xml#doc_chap2
 I am doing it that way.

 Regards KH
 +1

 I've got four boxes in my home network, and I have one pull down the
 updates, the other three sync with that one.

 I've also set up proftpd to allow anonymous read-only access to my
 /usr/portage/distfiles folder, so the other three can try to pull their
 packages from locally first as well, and if that box hasn't downloaded
 it yet, only then will they try to retrieve it from the Internet.  See
 http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
 for info.

 Jake Moe
 Hi Jake Moe,

 for the distfiles http-replicator is great. Example:
 Box one has the tarball. Box 2, 3 and 4 can download it as well. Box one
 does not have the tarball. Box 2 may search for it, box one will
 download it and give it to box 2. Then box 3 and 4 can download it from
 box one as well.

 Regards KH
Well, I suppose I'll have to look into that then, won't I?  Thanks for
the info.

Jake Moe



Re: [gentoo-user] Re: How low can you go?

2011-04-03 Thread Jake Moe
On 04/03/11 20:04, Dale wrote:
 Neil Bothwick wrote:
 On Sat, 02 Apr 2011 21:09:56 -0500, Dale wrote:

   
 I wonder if we could put Linux on a old Vic-20?  I think I got one out
 in the old shed somewhere.
  
 It's been done on a C-64, but I think a 3.5KB box with no mass storage
 might be a little too challenging.



 I had the little cassette thing to store my stuff on.  I think the OS
 in on a ROM which would be hard to get around unless the ROM was
 changed.  Then it may not really be a Vic-20 anymore.  I'm not sure
 about the C64 since I got me a 20Mhz oscilloscope to work on TVs and
 stuff.  I still got the scope tho.

 My biggest use for my old Vic-20 was a alarm clock.  Worked fine
 unless the power went out.  Well, that sounds like todays alarm
 clock.  lol   I guess some things never change.

 Dale

 :-)  :-)

The ol' Vic-20 was my first computer as well.  I remember you had two
choices; boot from a cartridge (usually a game, Radar Rat Race was one
of my favourites), or boot from the internal O/S.  if you chose the
latter, you could (IIRC) issue a load program_name and it would go
to the cassette tape drive and start reading, so very very slowly, the
tape from the beginning and try to find a program with the name you
specified.  I had a subscription to Compute magazine, and entered the
programs from there in either Basic or binary, and was amazed at what it
could do.  I even tried to do some of my own programs in Basic, but at
about 6-8 years old, it was a bit beyond me.  :-P

Jake



[gentoo-user] Writing Gentoo initscript question

2011-03-05 Thread Jake Moe
I'm currently trying to write a simple initscript to run
minecraft-server on one of my boxes.  I've looked at the ebuild provided
via java-overlay, but it turns out it uses baselayout 2, and I'm not
ready to go down that upgrade path on this particular box just yet.

So far, I've managed to get a simple start() function written, which
kinda-sorta works; it will start the server, but there are two problems:

1) The server was written to stay interactive on a console, so you can
manage it from there.  As such, the process never exits, so the
initscript gets stuck on starting
2) There is nowhere in the server config file to specify where it writes
it's data files.  So when I run this from my initscript, it seems to
default to the root directory, and I can't figure out how to tell it to
use something else as a working directory.

So far, I've got this:

depend() {
  need bootmisc localmount net
}

start() {
  einfo Starting Minecraft Server
  cd /usr/local/games/minecraft-server
  start-stop-daemon --start --make-pidfile --pidfile
/var/run/minecraft-server.pid \
--exec /usr/bin/java -- -Xmx1024M -Xms1024M -jar
/usr/local/games/minecraft-server/minecraft_server.jar nogui
  eend $?
}

Do any of the experts here know a way out of my dilemma?

Jake Moe



Re: [gentoo-user] Writing Gentoo initscript question

2011-03-05 Thread Jake Moe
On 03/06/11 09:31, Florian Philipp wrote:
 Am 05.03.2011 23:47, schrieb Jake Moe:
 I'm currently trying to write a simple initscript to run
 minecraft-server on one of my boxes.  I've looked at the ebuild provided
 via java-overlay, but it turns out it uses baselayout 2, and I'm not
 ready to go down that upgrade path on this particular box just yet.

 So far, I've managed to get a simple start() function written, which
 kinda-sorta works; it will start the server, but there are two problems:

 1) The server was written to stay interactive on a console, so you can
 manage it from there.  As such, the process never exits, so the
 initscript gets stuck on starting
 2) There is nowhere in the server config file to specify where it writes
 it's data files.  So when I run this from my initscript, it seems to
 default to the root directory, and I can't figure out how to tell it to
 use something else as a working directory.

 So far, I've got this:

 depend() {
   need bootmisc localmount net
 }

 start() {
   einfo Starting Minecraft Server
   cd /usr/local/games/minecraft-server
   start-stop-daemon --start --make-pidfile --pidfile
 /var/run/minecraft-server.pid \
 --exec /usr/bin/java -- -Xmx1024M -Xms1024M -jar
 /usr/local/games/minecraft-server/minecraft_server.jar nogui
   eend $?
 }

 Do any of the experts here know a way out of my dilemma?

 Jake Moe


 You already know start-stop-daemon, good. Parameter --background will
 force the program to detach. That solves your first problem.

 --chdir should solve your second problem. You should also consider
 --user and --group to drop root privileges. It also sets $HOME in case
 the server does not write to the working directory but the home directory.

 Hope this helps,
 Florian Philipp

I've tried --background, but then it just fails.  Adding --verbose
as well gives the following:

jmoe@aus8617 /etc/init.d $ sudo /etc/init.d/minecraft-server start
 * Starting Minecraft Server
Starting /usr/bin/java...
Detaching to start /usr/bin/java...done.   [ !! ]

Not the most helpful of messages.

For the second, of what is --chdir an argument?  If I read the man
page for start-stop-daemon, it had --chroot and --chuid, but no
--chdir.  I assume that --chuid can be used for changing the
user:group of the resulting process, but did you mean chroot instead of
chdir, or does that go with another command?

Also, when I say the root directory, I don't mean root's home
directory (/root), I mean the root (/) directory.  So I wind up with
config files in the root of my filesystem.  Not good.

Jake Moe



Re: [gentoo-user] Writing Gentoo initscript question

2011-03-05 Thread Jake Moe
On 03/06/11 16:48, Joost Roeleveld wrote:
 On Sunday 06 March 2011 11:25:47 Jake Moe wrote:
 On 03/06/11 09:31, Florian Philipp wrote:
 Am 05.03.2011 23:47, schrieb Jake Moe:
 I'm currently trying to write a simple initscript to run
 minecraft-server on one of my boxes.  I've looked at the ebuild
 provided
 via java-overlay, but it turns out it uses baselayout 2, and I'm not
 ready to go down that upgrade path on this particular box just yet.

 So far, I've managed to get a simple start() function written, which
 kinda-sorta works; it will start the server, but there are two
 problems:

 1) The server was written to stay interactive on a console, so you
 can
 manage it from there.  As such, the process never exits, so the
 initscript gets stuck on starting
 2) There is nowhere in the server config file to specify where it
 writes
 it's data files.  So when I run this from my initscript, it seems to
 default to the root directory, and I can't figure out how to tell it
 to
 use something else as a working directory.

 So far, I've got this:

 depend() {

   need bootmisc localmount net

 }

 start() {

   einfo Starting Minecraft Server
   cd /usr/local/games/minecraft-server
   start-stop-daemon --start --make-pidfile --pidfile

 /var/run/minecraft-server.pid \

 --exec /usr/bin/java --
 -Xmx1024M -Xms1024M -jar

 /usr/local/games/minecraft-server/minecraft_server.jar nogui

   eend $?

 }

 Do any of the experts here know a way out of my dilemma?

 Jake Moe
 You already know start-stop-daemon, good. Parameter --background will
 force the program to detach. That solves your first problem.

 --chdir should solve your second problem. You should also consider
 --user and --group to drop root privileges. It also sets $HOME in case
 the server does not write to the working directory but the home
 directory.

 Hope this helps,
 Florian Philipp
 I've tried --background, but then it just fails.  Adding --verbose
 as well gives the following:

 jmoe@aus8617 /etc/init.d $ sudo /etc/init.d/minecraft-server start
  * Starting Minecraft Server
 Starting /usr/bin/java...
 Detaching to start /usr/bin/java...done.   [ !! ]

 Not the most helpful of messages.

 For the second, of what is --chdir an argument?  If I read the man
 page for start-stop-daemon, it had --chroot and --chuid, but no
 --chdir.  I assume that --chuid can be used for changing the
 user:group of the resulting process, but did you mean chroot instead of
 chdir, or does that go with another command?

 Also, when I say the root directory, I don't mean root's home
 directory (/root), I mean the root (/) directory.  So I wind up with
 config files in the root of my filesystem.  Not good.

 Jake Moe
 Not sure if it's the recommended way, but how about using nohup?
 Eg:
 start-stop-daemon --start --make-pidfile --pidfile
 /var/run/minecraft-server.pid \
 --exec nohup /usr/bin/java -- -Xmx1024M -Xms1024M -jar

 Might be that it fails because it looses the stdout/stderr?

 --
 Joost

Tried both
--background --exec /usr/bin/nohup /usr/bin/java -- -Xmx1024M...
and
--background --exec /usr/bin/nohup -- /usr/bin/java -Xmx1024M ...

Both output:

jmoe@aus8617 /etc/init.d $ sudo ./minecraft-server start
 * Caching service dependencies
... 

  
[ ok ]
 * Starting Minecraft Server
Starting /usr/bin/nohup...
Detaching to start
/usr/bin/nohup...done.  

   
[ !! ]

If I leave off the --background, it starts, but never goes back to the
console:

jmoe@aus8617 /etc/init.d $ sudo ./minecraft-server start
 * Caching service dependencies
... 

  
[ ok ]
 * Starting Minecraft Server
Starting /usr/bin/nohup...
/usr/bin/nohup: ignoring input and appending output to `nohup.out'

It's running, because I can connect to it via my client, but I don't get
control back.

The java-overlay way was to run it using tmux, then connect back to it
when you wanted to use the server console.  The problem was that it used
ewaitfile in the initscript, and that's not in BL1.  Maybe I need to
investigate tmux further and see if I can accomplish the same thing in BL1.

Jake Moe



Re: [gentoo-user] k3b: Drive not found ...

2011-01-30 Thread Jake Moe
On 01/31/11 06:11, Alan McKinnon wrote:
 Apparently, though unproven, at 09:01 on Sunday 30 January 2011, 
 meino.cra...@gmx.de did opine thusly:

 Hi,

 My setup is ASUS Crosshair IV formula. Attached to the box is a
 USB-IDE converted. Attached to this converter there is my old
 DVD burner.
 Blind shot in the dark here:

 What's your USE for k3b? I recently got an update with a USE flag change for 
 k3B:  hal

 Maybe your's is off?
From what I remember, K3B uses either D-Bus or, I believe, HAL to detect
drives.  So if HAL (or D-Bus) is not working properly, K3B won't detect
the drive.

Also, I have a vague memory (warning! this may be totally wrong!) that
you may need the plugdev group as well, for the detection to work
properly?  Maybe?

However, my K3B (stable on 2.0.1-r1) doesn't have a hal use flag,
but it appears the latest (unstable on 2.0.2-r1) does.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-14 Thread Jake Moe
On 01/13/11 22:32, Joerg Schilling wrote:
 J. Roeleveld jo...@antarean.org wrote:

 On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote:
 J. Roeleveld jo...@antarean.org wrote:
 Can you actually play that wav-file? Or is it just a collection of
 garbage?

 As far as I know, CD-Paranoia access the cd-drive a bit more directly
 then other tools. Eg. it approaches it like a CD-ROM, rather then
 CD-Audio.
 You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from
 1997) and it is limited to the DAE quality of the kernel drivers.
 Ok, I stand corrected. I did, however, always have more succes ripping music 
 from audio-cds with cdparanoia then with other tools I tried.
 Then you did probably not recently try cdda2wav. After the development for 
 cdparanoia stopped in year 2000, cdda2wav integrated the important code parts
 from cdparanoia into cdda2wav by creating a portable library libparanoia in 
 April 2002.

 Since then, cdda2wav combines the best features from both commands. If you 
 like 
 to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. 
 Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all.

 Jörg
Why do they give me this info, then?

jmoe@aus8617 ~ $ cdda2wav --version
cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko EiÃ

jmoe@aus8617 ~ $ cdparanoia --version
cdparanoia III release 10.2 (September 11, 2008)

From that, it appears that cdparanoia is newer.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-14 Thread Jake Moe
On 01/13/11 20:48, J. Roeleveld wrote:
 On Thursday 13 January 2011 11:33:09 Jake Moe wrote:
 On 01/13/11 18:12, J. Roeleveld wrote:
 On Thursday 13 January 2011 07:12:48 Jake Moe wrote:
 If you're talking about proper Audio-CD as one that's audio-only, no
 mixed data in there as well, then yes, I'm sure.  And I have over 500
 CDs; I can't test them all.  :-P  But yeah, a selection of CDs have all
 had the same result.  And only on Linux; the same CDs have read fine
 from Windows.
 500, that's a bit more then I have :)
 Heh, yeah, well I've been collecting them for around 20 years now.
 Since shortly after they were introduced.  I stopped counting at 500.

 The mp3 error screenshot was trying to copy the MP3 files from the CD
 through Konqueror's audiocd:\ location to my hard drive.  I assume
 Konqueror tries to auto-convert the CD tracks to MP3s on the fly.  The
 log file I had attached should have been called messages.bz2; it's the
 kernel log file.
 Yes, I noticed similar behaviour last time I used MS Windows to play
 audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present
 them as *.WAV-files,
 Don't know if you've ever used Konqueror, but if you go to the address
 audiocd:/, it gives you a load of folders like MP3 and OGG and FLAC,
 along with a wav file for each track.  So you can either copy the files
 as WAV, or go into one of the folders and copy out MP3, OGG, etc.  It's
 just that Konqueror does the extraction/conversion for you.
 As far as I know, that requires the multimedia kioslaves to work. I wonder if 
 it's possible to have that use a different CDDA-tool?

 Which, from memory, is different that Win98.  IIRC, Win98 used to
 present CDs as 1KB cda files.  I could be wrong, though...
 Last time I used MS Windows at home for anything other then games was around 
 1998 and that's quite a while ago...

 Oh, and I only own a few CDs that have DRM on them.  And no, they
 weren't the ones that I've tested.
 Ok, it was the first thing that came to mind.

 How far does cdparanoia get? That's the tool I generally use and it has
 always worked for me. Even with DRM'd CDs.

 --
 Joost
 How very odd.  As soon as I put the CD into the drive, I get the same
 raft of error messages in /var/log/messages.  But when I run 'cdparanoia
 1', it starts outputting to cdda.wav as normal.  Now why would
 cdparanoia work, even though the kernel doesn't seem to like the CD?
 Does this tell us anything that might help me play the CDs?

 Jake Moe
 Can you actually play that wav-file? Or is it just a collection of garbage?

 As far as I know, CD-Paranoia access the cd-drive a bit more directly then 
 other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio.

 The error messages appear as soon as you put the CD into the drive?
 Am wondering if some auto-mounting tool is trying to access it and is causing 
 problems here.
 Do you also get those messages when you disable all KDE/Gnome/X/... and 
 related stuff?

 Personally, I tend to use cdparanoia and other tools to generate OGG or MP3 
 files and store them on a fileserver and play them from there.

 --
 Joost

Yeah, the wav file played fine.  At least, it started out fine; I only
listened to the first 15 - 30 seconds to make sure it sounded ok, and
then assumed the rest was fine, since nothing else had even gotten that far.

And yeah, the errors start as soon as I put the CD in the drive.  What
automounting tool might I have in FVWM?  I use a pretty basic config
(which is why I like FVWM, not many frills to muck things up :-P).

What KDE/Gnome/X stuff are you talking about?  Unless they're
auto-started by a service, I don't know of anything that'd be running
like that, especially from a console.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-14 Thread Jake Moe
On 01/14/11 21:30, Joerg Schilling wrote:
 Jake Moe jakesaddr...@gmail.com wrote:

 Since then, cdda2wav combines the best features from both commands. If you 
 like 
 to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. 
 Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all.

 Jörg
 Why do they give me this info, then?
 Because cdda2wav is the better choice

 jmoe@aus8617 ~ $ cdda2wav --version
 cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko EiÃ

 jmoe@aus8617 ~ $ cdparanoia --version
 cdparanoia III release 10.2 (September 11, 2008)

 From that, it appears that cdparanoia is newer.
 The latest cdparanoia is from 2001. There seem to appear later versions but 
 they do not increase functionality, they just fix some C syntax problems that 
 prevent compilation with newer GCC versions. But all cdparanoia versions are 
 based on a cdda2wav from 1997 and thus use outdated read functions.

 The interesting question seems to be: Why do you try to confuse people 
 regarding to cdda2wav by modifiying it's output?

 cdda2wav-3.0 is from June 2010 and there is even a 3.01a02 from December 2010.

 Jörg

Ok, thanks for the info.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-13 Thread Jake Moe
On 01/13/11 18:12, J. Roeleveld wrote:
 On Thursday 13 January 2011 07:12:48 Jake Moe wrote:
 If you're talking about proper Audio-CD as one that's audio-only, no
 mixed data in there as well, then yes, I'm sure.  And I have over 500
 CDs; I can't test them all.  :-P  But yeah, a selection of CDs have all
 had the same result.  And only on Linux; the same CDs have read fine
 from Windows.
 500, that's a bit more then I have :)
Heh, yeah, well I've been collecting them for around 20 years now. 
Since shortly after they were introduced.  I stopped counting at 500.
 The mp3 error screenshot was trying to copy the MP3 files from the CD
 through Konqueror's audiocd:\ location to my hard drive.  I assume
 Konqueror tries to auto-convert the CD tracks to MP3s on the fly.  The
 log file I had attached should have been called messages.bz2; it's the
 kernel log file.
 Yes, I noticed similar behaviour last time I used MS Windows to play audio-
 CDs. I believe MS Windows 98 (yes, that long ago) used to present them as 
 *.WAV-files,
Don't know if you've ever used Konqueror, but if you go to the address
audiocd:/, it gives you a load of folders like MP3 and OGG and FLAC,
along with a wav file for each track.  So you can either copy the files
as WAV, or go into one of the folders and copy out MP3, OGG, etc.  It's
just that Konqueror does the extraction/conversion for you.

Which, from memory, is different that Win98.  IIRC, Win98 used to
present CDs as 1KB cda files.  I could be wrong, though...
 Oh, and I only own a few CDs that have DRM on them.  And no, they
 weren't the ones that I've tested.
 Ok, it was the first thing that came to mind.

 How far does cdparanoia get? That's the tool I generally use and it has 
 always worked for me. Even with DRM'd CDs.

 --
 Joost
How very odd.  As soon as I put the CD into the drive, I get the same
raft of error messages in /var/log/messages.  But when I run 'cdparanoia
1', it starts outputting to cdda.wav as normal.  Now why would
cdparanoia work, even though the kernel doesn't seem to like the CD? 
Does this tell us anything that might help me play the CDs?

Jake Moe



Re: [gentoo-user] Re: Re: Strange problem with audio CDs

2011-01-12 Thread Jake Moe
On 01/12/11 04:52, Jörg Schaible wrote:
 Jake Moe wrote:
 On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using
 that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
 AHCI Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
 Well, mine is a bit different.
 Not convinced ;-)
 I typically run FVWM from a SLIM logon,
 so there's no KDE or Gnome auto-anything running.  I only used Konqueror
 as an example of another way of accessing the CDs that might have
 worked, but didn't.   I can even stop XDM, log in from a console prompt
 with no X running, and try to play a CD with cdplay or dcd, and I'll get
 the same results.  And with me, it doesn't start to work and then slow
 down; it never works.  It can only read track listings, but not any of
 the music.
 As I said in the forum, I have these log entries running from a pure console 
 (no X started at all) even with a stopped hal. It's enough to put an audio 
 CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I have the 
 message only once though, in the previous two kernels (34+35) they are 
 repeated permanently.
Ah, I missed that part.  Thought you were only talking about using apps
through KDE.
 And no, I'm on 32-bit stable Gentoo, with only unstable packages
 being ones that don't have stable ebuilds.
 Same for me, just using 64-bit.
 Thanks for trying, though.  :-)  Anyone else have any ideas?
 Me, no - unfortunately.

 - Jörg
Well, I'll soldier on.  Maybe one of these other posts will tell me
somthing...

Jake Moe



Re: [gentoo-user] Re: Re: Strange problem with audio CDs

2011-01-12 Thread Jake Moe
On 01/12/11 14:53, James Wall wrote:
 On 01/11/11 12:52, Jörg Schaible wrote:
  Jake Moe wrote:

  On 01/11/11 04:38, Jörg Schaible wrote:
  Hi Jake,
 
  Jake Moe wrote:
 
  I can't seem to get audio CDs to work with my drive.  Data CDs work
  fine, I can mount the filesystem and read them.  Data and Video DVDs
  seem to work fine as well.  But when I try to listen to an audio
 CD, I
  get the attached errors in log.bz2.  I've tried using things from
 KsCD
  to cdplay; everything gives the same errors.  Googling seems to
 indicate
  that there might be a problem with udev somehow, but most of
 those that
  I find have the fix as update to the latest udev using
 apt/rpm/other
  binary distro package tool, which obviously won't work for Gentoo.
  Other solutions seem to be update to libATA, but I'm already using
  that.
 
  I've gone through and tried to check anything obvious in my kernel
  config, but I can't see anything that'd affect it like this. 
 Also, if I
  reboot into Windows (this laptop is a work computer as well), it
 plays
  and rips the same CDs just fine.
 
  Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is
 /dev/sr0.
  Controller is:
 
  00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
  Controller (rev 03) (prog-if 01 [AHCI 1.0])
  Subsystem: Hewlett-Packard Company Device 30dc
  Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
  I/O ports at 8118 [size=8]
  I/O ports at 813c [size=4]
  I/O ports at 8110 [size=8]
  I/O ports at 8138 [size=4]
  I/O ports at 8000 [size=32]
  Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
  Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
  Capabilities: [70] Power Management version 3
  Capabilities: [a8] SATA HBA ?
  Capabilities: [b0] PCI Advanced Features
  Kernel driver in use: ahci
 
  Oddly, if I open Konqueror and type in audiocd:/, it lists the
 tracks,
  and has the FLAC, MP3, Ogg, etc folders.  But it won't play or
 copy the
  files; it gives the error in error.gif.
 
  Any other info you need, please let me know.  This is driving me
 nuts.
  Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251
 
  I still have my old box around just because of this problem :-/
 
  00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
  AHCI Controller (prog-if 01 [AHCI 1.0])
  Subsystem: Acer Incorporated [ALI] Device 0198
  Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
  I/O ports at c880 [size=8]
  I/O ports at c800 [size=4]
  I/O ports at c480 [size=8]
  I/O ports at c400 [size=4]
  I/O ports at c080 [size=32]
  Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
  Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
  Capabilities: [70] Power Management version 3
  Capabilities: [a8] SATA HBA ?
  Capabilities: [b0] PCI Advanced Features
  Kernel driver in use: ahci
 
  When I rip a CD it typically starts to read it slow permanently
 down and
  after ~ the 6th song the process is not profgressing anymore ...
 
  You're also running 64-bit ?
 
  - Jörg
  Well, mine is a bit different.

  Not convinced ;-)

  I typically run FVWM from a SLIM logon,
  so there's no KDE or Gnome auto-anything running.  I only used
 Konqueror
  as an example of another way of accessing the CDs that might have
  worked, but didn't.   I can even stop XDM, log in from a console prompt
  with no X running, and try to play a CD with cdplay or dcd, and
 I'll get
  the same results.  And with me, it doesn't start to work and then slow
  down; it never works.  It can only read track listings, but not any of
  the music.

  As I said in the forum, I have these log entries running from a pure
 console
  (no X started at all) even with a stopped hal. It's enough to put an
 audio
  CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I
 have the
  message only once though, in the previous two kernels (34+35) they are
  repeated permanently.

  And no, I'm on 32-bit stable Gentoo, with only unstable packages
  being ones that don't have stable ebuilds.

  Same for me, just using 64-bit.

  Thanks for trying, though.  :-)  Anyone else have any ideas?

  Me, no - unfortunately.

  - Jörg


 Jake,

 Are you a member of the audio and/or plugdev group?

 James Wall

Yep, as well as the cdrom group.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-12 Thread Jake Moe
On 01/12/11 20:29, J. Roeleveld wrote:
 On Monday 10 January 2011 10:48:56 Jake Moe wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.

 Jake Moe
 Are you sure it is a proper audio-cd?
 The error message talks about a mp3-file.

 Do you have this issue with all Audio-CDs? (including older ones from before 
 record companies thought it was a good idea to add copy-protection schemes?)

 --
 Joost

If you're talking about proper Audio-CD as one that's audio-only, no
mixed data in there as well, then yes, I'm sure.  And I have over 500
CDs; I can't test them all.  :-P  But yeah, a selection of CDs have all
had the same result.  And only on Linux; the same CDs have read fine
from Windows.

The mp3 error screenshot was trying to copy the MP3 files from the CD
through Konqueror's audiocd:\ location to my hard drive.  I assume
Konqueror tries to auto-convert the CD tracks to MP3s on the fly.  The
log file I had attached should have been called messages.bz2; it's the
kernel log file.

Oh, and I only own a few CDs that have DRM on them.  And no, they
weren't the ones that I've tested.

Jake Moe



Re: [gentoo-user] Strange problem with audio CDs

2011-01-12 Thread Jake Moe
On 01/13/11 01:37, Paul Hartman wrote:
 On Mon, Jan 10, 2011 at 3:48 AM, Jake Moe jakesaddr...@gmail.com wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.
 I wonder if udev is creating the correct device nodes for the cdrom?
 What are the programs looking for? Do you have /dev/cdrom in your
 system?

 Check /etc/udev/rules.d/70-persistent-cd.rules to ensure it looks
 right (in case you had a big change in your system config, like IDE -
 SATA or something)

 This command might give you some clue what's happening when those
 errors occur if udev is involved:
 udevadm test /class/block/sr0

Yeah, /dev/{cdrom,cdrw,dvd,dvdrw} all exist, and point to /dev/sr0:

jmoe@aus8617 ~ $ ls -l /dev/{cdrom,cdrw,dvd,dvdrw}
lrwxrwxrwx 1 root root 3 Jan 14  2011 /dev/cdrom - sr0
lrwxrwxrwx 1 root root 3 Jan 14  2011 /dev/cdrw - sr0
lrwxrwxrwx 1 root root 3 Jan 14  2011 /dev/dvd - sr0
lrwxrwxrwx 1 root root 3 Jan 14  2011 /dev/dvdrw - sr0
jmoe@aus8617 ~ $

And if I try to mount a data CD or DVD, or watch a DVD, I have no
problems.  It's only audio CDs that give me issues.

Jake Moe



[gentoo-user] Strange problem with audio CDs

2011-01-10 Thread Jake Moe
I can't seem to get audio CDs to work with my drive.  Data CDs work
fine, I can mount the filesystem and read them.  Data and Video DVDs
seem to work fine as well.  But when I try to listen to an audio CD, I
get the attached errors in log.bz2.  I've tried using things from KsCD
to cdplay; everything gives the same errors.  Googling seems to indicate
that there might be a problem with udev somehow, but most of those that
I find have the fix as update to the latest udev using apt/rpm/other
binary distro package tool, which obviously won't work for Gentoo. 
Other solutions seem to be update to libATA, but I'm already using that.

I've gone through and tried to check anything obvious in my kernel
config, but I can't see anything that'd affect it like this.  Also, if I
reboot into Windows (this laptop is a work computer as well), it plays
and rips the same CDs just fine.

Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0. 
Controller is:

00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 30dc
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
I/O ports at 8118 [size=8]
I/O ports at 813c [size=4]
I/O ports at 8110 [size=8]
I/O ports at 8138 [size=4]
I/O ports at 8000 [size=32]
Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA ?
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
files; it gives the error in error.gif.

Any other info you need, please let me know.  This is driving me nuts.

Jake Moe


log.bz2
Description: BZip2 compressed data
attachment: error.gif

Re: [gentoo-user] Strange problem with audio CDs

2011-01-10 Thread Jake Moe
On 01/10/11 20:21, Mick wrote:
 On 10 January 2011 09:48, Jake Moe jakesaddr...@gmail.com wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 30dc
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
I/O ports at 8118 [size=8]
I/O ports at 813c [size=4]
I/O ports at 8110 [size=8]
I/O ports at 8138 [size=4]
I/O ports at 8000 [size=32]
Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA ?
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.

 Jake Moe

 Do you have this installed?

 [I] kde-base/kdemultimedia-kioslaves
  Available versions:
   (4.4)
   4.4.5!t amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
 [aqua debug
 encode flac +handbook kdeenablefinal kdeprefix vorbis]
   (4.5)
   ~   4.5.3!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
 ~x86-linux [aqua
 debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
   ~   4.5.4!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
 ~x86-linux [aqua
 debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
  Installed versions:  4.4.5(4.4)!t(15:15:46 18/12/10)(encode flac
 handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix)
  Homepage:http://www.kde.org/
  Description: KDE kioslaves from the kdemultimedia package

Yep.

j...@aus8617 ~ $ emerge -pv kdemultimedia-kioslaves

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

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdemultimedia-kioslaves-4.4.5  USE=encode flac
handbook vorbis (-aqua) -debug (-kdeenablefinal) (-kdeprefix) 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

j...@aus8617 ~ $ eix kdemultimedia-kioslaves
[I] kde-base/kdemultimedia-kioslaves
 Available versions: 
(4.4)   4.4.5!t
(4.5)   ~4.5.3!t ~4.5.4!t
{aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis}
 Installed versions:  4.4.5(4.4)!t(13:15:06 01/09/11)(encode flac
handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix)
 Homepage:http://www.kde.org/
 Description: KDE kioslaves from the kdemultimedia package

j...@aus8617 ~ $

And anyway, that wouldn't account for the error with cdplay and dcd
(command-line cd-player utils) that throw the same errors.

Jake Moe



Re: [gentoo-user] Re: Strange problem with audio CDs

2011-01-10 Thread Jake Moe
On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI 
 Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and 
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
Well, mine is a bit different.  I typically run FVWM from a SLIM logon,
so there's no KDE or Gnome auto-anything running.  I only used Konqueror
as an example of another way of accessing the CDs that might have
worked, but didn't.   I can even stop XDM, log in from a console prompt
with no X running, and try to play a CD with cdplay or dcd, and I'll get
the same results.  And with me, it doesn't start to work and then slow
down; it never works.  It can only read track listings, but not any of
the music.

And no, I'm on 32-bit stable Gentoo, with only unstable packages
being ones that don't have stable ebuilds.

Thanks for trying, though.  :-)  Anyone else have any ideas?

Jake Moe



Re: [gentoo-user] Re: New Install Problems with X

2011-01-06 Thread Jake Moe
On 01/07/11 09:51, KIM WHALEN wrote:
 On Thu, Jan 6, 2011 at 4:20 PM, Volker Armin Hemmann wrote:

 On Thursday 06 January 2011 20:10:15 KIM WHALEN wrote:
 On Thu, Jan 6, 2011 at 3:02 PM, walt wrote:
 On 01/06/2011 10:43 AM, KIM WHALEN wrote:
 Sorry, I did
 # echo =x11-drivers/nvidia-drivers-177.0.0 
 /etc/portage/package.mask
 first

 Good, you're now trying to install the correct version.

 then tried it again and got the following error.

 Your kernel was configured to include nvidiafb support!

 The nvidiafb driver conflicts with the NVIDIA driver, please
 reconfigure your kernel and *disable* nvidiafb support, then
 try installing the NVIDIA kernel module again.

 Looks like you haven't done that yet, right?

 Haven't got it installed yet.  Should I just buy a new nVidia card? I
 really wouldn't mind, I just don't want to get a new one if I'm
 going to
 have the same problems.  Thanks.

 could you please use an email client that does not butcher threading?

 And a new card does not help you if you don't set up your kernel
 correctly.

 I made the kernel with the nvidia driver as a module and the emerge
 x11-drivers/nvidia-drivers worked.  However, running Xorg -configure
 still fails.

 . . . and I would love to use and email client that doesn't butcher
 threading, but I can't until I get this problem fixed.  I have to do a
 remote login from a machine at work and use optonline's webbased
 client. Sorry.

But the warning message specifically says to *disable* that support, not
just make it a module.  From what I remember, you can't have *any*
support for framebuffer in your kernel config.

Also, if you're getting to a new step, can you include the output from
Xorg -configure?

Jake Moe



Re: [gentoo-user] About interpreting output of df -h

2010-12-02 Thread Jake Moe
On 12/03/10 08:24, Indexer wrote:

 On 03/12/2010, at 08:23, Harry Putnam wrote:

  Can anyone tell me how determine what these kind of useless names
  really mean?

  From df -h
  FilesystemSize  Used Avail Use% Mounted on
  rootfs1.9G  283M  1.6G  15% /
  /dev/root 1.9G  283M  1.6G  15% /

  How are you supposed to tell what actual device these things are on.

 rootfs is a symlink to the device

 will...@xerxes / $ ls -al /dev/root
 lrwxrwxrwx 1 root root 4 Oct 31 18:26 /dev/root - sda3
 will...@xerxes / $ df -h
 FilesystemSize  Used Avail Use% Mounted on
 rootfs829G  803G   27G  97% /
 /dev/root 829G  803G   27G  97% /
 rc-svcdir 1.0M  132K  892K  13% /lib64/rc/init.d
 udev   10M  304K  9.8M   3% /dev
 shm   3.0G   24K  3.0G   1% /dev/shm
 /dev/sdb2 250G  234G   17G  94% /mnt/larry.1
 /dev/sdb3 682G  614G   68G  91% /mnt/larry.2
 /dev/sda1  31M   26M  3.3M  89% /boot
 will...@xerxes / $

 for example, when using UUID devices, the same is true

 will...@xerxes / $ ls -al /dev/disk/by-uuid/
 total 0
 drwxr-xr-x 2 root root 160 Nov 27 10:35 .
 drwxr-xr-x 6 root root 120 Nov  5 00:10 ..
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 42f0c22c-dde5-4fbb-9d79-158b14d1faf8 - ../../sdb2
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 7ca26cca-04aa-4fe7-8b1b-5d9b059648a0 - ../../sda1
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 8a444308-a234-4c97-bd91-6e4ead0c5273 - ../../sda3
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 b5af92b2-0e55-4b08-9c7f-ff2124c53921 - ../../sdb1
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 cc02ce4e-3761-4084-ba82-d78b0c2cb636 - ../../sda2
 lrwxrwxrwx 1 root root  10 Oct 31 18:26
 edf30a91-be1a-47ce-9c4a-d6ad89f94ee9 - ../../sdb3
 will...@xerxes / $

 They are all just symlinks that are generated by udev.



  I know I can look in fstab... but that is something of a crap shoot
  since it is user configured.

 So? It should not be touchable by human hands unless they have root.
 The only way this would change is if someone changed it, and you can
 easily track who with sudo and modification times etc.


  So what commands will show real devices not makebelieve baloney, and
  allow me to see the usage devices are put to?

 Next time ask nicely. What is so hard about saying Im a bit lost, how
 do i find the device that this points to.


  Why do we use these kind of names anyway?

 It allows for dynamic configurations of things, and some other voodoo
 that can be done. For example, you can if using UUID's move all your
 disks in their sata ports, and not affect your system's mounts because
 root will point at the device as listed in the UUID section.


  fdisk yes,  but you can't tell what usage the devices are put to
 with that.




 William Brown

 pgp.mit.edu



Out of curiousity, why don't I have a rootfs entry?  I just have the
actual device name.  You guys seem to be assuming that having rootfs
in the list is a normal thing, but it's not in my list?

j...@aus8617 ~ $ df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda6  76G   59G   14G  82% /
udev   10M  216K  9.8M   3% /dev
/dev/sda3  33M  2.9M   28M  10% /boot
/dev/sda1  78G   30G   49G  39% /mnt/winxp
shm   1.5G 0  1.5G   0% /dev/shm
/dev/sda2  78G   60G   18G  78% /mnt/win7

Jake Moe



Re: [gentoo-user] Re: About interpreting output of df -h

2010-12-02 Thread Jake Moe
On 12/03/10 12:38, Harry Putnam wrote:
 Harry Putnam rea...@newsguy.com writes:

 Jake Moe jakesaddr...@gmail.com writes:
 Jake, I am soo sorry for seeming to aim my joking post at you when it
 was Mr. Indexer who seemed to be needing a little ribbing.


Not a problem, I got what you were aiming for...

Jake Moe



Re: [gentoo-user] Command-line wicd?

2010-11-10 Thread Jake Moe
On 05/11/10 04:44, Peter Humphrey wrote:
 On Thursday 04 November 2010 17:22:28 Neil Bothwick wrote:

 Wicd also has an X use flag. I've just tried emerge -p wicd on a
 headless (and Xless) box and it didn't try to pull in any X related
 packages. You'll have to try

 USE=-X -gtk -qt4 emerge -pvt wicd

 see what is pulling in X, add USE flags to the command, rinse and
 repeat.

 That it can be done is not in doubt, whether it is worth the effort
 is.

 Personally, I USE=eth0 when installing Gentoo on a laptop.
 I see what you mean. I'll do that. Thanks all.
j...@aus10224 ~ $ equery hasuse eth0
 * Searching for USE flag eth0 ...
j...@aus10224 ~ $

Am I missing something here?  I never heard of that use flag before.

Jake Moe



[gentoo-user] [OT] Best way to restrict home web browsing

2010-11-04 Thread Jake Moe
A bit off topic, but this group seems to know a lot about this sort of
subject.

I've caught the 11 year old at home browsing sites he really shouldn't
be.  I'd like to implement some sort of filter so that he can only
access approved sites, but myself and my o/h can browse whatever we
want.  What is the best way to implement this?  A firewall?  Some sort
of web proxy?  Something else?  I've got a few Gentoo computers, one
that tri-boots between Windows XP (for work), Windows 7 (for games) and
Gentoo (for everything else), and one Windows laptop (my o/h won't give
it up) connecting to one wireless AP/router.

I'm thinking maybe a single firewall would be the way to go, but I
suppose it'd have to something that we could log into to let it know
who's who; I've never heard of a firewall that does that.  Otherwise,
maybe a software firewall on each PC, but it'd be a bit cumbersome
across all the PCs, unless it had some sort of central management server.

A web search seems to show a Squid proxy may be the way to go, as well.
but I'm not familiar enough with that to know if it'll really do what I
want.

Any help/suggestions would be appreciated.  Thanks.

Jake Moe




Re: [gentoo-user] Trying to configure Radeon card

2010-10-12 Thread Jake Moe
 On 13/10/10 09:41, Jeff Cranmer wrote:
 Hi,

 I have a Sapphire Radeon HD5750 graphics card installed on my Gentoo
 box, and I'm having some difficulty configuring it.

 When I run fglrxinfo, I get the OpenGL messages for a basic Mesa driver.

 I've attached the xorg.conf file, the Xorg.0.log file, and the results
 of the lspci command.  Can anyone tell me what I'm doing wrong?  I tried
 auto-generating an xorg.conf file, but that would result in a totally
 blank screen.

 Thanks in advance.

 Jeff
Did you run eselect opengl after installing the nVidia driver?

Jake Moe



Re: [gentoo-user] Sniffing / analysis of application / wifi packets on my LAN

2010-10-07 Thread Jake Moe
 On 10/07/10 19:37, Stroller wrote:
 Hi there,

 I'm interested in the activity of an application which is running on my LAN, 
 and was wondering if anyone could offer some quick pointers on the best tools 
 for this these days. I've played with this some years ago, but only very 
 superficially - I think I used wireshark back then.

 Ideally what I want to do is capture a big dump of the traffic over a couple 
 of minutes (so it shouldn't be that much, right?) into a file and then 
 analyse it afterwards based on destination IP, content c. A couple of 
 minutes should allow completion of at least 2 or 3 separate interactions with 
 the server.

 The network is mine, as is the device from which I'm capturing the data. I 
 have a Belkin F5D7010 wifi card, which I think is based on a RaLink rt2x00 
 (rt2400 / rt2500) chipset, and I have my network's WPA key, so I think I can 
 just set the wifi card in passive mode for sniffing. I'm pretty sure I 
 experimented with this card in passive mode before, some years ago. 
 Alternatively, I think I can plug the wifi access-point into my PC, bridge it 
 to a second wired NIC and sniff what's going across the bridge (but I don't 
 think this should be necessary).

 What I'm expecting to see is some image, audio  html files /or xml data 
 transferred, and ideally I'd like to be able to extract it all and view it in 
 its original format. 

 There's likely to be some inevitable other activity on the wLAN whilst this 
 is happening - I'll try to minimise this, but I think the tools should be 
 able filter out any crap I'm not interested in, right?

 I'd prefer as much as possible to use CLI tools for capturing / analysing the 
 data.

 Thanks in advance for any quick pointers you can offer,

 Stroller.


As far as I'm aware, Wireshark is the standard for packet capture and
analysis.  It supports both capture and display filters, so you can
limit it to just what you're interested in.  If the client and server
are both on your LAN, then you should probably go ahead and capture
everything, and then use a display filter to limit it to just the hosts
you need.  That way, if for some reason you find you need to see what
else is going on on the network at a given time, the captured data is
still there, you just broaden the display filter.

As far as CLI tools go, sorry, I'm not sure what's available.  Never had
a need to look into those.  But Wireshark uses libpcap, and digging a
bit shows tcpdump, which is a CLI tool that uses libpcap to capture
data, so it may give you the same functionality.  I've never used it
though, so I can't help further.

Jake Moe



Re: [gentoo-user] Filesystem couldn't be fixed

2010-10-06 Thread Jake Moe
 On 10/06/10 17:57, Maciej Grela wrote:
 2010/10/6 Gaston shuo...@gmail.com:
  hello everyone,I have installed Gentoo,but,when I reboot it,the
 filesystem is readonly,
 Filesystem couldn't be fixed
 how can I solve it,thanks very much


 Did you have a power failure ?
 Have you tried to run fsck on the filesystem after booting from some
 livecd linux (I'd suggest System Rescue CD) ?
 Have you checked your RAM (with memtest86) and HDD (with badblocks) ?

 Best regards,
 Maciej Grela

Can you give the full error text?

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-22 Thread Jake Moe
 On 09/22/10 17:02, Al wrote:
 And for future reference, while looking into various things for this, I
 found these in the Gentoo Wiki:
 USB Portable Install - http://en.gentoo-wiki.com/wiki/USB_Portable_Install
 Portable USB Gentoo - http://en.gentoo-wiki.com/wiki/Portable_USB_Gentoo

 Unfortunately, both use genkernel instead of manually configured
 Fortunately you have improved that, now that you know how how it all works. 
 :-)

 Al

Well, I've written a few Gentoo Wikis before (very basic things), but as
those two articles each say they're up for merging with each other.  I'm
not sure how to do that, and I'm not sure what the proper way of editing
a wiki that someone else wrote in the first place.

Plus, I'm not done yet.  I'm still running into problems.  :-P

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-22 Thread Jake Moe
 On 09/22/10 17:16, J. Roeleveld wrote:
 On Wednesday 22 September 2010 06:36:50 Jake Moe wrote:

 snipped

 Well, now that I've managed to get it booting, the only problem is that
 I can't seem to get the disk label working right.  In GRUB's menu.lst,
 if I use root=LABEL=UsbRoot, it doesn't work (kernel panic, label not
 found, but sda1 is listed as available), but if I use root=/dev/sda1, it
 works.  However, later in the boot process, it mounts / using
 LABEL=UsbRoot in fstab just fine.  Is that a problem with GRUB?  Or the
 kernel?  Or am I doing something else wrong?
 I think someone mentioned earlier in this thread that label support for 
 boot 
 requires an initrd (ramdisk) to work. This could be what you're running into?
Quite possibly.  I seem to be reading the same thing, but I thought I
had heard from the list previously that it was possible.

Actually, I've just found the e-mail I was thinking of before: Alan
McKinnon's reply on 08/31/10 02:32 with the subject Re: [gentoo-user]
Re: Old IDE drives and the newer PATA kernel drivers in which he said
that he's always used labels and never needed an initramfs to make it
work.  So I might have to fiddle with it some more and see if I can't
get it working.
 And for future reference, while looking into various things for this, I
 found these in the Gentoo Wiki:
 USB Portable Install - http://en.gentoo-wiki.com/wiki/USB_Portable_Install
 Portable USB Gentoo - http://en.gentoo-wiki.com/wiki/Portable_USB_Gentoo

 Unfortunately, both use genkernel instead of manually configured
 kernels, so that part doesn't help, but one mentions the option
 scandelay=2 to add to the kernel boot line in GRUB to introduce the
 delay genkernel needed to see the USB device; would have been good to
 know that last week when I was trying genkernel.  :-P
 That is something I noticed for a few Howto's, genkernel is used quite often, 
 but I actually haven't seen the need for it myself yet.

 But I am glad to hear you managed to get it working.
 Did you try trimming down your kernel a bit more to see what the minimum 
 required is? :)

 --
 Joost

No, I'm still trying to get a basic system up and running.  After I
booted into it, I tried to install v86d so I could try to get a
framebuffer working and have more lines on my screen while I try to trim
things down.  However, I quickly ran into an out of space issue, which
I found out was because of inodes, not size.  So I had to copy the
contents off, re-make the partition with more inodes, and then copy the
data back on.  Since then, I haven't had a chance to boot it and see how
it's going.  Hope to tomorrow.

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-21 Thread Jake Moe
 On 21/09/10 17:26, J. Roeleveld wrote:
 On Tuesday 21 September 2010 07:35:13 Jake Moe wrote:
  On 16/09/10 21:30, J. Roeleveld wrote:
 snipped old stuff

 Please bear in mind, I have not actually used nor needed a ramdisk to
 boot from ever since I started using Gentoo.
 Not even when I played with booting from USB-sticks myself.
 I simply build the kernel with all the necessary drivers compiled-in and
 used that to boot from.

 This might also be an idea for you?

 --
 Joost

 Eg. if you do the mknod-commands to build the /dev/sda, /dev/sda1,
 device nodes, then it should be able to continue.
 Well, I've finally gotten this to work with a manually config'ed
 kernel.  Before, I was only getting kernel panics.  Now, after your
 comment all compiled-in, I took the old config I tried, did a sed to
 change all =m to =y, and recompiled, and it worked.  So obviously,
 there was some option that I wasn't building into the kernel (only as a
 module) that was needed to start from USB.
 That's generally a good way to start, stick everything in the kernel :)

 I had previously started from a working config I had previously used for
 the same model PC that I was doing my testing on, and just changed the
 USB drivers from modules to built-in, but apparently that's not enough.
 Any ideas what else is needed for a USB-stick boot that's not needed in
 a SATA boot?  I'd like to a) find out what I missed, and b) be able to
 cull the kernel back down again, so I can build up lots of SATA,
 graphics and audio modules to make this able to boot (and work properly)
 on other systems.
 Ok, doing this from memory here.
 To be able to boot from USB, you need (additionally to what you normally 
 have):
 1) USB Host drivers (OHCI,UHCI,EHCI,...)
 2) USB Mass Storage
 3) file system on the USB-stick
 4) SCSI-disk (USB Mass storage depends on this)

 If others can also have a quick look on this list to check that I didn't miss 
 anything?

 --
 Joost

Well, now that I've managed to get it booting, the only problem is that
I can't seem to get the disk label working right.  In GRUB's menu.lst,
if I use root=LABEL=UsbRoot, it doesn't work (kernel panic, label not
found, but sda1 is listed as available), but if I use root=/dev/sda1, it
works.  However, later in the boot process, it mounts / using
LABEL=UsbRoot in fstab just fine.  Is that a problem with GRUB?  Or the
kernel?  Or am I doing something else wrong?

And for future reference, while looking into various things for this, I
found these in the Gentoo Wiki:
USB Portable Install - http://en.gentoo-wiki.com/wiki/USB_Portable_Install
Portable USB Gentoo - http://en.gentoo-wiki.com/wiki/Portable_USB_Gentoo

Unfortunately, both use genkernel instead of manually configured
kernels, so that part doesn't help, but one mentions the option
scandelay=2 to add to the kernel boot line in GRUB to introduce the
delay genkernel needed to see the USB device; would have been good to
know that last week when I was trying genkernel.  :-P

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-20 Thread Jake Moe
 On 16/09/10 21:30, J. Roeleveld wrote:
 On Thursday 16 September 2010 12:01:43 Jake Moe wrote:
  On 09/16/10 16:22, J. Roeleveld wrote:
 On Thursday 16 September 2010 00:34:39 Jake Moe wrote:
  On 16/09/10 08:26, Dale wrote:
 Jake Moe wrote:
 Thanks for that, I'll rebuild the genkernel with blkid support.

 As to the second suggestion, there is *no* /dev/sda1 (the partition in
 question).  It just doesn't exist for some reason.  However, fstab
 shows that it's mounted, and /sys/block has entries for the disk, so
 I'm not sure why it's dropped out.  I'm guessing it has something to
 do with udevd, or uevents?  Because shortly before that, I tell it to
 find the root partition at /dev/sda1, and it starts to boot, but then
 it loses it.

 Jake Moe
 The file fstab doesn't show what is mounted.  Either use the command
 mount with no options or cat /etc/mtab to see what is actually
 mounted.

 Dale

 :-)  :-)
 Gah, it's too early.  That's what I meant to say (and previously said in
 my original post): when I run mount, it shows /dev/sda1 is mounted on
 /.

 Jake Moe
 I wonder if it looses the /dev tree when it mounts the root-partition
 read only prior to running the fsck.
 That could explain why it's not there.

 Try building a dummy /dev-tree on your root partition with the correct
 device- nodes hardcoded for /dev/sdxx and see how far you get then?

 --
 Joost
 Erm, you've gone a bit beyond my knowledge there.  Are you saying I
 should go into the maintenance console, create a dummy /devdir, and try
 to mknod the hard drive?  I assume I'd use something like 'mknod
 /dev/sda c 8 0'?  If not, what do you mean, cause you've lost me.

 Jake Moe
 Ok, what I mean is that I think the following might happen:

 1) root-dir from ramdisk is mounted under /
 2) dev-tree is mounted under /dev
 3) /dev/sda1 is mounted under /
 4) at this point, /dev might no longer be accessible.

 Now, if you make sure that on the USB-root (/dev/sda1) the folder /dev is 
 actually populated, then it might continue through the boot-process.

 Or, as you mentioned, issue mknod ...  commands while in that 
 maintenance console, then it might be able to find the /dev/sda, 
 /dev/sda1,... 
 devices and continue.

 Please bear in mind, I have not actually used nor needed a ramdisk to boot 
 from ever since I started using Gentoo.
 Not even when I played with booting from USB-sticks myself.
 I simply build the kernel with all the necessary drivers compiled-in and used 
 that to boot from.

 This might also be an idea for you?

 --
 Joost

 Eg. if you do the mknod-commands to build the /dev/sda, /dev/sda1, device 
 nodes, then it should be able to continue.

Well, I've finally gotten this to work with a manually config'ed
kernel.  Before, I was only getting kernel panics.  Now, after your
comment all compiled-in, I took the old config I tried, did a sed to
change all =m to =y, and recompiled, and it worked.  So obviously,
there was some option that I wasn't building into the kernel (only as a
module) that was needed to start from USB.

I had previously started from a working config I had previously used for
the same model PC that I was doing my testing on, and just changed the
USB drivers from modules to built-in, but apparently that's not enough. 
Any ideas what else is needed for a USB-stick boot that's not needed in
a SATA boot?  I'd like to a) find out what I missed, and b) be able to
cull the kernel back down again, so I can build up lots of SATA,
graphics and audio modules to make this able to boot (and work properly)
on other systems.

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-16 Thread Jake Moe
 On 09/16/10 16:22, J. Roeleveld wrote:
 On Thursday 16 September 2010 00:34:39 Jake Moe wrote:
  On 16/09/10 08:26, Dale wrote:
 Jake Moe wrote:
 Thanks for that, I'll rebuild the genkernel with blkid support.

 As to the second suggestion, there is *no* /dev/sda1 (the partition in
 question).  It just doesn't exist for some reason.  However, fstab shows
 that it's mounted, and /sys/block has entries for the disk, so I'm not
 sure why it's dropped out.  I'm guessing it has something to do with
 udevd, or uevents?  Because shortly before that, I tell it to find the
 root partition at /dev/sda1, and it starts to boot, but then it loses
 it.

 Jake Moe
 The file fstab doesn't show what is mounted.  Either use the command
 mount with no options or cat /etc/mtab to see what is actually mounted.

 Dale

 :-)  :-)
 Gah, it's too early.  That's what I meant to say (and previously said in
 my original post): when I run mount, it shows /dev/sda1 is mounted on /.

 Jake Moe
 I wonder if it looses the /dev tree when it mounts the root-partition read 
 only prior to running the fsck.
 That could explain why it's not there.

 Try building a dummy /dev-tree on your root partition with the correct device-
 nodes hardcoded for /dev/sdxx and see how far you get then?

 --
 Joost

Erm, you've gone a bit beyond my knowledge there.  Are you saying I
should go into the maintenance console, create a dummy /devdir, and try
to mknod the hard drive?  I assume I'd use something like 'mknod
/dev/sda c 8 0'?  If not, what do you mean, cause you've lost me.

Jake Moe



Re: [gentoo-user] no keyboard

2010-09-16 Thread Jake Moe
): RADEONRestoreMemMapRegisters() :
 (II) RADEON(0):   MC_FB_LOCATION   : 0x00d700c0 0x00d700c0
 (II) RADEON(0):   MC_AGP_LOCATION  : 0x
 (II) RADEON(0): avivo_restore !
 Enable CRTC 0 success
 Enable CRTC memreq 0 success
 Unblank CRTC 0 success
 (II) Power Button: Close
 (II) UnloadModule: evdev
 (II) Power Button: Close
 (II) UnloadModule: evdev
 (II) C-Media USB Headphone Set: Close
 (II) UnloadModule: evdev
 (II) Logitech USB Gaming Mouse: Close
 (II) UnloadModule: evdev
 (II) AT Translated Set 2 keyboard: Close
 (II) UnloadModule: evdev
 (II) RADEON(0): [drm] removed 1 reserved context for kernel
 (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x2b7ff000 at
 0x7f7370b01000
 (II) RADEON(0): [drm] Closed DRM master.







 --
 Sourcegarden GmbH HR: B-104357
 Steuernummer: 37/167/21214 USt-ID: DE814784953
 Geschaeftsfuehrer: Mario Scheliga, Rene Otto
 Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
 Schoenhauser Allee 55, 10437 Berlin

I've run into a similar situation in with my installs.  The problem
comes from the fact that in the kernel configuration, HID support
options come *before* USB support options.  If USB is originally off,
then when you first go through the HID options, the USB Keyboard option
isn't there.

So you need:
CONFIG_USB
one or more of the following (as appropriate for your system)
  CONFIG_USB_EHCI_HCD
  CONFIG_USB_OHCI_HCD
  CONFIG_USB_UHCI_HCD
CONFIG_HID_USB

to make your USB keyboard work.

Jake Moe



Re: [gentoo-user] no keyboard

2010-09-16 Thread Jake Moe
 On 17/09/10 04:33, a...@sourcegarden.de wrote:
  On 09/16/10 19:46, Jake Moe wrote:
 On 09/17/10 02:00, a...@sourcegarden.de wrote:
 On 09/16/10 17:55, Neil Bothwick wrote:
 On Thu, 16 Sep 2010 17:47:50 +0200, a...@sourcegarden.de
 wrote:

 So i try out, startx was successfully but also, no keyboard.
 i got now a xorg.conf, so i will try to deal with this
 hope it will better
 ;/No both
 So it's only X? What's the result of grepping the log file?


 No both got no keyboard, tty and X. Here the Xorg.0.log:

 X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version
 11, Revision 0 Build Operating System: Linux 2.6.34-gentoo-r6
 x86_64 Current Operating System: Linux akendo 2.6.34-gentoo-r6 #1
 SMP Wed Sep 15 15:25:29 CEST 2010 x86_64 Kernel command line:
 root=/dev/ram0 init=/linuxrc ramdisk=4098 real_root=/dev/sda5
 vga=0x346 Build Date: 15 September 2010 07:52:34PM

 Current version of pixman: 0.18.2 Before reporting problems,
 check http://wiki.x.org to make sure that you have the latest
 version. Markers: (--) probed, (**) from config file, (==)
 default setting, (++) from command line, (!!) notice, (II)
 informational, (WW) warning, (EE) error, (NI) not implemented,
 (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Sep
 16 15:44:42 2010 (++) Using config file: /root/xorg.conf.new
 (==) ServerLayout X.org Configured (**) |--Screen Screen0
 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0
 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0
 (==) Automatically adding devices (==) Automatically enabling
 devices (WW) The directory /usr/share/fonts/TTF/ does not
 exist. Entry deleted from font path. (WW) The directory
 /usr/share/fonts/OTF does not exist. Entry deleted from font
 path. (WW) The directory /usr/share/fonts/Type1/ does not
 exist. Entry deleted from font path. (WW) `fonts.dir' not found
 (or not valid) in /usr/share/fonts/100dpi/. Entry deleted from
 font path. (Run 'mkfontdir' on /usr/share/fonts/100dpi/). (WW)
 `fonts.dir' not found (or not valid) in
 /usr/share/fonts/75dpi/. Entry deleted from font path. (Run
 'mkfontdir' on /usr/share/fonts/75dpi/). (WW) The directory
 /usr/share/fonts/TTF/ does not exist. Entry deleted from font
 path. (WW) The directory /usr/share/fonts/OTF does not exist.
 Entry deleted from font path. (WW) The directory
 /usr/share/fonts/Type1/ does not exist. Entry deleted from font
 path. (WW) `fonts.dir' not found (or not valid) in
 /usr/share/fonts/100dpi/. Entry deleted from font path. (Run
 'mkfontdir' on /usr/share/fonts/100dpi/). (WW) `fonts.dir' not
 found (or not valid) in /usr/share/fonts/75dpi/. Entry deleted
 from font path. (Run 'mkfontdir' on /usr/share/fonts/75dpi/).
 (**) FontPath set to: /usr/share/fonts/misc/,
 /usr/share/fonts/misc/ (**) ModulePath set to
 /usr/lib64/xorg/modules (WW) AllowEmptyInput is on, devices
 using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW)
 Disabling Mouse0 (WW) Disabling Keyboard0 (II) Loader magic:
 0x7bc800 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4
 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server
 Extension : 2.0 (--) using VT number 7

 (--) PCI:*(0:1:5:0) 1002:9614:1849:9614 ATI Technologies Inc
 Radeon HD 3300 Graphics rev 0, Mem @ 0xd000/268435456,
 0xfe9f/65536, 0xfe80/1048576, I/O @ 0xc000/256 (WW)
 Open ACPI failed (/var/run/acpid.socket) (No such file or
 directory) (II) extmod will be loaded. This was enabled by
 default and also specified in the config file. (II) dbe will be
 loaded. This was enabled by default and also specified in the
 config file. (II) glx will be loaded. This was enabled by
 default and also specified in the config file. (II) record will
 be loaded. This was enabled by default and also specified in the
 config file. (II) dri will be loaded. This was enabled by
 default and also specified in the config file. (II) dri2 will
 be loaded. This was enabled by default and also specified in the
 config file. (II) LoadModule: dri (II) Loading
 /usr/lib64/xorg/modules/extensions/libdri.so (II) Module dri:
 vendor=X.Org Foundation compiled for 1.7.7, module version =
 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading
 extension XFree86-DRI (II) LoadModule: dri2 (II) Loading
 /usr/lib64/xorg/modules/extensions/libdri2.so (II) Module dri2:
 vendor=X.Org Foundation compiled for 1.7.7, module version =
 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading
 extension DRI2 (II) LoadModule: extmod (II) Loading
 /usr/lib64/xorg/modules/extensions/libextmod.so (II) Module
 extmod: vendor=X.Org Foundation compiled for 1.7.7, module
 version = 1.0.0 Module class: X.Org Server Extension ABI class:
 X.Org Server Extension, version 2.0 (II) Loading extension
 MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension
 (II) Loading extension XFree86-DGA (II) Loading extension DPMS
 (II) Loading extension XVideo (II) Loading extension
 XVideo-MotionCompensation (II) Loading extension X

Re: [gentoo-user] no keyboard

2010-09-16 Thread Jake Moe
 On 17/09/10 07:38, a...@sourcegarden.de wrote:
  This make me crazy, no keyboard and i need the system :( , why the
 same keyboard work on my laptop without a problem?

 --
 Sourcegarden GmbH HR: B-104357
 Steuernummer: 37/167/21214 USt-ID: DE814784953
 Geschaeftsfuehrer: Mario Scheliga, Rene Otto
 Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
 Schoenhauser Allee 55, 10437 Berlin

Maybe you already have USB HID support in your laptop kernel?

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-15 Thread Jake Moe
 On 15/09/10 20:10, YoYo Siska wrote:
 On Wed, Sep 15, 2010 at 08:34:33AM +1000, Jake Moe wrote:
  On 15/09/10 04:28, YoYo Siska wrote:
 On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote:
 On Fri, 10 Sep 2010 11:05:12 +0200
 J. Roeleveld wrote:

 On Friday 10 September 2010 10:43:30 Jake Moe wrote:
   On 10/09/2010 5:27 PM, Maciej Grela wrote:
 2010/9/10 Jake Moejakesaddr...@gmail.com:
   Hello all,

 I've been thinking about creating a Gentoo USB stick for install
 and rescue purposes (and, of course, just to see if I could).
 I've mostly followed the Gentoo handbook (I used a single 4GB
 partition for the whole system, and no swap).  I've used
 genkernel for the kernel (so I can have a multi-system capable
 kernel).  I've gotten GRUB installed and working.  My problem
 comes in after what I believe is the init process:
   * Checking root filesystem ...

 fsck.ext2: No such file or directory while trying to
 open /dev/sda1 /dev/sda1:
 The superblock could not be read or does not describe a correct
 ext2 filesystem.  If the device is valid and it really contains
 an ext2 filesystem (and not swap or ufs or something else), then
 the superblock

 is corrupt, and you might try running e2fsck with an alternate
 superblock:
 e2fsck -b 8193device

   * Filesystem couldn't be
 fixed :( [

 !! ]
 Give root password for maintenance
 (or type Control-D to continue):


 If I give the root password, I can find no /dev/sda1.  However,
 mount shows /dev/sda1 on /, and there *is* a /sys/block/sda
 folders, with a sda1 folder in that as well.  It's almost like
 it had /dev/sda1, but then lost it somehow.

 Does anyone have any idea what's going on here?  Any help would
 be appreciated.
 Have you seen http://www.sysresccd.org/Main_Page ? It's based on
 Gentoo, you could check what they did to boot from a usb stick.

 Br,
 Maciej Grela
 Excellent, thanks for that, I hadn't found it in my previous
 searches. I'll have a look there.

 Jake Moe
 Had a similar issue a while ago when I was playing around with this
 myself.

 Take a look at the linux boot parameters.

 The 'theoretical' part is: You need to let the kernel initialize the
 USB-stick before trying to access it. (This can take some time)

 There is a delay-option, just can't remember the proper name off-hand.

 --
 Joost
 I've got USB booting working in a syslinux environment.  A delay of 12
 seconds is working for me.  The syslinux.cfg stanza I use is:

 LABEL usb
 KERNEL linux
 APPEND rootdelay=12 root=/dev/sda2
 The usual way for linux on removable usb sticks / disks is to use LABEL
 or UUID to identify the disks and not the device names, because they
 will be different in different computers ;) The downside is that you
 need an initrd to mount the root partition... I think that the usual
 initrd generated by genkernel works...

 If you created the rootfs with:
 mkfs.ext2 -j -LUSBGentoo  /dev/sdXY

 then you can change the kernel parameter to
 root=LABEL=USBGentoo

 and your fstab to:
 LABEL=USBGentoo /   ext3 ...

 You can also use the uuid of the filesystem, find it out with
 dumpe2fs -h  /dev/sdb2 | grep UUID
 and then use UUID=XXX instead of LABEL=XXX

 I never really played around with grub and  USB booting, so I use
 syslinux. I create a small FAT partition with syslinux, kernel and
 initrd image  (it gets also pretty handy when you sometimes need to copy
 something from a windows machine ;) and a second regular ext3
 partition for the rootfs.

 Basically you would do:
 - partition the stick, mark the FAT partition as bootable/active
 - format the partitions:
   - mkfs.vfat -nUSBData /dev/sdX1
   - mkfs.ext2 -j -LUSBGentoo /dev/sdX2
 - install syslinux (on the FAT partition):
   - syslinux /dev/sdX1
 - mount /dev/sdX2, install gentoo in the usual way
 - compile the kernel and initrd, make sure required USB stuff is in the 
 kernel
(theoretically it could be as modules in initrd... but in-kernel is 
 safer :)
   if you are in a hurry, or don't know how to create them, get them from
   a gentoo livecd ;) don't forget to also copy the modules
   (/lib/modules-XXX/...) from the livecd to the rootfs.
 - put the kernel and initrd on the FAT partition (I name them  vmlinuz.img
   and initrd.img)
 - edit syslinux.cfg (on the FAT partition), see
   
 http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F
   a very simple one from my USB disk:

 DEFAULT linux
 LABEL linux
 SAY Now booting USBGentoo
 KERNEL vmlinuz.img
 APPEND root=LABEL=USBGentoo initrd=initrd.img

 you might also add rootdelay=10 to the options if the usb stick/disk isn't
 detected quick enough

 umount, reboot, set the computer to boot from usb, enjoy... ;)
 Xorg without a config seems to work pretty well on most computers these
 days, IIRC the alsa modules for soundcards are also autoloaded, so you
 don't need any fancy hw detection to have a desktop running from USB
 stick ;)


 yoyo



 BTW there is also a manual way to boot

Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-15 Thread Jake Moe
 On 16/09/10 08:26, Dale wrote:
 Jake Moe wrote:
 Thanks for that, I'll rebuild the genkernel with blkid support.

 As to the second suggestion, there is *no* /dev/sda1 (the partition in
 question).  It just doesn't exist for some reason.  However, fstab shows
 that it's mounted, and /sys/block has entries for the disk, so I'm not
 sure why it's dropped out.  I'm guessing it has something to do with
 udevd, or uevents?  Because shortly before that, I tell it to find the
 root partition at /dev/sda1, and it starts to boot, but then it loses
 it.

 Jake Moe



 The file fstab doesn't show what is mounted.  Either use the command
 mount with no options or cat /etc/mtab to see what is actually mounted.

 Dale

 :-)  :-)

Gah, it's too early.  That's what I meant to say (and previously said in
my original post): when I run mount, it shows /dev/sda1 is mounted on /.

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-15 Thread Jake Moe
 On 16/09/10 08:18, Al wrote:
 As to the second suggestion, there is *no* /dev/sda1 (the partition in
 question).  It just doesn't exist for some reason.  However, fstab shows
 that it's mounted, and /sys/block has entries for the disk, so I'm not
 sure why it's dropped out.  I'm guessing it has something to do with
 udevd, or uevents?  Because shortly before that, I tell it to find the
 root partition at /dev/sda1, and it starts to boot, but then it loses it.

 What is that in concrete, it starts? What do you see, hear, smell?

 Al

I'm not sure what you're asking.  Can you elaborate as to what you're
asking?

As I'm in an office, there is no concrete nearby for anything to be in. 
I see my monitor, I hear my mp3's playing, and I smell my peppermint
tea.  But I'm pretty sure that's not what you're asking me.  :-P

If you're asking what, specifically, I mean by it starts, my previous
posts show how far into the boot process it gets.  If I specify by
/dev/sda1, eventually it gets to checking that partition for errors, but
fails to find the partition.  If I specify by LABEL, then it tells me it
can't find the label a bit earlier in the boot process, and asks where
it can find the root partition.  When I tell it /dev/sda1, it continues
to boot, only to stop again at fsck'ing the partition.  If I put in the
root password for maintenance and have a look, there is no /dev/sda or
/dev/sda1 in /dev (nor /dev/hd?, nor /dev/sr?).  But a mount command
shows /dev/sda1 mounted at /.  And /sys/block has sda and under that,
sda1.  So it's like it sees it, but then it doesn't.

Following the sugegstion from YoYo Siska, I've had a look at the various
options I can pass to genkernel (I had followed the handbook previously,
and hadn't realized there were options I could pass), and am currently
rebuilding it with the following command: genkernel --install --slowusb
--disklabel all.  YoYo pointed out that there was a --disklabel option
to pass that'd add disk label support to the kernel, and I noticed the
--slowusb option that, from my research, sounds like it may have
something to do with my problem.  Will let you know after I try that
what the results are.

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-15 Thread Jake Moe
 On 16/09/10 09:04, Al wrote:
 As I'm in an office, there is no concrete nearby for anything to be in.
 Lol. Well, there are some other meanings in the latin word concretus.
 The didn't even have that bleak modern material. We have a different
 name for it in german and use concretus more in the original sense.

 If you're asking what, specifically, I mean by it starts, my previous
 posts show how far into the boot process it gets.  If I specify by
 /dev/sda1, eventually it gets to checking that partition for errors, but
 fails to find the partition.  If I specify by LABEL, then it tells me it
 I am still asking myself, if it is the USB stick at all that you see
 starting. Couldn't it be a kernel from the inbuild hard disk? ... wich
 you would *hear* in that case ... maybe even smell or feel ...

 Hence I ask you if there linux kernel on the first or second partition
 of your disk.

 Al

Ah, I see.  For this test, I have a second PC that I've unplugged the
hard drive from.  And it's hard drive currently has a work Windows image
on it, anyway, so it's definitely not booting from that.  :-)

I also have finished my new kernel.  It now recognizes the root device
by label, but still hangs on the fsck.  Any more bright ideas?  Surely
someone has done this already; I can't be the first to try it.  Hasn't
someone else put a Gentoo install on a USB stick?

If I'm correct in my assumptions, it sounds as though GRUB and the
kernel are seeing it right, but something in the Gentoo init scripts is
breaking it.  Can anyone even comment if that assumption is correct? 
I'm not entirely clear on genkernel and the initramfs it provides, and
at what step each of these takes effect.

Jake Moe



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-14 Thread Jake Moe

 On 15/09/10 04:28, YoYo Siska wrote:

On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote:

On Fri, 10 Sep 2010 11:05:12 +0200
J. Roeleveld wrote:


On Friday 10 September 2010 10:43:30 Jake Moe wrote:

   On 10/09/2010 5:27 PM, Maciej Grela wrote:

2010/9/10 Jake Moejakesaddr...@gmail.com:

   Hello all,

I've been thinking about creating a Gentoo USB stick for install
and rescue purposes (and, of course, just to see if I could).
I've mostly followed the Gentoo handbook (I used a single 4GB
partition for the whole system, and no swap).  I've used
genkernel for the kernel (so I can have a multi-system capable
kernel).  I've gotten GRUB installed and working.  My problem
comes in after what I believe is the init process:


Gentoo Linux; http://www.gentoo.org

   Copyright 1999-2009 Gentoo Foundation; Distributed under the
GPLv2

Press I to enter interactive boot mode

   * Mounting proc
at /proc ... [

ok ]

   * Mounting sysfs
at /sys ... [

ok ]

   *
Mounting /dev ... [

ok ]

   * Starting
udevd ... [

ok ]

   * Populating /dev with existing devices through
uevents ... [

ok ]

   * Waiting for uevents to be
processed ... [

ok ]

   * Mounting devpts
at /dev/pts ... [

ok ]

   * Checking root filesystem ...

fsck.ext2: No such file or directory while trying to
open /dev/sda1 /dev/sda1:
The superblock could not be read or does not describe a correct
ext2 filesystem.  If the device is valid and it really contains
an ext2 filesystem (and not swap or ufs or something else), then
the superblock

is corrupt, and you might try running e2fsck with an alternate

superblock:

 e2fsck -b 8193device

   * Filesystem couldn't be
fixed :( [

!! ]
Give root password for maintenance
(or type Control-D to continue):


If I give the root password, I can find no /dev/sda1.  However,
mount shows /dev/sda1 on /, and there *is* a /sys/block/sda
folders, with a sda1 folder in that as well.  It's almost like
it had /dev/sda1, but then lost it somehow.

Does anyone have any idea what's going on here?  Any help would
be appreciated.

Have you seen http://www.sysresccd.org/Main_Page ? It's based on
Gentoo, you could check what they did to boot from a usb stick.

Br,
Maciej Grela

Excellent, thanks for that, I hadn't found it in my previous
searches. I'll have a look there.

Jake Moe

Had a similar issue a while ago when I was playing around with this
myself.

Take a look at the linux boot parameters.

The 'theoretical' part is: You need to let the kernel initialize the
USB-stick before trying to access it. (This can take some time)

There is a delay-option, just can't remember the proper name off-hand.

--
Joost

I've got USB booting working in a syslinux environment.  A delay of 12
seconds is working for me.  The syslinux.cfg stanza I use is:

LABEL usb
KERNEL linux
APPEND rootdelay=12 root=/dev/sda2

The usual way for linux on removable usb sticks / disks is to use LABEL
or UUID to identify the disks and not the device names, because they
will be different in different computers ;) The downside is that you
need an initrd to mount the root partition... I think that the usual
initrd generated by genkernel works...

If you created the rootfs with:
mkfs.ext2 -j -LUSBGentoo  /dev/sdXY

then you can change the kernel parameter to
root=LABEL=USBGentoo

and your fstab to:
LABEL=USBGentoo /   ext3 ...

You can also use the uuid of the filesystem, find it out with
dumpe2fs -h  /dev/sdb2 | grep UUID
and then use UUID=XXX instead of LABEL=XXX

I never really played around with grub and  USB booting, so I use
syslinux. I create a small FAT partition with syslinux, kernel and
initrd image  (it gets also pretty handy when you sometimes need to copy
something from a windows machine ;) and a second regular ext3
partition for the rootfs.

Basically you would do:
- partition the stick, mark the FAT partition as bootable/active
- format the partitions:
   - mkfs.vfat -nUSBData /dev/sdX1
   - mkfs.ext2 -j -LUSBGentoo /dev/sdX2
- install syslinux (on the FAT partition):
   - syslinux /dev/sdX1
- mount /dev/sdX2, install gentoo in the usual way
- compile the kernel and initrd, make sure required USB stuff is in the kernel
(theoretically it could be as modules in initrd... but in-kernel is safer :)
   if you are in a hurry, or don't know how to create them, get them from
   a gentoo livecd ;) don't forget to also copy the modules
   (/lib/modules-XXX/...) from the livecd to the rootfs.
- put the kernel and initrd on the FAT partition (I name them  vmlinuz.img
   and initrd.img)
- edit syslinux.cfg (on the FAT partition), see
   
http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F
   a very simple one from my USB disk:

DEFAULT linux
LABEL linux
SAY Now booting USBGentoo
KERNEL vmlinuz.img
APPEND root=LABEL=USBGentoo initrd=initrd.img

you might also add rootdelay=10 to the options if the usb stick/disk isn't
detected quick enough

umount, reboot, set the computer to boot from usb

Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-10 Thread Jake Moe

 On 10/09/2010 5:27 PM, Maciej Grela wrote:

2010/9/10 Jake Moejakesaddr...@gmail.com:

  Hello all,

I've been thinking about creating a Gentoo USB stick for install and rescue
purposes (and, of course, just to see if I could).  I've mostly followed the
Gentoo handbook (I used a single 4GB partition for the whole system, and no
swap).  I've used genkernel for the kernel (so I can have a multi-system
capable kernel).  I've gotten GRUB installed and working.  My problem comes
in after what I believe is the init process:


Gentoo Linux; http://www.gentoo.org
  Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

  * Mounting proc at /proc ... [
ok ]
  * Mounting sysfs at /sys ... [
ok ]
  * Mounting /dev ...  [
ok ]
  * Starting udevd ... [
ok ]
  * Populating /dev with existing devices through uevents ...  [
ok ]
  * Waiting for uevents to be processed ...[
ok ]
  * Mounting devpts at /dev/pts ...[
ok ]
  * Checking root filesystem ...
fsck.ext2: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193device

  * Filesystem couldn't be fixed :([
!! ]
Give root password for maintenance
(or type Control-D to continue):


If I give the root password, I can find no /dev/sda1.  However, mount shows
/dev/sda1 on /, and there *is* a /sys/block/sda folders, with a sda1 folder
in that as well.  It's almost like it had /dev/sda1, but then lost it
somehow.

Does anyone have any idea what's going on here?  Any help would be
appreciated.


Have you seen http://www.sysresccd.org/Main_Page ? It's based on
Gentoo, you could check what they did to boot from a usb stick.

Br,
Maciej Grela

Excellent, thanks for that, I hadn't found it in my previous searches.  
I'll have a look there.


Jake Moe



[gentoo-user] Booting Gentoo from USB stick

2010-09-09 Thread Jake Moe

 Hello all,

I've been thinking about creating a Gentoo USB stick for install and 
rescue purposes (and, of course, just to see if I could).  I've mostly 
followed the Gentoo handbook (I used a single 4GB partition for the 
whole system, and no swap).  I've used genkernel for the kernel (so I 
can have a multi-system capable kernel).  I've gotten GRUB installed and 
working.  My problem comes in after what I believe is the init process:



Gentoo Linux; http://www.gentoo.org
 Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc 
... [ ok ]
 * Mounting sysfs at /sys 
... [ ok ]
 * Mounting /dev 
...  [ ok ]
 * Starting udevd 
... [ ok ]
 * Populating /dev with existing devices through uevents 
...  [ ok ]
 * Waiting for uevents to be processed 
...[ ok ]
 * Mounting devpts at /dev/pts 
...[ ok ]

 * Checking root filesystem ...
fsck.ext2: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

 * Filesystem couldn't be fixed 
:([ !! ]

Give root password for maintenance
(or type Control-D to continue):


If I give the root password, I can find no /dev/sda1.  However, mount 
shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a 
sda1 folder in that as well.  It's almost like it had /dev/sda1, but 
then lost it somehow.


Does anyone have any idea what's going on here?  Any help would be 
appreciated.


Jake Moe



Re: [gentoo-user] [OT] ProFTPd problem with anonymous access

2010-09-08 Thread Jake Moe
 On 09/09/10 11:35, Adam Carter wrote:
  Looking further, I found that when I try to log into the laptop

 as anonymous, I get a 530-Unable to set anonymous privileges error, and
 in /var/log/messages, I see: ftp: Directory /usr/portage/ is not
 accessible.


 Have you tried su'ing to the ftp user to make sure you can still get to
 /usr/portage via a shell?

 Tried running strace against the ftpd?

 BTW - http replicator works well for distfiles. It might just be easier to
 use that.

 http://webcache.googleusercontent.com/search?q=cache:BpP7JqMShS0J:www.gentoo-wiki.info/HOWTO_Download_Cache_for_LAN-Http-Replicator+http+replicator+gentoocd=4hl=enct=clnkgl=au

1) I thought of that, but what password does Portage give it (if any)? 
If I change it, will it affect the use of my system at all?
2) Never used strace.  I was under the impression that it was a
debugger, and I don't know enough about programming to be able to
understand that.  But looking into it now, it appears it may be used
more simply to give a better idea of what's going on.  I'll give it a try.
3) I'll have a look at http replicator, thanks.

Jake Moe



Re: [gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-07 Thread Jake Moe
 On 07/09/10 23:11, Eray Aslan wrote:
 On 07.09.2010 15:29, Alan McKinnon wrote:
 I figure that just like a top-grade mechanic should be looking at SnapOns or 
 similar in his toolbox, this here sysadmin also needs high quality tools. My 
 chief tool is my notebook.
 It's the weight not the price that is the deciding factor us.  I guess
 depends on how much traveling you do.  There is no one final ultimate
 answer.  It depends.  Labeling low res solutions as cheap crap was
 uncalled for.
He didn't say low res = cheap crap.  He said student and budget
ranges were cheap crap.  Our execs like smaller laptops (not netbooks)
that are easier to use on airplanes that, because of the smaller screen
size, have lower resolutions.  That's not to say they're cheap crap;
just because they're small doesn't mean they're no good.

Jake Moe



Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread Jake Moe
 On 09/06/10 18:55, alain.didierj...@free.fr wrote:
 For some unknown reason, my DVD r/w device is not detected as such by udev:
 I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
 time and k3b returns
  No optical drive found.
 K3b did not find any optical device in your system.
 Solution : Make sure HAL daemon is running, it is used by K3b for finding
 devices.
 Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d 
 contains
  70-persistent-cd.rules. Where should I look now to fix the problem ?

 --
 ~adj~
What's the contents of 70-persistent-cd.rules?  I recently had the same
problem on a HP laptop; the DVD drive worked in most things, but not in
K3B, and I tracked the root down to the fact that while I could see
/dev/sr0, the symlinks for /dev/[cdrom,cdrw,dvd,dvdrw] weren't there.  I
could mount /dev/sr0 and the drive worked, but K3B never found the
drive.  I believe I fixed it by editing that rules file somehow.  I
can't remember while laptop it was on, but here's the two
70-persistent-cd.rules files I have:

(I think this one was the one that worked)

# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CDDVDW_TS-L633N (pci-:00:1f.2-scsi-1:0:0:0)
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=cdrom,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=cdrw,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=dvd,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=dvdrw,
ENV{GENERATED}=1

(I think this one was the one that I had to rewrite myself)

SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=cdrom, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=cdrw, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=dvd, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=dvdrw, GROUP=cdrom

HTH,

Jake Moe



[gentoo-user] [OT] ProFTPd problem with anonymous access

2010-09-06 Thread Jake Moe
 Hello all,

I'm hoping someone on the list can help me out with a problem I'm having
(or at least point me in the direction of a RTFM).  I've got my laptop
set up as a local rsync and source mirror for a PC at work and another
laptop at home.  The laptop has /usr/portage shared anonymously, so
whatever distfile it's already downloaded, the other computers don't
need to go out to the Internet to retrieve.  This has been working for a
little while now.  However, recently I noticed that one of the local
computers were going out to the Internet to retrieve the newest
gentoo-sources, which I knew had already been downloaded on the mirror
laptop.  Looking further, I found that when I try to log into the laptop
as anonymous, I get a 530-Unable to set anonymous privileges error, and
in /var/log/messages, I see: ftp: Directory /usr/portage/ is not accessible.

This setup used to work for a while, but looking back through
/var/log/messages, it appears this started on 1 Sept.  Going back
through my emerge.log shows that the previous day, Portage had updated
wine, and installed bar.  Then later that day, I must have changed a USE
flag for hal, because then I see policykit being installed, then hal
being rebuilt.  Then I was trying to help a friend get data off a disk
their kids had wiped, so I installed testdisk, gpart and gparted.

The next day sees iputils, apache-tools, apache, docbook-xml-dtd-4.2,
and deskbar-applet being updated.  I was having troubles with the
upgrade-then-downgrade of dhcpcd and upgrade of gentoo-sources-2.6.35,
so later that day saw me unmasking dhcpcd-5.2.7 and re-upgrading that.

As far as I can tell, ProFTPd should be trying to access that folder
with the ftp account that Portage set up for me.  And permissions on
both /usr and /usr/portage give r-x to other.  So if I understand
correctly, it *should* be able to access that folder, at least
read-only.  Changing it to rwx for other doesn't fix it, either.

Attached is my proftpd.conf, as configured according to
http://www.gentoo-wiki.info/HOWTO_Setup_local_Portage_and_Package_Mirror
(and which had been worked previously).  Any help would be appreciated.

Jake Moe
ServerName  aus10224
ServerType  standalone
DefaultServer   on
RequireValidShell   off
AuthPAM off
AuthPAMConfig   ftp
Port21
Umask   022
MaxInstances30

Userftp
Group   ftp
# These need to be changed to use the standard ftp user and group.

Anonymous /usr/portage
Userftp
Group   ftp
UserAlias   anonymous ftp
Limit WRITE
DenyAll
/Limit
/Anonymous



Re: [gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-06 Thread Jake Moe
 On 07/09/10 01:44, meino.cra...@gmx.de wrote:
 Alan McKinnon alan.mckin...@gmail.com [10-09-06 17:10]:
 Apparently, though unproven, at 14:33 on Monday 06 September 2010, Nils 
 Larsson did opine thusly:

 I did an alsaconf- and update-modules-reboot-cycle, but the only thing
 I get with alsamixer are four bars:
 master,pcm,capture,digital

 Seems a little too less for high definit audio, or ?
 But what is you're missing? S/DPIF? Headphone? Front?

 We have

 a. a mail loop
 b. a clueless user w.r.t. vacation settings


 -- 
 alan dot mckinnon at gmail dot com

 The so called user has bought a brand new mobo.
 This mobo is the first mobo with HD sound.
 So -- how should this poor guy know what is missing,
 when it is a) not visible and b) unknown to the user?

 Best regards,
 the cluekless user
He wasn't talking to you.  He was talking to the guy that posted the
same response 4 times to the list to your original e-mail.  :-P

Jake Moe



Re: [gentoo-user] Gentoos community communication rant

2010-09-06 Thread Jake Moe
 On 07/09/10 06:19, Al wrote:
 Hi,

 being comparingly new to Gentoo I still wounder why the classical
 heart of every open source community is missing, a public news server.
 At least a news server is not offically announced on
 http://www.gentoo.org/ like forums, IRC and mailinglists. (I can read
 some, not all of the lists via infosun2.rus.uni-stuttgart.de.)

 Well, there are mailinglists. But mailinglists send each message to
 everybody producing a lot of traffic overhead. As as result people are
 socially driven to reduce the amount of messages. The lists are dead
 early while IRC still is active.

 By this a lot of interesting solutions are lost to effective web
 search. The buzz in IRC doesn't result in a web searchable
 documentation. It is rubbish the moment after it was written. Also it
 is not everybodies taste only to send small messages and to paste
 elsewhere when the stuff exceeds 2 lines of code.

 Then there are some Gentoo web forums out there. Now that is really
 slow, moving tons of HTML for every single posting. Valuable
 information is scattered all around. Do we think intelligent people to
 limited to install a Thunderbird to read news, so that people are to
 driven to web forums like housewifes, that only know the web as
 webpages?

 When comparing Gentoo with other communities it has very good
 documentation but communication could be better. I am missing the
 heart of it.

 Al
Why say that lists are dead early?  This list I find takes a certain
amount of maintenance to keep up-to-date, otherwise it grows to an
unmanageable number of e-mails in my Inbox.  If anything, it's too
alive with too much communication, it's nowhere near dead.  That's not
to say I'm complaining about the amount of mail this list generates; I'm
just saying that it's certainly not dead.

Everyone's got their preference; some like mailing lists and come here. 
Others like forums and go there.  Still others prefer IRC.

Also, a quick Google search of gentoo newsgroup showed me
alt.os.linux.gentoo, and that it's been posted to as recently as less
than a month ago.  What's wrong with that newsgroup?

And I, for one at least, use Thunderbird to read my e-mail; the
interface is pretty much the same for mail and news.  A little
configuration change and I'd be using news.  But I like the mailing
list, not newsgroups.  (shrug)

Jake Moe



Re: [gentoo-user] Gentoos community communication rant

2010-09-06 Thread Jake Moe
 in the world of windows and google. Best they are fully
 synchronized and it is the same database.
Well, I haven't used it, but others are telling you you can use gmane if
you want to use it as a newsgroup.  I can't add anything more to that.
 Al
Jake Moe



Re: [gentoo-user] hotplugging usb devices no longer working

2010-08-30 Thread Jake Moe
 On 31/08/10 06:49, Allan Gottlieb wrote:
 I have a sansa MP3 player and a Flip Video.  Each plugs in as a usb
 device and presents as a fat file system.

 Both used to work, but don't today (it is has been a while--few
 months--since I last plugged them in.

 Now the device screen shows that it is connected, but I see nothing on
 the computer
   df shows no new file system
   mount shows no new file system

 I checked and FAT/VFAT are in the kernel

 # DOS/FAT/NT Filesystems
 CONFIG_FAT_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_FAT_DEFAULT_CODEPAGE=437
 CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1

 Both hal and udev are running
  8045 ?Ssl0:00 /usr/sbin/hald --use-syslog --verbose=no
  8046 ?S  0:00 hald-runner
  8075 ?S  0:00 hald-addon-input: Listening on /dev/input/event8 
 /dev/input/event7 /dev/input/event2 /dev/input/event1 /dev/input/event4 
 /dev/input/event3 /dev/input/event0 /dev/input/event5
  8084 ?S  0:00 /usr/libexec/hald-addon-generic-backlight
  8086 ?S  0:00 /usr/libexec/hald-addon-cpufreq
  8087 ?S  0:00 /usr/libexec/hald-addon-acpi
  8095 ?S  0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
  8785 ?Ss 0:00 /bin/bash -c ps ax | grep hal
  8787 ?S  0:00 grep hal

  8131 ?Ss0:00 /sbin/udevd --daemon
  8794 ?Ss 0:00 /bin/bash -c ps ax | grep udev
  8796 ?S  0:00 grep udev

 Any help would be appreciated

 thanks,
 allan
What device screen do you mean?  And where are you looking on the
computer?  When I insert a usb stick, there's a lot of output in
/var/log/messages about the stick and the partition on it.  Then I use
mount /media/usbstick to mount it according to the appropriate entry
in my /etc/fstab.  Speaking of which, what's your /etc/fstab look like? 
If you use tail -f /var/log/messages and then plug the device in, does
it see that it's connected?

I suspect you're talking about auto mounting, such as KDE or Gnome does;
can you manually mount them?  If not, then I doubt auto mounting will
either.

Jake Moe



Re: [gentoo-user] ignore previous msg (Hotplugging not working)

2010-08-30 Thread Jake Moe
 On 31/08/10 06:57, Allan Gottlieb wrote:
 I plugged into the desktop and looked on the laptop.

 Sorry for the noise,
 allan

Whups, only looked at the previous thread, didn't see this.  Probably
best if you reply to the thread with stuff like this, so we can keep
track of it.

And like Remy, this put a smile on my face.  :-P

Jake Moe



Re: [gentoo-user] Still Struggling With Wireless

2010-08-18 Thread Jake Moe
 On 18/08/10 12:56, CJoeB wrote:
  On 08/18/10 01:12, Jake Moe wrote:
  On 18/08/10 09:04, CJoeB wrote:
  On 08/17/10 10:55, Jake Moe wrote:
  On 08/17/10 11:55, Adam Carter wrote:
 Hi,

 I'm biting the bullet here and asking for help.  Yes! I've posted
 before.  And before anyone asks, I have read the responses to my
 previous posts which helped little.  I have read the documentation and
 the wikis - ad nauseum.  I'm still having problems with wireless.

 I use wpa_supplicant to provide the wifi crypto.
 So, I'm left with trying to use the iwl3945 driver in the kernel.  I
 followed the wiki for setting this up and thought I had succeeded.  I
 got to the point where I was told to type the following:
 ifconfig wlan0 up (this does activate the wireless led on my computer)
 iwlist wlan0 scan
 iwconfig wlan0 essid network name  (where the network name is the
 essid that has been set)

 When I got this to work, I thought I was home free despite the kludgy
 way of getting wireless working.  However, I rebooted and now, when I
 type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
 I have iwl3945-ucode installed and yes, it was recompiled after the
 kernel was rebuilt.

 I have no idea what I'm doing wrong.
 Forgetting to post up your configs :) eg /etc/conf.d/net etc
 I've used the iwl3945 on a few HP laptops without much problem.  The few
 problems I had were related to switching the wireless on and off; I'd
 have to rmmod and modprobe kernel modules to get it working again.

 Does ifconfig list the interface?  If not, what does ifconfig wlan0
 up do?  What about the output of iwconfig?  And going for the obvious
 here, any chance that the wireless is turned off?

 Jake Moe


 iwconfig lists the interface as wlan0

 I discovered last night after sending my original message that my
 symlink was wrong - I used to have net.eth0 and net.eth1 pointing to
 net.lo.  However, last night I removed the net.eth1 symlink and created
 the net.wlan0 symlink to net.lo.  Now when I boot the computer, my
 wireless comes up and the LED comes on, but then it times out because (I
 assume) it can't establish a connection.

 This is my /etc/conf.d/net file.  Note that the any used to work when
 I used the ipw3945 driver.  I would scan for available networks.  I
 tried last night to change the any to the essid printed on my Bell
 router, but that didn't work. 


 # This blank configuration will automatically use DHCP for any net.*
 # scripts in /etc/init.d.  To create a more complete configuration,
 # please review /etc/conf.d/net.example and save your configuration
 # in /etc/conf.d/net (this file :]!).

 #preup() {
 #  if [[ ${IFACE} = wlan0 ]]; then
 # sleep 3
 #  fi
 #  return 0
 #}

 modules=( iwconfig )
 iwconfig_wlan0=mode managed
 config_eth0=(dhcp)
 config_wlan0=(dhcp)
 wpa_timeout_wlan0=15
 essid_wlan0=any

 Regards,

 Colleen
 This is the wireless part of mine:

 modules=( iwconfig )
 config_wlan0=( noop dhcp )
 dhcpcd_wlan0=( -d -t 15 )
 associate_order=( forcepreferredonly )
 associate_timeout=( 5 )
 preferred_aps=( firstessid secondessid )
 key_firstessid=( THIS-ISMY-KEY1-1234-5678-90AB-CD )
 key_secondessid=( THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN )


 I've removed anything not having to do with the wireless for clarity. 
 From memory, the only lines needed are modules, config_wlan0, and
 preferred_aps (I have two because I also use wireless at my g/f's
 mum's house).  Oh, and I use forcepreferredonly so it'll try to
 connect even though it can't find my essid by scanning (because I've
 told my router to stop broadcasting the essid of my wireless network),
 and it'll only try to connect to networks I specifically tell it to, no
 others.  If your essid is hidden as well, you'll probably need to add
 either forcepreferredonly or forceany if you want it to auto-connect
 to any it finds if it can't connect to yours.

 Reading through the wireless.example file, I came across this:

 
 ##
 # SETTINGS
 
 ##
 # Hard code an ESSID to an interface - leave this unset if you wish
 the driver
 # to scan for available Access Points
 # Set to any to connect to any ESSID - the driver picks an Access
 Point
 # This needs to be done when the driver doesn't support scanning
 # This may work for drivers that don't support scanning but you need
 automatic
 # AP association
 # I would only set this as a last resort really - use the preferred_aps
 # setting at the bottom of this file

 Which is why I used perferred_aps instead of essid_wlan0.  Give that a
 try, perhaps?

 Jake Moe


 Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m.
 and time for me to hit the sack.  However, I wanted to point this
 out.  This test was copied from dmesg.  Unless, I

[gentoo-user] [OT] MonoDevelop + Moonlight

2010-08-17 Thread Jake Moe
 Hello all

Can anyone help me with this combo?  I've unmasked MonoDevelop from
Portage and installed it, and it runs, but when I tell it to make a test
Moonlight app and try to build/run it, it errors with Framework
'Moonlight / Silverlight 2.0' not installed, and if I expand all the
References in the Solution section, I get a bunch of Assembly not
available for Moonlight / Silverlight 2.0 (in Mono 2.6.4) messages, one
under each reference.  Any ideas how to fix this?

I have the Moonlight plug-in installed from
http://www.go-mono.com/moonlight/ (the one in Portage is still on v1,
while v2.3 is out), and it works on a Silverlight app I wrote using
Visual Studio  Silverlight in Windows.  Do I need the Moonlight Portage
package as well?  I would have thought that whatever it did, the plugin
I downloaded and installed would have done the same; but maybe it's not
in a system-wide location, and needs to be?

Or maybe I need to install a Moonlight SDK?  I tried to find one of
these, but from what I gathered, this should have been bundled together
with the MonoDevelop sources, and I assume would have gotten built along
with it?  The availability of the choice Moonlight application in
MonoDevelop leads me to believe that it's built whatever it needs, but
I'm missing something.

I've also tried loading the VS 2008 solution I wrote (and successfully
built, and can successfully run on Gentoo/Firefox) into MonoDevelop, and
then I get the same errors I got before.

Documentation on the Mono, Moonlight and MonoDevelop pages is pretty
sparse when it comes to this combo; I'm getting the impression what I'd
like to do is very much under development, and perhaps just not ready
yet?  Or am I missing something?

Any help would be appreciated.

Jake Moe

PS: I've signed up on the Moonlight mailing list as well, but before I
posted there, I thought I'd check to see if maybe this was a
Gentoo-specific thing.  If not, I'll ask there.



Re: [gentoo-user] regarding Participation in Gentoo Linux

2010-08-17 Thread Jake Moe
 On 08/17/10 19:27, arjun.sha...@wipro.com wrote:
 Hi,
 I would like to participate in the Gentoo Linux.Please help and suggest 
 how can I become a member for Gentoo Linux.I have gone through the website of 
 gentoo following the link :http://www.gentoo.org/main/en/contact.xml#intro 
 .Please help and reply with some suggestions.I am really interested to 
 participate and want to enhance my skills as a developer in Linux.

 Appreciate your help for rest of my life.
  
  
 Thamks,
 Arjun.

 Please do not print this email unless it is absolutely necessary. 

 The information contained in this electronic message and any attachments to 
 this message are intended for the exclusive use of the addressee(s) and may 
 contain proprietary, confidential or privileged information. If you are not 
 the intended recipient, you should not disseminate, distribute or copy this 
 e-mail. Please notify the sender immediately and destroy all copies of this 
 message and any attachments. 

 WARNING: Computer viruses can be transmitted via email. The recipient should 
 check this email and any attachments for the presence of viruses. The company 
 accepts no liability for any damage caused by any virus transmitted by this 
 email. 

 www.wipro.com

I would suggest starting with the Become a Developer link on the main
Gentoo site: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml.

Jake Moe



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-17 Thread Jake Moe
 On 08/16/10 19:47, Massimiliano Ziccardi wrote:
 Some new people think it knows where things come from even if it is not
 installed.  It can't do that so I posted that in case the person didn't
 know.

 Well, I'm not very expert about gentoo... I though it would query some kind
 of database to ask what package contains a certain file

 Now I know it works differently...

 It would be neat if it could do that tho.  Just have no idea how it could.
  ;-)

 I think querying an online database could be a nice solution.

 Thanks!

 On Mon, Aug 16, 2010 at 11:38 AM, Dale rdalek1...@gmail.com wrote:

 Peter Humphrey wrote:

 On Monday 16 August 2010 09:13:29 Dale wrote:

 Massimiliano Ziccardi wrote:

 # equery belongs /usr/lib/libxfce4util.lahttp://libxfce4util.la
 [ Searching for file(s) /usr/lib/libxfce4util.la
 http://libxfce4util.la  in *... ]
 #
 
 Equery doesn't give any results because it is not installed.
 If it weren't installed it wouldn't be able to announce what it was
 searching for and where   :-)
 Some new people think it knows where things come from even if it is not
 installed.  It can't do that so I posted that in case the person didn't
 know.  Then I posted a way to find out even if a package is not installed.
  I didn't know about that website until someone pointed it out to me many
 ages ago.

 It would be neat if it could do that tho.  Just have no idea how it could.
  ;-)

 Dale

 :-)  :-)
Yeah, sorry, I only included that equery belongs bit last time to show
that it was installed on my system, and that the libxfce4util package
installed it.  I didn't mean to say you should look for it there; it's
not going to find it, as has been pointed out before.  My only point was
that emerging libxfce4util *should* have installed that file; since it
didn't, I would assume you need to look at that emerge process to find
out why; either it's not building it for some reason, or not installing
it after it's been built.

Jake Moe



Re: [gentoo-user] Still Struggling With Wireless

2010-08-17 Thread Jake Moe
 On 08/17/10 11:55, Adam Carter wrote:
 Hi,

 I'm biting the bullet here and asking for help.  Yes! I've posted
 before.  And before anyone asks, I have read the responses to my
 previous posts which helped little.  I have read the documentation and
 the wikis - ad nauseum.  I'm still having problems with wireless.

 Things were so much easier when I could just use the ipw3945 driver.
 However, I can't build that because it requires TKIP and CCMP, neither
 of which I can find settings for in my active kernel, 2.6.34-gentoo-r1.
 In one of the responses to my previous posts someone told me about the /
 trick while in the kernel configuration to bring up a search menu.  I
 did this and the only reference I could find for TKIP was one related to
 debugging.
 I use wpa_supplicant to provide the wifi crypto.
 So, I'm left with trying to use the iwl3945 driver in the kernel.  I
 followed the wiki for setting this up and thought I had succeeded.  I
 got to the point where I was told to type the following:
 ifconfig wlan0 up (this does activate the wireless led on my computer)
 iwlist wlan0 scan
 iwconfig wlan0 essid network name  (where the network name is the
 essid that has been set)

 When I got this to work, I thought I was home free despite the kludgy
 way of getting wireless working.  However, I rebooted and now, when I
 type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
 I have iwl3945-ucode installed and yes, it was recompiled after the
 kernel was rebuilt.

 I have no idea what I'm doing wrong.
 Forgetting to post up your configs :) eg /etc/conf.d/net etc
I've used the iwl3945 on a few HP laptops without much problem.  The few
problems I had were related to switching the wireless on and off; I'd
have to rmmod and modprobe kernel modules to get it working again.

Does ifconfig list the interface?  If not, what does ifconfig wlan0
up do?  What about the output of iwconfig?  And going for the obvious
here, any chance that the wireless is turned off?

Jake Moe



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-17 Thread Jake Moe
 On 08/17/10 20:23, Dale wrote:
 Adam Carter wrote:

 Is this easy to do?  I have no idea where to start except that
 wireshark is installed.


 Yep, start the capture with Capture - Interfaces and click on the
 start button next to the correct interface, then right click on one
 of the packets that is to the yahoo box and choose Decode As set the
 port and protocol then apply. You'll need to understand the semantics
 of HTTP for it to be of much use tho.

 You had me until the last part.  No semantics here.  lol   May see if
 I can post a little and see if anyone can figure out what the heck it
 is doing.  I'm thinking some crazy bug or something.  Maybe checking
 for updates not realizing it's Kopete instead of a Yahoo program.

 Thanks.  Post back what I find when it does it again.

 Dale

 :-)  :-)

If you do try to send it back to us, you might want to limit what it's
capturing; Wireshark can get a *lot* of data quickly.

For instance, if you know it's only communicating with a few servers,
after you click on Capture -- Interfaces, click on the Options
button, and in the Capture Filter, put host 98.136.48.110 or host
98.136.42.25, which are the two servers you listed at the beginning of
this thread (cs210p2.msg.sp1.yahoo.com and rdis.msg.vip.sp1.yahoo.com). 
Or you could assume that Yahoo are using the 98.136.0.0 network only for
this sort of thing, and use a filter of net 98.136.0.0/16, which would
grab all traffic to or from any host with an IP starting with 98.136.x.x.

Jake Moe



Re: [gentoo-user] Still Struggling With Wireless

2010-08-17 Thread Jake Moe
 On 18/08/10 09:04, CJoeB wrote:
  On 08/17/10 10:55, Jake Moe wrote:
  On 08/17/10 11:55, Adam Carter wrote:
 Hi,

 I'm biting the bullet here and asking for help.  Yes! I've posted
 before.  And before anyone asks, I have read the responses to my
 previous posts which helped little.  I have read the documentation and
 the wikis - ad nauseum.  I'm still having problems with wireless.

 I use wpa_supplicant to provide the wifi crypto.
 So, I'm left with trying to use the iwl3945 driver in the kernel.  I
 followed the wiki for setting this up and thought I had succeeded.  I
 got to the point where I was told to type the following:
 ifconfig wlan0 up (this does activate the wireless led on my computer)
 iwlist wlan0 scan
 iwconfig wlan0 essid network name  (where the network name is the
 essid that has been set)

 When I got this to work, I thought I was home free despite the kludgy
 way of getting wireless working.  However, I rebooted and now, when I
 type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
 I have iwl3945-ucode installed and yes, it was recompiled after the
 kernel was rebuilt.

 I have no idea what I'm doing wrong.
 Forgetting to post up your configs :) eg /etc/conf.d/net etc
 I've used the iwl3945 on a few HP laptops without much problem.  The few
 problems I had were related to switching the wireless on and off; I'd
 have to rmmod and modprobe kernel modules to get it working again.

 Does ifconfig list the interface?  If not, what does ifconfig wlan0
 up do?  What about the output of iwconfig?  And going for the obvious
 here, any chance that the wireless is turned off?

 Jake Moe


 iwconfig lists the interface as wlan0

 I discovered last night after sending my original message that my
 symlink was wrong - I used to have net.eth0 and net.eth1 pointing to
 net.lo.  However, last night I removed the net.eth1 symlink and created
 the net.wlan0 symlink to net.lo.  Now when I boot the computer, my
 wireless comes up and the LED comes on, but then it times out because (I
 assume) it can't establish a connection.

 This is my /etc/conf.d/net file.  Note that the any used to work when
 I used the ipw3945 driver.  I would scan for available networks.  I
 tried last night to change the any to the essid printed on my Bell
 router, but that didn't work. 


 # This blank configuration will automatically use DHCP for any net.*
 # scripts in /etc/init.d.  To create a more complete configuration,
 # please review /etc/conf.d/net.example and save your configuration
 # in /etc/conf.d/net (this file :]!).

 #preup() {
 #  if [[ ${IFACE} = wlan0 ]]; then
 # sleep 3
 #  fi
 #  return 0
 #}

 modules=( iwconfig )
 iwconfig_wlan0=mode managed
 config_eth0=(dhcp)
 config_wlan0=(dhcp)
 wpa_timeout_wlan0=15
 essid_wlan0=any

 Regards,

 Colleen
This is the wireless part of mine:

modules=( iwconfig )
config_wlan0=( noop dhcp )
dhcpcd_wlan0=( -d -t 15 )
associate_order=( forcepreferredonly )
associate_timeout=( 5 )
preferred_aps=( firstessid secondessid )
key_firstessid=( THIS-ISMY-KEY1-1234-5678-90AB-CD )
key_secondessid=( THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN )


I've removed anything not having to do with the wireless for clarity. 
From memory, the only lines needed are modules, config_wlan0, and
preferred_aps (I have two because I also use wireless at my g/f's
mum's house).  Oh, and I use forcepreferredonly so it'll try to
connect even though it can't find my essid by scanning (because I've
told my router to stop broadcasting the essid of my wireless network),
and it'll only try to connect to networks I specifically tell it to, no
others.  If your essid is hidden as well, you'll probably need to add
either forcepreferredonly or forceany if you want it to auto-connect
to any it finds if it can't connect to yours.

Reading through the wireless.example file, I came across this:


##
# SETTINGS

##
# Hard code an ESSID to an interface - leave this unset if you wish
the driver
# to scan for available Access Points
# Set to any to connect to any ESSID - the driver picks an Access
Point
# This needs to be done when the driver doesn't support scanning
# This may work for drivers that don't support scanning but you need
automatic
# AP association
# I would only set this as a last resort really - use the preferred_aps
# setting at the bottom of this file

Which is why I used perferred_aps instead of essid_wlan0.  Give that a
try, perhaps?

Jake Moe



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-13 Thread Jake Moe
 On 08/13/10 23:50, Alex Schuster wrote:
 Massimiliano Ziccardi writes:

 I'm trying to update my gentoo after a long time.
 That tends to be more problematic than regular updates.

 I tried the update (emerge -uD world) but I got some problem about
 conflicting and missing libraries, so I've uninstalled some software.
 portage 2.2 may ease these things, it does some automatic blocker 
 resolution (does not work always for me, but most of the times). It is 
 still masked, but people use it for far over a year now, and I did not 
 read about big problems.


 When it tries to emerge xfce4-panel it always gives this error during
 the build process:

 /usr/lib/libxfce4util.la: No such file or directory

 I tried to re-emerge the libxfce4util package, but with no luck : that
 file do not exists!!!

 Any idea?
 Maybe give 'lafilefixer --justfixit' a try? Emerge lafilefixer if you do 
 not have it already.

 Have you read all he elog messages? They sometimes tell about additional 
 manual steps that have to be done.

   Wonko
Well, on my system, that file does belong to libxfce4util:

j...@aus8617 ~ $ equery belongs /usr/lib/libxfce4util.la
[ Searching for file(s) /usr/lib/libxfce4util.la in *... ]
xfce-base/libxfce4util-4.6.2 (/usr/lib/libxfce4util.la)

What does the screen say when it gets to the install phase of emerge? 
Any errors there, especially with that file?

Jake Moe



Re: [gentoo-user] Fwd: Update of mozilla products (firefox, thunderbird, seamonkey) gone bad...

2010-07-26 Thread Jake Moe
 authz_dbm authz_default
 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
 file_cache filter headers include info log_config logio mem_cache mime
 mime_magic negotiation rewrite setenvif speling status unique_id userdir
 usertrack vhost_alias CAMERAS=canon ELIBC=glibc
 INPUT_DEVICES=evdev keyboard mouse magellan KERNEL=linux
 LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
 ncurses text LINGUAS=en sv en_GB sv_SE sv-SE en_US
 RUBY_TARGETS=ruby18 SANE_BACKENDS=plustek USERLAND=GNU
 VIDEO_CARDS=radeon fglrx vesa radeonhd XTABLES_ADDONS=quota2 psd
 pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition
 tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account
 Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
 LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 Best regards

 Peter K
I had a similar issue the other day with Thunderbird (I've been trying
Chromium lately, so I can't comment on Firefox).  I ended up changing
drivers from fglrx to radeon, and the issue went away.  I also was
seeing a slow redraw of xterm windows when I switched desktops in
FVWM; I could see the window being drawn from top to bottom.  That too
improved with the radeon driver.  However, this is a new build (got a
new work laptop the other day), so I can't comment on whether older
versions of Thunderbird had similar issues.

Jake Moe



Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-14 Thread Jake Moe
On 15/07/10 02:16, Xi Shen wrote:
 hi,

 i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
 i noticed that if the 1st mirror is down, emerge will continuously try
 the 1st mirror. i remember it should switch to the 2nd server after
 the try failed 3 times. how can i configure it to switch mirrors
 automatically?
   
What does emerge --info | grep GENTOO_MIRRORS tell you?

Jake Moe



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 15:50, Mick wrote:
 On Monday 05 July 2010 23:46:54 Jake Moe wrote:
   
 I've recently installed a new system, and can't seem to get UVESAFB
 working properly.  I've set up everything in the kernel, and modified
 GRUB's menu.lst to use the framebuffer.  However, even though there
 doesn't seem to be any errors, I can't seem to get anything other than
 default resolution with far too large fonts.

 I've compared dmesg info, GRUB configs and kernel configs between this
 laptop, and another laptop that has UVESAFB running fine, and am at a
 loss to find what's wrong.
 
 Stating the obvious, have you emerged fbcondecor, ran /etc/init.d/fbcondecor 
 start and then added it to your boot runlevel?
   
Thanks for the reply.  But...

j...@aus10373 ~ $ eix fbcondecor
No matches found.
j...@aus10373 ~ $ eix fb -a con
No matches found.
j...@aus10373 ~ $ eix fb -a decor
No matches found.

Erm, wossat then?  Are you thinking of bootsplash?  Besides, this is
something that happens long before the initscripts run; the screen
should go from GRUB to standard console for a moment, then it should
change to the framebuffer console.

Jake Moe



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 22:20, Mick wrote:
 On 7 July 2010 12:50, Jake Moe jakesaddr...@gmail.com wrote:
   
 On 07/07/10 15:50, Mick wrote:
 
 On Monday 05 July 2010 23:46:54 Jake Moe wrote:

   
 I've recently installed a new system, and can't seem to get UVESAFB
 working properly.  I've set up everything in the kernel, and modified
 GRUB's menu.lst to use the framebuffer.  However, even though there
 doesn't seem to be any errors, I can't seem to get anything other than
 default resolution with far too large fonts.

 I've compared dmesg info, GRUB configs and kernel configs between this
 laptop, and another laptop that has UVESAFB running fine, and am at a
 loss to find what's wrong.

 
 Stating the obvious, have you emerged fbcondecor, ran /etc/init.d/fbcondecor
 start and then added it to your boot runlevel?

   
 Thanks for the reply.  But...

 j...@aus10373 ~ $ eix fbcondecor
 No matches found.
 j...@aus10373 ~ $ eix fb -a con
 No matches found.
 j...@aus10373 ~ $ eix fb -a decor
 No matches found.

 Erm, wossat then?  Are you thinking of bootsplash?  Besides, this is
 something that happens long before the initscripts run; the screen
 should go from GRUB to standard console for a moment, then it should
 change to the framebuffer console.
 
 I'm sorry, I meant v86d (looked at an old machine of mine which also
 has a framebuffer splash for more eyecandy in an initird).
   
Ah, that makes more sense.  :-)  Yeah, got it:

j...@aus10373 ~ $ eix v86d
[I] sys-apps/v86d
 Available versions:  0.1.3-r1 0.1.9 {debug x86emu}
 Installed versions:  0.1.9(07:07:03 24/06/10)(-debug -x86emu)
 Homepage:http://dev.gentoo.org/~spock/projects/uvesafb/
 Description: A daemon to run x86 code in an emulated
environment.

j...@aus10373 ~ $ grep INITRAMFS /usr/src/linux/.config
CONFIG_INITRAMFS_SOURCE=/usr/share/v86d/initramfs
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set


Jake Moe



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 23:19, Andy Wilkinson wrote:
 On 07/05/10 15:46, Jake Moe wrote:
   
 I've recently installed a new system, and can't seem to get UVESAFB
 working properly.  I've set up everything in the kernel, and modified
 GRUB's menu.lst to use the framebuffer.  However, even though there
 doesn't seem to be any errors, I can't seem to get anything other than
 default resolution with far too large fonts.

 I've compared dmesg info, GRUB configs and kernel configs between this
 laptop, and another laptop that has UVESAFB running fine, and am at a
 loss to find what's wrong.

 The laptop in question is a HP EliteBook 8440p with an nVidia graphics chip.

 Relevant info that I can think of:


 -* lspci *-
 snip


 -* dmesg | grep uvesafb *-
 Kernel command line: root=/dev/sda4 video=uvesafb:mtrr:3,ywrap,1600x900
 uvesafb: NVIDIA Corporation, NVIDIA Quadro NVS 170M
 uvesafb: protected mode interface info at c000:c2d0
 uvesafb: pmi: set display start = c00cc333, set palette = c00cc38e
 uvesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc
 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
 uvesafb: VBIOS/hardware doesn't support DDC transfers
 uvesafb: no monitor limits have been set, default refresh rate will be used
 uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=7200
 uvesafb: framebuffer at 0xd100, mapped to 0xf808, using 11250k,
 total 14336k


 -* /sys/devices/platform/uvesafb.0/graphics/fb0/modes *-
 U:1600x900p-59
 snip
 U:1600x900p-59
 snip

 I've also attached my kernel .config file for reference.  If you need
 anything further, please let me know.  I'm sure I've overlooked
 something obvious here; usually getting the framebuffer set up isn't
 this hard; but for some reason, I can't figure this one out.  While this
 isn't a big deal, since usually the first thing I do after login is
 startx, it's an annoyance that I'd like cleared up; it *should* work,
 dammit!  :-P

 Jake Moe
   
 
 This may be a bit of a long shot, but: according to the modes file you
 included, your monitor only actually supports 1600x900 at 59 Hz.  Since
 you aren't specifying a refresh, uvesafb says in dmesg that it is using
 a default refresh.  My guess is that means 60, rather than some smart
 value.  Does anything different happen if you specify the full mode,
 e.g. 1600x900...@59?

 I'm afraid if that doesn't help I'm not likely to be much good myself. 
 But I thought seeing that 59 there was odd, and figure it might be worth
 a look.

 -Andy
   
Thanks for the thought.  I had tried it before, but seeing how you
specified it, I think I had done it wrong (1600x900-59; I was leaving
the computer to try and figure out the colour depth it liked).  I tried
it your way as well (1600x900...@59), but that didn't work either.  And
just to be thorough, I tried 1600x...@59, but still no go.  :-(

Jake Moe



Re: [gentoo-user] Re: Stable users: libpng-1.4

2010-07-05 Thread Jake Moe
On 05/07/10 17:45, Alan McKinnon wrote:
 On Monday 05 July 2010 09:39:50 Neil Bothwick wrote:
   
 On Mon, 5 Jul 2010 05:12:44 + (UTC), Grant Edwards wrote:
 
 The point is that if you always start with a text login, it's easy to
 log in and fix whatever keeps X/KDE from working.  That's why I gave
 up on graphical logins about 15 years ago.
   
 You must have a lot of X problems to make it worth the hassle of the extra
 steps each you boot up. What's wrong with dropping back to a text login
 on the odd occasions that X or the DE fails to start?
 
 And what about this security risk:

 1. lock screen
 2. go away somewhere
 3. ivan the russian spammer walks by, presses ctrl-alt-f1
 4. ivan the russian spammer presses ctrl-c
 5. ivan the russian spammer is now *you*
 6. god help you if you ran sudo in the last 5 minutes
   
Holy crap, thanks for that info, Alan.  I never heard of that before
when looking into console vs. GUI login.  I'll have to re-think my
reasons for sticking with a console login now...

Jake Moe



Re: [gentoo-user] Minimal Gentoo with X

2010-06-30 Thread Jake Moe
On 01/07/10 00:52, Crístian Viana wrote:
 What do you mean by reducing to one source tree?
 

 inside /usr/src, there may be more than one subdirectory, one for each
 kernel version you've ever had. you can purge the older kernel directories,
 just rm -rf on them. do not delete your current kernel directory: use
 eselect kernel list (or uname -r) to find out what's your current
 version.

   
I'd use eselect to make sure you're using the latest kernel, and then
use emerge --depclean to get rid of any others that are there.

depclean would probably be a good idea anyway, depending on how long the
system has been around, to get rid of anything that's not needed anymore.

Jake Moe



Re: [gentoo-user] Boot hangs after install, no error

2010-06-17 Thread Jake Moe
On 17/06/10 20:38, Roger Mason wrote:
 Jake,

 Jake Moe jakesaddr...@gmail.com writes:

   
 I've just completed a fresh Gentoo installation on a new laptop, and
 strangely, after I choose the entry from the Grub screen, all I get is:

   Booting `Gentoo Linux 2.6.32-r7`

 root (hd0,1)
  Filesystem type is ext2fs, partition type 0x83
 kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4
[Linux-bzImage, setup=0x3000, size=0x1ab020]

 It then sits there.  No error, no other messages.  The hard drive light
 stops, and the Num Lock and Caps Lock keys don't respond.  If I press
 the power button, it immediately turns off.

 The laptop is a HP 8440p and I've installed amd64.  I've followed the
 install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 /
 on it.  I've compiled EXT2, EXT3 and SATA AHCI into the kernel.

 Does anyone have any idea what I've forgotten or missed?  If you need
 more info, let me know.  Thanks for any help you can give.
 
 I had a similar problem about 6 weeks or so ago.  It turned out that the
 hardware (a Dell Optiplex 320) and Grub were incompatible in some way.
 I installed Lilo instead, and everything now works fine.  So, try
 searching on your specific hardware to see if this is a known problem.

 Roger

   
I had tried to see if there was anything special about the hardware, but
couldn't find anything.  I'm still of the opinion that it's something to
do with the kernel, but I've given up on amd64 (I'm not sure if I've had
an amd64 Gentoo PC before) and switched back to x86, and other than
forgetting SCSI disk support in the kernel for my SATA disk (which I
*always* do, why can't they make SCSI disk support a requirement for
SATA AHCI support?), the install went smoothly.  The only other thing of
note is that I seem to need to use the unstable ndivia-drivers
(195.36.24), as the latest stable one (190.42-r3) produced flickering
garbage on my screen when I went into X.

Thanks for trying to those that did.

Jake Moe



Re: [gentoo-user] Boot hangs after install, no error

2010-06-17 Thread Jake Moe
On 18/06/10 14:05, Albert Hopkins wrote:
 On Fri, 2010-06-18 at 13:54 +1000, Jake Moe wrote:
   
 I had tried to see if there was anything special about the hardware,
 but
 couldn't find anything.  I'm still of the opinion that it's something
 to
 do with the kernel, but I've given up on amd64 (I'm not sure if I've
 had
 an amd64 Gentoo PC before) and switched back to x86, and other than
 forgetting SCSI disk support in the kernel for my SATA disk (which I
 *always* do, why can't they make SCSI disk support a requirement for
 SATA AHCI support?), the install went smoothly.  The only other thing
 of
 note is that I seem to need to use the unstable ndivia-drivers
 (195.36.24), as the latest stable one (190.42-r3) produced flickering
 garbage on my screen when I went into X.

 Thanks for trying to those that did.

 Jake Moe 
 
 Did you compile your own kernel or use genkernel?  Did you try using the
 same kernel config as the live cd (assuming that the livecd boots fine)?

 -a
   
No, I was tempted to try genkernel, but again, OCD got the best of me; I
like Gentoo because I tell it what I want and need, and it does that and
nothing else.  Genkernel, in my understand, does everything (and
apparently does it pretty well), but it means that it's bigger than it
needs to be.  Plus, I hadn't gotten a reply back in a while, and I'm
limited on time with this laptop, so I went back to that which I know
better.

And I thought the Live CD used genkernel; I thought that was where
genkernel came from in the first place?  Is it different?

Jake Moe



[gentoo-user] Boot hangs after install, no error

2010-06-16 Thread Jake Moe
I've just completed a fresh Gentoo installation on a new laptop, and
strangely, after I choose the entry from the Grub screen, all I get is:

  Booting `Gentoo Linux 2.6.32-r7`

root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4
   [Linux-bzImage, setup=0x3000, size=0x1ab020]

It then sits there.  No error, no other messages.  The hard drive light
stops, and the Num Lock and Caps Lock keys don't respond.  If I press
the power button, it immediately turns off.

The laptop is a HP 8440p and I've installed amd64.  I've followed the
install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 /
on it.  I've compiled EXT2, EXT3 and SATA AHCI into the kernel.

Does anyone have any idea what I've forgotten or missed?  If you need
more info, let me know.  Thanks for any help you can give.

Jake Moe



Re: [gentoo-user] Re: Boot hangs after install, no error

2010-06-16 Thread Jake Moe
On 17/06/10 11:02, Alex Schuster wrote:
 walt writes:

   
 On 06/16/2010 04:05 PM, Jake Moe wrote:
 
 I've just completed a fresh Gentoo installation on a new laptop, and

 strangely, after I choose the entry from the Grub screen, all I get
 is:
Booting `Gentoo Linux 2.6.32-r7`

 root (hd0,1)

   Filesystem type is ext2fs, partition type 0x83

 kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4

 [Linux-bzImage, setup=0x3000, size=0x1ab020]
   
 The only thing that looks a bit unusual is that your kernel-2.6.xxx
 appears to be in the root directory instead of in /boot where it
 usually lives.
 
 No, that's okay, I have it the same way. The root (hd0,1) statement tells 
 grub where the boot partition is, and all other paths are relative to 
 that.

   Wonko

   
Yeah, the original e-mail I mentioned that the second partition was an
EXT2 partition for /boot, and yes, as per the install instructions.  I
never liked the way the Gentoo install put a symlink in /boot, pointing
to /boot, in case you didn't do it that way, so the Grub menu would
still work as it's provided (hd0,0)/boot/kernel-xxx-etc., so I take the
/boot out of the Grub menu.lst file,and delete the symlink.  OCD on my
part, I imagine, but it works fine on my other Gentoo installs.

My first thought is that it's something in the kernel config I'm doing
wrong, but I can't see anything that looks obviously wrong, and the lack
of error message doesn't help things.



Re: [gentoo-user] Remotely working on Gentoo systems

2010-06-08 Thread Jake Moe
On 08/06/10 16:48, J. Roeleveld wrote:
 On Tuesday 08 June 2010 02:14:55 Jake Moe wrote:
   
 I've got two Gentoo boxes, and would like to run X apps from both on one
 display.  From reading up on it, it appears that while this is possible,
 it's also not recommended from a security standpoint, and the few HOWTOs
 I've found for it seem to be 4-6 years old.  Can anyone tell me:
 
 Security: Yes, it is not recommended, however, if you trust everyone who can 
 connect to your network, then it is safe enough.

   
 a) if this is a good idea in the first place,
 
 Depends on what you want to achieve. If you have only one screen and/or one 
 machine with a decent graphics card then it does make sense.
 However, X is a very inefficient protocol. Eg. it can clog the network.

   
 b) should I be looking at VNC instead of remote X,
 
 Maybe, but VNC puts the remote screen in a window.

   
 c) is there another option I should be looking at, and
 
 Yes :)

   
 d) if there is a good HOWTO on setting up whichever is the best to use
 on a recent Gentoo system?
 
 I use X-tunneling with ssh.
 To get this to work, start with trying the following:

 (machineA has screen, machineB is screenless)
 on machineA # ssh -Y machineB
 then, on machineB, start the program you want displaying on machineA, for 
 instance firefox.

 This is both easier to implement and also removes the security issues as ssh 
 is encrypted.

 HTH,

 Joost Roeleveld

   
j...@aus10224 ~ $ ssh -Y jhb5970
Password:
Last login: Wed Jun  9 08:05:09 EST 2010 from 192.168.0.114 on pts/0
j...@jhb5970 ~ $ firefox
Error: no display specified
j...@jhb5970 ~ $ konqueror
konqueror: cannot connect to X server
j...@jhb5970 ~ $

Did I not do it right?  jhb5970 is not screenless, it's a laptop, but
it's easier to use only one pane of glass.  I'll probably only want to
do this when machineA is, say, emerging updates, but I want to do
something CPU-intensive on that computer, so I can utilize the idle
machineB.  Make sense?

Jake Moe



Re: [gentoo-user] Remotely working on Gentoo systems

2010-06-08 Thread Jake Moe
On 09/06/10 09:58, Alex Schuster wrote:
 Jake Moe writes:

   
 j...@aus10224 ~ $ ssh -Y jhb5970
 Password:
 Last login: Wed Jun  9 08:05:09 EST 2010 from 192.168.0.114 on pts/0
 j...@jhb5970 ~ $ firefox
 Error: no display specified
 j...@jhb5970 ~ $ konqueror
 konqueror: cannot connect to X server
 j...@jhb5970 ~ $
 
 Try echo $DISPLAY, this should give something like localhost:10.0. If it 
 is empty, the forwarding did not work. I guess you have to set 
 X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh 
 with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work.

   Wonko

   
Excellent, thanks for that.  I had read about that config option, but it
sounded like it only needed to be set if you wanted all ssh connections
globally to have X11Forwarding turned on, or you use ssh -Y for a single
connection.

Jake Moe



[gentoo-user] Remotely working on Gentoo systems

2010-06-07 Thread Jake Moe
I've got two Gentoo boxes, and would like to run X apps from both on one
display.  From reading up on it, it appears that while this is possible,
it's also not recommended from a security standpoint, and the few HOWTOs
I've found for it seem to be 4-6 years old.  Can anyone tell me:

a) if this is a good idea in the first place,
b) should I be looking at VNC instead of remote X,
c) is there another option I should be looking at, and
d) if there is a good HOWTO on setting up whichever is the best to use
on a recent Gentoo system?

John Moe



Re: [gentoo-user] emerge media-gfx/eog-2.30.1 fails with configure: error: conditional HAVE_LIBJPEG_80 was never defined.

2010-06-06 Thread Jake Moe
On 07/06/10 07:44, Nikolay Hodyunya wrote:
 Hello, I'm trying to emerge gnome on my gentoo box, but It fails.
 Here is log.

  * CPV:  media-gfx/eog-2.30.1
  * REPO: gnome
  * USE:  amd64 dbus elibc_glibc jpeg kernel_linux multilib python 
 userland_GNU
   
 Unpacking source...
 Unpacking eog-2.30.1.tar.bz2 to /var/tmp/portage/media-gfx/eog-2.30.1/work
 Source unpacked in /var/tmp/portage/media-gfx/eog-2.30.1/work
 Preparing source in /var/tmp/portage/media-gfx/eog-2.30.1/work/eog-2.30.1 
 ...
 
  * Fixing OMF Makefiles ...
   [ ok ]
  * Running elibtoolize in: eog-2.30.1
  *   Applying portage-2.2.patch ...
  *   Applying sed-1.5.6.patch ...
  *   Applying as-needed-2.2.6.patch ...
   
 Source prepared.
 Configuring source in 
 /var/tmp/portage/media-gfx/eog-2.30.1/work/eog-2.30.1 ...
 
  * econf: updating eog-2.30.1/config.guess with 
 /usr/share/gnuconfig/config.guess
  * econf: updating eog-2.30.1/config.sub with /usr/share/gnuconfig/config.sub
 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
 --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
 --libdir=/usr/lib64 --without-libjpeg --without-libexif --with-dbus 
 --without-cms --enable-python --without-xmp --disable-scrollkeeper 
 --disable-schemas-install --disable-gtk-doc
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for style of include used by make... GNU
 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables... 
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
 checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
 checking what warning flags to pass to the C compiler... -Wall 
 -Wmissing-prototypes
 checking what language compliance flags to pass to the C compiler... 
 checking build system type... x86_64-pc-linux-gnu
 checking host system type... x86_64-pc-linux-gnu
 checking for a sed that does not truncate output... /bin/sed
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for fgrep... /bin/grep -F
 checking for ld used by x86_64-pc-linux-gnu-gcc... 
 /usr/x86_64-pc-linux-gnu/bin/ld
 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
 checking the name lister (/usr/bin/nm -B) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 1572864
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands +=... yes
 checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... 
 -r
 checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
 checking how to recognize dependent libraries... pass_all
 checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
 checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
 checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc 
 object... ok
 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
 checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
 checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
 checking whether the x86_64-pc-linux-gnu-gcc linker 
 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... 
 yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic 

[gentoo-user] How to verify stable system after fsck corrections

2010-06-01 Thread Jake Moe
The other night, my laptop decided it didn't want to start Gentoo
anymore.  Long story short, I ended up using fsck to fix the disk, after
which it booted ok.  However, the fsck was a bit destructive; at the
very least, a few files from my torrents had gone corrupt.  That's not a
big deal; Vuze lets me re-check all my torrents to make sure they're ok,
and I've re-downloaded the bits that weren't.  More worrysome is what
other files may be corrupt from the exercise.

My  question is: is there a way that Portage can compare what's
currently on the hard disk with what it installed, and do some sort of
checksum verification on it?  I'm going to assume not, unless I had
already generated my own checksums.  In that case, is the safest bet to
do an emerge -e world, and let it rebuild everything?  Or is there an
easier (i.e., shorter) way of doing it?

Thanks for your help.

Jake Moe



Re: [gentoo-user] How to verify stable system after fsck corrections

2010-06-01 Thread Jake Moe
On 01/06/10 21:04, Neil Bothwick wrote:
 On Tue, 01 Jun 2010 19:46:33 +1000, Jake Moe wrote:

   
 My  question is: is there a way that Portage can compare what's
 currently on the hard disk with what it installed, and do some sort of
 checksum verification on it? 
 
 Portage records a checksum for each file it installs, that's how it known
 not to delete files that were not installed by the ebuild it is
 unmerging. equery has an option to check packages against these

 equery check --only-failures '*'

 Note that it will show failures on any files that have been modified
 since installation, such as configuration and data files, so you'll have
 to check these manually, but if a library or executable shows up you
 almost certainly have a problem.

   
Thanks for that Neil.  Sounds like just what I need.  However, when I
run it, I get:


j...@jhb5970 ~ $ equery check --only-failures '*'
!!! unknown local option --only-failures, ignoring
!!! Invalid Atom: ''
j...@jhb5970 ~ $ equery check '*'
!!! Invalid Atom: ''
j...@jhb5970 ~ $


Is the '*' atom spec a new Portage feature?  I haven't switched to the
new Portage yet, I'm still using stable.  Maybe it's time I bite the
bullet and upgrade...

John Moe



Re: [gentoo-user] Wireless Issue

2010-05-19 Thread Jake Moe
On 05/20/10 01:06, Zeerak Mustafa Waseem wrote:
 On Wed, May 19, 2010 at 07:14:35AM -0400, CJoeB wrote:
   
 Hi,

 I had wireless working just fine back when I was using the
 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
 kernels, I haven't been able to get it working.  I was using the ipw3945
 driver, but this driver needs TKIP and something else (don't remember
 what) set in the cryptographic section of the kernel source.  I can't
 seem to find where that is located, if it is in the kernel that I am
 currently running - 2.6.31-gentoo-r10.

 I've tried using the corresponding driver within the kernel, but I still
 get told that my wireless connection does not exist and that I should
 verify the hardware or kernel module driver.

 I have also always used wireless-tools.  I know wpa_supplicant is
 supposed to be better because you can enable WEP encryption, but I tried
 to set that up too and I still get told that my wireless connection does
 not exist and that I should verify the hardware or kernel module driver.

 I'd be happy just using wireless-tools if I could get the ipw3945 driver
 to build, but can't without TKIP.  Does anyone know if this setting has
 been taken out of the kernel source or if it is just located in some
 obsure place that I can't find?

 Regards,

 Colleen

 -- 

 Registered Linux User #411143 with the Linux Counter, http://counter.li.org


 
 I'm sorry if I'm mistaken, or if this comes across as awfully rude but didn't 
 you ask the same question back in March? Did you have a look at the replies 
 from then to see if that could help with this issue?
 Also you can search within the kernel by entering '/' a search field will 
 come up, and if you know part of the name (past thread of same title should 
 reveal that), you should be able to locate it.

 Hope it helps

   
After you built your new kernel, did you re-emerge iwl3945-ucode?  I
usually forgot that step when upgrading my kernel (along with
nvidia-drivers).  I believe if you look in /var/log/messages, you'll see
a message about missing microcode if this is the case.

Also, I use wireless-tools just fine with mine, and it's running
2.6.31-r10 (I keep meaning to upgrade my kernel to the latest stable).

John Moe