modul compile fails - autoconf.h

2009-10-12 Thread Tamas Hegedus
Hi,

I have to compile a Cisco VPN Client on lenny stable (the provided
Cisco compatible vpn pkg is not good for me).

In directory "/lib/modules/2.6.26-2-686/build" there is no linux/config.h
/lib/modules/2.6.26-2-686/build -> /usr/src/linux-headers-2.6.26-2-686

Or where it should be?

I think I have a lot of packages (src, headers, autconf, etc) needed
for compiling...
I do not know what to do.

Thanks  a lot for your help in advance,
Tamas

---
./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]no

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.


Directory containing linux kernel source code [/lib/modules/2.6.26-2-686/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.26-2-686/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/lib/modules/2.6.26-2-686/build" will be used to
build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/home/src/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /home/src/vpnclient/linuxcniapi.o
/home/src/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No
such file or directory
In file included from /home/src/vpnclient/Cniapi.h:15,
 from /home/src/vpnclient/linuxcniapi.c:27:
/home/src/vpnclient/GenDefs.h:113: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
/home/src/vpnclient/linuxcniapi.c: In function 'CniInjectReceive':
/home/src/vpnclient/linuxcniapi.c:297: error: implicit declaration of
function 'skb_set_timestamp'
/home/src/vpnclient/linuxcniapi.c:331: error: 'struct sk_buff' has no
member named 'nh'
/home/src/vpnclient/linuxcniapi.c:332: error: 'struct sk_buff' has no
member named 'mac'
/home/src/vpnclient/linuxcniapi.c: In function 'CniInjectSend':
/home/src/vpnclient/linuxcniapi.c:454: error: 'struct sk_buff' has no
member named 'mac'
/home/src/vpnclient/linuxcniapi.c:455: error: 'struct sk_buff' has no
member named 'nh'
/home/src/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no
member named 'h'
/home/src/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no
member named 'nh'
make[2]: *** [/home/src/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/src/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



sda failure - no log

2008-10-28 Thread Tamas Hegedus

Hi,

Last night, very late :-) I did the following:

* press the power-on button

* the system did not start; I think the button was stuck and what I 
could hear (very gentle noise; I had to put my ears close to the box) 
that the power supply and CD-rom got power for a second at every few second


* than I took a hammer :-) joke; applied some force on the power-on 
button and the system was turned off; then I could turn the system on


* at the startup I got some massage that the file system check failed, 
press something to enter a shell to correct (run the fschk manually?); 
but I pressed the other something (cntr-d?) and the system booted up 
normally


* I backed up my data
* This morning I tried to figure out what was the problem, but I could 
not find anything via dmesg - everything seems to be normal; sda was 
brought up normally w journaling - based on dmesg.


How could I figure out the problem, how can I be relaxed about my data 
and using that hard disk? I think the hd should be ok, not very old (max 
2 year old)... I did not dare to restart my system yet :-)


Thanks for your suggestions in advance,
tamas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: sda failure - no log

2008-10-28 Thread Tamas Hegedus
Thanks for the smartctl suggestions - self-test performed - no error was 
logged :-)


--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:[EMAIL PROTECTED]
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




sound card

2008-11-16 Thread Tamas Hegedus

Hi,

I have an integrated intel sound card: 82801G (ICH7 Family) High 
Definition Audio Controller (rev 01)


On Fedora I could install it after downloading the source code from 
alsa-project.org:

http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel

I have problem doing it on debian/lenny.
I do not know what else I should install. It seems I also need 
pulseaudio, alsa plugin for pulseaudio...


If I try to start amixer:
ALSA lib control.c:874:(snd_ctl_open_conf) Cannot open shared library 
/usr/lib/alsa-lib/libasound_module_ctl_pulse.so



I do not find a page how to track down problems with sound card 
installation, what I need... (e.g. it seems that if I need pulse audio 
then configuration files has to be created manually...)


Any suggestion how to do soundcard installation&troubleshooting?
For non-expert :-)

Thanks a lot in advance,
tamas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: sound card

2008-11-16 Thread Tamas Hegedus

Thanks!

Since I made some trials with the source I did the following:

1. "make uninstall" for all the alsa-* source dir I had tried to install
2. aptitude purge alsa-base alsa-utils
3. aptitude install alsa-base alsa-utils libesd-alsa0
4. "alsaconf": I got the message: "no supported PnP or PCI card found"
I think I do not have the "snd-hda-intel" driver.
FATAL: Could not open 
'/lib/modules/2.6.26-1-686/kernel/sound/pci/hda/snd-hda-intel.ko': No 
such file or directory


Any further suggestion?
Thanks a lot in advance, again.
tamas

Bogdan wrote:

Tamas Hegedus wrote:

Hi,

I have an integrated intel sound card: 82801G (ICH7 Family) High 
Definition Audio Controller (rev 01)


On Fedora I could install it after downloading the source code from 
alsa-project.org:

http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel

I have problem doing it on debian/lenny.
I do not know what else I should install. It seems I also need 
pulseaudio, alsa plugin for pulseaudio...


If I try to start amixer:
ALSA lib control.c:874:(snd_ctl_open_conf) Cannot open shared library 
/usr/lib/alsa-lib/libasound_module_ctl_pulse.so



I do not find a page how to track down problems with sound card 
installation, what I need... (e.g. it seems that if I need pulse audio 
then configuration files has to be created manually...)


Any suggestion how to do soundcard installation&troubleshooting?
For non-expert :-)

Thanks a lot in advance,
tamas




Hello,

Try this:

#apt-get install alsa-base alsa-utils libesd-alsa0

( if libesd-alsa0 does not exist, then omit it ).

Then

#alsaconf

After that, your sound card should work flawlessly.
These are the steps I also do get my Intel audio card to work in Debian.

Good luck,




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




boot problems

2008-11-29 Thread Tamas Hegedus

Hi,

I am running lenny and having some bootup problems.

*
1. I have a script in /etc/network/if-up.d/iptables
If I boot the system up, I see that it runs.

If I issue an iptables -L -n, I see SOME of my configurations.
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:993
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:8083


BUT I do not see all, especially I do not see:
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:83


However, if I run the script  manually, everything is ok.
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:83
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:993
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state 
NEW,RELATED,ESTABLISHED tcp dpt:8083


I guess that something else runs after my script modifying the iptable.

???

***
2. fschk exit with an operational error (8)
I get the root shell or Cntr-D. I checked the disk by smart tools - it 
seems no problem with the disk.
What I think the problem is: when the system boots up, I see that it 
wants to run fschk on other disks than sda. My external hard drive is 
turned off. The fstab:

/dev/sdb1   /home/hege/disk2/ext3user,rw,noauto  0   2
/dev/sdc1   /home/hege/disk3/ext3user,rw,noauto  0   2

Moreover, if I turn on the external SATA disk it will be automatically 
mounted, although the 'noauto' option is defined. The disk is connected 
to a hot-plug-in enabled SATA card.


???

***
I tried /var/log/messages and dmesg, but I could not find anything...
Do you have any suggestion how to track down these problems?

Thanks for your help in advance,
tamas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




sound card not detected

2009-01-18 Thread Tamas Hegedus

Hi,

I am running debian/lenny.
I have an integrated sound card:
00:1e.2 Multimedia audio controller: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

It was recognized by the system but did not work.

So I installed the alsa-driver, lib, utils as described at:
http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel
Plus: toos, oss, plugins

The only 'unusual' thing during installation: I had to run ./snddevices
to have the /dev files

But my card is not recognized now. If I run alsaconf, it does not find
it. The sound modules are not loaded at bootup.

If I run "modprobe snd-hda-intel" I get:
WARNING: Error running install command for snd

I tried to google, but I could not solve and I do not know how to
proceed. Thanks for your help in advance,
tamas

--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-18 Thread Tamas Hegedus

I think this card needs the snd-intel8x0 module, not snd-hda-intel.

Hmmm. It seems you are right.


That would have been the right moment to ask for help here.
First I always try to solve myself. And I could do it on my other 
computer 2 months ago...



You seem to have a broken mix of the Debian and the non-Debian ALSA
modules. Can you revert to a clean Lenny install?

I do not know how to revert to a clean Lenny install.
Is it:
1. "make uninstall" for each installed-from-the-source alsa stuff?
2. aptitude install 'alsa-packages'
???

Thanks!
tamas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-20 Thread Tamas Hegedus

Hi,

1. I uninstalled the alsa compiled by hand.

---
2. I tried to reinstall the essential kernel packages what I think might
have been affected by the manual alsa compile.

aptitude reinstall|[remove&install]
linux-headers-2.6.26-1-686
linux-image-2.6-686
linux-libc-dev

---
3. I tried to reinstall the alsa packages.
aptitude reinstall linux-sound-base
aptitude reinstall libasound2
aptitude install alsa

---
# These installed some more dependencies:
aptitude install alsa-oss alsa-source alsa-tools

!!
I do not have the driver
modprobe -v snd-intel8x0
install /sbin/modprobe --ignore-install snd-intel8x0  && 
/lib/alsa/modprobe-post-install snd-intel8x0

FATAL: Module snd_intel8x0 not found.
FATAL: Error running install command for snd_intel8x0

"aptitude install linux-modules-2.6.26-1-686"
does not install anything

ls /lib/modules/2.6.26-1-686/kernel/sound/
oss  soundcore.ko  sound_firmware.ko

I do not have a "pci" directory I think I should have.
So where are my modules?

--
Just to be sure, I made a reboot. After that:
violin:~# lsmod | grep sound
violin:~# modprobe -v snd-intel8x0
install /sbin/modprobe --ignore-install snd-intel8x0  && 
/lib/alsa/modprobe-post-install snd-intel8x0

FATAL: Module snd_intel8x0 not found.
FATAL: Error running install command for snd_intel8x0
violin:~#


NOW I REALLY DO NOT KNOW WHAT TO DO.
(Moreover, I am new to debian - I have used RH earlier.)

Thanks for your help,
tamas

Florian Kulzer wrote:
> [ I am putting this back on the list. ]
>
> Tue, 20 Jan 2009 10:46:58 -0500, Tamas Hegedus wrote:
>> Dear Florian,
>>
>> I uninstalled alsa* (were compiled for hda) and  recompiled alsa*
>
> I would reinstall the Debian alsa-* packages and the package for your
> kernel.
>
>> After boot-up I have the soundcore (and snd) modules loaded.
>>
>> modprobe -v snd-hda-intel
>> install /sbin/modprobe --ignore-install snd-hda-intel  && 
/lib/alsa/modprobe-post-install snd-hda-intel

>> FATAL: Module snd_hda_intel not found.
>> FATAL: Error running install command for snd_hda_intel
>>
>> modprobe -v snd-intel8x0
>> 
>
> That means it was already loaded, which is a good sign.
>
>> lsmod | grep snd
>> snd_intel8x0   26364  0
>> snd_ac97_codec 91844  1 snd_intel8x0
>> ac97_bus1728  1 snd_ac97_codec
>> snd_pcm_oss32576  0
>> snd_mixer_oss  12800  1 snd_pcm_oss
>> snd_pcm63236  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
>> snd_timer  17832  1 snd_pcm
>> snd46776  6 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

>> soundcore   6368  1 snd
>> snd_page_alloc  7848  2 snd_intel8x0,snd_pcm
>>
>> aplay example.wav
>> I hear the speakers being activated but only noise no sound.
>
> Run "alsamixer" and check the volume levels. Make sure that Master, PCM,
> and Headphones (if applicable) are not muted. Also, try muting some of
> the other controls, for example SPDIF-related ones (if you have them).
>

--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org



Florian Kulzer wrote:

[ I am putting this back on the list. ]

Tue, 20 Jan 2009 10:46:58 -0500, Tamas Hegedus wrote:

Dear Florian,

I uninstalled alsa* (were compiled for hda) and  recompiled alsa*


I would reinstall the Debian alsa-* packages and the package for your
kernel.


After boot-up I have the soundcore (and snd) modules loaded.

modprobe -v snd-hda-intel
install /sbin/modprobe --ignore-install snd-hda-intel  &&  
/lib/alsa/modprobe-post-install snd-hda-intel

FATAL: Module snd_hda_intel not found.
FATAL: Error running install command for snd_hda_intel

modprobe -v snd-intel8x0



That means it was already loaded, which is a good sign.


lsmod | grep snd
snd_intel8x0   26364  0
snd_ac97_codec 91844  1 snd_intel8x0
ac97_bus1728  1 snd_ac97_codec
snd_pcm_oss32576  0
snd_mixer_oss  12800  1 snd_pcm_oss
snd_pcm63236  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer  17832  1 snd_pcm
snd46776  6  
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

soundcore   6368  1 snd
snd_page_alloc  7848  2 snd_intel8x0,snd_pcm

aplay example.wav
I hear the speakers being activated but only noise no sound.


Run "alsamixer" and check the volume levels. Make sure that Master, PCM,
and Headphones (if applicable) are not muted. Also, try muting some of
the other controls, for example SPDIF-related ones (if you have them).




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-21 Thread Tamas Hegedus

First of all thanks for the efforts!

From my original msg about reinstalling the kernel&alsa pkgs:

aptitude reinstall|[remove&install]
linux-headers-2.6.26-1-686
linux-image-2.6-686
linux-libc-dev

---
But I did now again:
aptitude reinstall linux-image-2.6-686

Same thing, modules are not reinstalled:
modprobe -v snd-intel8x0
install /sbin/modprobe --ignore-install snd-intel8x0  && 
/lib/alsa/modprobe-post-install snd-intel8x0

FATAL: Module snd_intel8x0 not found.
FATAL: Error running install command for snd_intel8x0

--
This is a little bit strange for me (the short file list for the 
linux-image package):


>> Debian  >> Packages  >> lenny >> linux-image-2.6-686 >> i386 >> Filelist
http://packages.debian.org/lenny/i386/linux-image-2.6-686/filelist

Filelist of package linux-image-2.6-686 in lenny of architecture i386

/usr/share/doc/linux-image-2.6-686/changelog.gz
/usr/share/doc/linux-image-2.6-686/copyright

--
Since I thought that only virtual packages exists for linux-modules, 
then everything is in the xen package (yes, stupid me).


Thanks again,
tamas

Daniel Burrows wrote:

On Wed, Jan 21, 2009 at 08:31:03AM +0100, Rainer Kluge  was 
heard to say:

Tamas Hegedus schrieb:

---
2. I tried to reinstall the essential kernel packages what I think might
have been affected by the manual alsa compile.

aptitude reinstall|[remove&install]
linux-headers-2.6.26-1-686
!!
I do not have the driver

I had the same problem some days ago. I reinstalled the kernel with
synaptic and /lib/modules/2.6.26-1-686/kernel/sound/pci/snd-intel8x0.ko
was back again. Maybe you should give synapptic a try.


  aptitude and synaptic will both just call dpkg to reinstall the
kernel, so I doubt that this is the cause of his problems.

  However, there is a difference between what you did and what he did:
I didn't see the kernel in the list of packages he reinstalled.  It
might be worthwhile for him to try reinstalling the kernel itself:

aptitude reinstall linux-image-2.6.26-1-686

  (I don't know how to get his sound back, but that should fix some of
the weirdness about which modules are available)

  Daniel




--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-21 Thread Tamas Hegedus

I really do not have the module.

I would like to solve by debian way (to learn the debian way) and not to 
try again the alsa source from alsaproject.org


This does not return anything on my computer:
locate snd-intel8x0 | grep 686

ls -1 /lib/modules/2.6.26-1-686/kernel/sound/
oss
soundcore.ko
sound_firmware.ko


subscriptions wrote:

On Wed, 2009-01-21 at 16:59 +0100, Tamas Hegedus wrote:

First of all thanks for the efforts!
---
But I did now again:
aptitude reinstall linux-image-2.6-686

Same thing, modules are not reinstalled:
modprobe -v snd-intel8x0
install /sbin/modprobe --ignore-install snd-intel8x0  &&
/lib/alsa/modprobe-post-install snd-intel8x0
FATAL: Module snd_intel8x0 not found.
FATAL: Error running install command for snd_intel8x0


Strange,
rdegr...@mycomp:~$ locate snd-intel8x0 | grep 686
/lib/modules/2.6.26-1-686/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.26-1-686/kernel/sound/pci/snd-intel8x0m.ko

Try rebuilding the dependencies, by 'depmod -a'.

Best,

Rob



--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-21 Thread Tamas Hegedus


From Rob:
> Have you run 'updatedb' lately (or through cron), such that 'locate'
> database is up to date?
YES. I have done.

From Boyd:
That's because you don't have the right kernel package installed.  Please 
run:

aptitude search '^linux-image-.*-686$'
and post the output to the list.


aptitude search '^linux-image-.*-686$'

i   linux-image-2.6-686 - Linux 2.6 
image on PPro/Celeron/PII/PIII/P4


p   linux-image-2.6-openvz-686  - Linux 2.6 
image on PPro/Celeron/PII/PIII/P4, OpenVZ support


p   linux-image-2.6-vserver-686 - Linux 2.6 
image on PPro/Celeron/PII/PIII/P4, Linux-VServer suppor


p   linux-image-2.6-xen-686 - Linux 2.6 
image on i686, oldstyle Xen support


i A linux-image-2.6.26-1-686- Linux 
2.6.26 image on PPro/Celeron/PII/PIII/P4


p   linux-image-2.6.26-1-openvz-686 - Linux 
2.6.26 image on PPro/Celeron/PII/PIII/P4, OpenVZ support


p   linux-image-2.6.26-1-vserver-686- Linux 
2.6.26 image on PPro/Celeron/PII/PIII/P4, Linux-VServer sup


p   linux-image-2.6.26-1-xen-686- Linux 
2.6.26 image on i686, oldstyle Xen support


p   linux-image-openvz-686  - Linux 
image on PPro/Celeron/PII/PIII/P4, OpenVZ support


p   linux-image-vserver-686 - Linux 
image on PPro/Celeron/PII/PIII/P4, Linux-VServer support


p   linux-image-xen-686 - Linux 
image on i686, oldstyle Xen support



--
I tried this, too.
I think a remove then install would work - how to do it in a safe/normal 
way?


aptitude reinstall linux-image-2.6.26-1-686
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REINSTALLED:
  linux-image-2.6.26-1-686
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 
330 not upgraded.

Need to get 0B of archives. After unpacking 0B will be used.
E: I wasn't able to locate file for the linux-image-2.6.26-1-686 
package. This might mean you need to manually fix this package.

Writing extended state information... Done
E: I wasn't able to locate file for the linux-image-2.6.26-1-686 
package. This might mean you need to manually fix this package.

E: Internal error: couldn't generate list of packages to download


--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: sound card not detected

2009-01-21 Thread Tamas Hegedus



i A linux-image-2.6.26-1-686- Linux
2.6.26 image on PPro/Celeron/PII/PIII/P4

I rebooted with a 486 kernel.
Removed and installed the linux-image-2.6.26-686
I rebooted with the 686 kernel.

alsa started AND:

lsmod | grep snd
snd_intel8x0   26268  0
snd_ac97_codec 88484  1 snd_intel8x0
ac97_bus1728  1 snd_ac97_codec
snd_pcm62596  2 snd_intel8x0,snd_ac97_codec
snd_seq41456  0
snd_timer  17800  2 snd_pcm,snd_seq
snd_seq_device  6380  1 snd_seq
snd45604  6 
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device

soundcore   6368  1 snd
snd_page_alloc  7816  2 snd_intel8x0,snd_pcm


BUT I still do not have sound.

0. alsamixer checked
1. aplay example.wav gives only noise
2. In the gnome environment: "No volume control GStreamer plugins and/or 
devices found."


I have no idea what to troubleshoot. After that I may be able to find 
out how to troubleshoot.


???

Thanks,
tamas


--
Tamas Hegedus, PhD  | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax:   (1) 919-966 5178
6107 Thurston-Bowles Bldg   | mailto:hege...@med.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




portaudio2/device busy?

2009-01-23 Thread Tamas Hegedus

Hi,

I would like to use espeak (text to voice application).
I got error the error messages below.

It was reported that several years ago it was a segmentation fault of 
portaudio19 (segmentation fault if device is busy; espeak uses 
libportaudio2). Later on the same messages are emitted I get. But I can 
not find any solution for this (I goggled). Any idea?


Thanks in advance,
tamas

espeak "this is a test"
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142

wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: portaudio2/device busy?

2009-01-23 Thread Tamas Hegedus

I have debian/lenny.

Tamas Hegedus wrote:

Hi,

I would like to use espeak (text to voice application).
I got error the error messages below.

It was reported that several years ago it was a segmentation fault of 
portaudio19 (segmentation fault if device is busy; espeak uses 
libportaudio2). Later on the same messages are emitted I get. But I can 
not find any solution for this (I goggled). Any idea?


Thanks in advance,
tamas

espeak "this is a test"
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142
Expression 'parameters->channelCount <= maxChans' failed in 
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, 
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', 
line: 1142

wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: portaudio2/device busy?

2009-01-24 Thread Tamas Hegedus

Hi,

I stopped pulseaudio.
BTW: This did not work "/etc/init.d/pulseaudio stop"
I had to use 'kill'.

And 'espeaks' works!


Could you see my other thread - problem with my
other computer's sound system.
"Re: sound card not detected"
   You seem an audio expert!


Thanks a lot!
tamas


Nigel Henry wrote:

On Saturday 24 January 2009 07:06, Tamas Hegedus wrote:

Hi,

I would like to use espeak (text to voice application).
I got error the error messages below.

It was reported that several years ago it was a segmentation fault of
portaudio19 (segmentation fault if device is busy; espeak uses
libportaudio2). Later on the same messages are emitted I get. But I can
not find any solution for this (I goggled). Any idea?

Thanks in advance,
tamas

espeak "this is a test"
Expression 'parameters->channelCount <= maxChans' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi,
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line: 1142
Expression 'parameters->channelCount <= maxChans' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi,
StreamDirection_Out )' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
line: 1142
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)


Hi Tamas.

I've just installed espeak on my Lenny install, and it plays the "this is a 
test" with no problems. Mind you the sound card on the machine that Lenny's 
installed on, is an audigy2 soundblaster, which is capable of playing 
multiple audio streams.


Which sound card do you have? cat /proc/asound/cards should give enough of an 
indication.


If you're using Gnome, it may be worth shutting down ESD in Gnomes sound 
settings, or if using KDE, like me, shut down the aRts sound server, then try 
the espeak test line again. It could be that portaudio is having a problem, 
if another soundserver is running, and with a card not capable of playing 
multiple audio streams.


I've also just installed it on another machine with an hda intel card, on both 
Etch, with the aRts soundserver running on KDE, and Kubuntu Intrepid, and 
both play the test ok.


Which kernel are you using on Lenny? uname -r
Which alsa driver version? cat /proc/asound/version

Anything else using the sound when you run the espeak test, which may be 
stopping you hearing sound?

lsof -n | grep /dev/dsp
lsof | grep /dev/snd

Did you install espeak, and it's deps from the Lenny repo, or from a source 
tarball?


I assume that the sounds are working, apart from espeak.

You no doubt are, but verify you are a member of /etc/group/audio, if there 
are general sound problems as user.


Can't think of much else at the moment.

Nigel.







--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: portaudio2/device busy?

2009-01-25 Thread Tamas Hegedus



Nigel Henry wrote:
I assume that you had installed pulseaudio at some time or other, to try it 
Yes, I installed it myself. Since when I was fighting to set up my 
audio,  at a point I red that I need a sound server. So I installed it 
and the sound was working on my linux box.


Installing the sysv-rc-conf package could help. run it as root on the command 
line, and you can disable pulseaudio (for example), which saves having to 
kill it, each time you boot up.

After I killed pulseaudio:
However, 'espeak' was working, I got the message that "can not connect 
to pulseaudio".


So last night I thought I do not need pulseaudio, so I simply removed 
it. Rebooted.
But now still everything complains that "can not connect to pulseaudio" 
and no sound at all.


I tried to google and find a site where I can understand the sound 
architecture of Linux (not ALSA - but the whole picture), but I could 
not find anything.


So I do not know now how to proceed. Can you suggest something to 
read/learn?


And also something how to solve the situation:
* having a soundserver (pulseaudio? or should I use esound?) for the 
common sound applications
* having espeak to work - w/o a soundserver (wrapping around it to avoid 
the server layer)


I have tried aoss - it was working for 'aoss flite -t "test sound"' 
(flite needs oss) but not for 'aoss espeak "test sound"'...


Thanks again,
tamas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




usb permissions (?)

2009-01-29 Thread Tamas Hegedus

Hi,

I reinstalled lenny.
Before that I could get the pics from my camera.

Now I get the message:

"""
An error occurred in the io-library ('Could not claim the USB device'): 
Could not claim interface 0 (Operation not permitted). Make sure no 
other program or kernel module (such as sdc2xx, stv680, spca50x) is 
using the device and you have read/write access to the device.

"""

I can get the pics as root.
I am (as a regular user) in the group of plugdev.

I think I should make usb ports accessible to regular users.
But I do not know how - and I find only 2-3 year old recipes, which are 
obviously not up-to-date...


Thanks for your help in advance,
tamas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: usb permissions (?)

2009-01-30 Thread Tamas Hegedus

Umarzuki Mochlis wrote:

2009/1/30 Tamas Hegedus 

I reinstalled lenny.
Before that I could get the pics from my camera.

with gtkam?


with gthumb





Now I get the message:

"""
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Operation not permitted). Make sure no other
program or kernel module (such as sdc2xx, stv680, spca50x) is using the
device and you have read/write access to the device.
"""

I can get the pics as root.
I am (as a regular user) in the group of plugdev.

I think I should make usb ports accessible to regular users.
But I do not know how - and I find only 2-3 year old recipes, which are
obviously not up-to-date...

Thanks for your help in advance,
tamas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org








--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




there is gui but no login on console after boot

2017-09-26 Thread Tamas Hegedus

Hi,

Recently I have noticed that there is no login prompt on my consoles.
X11 starts and I can use my system (I can also start a gui console).

I have upgraded my system to Debian 9 and hoped to get this issue solved 
seamlessly. However, there is still no prompt.


Could you suggest how to debug such an issue?

I googled and found only one possibility: something stays in the 
foreground at startup. But I do not find anything.


Thanks for your suggestions,
Tamas



virtualbox - missing packages

2017-09-29 Thread Tamas Hegedus

Hi,

A few weeks ago I could install virtualbox on stretch w/o any problem.
Now I try to install on a different computer and have the broken 
packages error shown below.


At the same time I have installed:
i   libssl1.0.2   - Secure 
Sockets Layer toolkit - shared libraries
i   libssl1.1 - Secure 
Sockets Layer toolkit - shared libraries


I also installed vpx-tools

I also have

i   linux-image-amd64 - Linux 
for 64-bit PCs (meta-package)


What can I do?
Thanks a lot for your help in advance.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'virtualbox-5.1' instead of 'virtualbox'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-5.1 : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
  Depends: libvpx3 (>= 1.5.0) but it is not installable
  Recommends: linux-image but it is not installable
E: Unable to correct problems, you have held broken packages.



Re: virtualbox - missing packages

2017-09-30 Thread Tamas Hegedus

Hi,

Thanks all the feed-backs, they helped in solving the problem.
A few weeks ago, when my virtualbox install was successful, it was an 
upgrade and not fresh debian 9 install.


Actually, finally I ended up to download the deb from virtualbox.org and 
it worked. However, it was only the install, I can not test it in the 
next days, since it is on a remote computer.


Thanks,
Tamas

On 09/30/2017 07:33 AM, Tamas Hegedus wrote:

Hi,

A few weeks ago I could install virtualbox on stretch w/o any problem.
Now I try to install on a different computer and have the broken
packages error shown below.

At the same time I have installed:
i   libssl1.0.2   - Secure
Sockets Layer toolkit - shared libraries
i   libssl1.1 - Secure
Sockets Layer toolkit - shared libraries

I also installed vpx-tools

I also have

i   linux-image-amd64 - Linux
for 64-bit PCs (meta-package)

What can I do?
Thanks a lot for your help in advance.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'virtualbox-5.1' instead of 'virtualbox'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-5.1 : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
  Depends: libvpx3 (>= 1.5.0) but it is not installable
  Recommends: linux-image but it is not installable
E: Unable to correct problems, you have held broken packages.