[gentoo-user] Re: Reaching my network over the internet

2005-10-16 Thread Gabriel M. Beddingfield
Grant wrote:

 Hello, I'd like to ssh into my network over the internet.  Do I need
 to set up VPN for that?  Can anyone point me in the right direction?

It depends on what you're trying to do.

If you just want to ssh into a machine on your network... then no.  From a
shell session on that machine you can access the other hosts on your
network.

If you want to ssh into your network and have your computer connected as
if you were actually on the network... then yes you will need VPN for that.

What sort of network access are you wanting?

-Gabriel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: PostgreSQL with unknown message to starting

2005-10-10 Thread Gabriel M. Beddingfield
Mariusz P?kala wrote:

 This time it's about no entry for postgres in /etc/shadow. :-)
 
 This line, added to /etc/shadow, would be OK:
 postgres:!:12654:0:9:7:::
 

Hi Mariusz,

This is what I had:

postgres:!!:0:0:9:7:::8021806

This is what I changed it to:

postgres:!!:13066:0:9:7:::8021806

And the problem goes away.  But this doesn't make any sense.  According to
the man pages there should have been no problem to begin with (password
expiry was turned off.)

Before:
# chage -l postgres
Last password change: never
Password expires: never
Password inactive   : never
Account expires : never
Minimum number of days between password change  : 0
Maximum number of days between password change  : 9
Number of days of warning before password expires   : 7

After:
# chage -l postgres
Last password change: Oct 10, 2005
Password expires: never
Password inactive   : never
Account expires : never
Minimum number of days between password change  : 0
Maximum number of days between password change  : 9
Number of days of warning before password expires   : 7

Is this a bug or obscurely documented feature for PAM?

Thanks,
Gabriel



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: xml mode for emacs

2005-10-08 Thread Gabriel M. Beddingfield
Jean Magnan de Bornier wrote:

 Hi all,
 I emerged nxml to edit xml files with emacs; it works great, but when I
 open an xml file it is sgml xml-mode, I have to switch to nxml by hand;
 this seems to be new since some time ago nxml was the default mode.
 In the site-gentoo.el file which is generated every time a packet from
 app-emacs is installed, I have the following:

What does your ~/.emacs file look like?  Does it have:

(load site-gentoo)

The site-gentoo.el appears to work fine for me on Emacs 22.0.50.1.  However,
if you load neither 'site-gentoo' nor the equivalent code in your ~/.emacs
file, then the default for Emacs is SGML mode.

HTH,
Gabriel



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: PostgreSQL with unknown message to starting

2005-10-08 Thread Gabriel M. Beddingfield
Javier Uribe wrote:

 hi people.
 
 I have compile PostgreSQL satisfactorily,  my doubt is when starting, it
 appears the next message
 
 highwaystar ~ # /etc/init.d/postgresql start
  * Starting PostgreSQL ...
 su: Authentication service cannot retrieve authentication info.
 (Ignored)   [
 ok ]
 
 any ideas?
 it can be by change to the user postgres?

I have the same problem (see my post on 10/7).  It appears postgres works
OK, though.  If anyone knows how to put PAM in it's place, let me know!

-Gabriel

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] PAM problem: su: Authentication token is no longer valid; new one required.

2005-10-07 Thread Gabriel M. Beddingfield

I recently install postgresql.  When I start the server, I'm getting what
looks like a PAM error.

orion ~ # /etc/init.d/postgresql start
 * Starting PostgreSQL ...
You are required to change your password immediately (root enforced)
su: Authentication token is no longer valid; new one required.
(Ignored)
[ ok ]
orion ~ # 

Also:

orion ~ # su - postgres
You are required to change your password immediately (root enforced)
su: Authentication token is no longer valid; new one required.
(Ignored)
[EMAIL PROTECTED] ~ $ 

After this, the su session and the postgres database appear to work
normally.  I'm concerned with the error message, though.  Googling got me
nowhere.

Any ideas what the problem is?

Thanks,
Gabriel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: New list member installing gentoo

2005-06-30 Thread Gabriel M. Beddingfield
Jason Castonguay wrote:

 /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i586-pc-linux-gnu-linuxthreads/rt/aio_notify.og
 The bug is not reproducible, so it is likely a hardware or OS problem.
 make[2]: ***

Are you finding the bug to be repeatable?  Did you try it again?  Do you get
this error every time?

I ask, because once I got an odd error like this when bootstrapping on a
486.  When I tried it again, everthing worked without fail.

...FWIW.

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Getting PCMCIA to work

2005-05-31 Thread Gabriel M. Beddingfield
Digby Tarvin wrote:

 Base system is now coming up fine, but my PCMCIA lan card is not
 being recognised.

What is the make/model of the NIC you are trying to use?
Please post the output from either command:  'lspci' or 'cat /proc/pci'

There's about 3 typical PCMCIA drivers, and then many more on top of that
depending on the card you're using.

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: Anyone Know Why a New Kernel Would Kill Networking?

2005-05-27 Thread Gabriel M. Beddingfield
Neil Bothwick wrote:

 
 On Fri, May 27, 2005 2:27 am, Gabriel M. Beddingfield said:
 
 This sounds like you need to re-emerge the driver for your NIC.  For
 example, every time I upgrade my kernel I have to do something like this:

 # cd /usr/src
 # rm linux
 # ln -s newkernel linux
 
 If you set the symlink USE flag, this is taken care of automatically when
 emerging a new kernel source.

Thanks, I didn't know that was there.

However, I'm not sure that's what I want unless the USE flag also
updates .config, builds the new kernel, installs it, updates grub, emerges
all my other kernel-module-dependent ebuilds, and then tries to figure out
why the new kernel doesn't work because someone updated the functionality
of some driver (with a *minor* side-effect that it breaks my system). 
Because of this somewhat long admin process, I often don't want the symlink
updated until I can get around to building the new kernel.

US $ 0.02

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Anyone Know Why a New Kernel Would Kill Networking?

2005-05-26 Thread Gabriel M. Beddingfield
Michael Haan wrote:

 I'll take a look at those things, but the odd thing is I can boot the
 old kernel and networking is just fine.  Only the kernel has changed
 (and not even the kernel options).

This sounds like you need to re-emerge the driver for your NIC.  For
example, every time I upgrade my kernel I have to do something like this:

# cd /usr/src
# rm linux
# ln -s newkernel linux
# cd linux
# make oldconfig
# make  make modules_install
# emerge ipw2100

(ipw2100 is my wireless NIC)

If I don't re-emerge ipw2100, then the NIC *will not* work in the new
kernel.  If I boot to the old kernel, things work fine.  Why?  The ebuild
makes kernel modules, and they are marked for a specific kernel version.

If this is new to you, do some exploring in /lib/modules.  This is where all
of your modules are stored, and each kernel (and kernel revision) gets a
separate directory.

If you re-emerge with /usr/src/linux linked to the *old* kernel, it won't
help you any.  You have to update the link and then re-emerge your driver.

HTH!  Forgive me if you already know all this.  :-P

Peace,
Gabriel

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: RESOLVED: No sound: ALSA and software suspend2

2005-05-24 Thread Gabriel M. Beddingfield
Gabriel M. Beddingfield wrote:

 2. If there's not already a bug report on bugs.kde.org, I plan to post
 one.

Viz bug # 106189
http://bugs.kde.org/show_bug.cgi?id=106189

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Panasonic Toughbook

2005-05-24 Thread Gabriel M. Beddingfield
Ian K wrote:

 Can you please tell me where to go to get this mailing list's archives?
 What does this error mean anyway?
 Ian

http://www.google.com/search?q=acpi+mailing+listie=UTF-8oe=UTF-8

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] RESOLVED: No sound: ALSA and software suspend2

2005-05-22 Thread Gabriel M. Beddingfield

This is in reference to:

http://marc.theaimsgroup.com/?l=gentoo-userm=111525434728903w=2

Summary of problem:  Audio in KDE didn't work when switching from 2.6.9
kernel to 2.6.11 kernel.

Resolution/workaround:

1. Open KMix mixer window
2. Select Switches tab
3. Turn off both Headphone Jack Sense and Line Jack Sense (that is, the
radio-button-like circles should be dark).

Steps to recreate problem:

1. Start with a working system with KDE 3.3.2, with working audio and alsa,
and with Linux kernel 2.6.9.
2. Compile new 2.6.11 kernel (using 'make oldconfig' or something
equivalent).
3. Reboot kernel to single-user or level 3.  (Make sure KDE doesn't start.)
4. Test ALSA by using /usr/bin/aplay on a wav file or something.  You should
hear it fine.
5. Go to level 3 (# init 3) and start up KDE.
6. You will likely hear your KDE is starting sound, but it will be
interrupted midway.
7. Use any audio player (aplay, artsplay, etc.), and you will get no
sound... but it will appear as if it's really playing.

Use steps above to correct.

Notes:

1. This appears to be specific to KDE.  Apparently when KMix restores Mixer
settings, it's chosing poor defaults based on the changes to ALSA that have
apparently taken place between 2.6.9 and 2.6.11.

2. If there's not already a bug report on bugs.kde.org, I plan to post one.

3. I was able to recreate the bug in KDE HEAD.

4. This may be hardware specific.  Mine is an IBM Thinkpad R51 with
82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01).


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gentoo discrimination

2005-05-18 Thread Gabriel M. Beddingfield
Ognjen Bezanov wrote:

 There was that whole Gentoo is for ricers website which generally
 mocked the gentoo community for their 'futile' quest to eck every last
 ounce of CPU power from their machines. The gentoo community generally

Pretty funny website!  Their URL is pretty fitting, too:

http://funroll-loops.org/


 had a sense of humour though, and i dont think the site is very
 malicious itself.  Besides - whats wrong with optimising to get the most
 power out of your machine? I call that efficiency.  ;)

I like the website because some of the criticisms are quite valid.  (Some
are just caricatures.)  Like the optimizing thing:  Their (valid) point is
that spending hours of tweaking to get 1% extra efficiency is actually less
efficient.  It's a diminishing return.

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: DSL modem + Web Server + Home Box

2005-05-15 Thread Gabriel M. Beddingfield
david wrote:

 Thanks for the reply.I'm new to this so your explanation really
 helps.The dsl modem's set-up page is at 192.168.1.254.It is also the
 default gateway.Here is resolv.conf;
snip

I'm getting a little lost here.  It looks like you're trying to do 2
distinct tasks here.  It looks like:

1. You're trying to set up a web server that is publicly available to the
internet
2. You're trying to share your network connection with another computer.

It might be a good idea to tackle them one at a time.  If you don't have
nmap installed: install it ('emerge nmap').

0. INFORMATION
==

What's the make and model of the DSL modem you're trying to use?  You say
you

1. WEB SERVER UP


Get the web server up and running.  When it's running, on the same server
enter the command:

nmap -p 80 192.168.1.96

If it is up, then you will see something like:

Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-05-15 13:20 CDT
Interesting ports on foo.local (192.168.1.96):
PORT   STATE SERVICE
80/tcp open  http

Nmap run completed -- 1 IP address (1 host up) scanned in 0.129 seconds

If you see this (STATE: open), then make sure the web browser works.  Fire
up Konq or Firefox and navigate to http://192.168.1.96.  If the page looks
correct, then move on to the next step (port forwarding).  If not, then you
probably saw:

PORT   STATE  SERVICE
80/tcp closed http

That means that you need to configure your web server properly, and start it
up.

2. PORT FORWARDING
==

Lets say that your assigned static ip address is a.b.c.d.  If you indeed
have forwarded the port to the web server, then you will see:

$ nmap -p 80 a.b.c.d

Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-05-15 13:20 CDT
Interesting ports on (a.b.c.d):
PORT   STATE SERVICE
80/tcp open  http

Nmap run completed -- 1 IP address (1 host up) scanned in 0.129 seconds

If the web server is up, and you see STATE closed, then you need to get your
port forwarding working correctly.  Possibly the routings are messed up in
your Modem.

If you see STATE open, then test with:

$ firefox http://a.b.c.d

And make sure the web content looks right.  If some does, and some
doesn't... then it means your web server isn't properly configured. 
(Things like bind addresses, etc.)  You said your setting up a LAMP
(Linux/Apache/MySQL/PHP) -- focus on 'LA' for now.  Getting all four to
work together the way you want is a little trickier.

3. AVAILABLE VIA WAN


Check to see if Bellsouth is blocking your IP from being a server.  SSH to
an external machine, or call your aunt in Toledo and have them navigate a
web browser to:

http://a.b.c.d

If it works, then all is good with your web server.  If not, then you
probably have issues with Bellsouth.  Most 'for-the-masses' ISP's are
blocking people from running servers.  And those that don't, still have
policies against it.  This includes Verizon (port blocking), and Comcast
(policy).  Exceptions include Speakeasy, Earthlink (for some
subscriptions), and Covad.

If they see the web page, and all the content looks good -- then your web
server is set up and ready for action.

4. INTERNET SHARING WITH OTHER COMPUTER
===

Get your web server working, and then move on to this.

Hope this helps!

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: Re: DSL modem + Web Server + Home Box

2005-05-15 Thread Gabriel M. Beddingfield
Colin wrote:

 I know that EarthLink dial-up has no port forwarding or port blocking in
 effect.  I think they'll let you run servers from behind dial-up
 connections, but I know that it's a no-no from behind their high-speed
 connections, unless you get a business plan.

IIRC,  their gamers DSL plan (w/static IP) allows servers... but I could
have misunderstood.


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DSL modem + Web Server + Home Box

2005-05-14 Thread Gabriel M. Beddingfield
david wrote:

 My DSL modems's add is 192.168.1.254 so that is the default gateway.The
 server's add is eth0/192.168.1.96 and I enabled ip pass through in the
 modem to the server,works fine.Next I wanted to set up the server as a
 router with a crossover cable to home box.home box address is
 192.168.1.97 eth1/192.168.1.1 is set up for home box in server.I
 followed this guide;

Here is what you have explained, if I understand correctly:

  (INTERNET)
   |
[   ?.?.?.?   ]
[  DSL MODEM  ]
[192.168.1.254]
   |
[192.168.1.96 ]
[LOCAL SERVER ]
[192.168.1.1  ]
   |
[192.168.1.97 ]
[  HOME BOX   ]

I'm assuming you are using 255.255.255.0 as your subnet mask.  If this is
the case, I don't know how to make it work -- but it's unnecessarily
difficult.  Try to set up this:

  (INTERNET)
   |
[   ?.?.?.?   ]
[  DSL MODEM  ]
[192.168.1.254]
   |
[192.168.1.96 ]
[LOCAL SERVER ]
[192.168.2.1  ]
   |
[192.168.2.97 ]
[  HOME BOX   ]

This puts the home box on a different sub-net.  Question:  Which one is
supposed to be the web server?

Notes:

1. The reason why they have to be on different subnets has to do with how
packages are routed.  Whenever a package is sent over the network the
computer has to route it -- like a post office.  The first the the router
looks at is the sub-net.  If your subnet is 255.255.255.0, it ignores the
last number.  If it's on the same subnet as the router, it just broadcasts
it to the network.  This is like a postmaster looking at the zip codes.  He
throws the local zip code in one pile, everything else goes to a different
pile to be sorted.  Using this analogy, you have DSL MODEM and HOME BOX in
two different zip codes and LOCAL SERVER is your postmaster.  However,
you're acting like everyone is in the same zip code, so LOCAL SERVER is
putting some of the letters in the wrong pile.

2. It appears to me odd that your DSL MODEM has an IP address, but you're
running a server behind it.  Usually, I see the DSL MODEM acting
transparently.  So the setup looks more like:

  (INTERNET)
   |
[(TRANSPARENT)]
[  DSL MODEM  ]
[(TRANSPARENT)]
   |
[ 68.23.54.12 ]
[   ROUTER]
[ 192.168.1.1 ]
   |
[192.168.1.97 ]
[ WORKSTATION ]

If you can set this up, it further simplifies your network arrangement.

3. If you're trying to give internet access to HOME BOX, you will have to
set up LOCAL SERVER with NAT.  This is especially true if HOME BOX is
actually supposed to be the web server.

 and I had to swap eth0 for eth1 for me eth0 is the WAN and eth1 is the
 LAN.It worked but closed port 80 so I redid iptables and added this;

I got lost in all this.  Are you running Apache on one of the machines?

 Should I try another router? By me opening port 80 in the modem to serve
 web pages over the WAN keeping me from being able to do this?I think it
 can be done it's just over my head/experence.thanks

Well, if you're just trying to get a router for a LAN, the WAL-MART
off-the-shelf routers work great, with minimal setup.  They also allow you
to forward ports to specific computers on your network to act as servers.

HTH!


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: XMMS Stopped Playing

2005-05-13 Thread Gabriel M. Beddingfield
Kent Borg wrote:

 Recently xmms stopped working.  It will launch, but it won't play
 anything.  I try to play a file and nothing happens, I try to play an
 internet stream and I get a file dialog.  I think it broke in the
 upgrade from 1.2.10-r13 to 1.2.10-r5.  Suggestions?

Have you recently upgraded your kernel to 2.6.10?


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: equery which gives wrong version?

2005-05-01 Thread Gabriel M. Beddingfield
Nick Rout wrote:

 equery which packagename is meant to give you the full path and name of
 the ebuild file for the version of packagename that portage would
 install.
 
 however on my system it gives the latest unstable version, at least of
 mythtv.

For some reason, this problem intrigued me...  So I did some digging around. 
I am getting the same results as you.  I reviewed the sourcecode for equery
and gentoolkit, and found that it's coded to do exactly what you're
saying... but not what you thought it should do.

Using gentoolkit-0.2.0, here's what I found:

equery line 901-902, within the command 'CmdWhich' performs the query like
this:

matches = gentoolkit.find_packages(query, True)
matches = gentoolkit.sort_package_list(matches)

gentoolkit lines 198-204 starts off the 'find_packages' command like this:

def find_packages(search_key, masked=False):
Returns a list of Package objects that matched the search key.
try:
if masked:
t=portage.portdb.xmatch(match-all, search_key)
else:
t=portage.portdb.match(search_key)

If you look close, you'll see that it *always* includes masked packages, and
the sort function is only looking for version (not package mask).

I recommend one or more of the following:

1. Contact a gentoo dev on IRC and get their input -- perhaps they don't
think it should work the way you think it should.

2. Based on their input, file a bug report.  IMHO, I think the default
should work the way you suggest, and there should be some way to expand it
to include packages.

3. If you do any code at all, add the functionality to the Python scripts
yourself and submit the patch to the gentoo devs.

4. If just want it working the way you want it for today,
edit /usr/bin/equery line 901 to read:

matches = gentoolkit.find_packages(query, False)

I tested it quickly, and it seems to work.

Peace,
Gabriel

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: equery which gives wrong version?

2005-05-01 Thread Gabriel M. Beddingfield

Gabriel M. Beddingfield wrote:

 2. Based on their input, file a bug report.  IMHO, I think the default
 should work the way you suggest, and there should be some way to expand it
 to include packages.

That should read: ...to include masked packages.


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Wrong Aspell PATH

2005-05-01 Thread Gabriel M. Beddingfield
Luigi Pinna wrote:

 Hello!
 I installed a new Gentoo box with KDE3.4 and aspell but, if I try to use
 aspell in kmail (I said in the control center to use aspell), I read
 that the PATH is wrong or check if I installed apell.
 I use aspell 0.60.2 from the portage tree, where can I modify the PATH?
 Or where was the old PATH (I can create a soft link)?
 Thanks a lot,
 Luigi

What do you get when you (not root) enter the commands:

$ which aspell
$ echo $PATH

When creating a new message in KMail, at the top there is a line that says,
Identity:.  What does it say?  (Mine says Default (Default))

From KMail:
1. go to Settings | Configure KMail...
2. Select the profile you found in the Identity line -- Default (Default)
3. Click the Modify button
4. Click the Advanced button
5. What do you see on the line that says Dictionary:?

HTH!

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: No sound: ALSA and software suspend2

2005-05-01 Thread Gabriel M. Beddingfield
Richard Fish wrote:

 Do you have /etc/hibernate/hibernate.conf setup to restart alsa on
 suspend/resume?
 
 # StopServices alsasound

No, I didn't.  After adding various versions (including 'ResumeServices
alsasound'), the problem actually got worse.

 Does the sound card start working after boot if you do a
 /etc/init.d/alsasound restart?

Nope.

More info, though:

1. I can boot so single user, run '/etc/init.d/alsasound start', and it
works fine.  This is true for the current 'suspend' kernel as well as some
old kernels (like 2.6.9-gentoo-r13).
2. When I go to 'init 3', it still works fine before logging into KDE.
3. After I log into KDE, the sound card brakes.  Only way to recover it so
that it's usable to KDE is to hibernate and then resume.

I'm befuddled.  :-|

-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: equery which gives wrong version?

2005-05-01 Thread Gabriel M. Beddingfield
Nick Rout wrote:

 Thanks for your investigation, you are obviously far more au fait with
 the finer points of the portage/python thing than I am.

Nope.  That's actually my first delve into tracing a python.  I can't even
do Hello, World! in Python.  However, the syntax looks like a cross
between bash and C++... so I was able to follow along.


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: No sound: ALSA and software suspend2

2005-05-01 Thread Gabriel M. Beddingfield
Walter Dnes wrote:

   KDE uses the artsd sound daemon.  Have you configured artsd properly?

Whether artsd is properly configured or no... I would never wager on it, but
I think it's OK.  Everything works great with a 2.6.9 kernel, but not
2.6.11.

In trying to isolate the problem, I went into KDE and turned off arts
(Control Center - Sound  Multimedia - Sound System - Enable the Sound
System (uncheck), hit the apply button).  On reboot, I do the following
sequence...

1. Power On.
2. Boot a 2.6.11 kernel into single user.  (Grub:
kernel /kernel-2.6.11-suspend2-9 root=/dev/hda10 video=vesafb vga=0x305
resume2=/dev/hda6 s)
3. In single user mode: # /etc/init.d/alsasound start
4. # aplay /usr/share/games/tuxracer/sounds/tux_hit_tree1.wav
5. I hear the sound of tux hitting the tree.
6. # init 3 (includes kdm starting)
7. As root or normal user: $
aplay /user/share/games/tuxracer/shounds/tux_hit_tree1.wav
8. Again, poor tux.
9. Log in to KDE (remember, artsd is turned off)
10. No sound.  Neither aplay nor xmms via ALSA... nothing.
11. Here, I can fix it with $ sudo hibernate
12. Or, I can break it until the next boot with: # /etc/init.d/alsasound
restart (Honest, when I do that it stays broke)

Reboot with 2.6.9 kernel, and all is well.

I keep trying to nail where the problem is.  I suspect it's KNotify or
something.  I've seen hints on google where others have their KDE sound
broken with 2.6.11... but I don't see any bug reports or anything.

Again, any help or tips is appreciated!


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] No sound: ALSA and software suspend2

2005-04-30 Thread Gabriel M. Beddingfield

I recently upgraded my kernel from 2.6.9-gentoo-r13 to 2.6.11-suspend2.  I
wanted to get software suspend v2 working.  (I'm using a laptop, and boot /
shutdown is just taking forever.)

I seem to have most everything worked out except this:  When I boot, I can't
get the soundcard to make any noise at all.  When I hibernate, then
restore, the sound card works fine.  (Go figure... something actually gets
*fixed* by a software suspend.)  This is repeatable.

Once, on boot up / log in via xdm to KDE -- I actually heard the log-in
sound.  But it got cut short, and the sound card didn't work until I
hibernated and then resumed.

I can't see much difference in lsmod before and after hibernate.  Same with
lsof... I can't see much difference between before and after hibernate.

I sorted lsmod before and after hibernate... here's the diff:
# diff lsmod0s.txt lsmod1s.txt
2c2
 arc41600  1
---
 arc41600  0
7c7
 ieee80211_crypt_wep 3972  1
---
 ieee80211_crypt_wep 3972  0
10c10
 snd47844  13
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
---
 snd47844  13
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer

lsof is a little more difficult to parse... But I didn't see any ownership
red flags on files named dsp, sound, or snd.

Basics:  Pentium M, 512MB Ram, ALSA w/OSS emulation, Intel 82801DB/DBL/DBM
AC'97 soundcard, KDE desktop with aRts, up-to-date gentoo running
2.6.11-suspend2 kernel (sys-kernel/suspend2-sources-2.6.11), hibernate is
sys-power/hibernate-script

Any advice would be appreciated!


-- 
 G a b r i e l   M .   B e d d i n g f i e l d

-- 
gentoo-user@gentoo.org mailing list