Re: [gentoo-user] Re: [OT] ubuntu equivalent of world file

2020-05-08 Thread marco restelli
2020-05-06 16:25 GMT+02:00, Mark Knecht :
> On Wed, May 6, 2020 at 2:39 AM marco restelli  wrote:
>
>> 2020-05-06 11:29 GMT+02:00, marco restelli :
>> > Hi all,
>> >this is a bit off topic, but probably is not an unknown problem for
>> > many on the list.
>> >
>> > I am a long time gentoo user and I occasionally work on an Ubuntu
>> > system. I wonder
>> > whether there is an Ubuntu equivalent of the portage world file, to
>> > separate the packages
>> > installed because the user wants them and those that are only there as
>> > a dependency.
>>
>> So, I finally found it short after posting:
>>
>>  apt-mark showauto
>>  apt-mark showmanual
>>
>> does the job.
>>
>> Marco
>>
>>
> $ cat /var/log/apt/history.log > ~/Desktop/allhistory.log && zcat
 /var/log/apt/history.log*gz >> ~/Desktop/allhistory.log

OK, yes, this is also a solution, thank you. apt-mark gives the present state,
looking into the logs provides the whole evolution.

Marco



[gentoo-user] Re: [OT] ubuntu equivalent of world file

2020-05-06 Thread marco restelli
2020-05-06 11:29 GMT+02:00, marco restelli :
> Hi all,
>this is a bit off topic, but probably is not an unknown problem for
> many on the list.
>
> I am a long time gentoo user and I occasionally work on an Ubuntu
> system. I wonder
> whether there is an Ubuntu equivalent of the portage world file, to
> separate the packages
> installed because the user wants them and those that are only there as
> a dependency.

So, I finally found it short after posting:

 apt-mark showauto
 apt-mark showmanual

does the job.

Marco



[gentoo-user] [OT] ubuntu equivalent of world file

2020-05-06 Thread marco restelli
Hi all,
   this is a bit off topic, but probably is not an unknown problem for
many on the list.

I am a long time gentoo user and I occasionally work on an Ubuntu
system. I wonder
whether there is an Ubuntu equivalent of the portage world file, to
separate the packages
installed because the user wants them and those that are only there as
a dependency.

Thank you
   Marco



Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-16 Thread marco restelli
2017-02-15 16:19 GMT+01:00, Rich Freeman :
>>
>>> Anytime you see something like root=UUID=* that is being handled by an
>>> initramfs.
>>
>> I understand that this parameter is passed by the kernel to the init
>> script inside the initramfs which then uses "busybox findfs" to
>> translate the UUID into a device name. Is this correct?
>>
>
> I suppose that is one way it could be done, but of course it could be
> implemented in other ways.  As far as I can tell Dracut does not use
> busybox findfs.

OK, yes. Indeed I was looking at the init used by genkernel.

Marco



Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-15 Thread marco restelli
2017-02-13 12:47 GMT+01:00, Johannes Rosenberger :
> On 13.02.2017 12:34, Rich Freeman wrote:
>> On Mon, Feb 13, 2017 at 5:53 AM, marco restelli 
>> wrote:
>>> Could you suggest any reference about how an initramfs can help making
>>> it easier to identify the correct root filesystem? Does this
>>> functionality overlap with what grub can do, or is something
>>> different?
>>>
>> The dracut references are fairly extensive, but they probably assume
>> that you already know about something like this.
>>
>> [...]
>
> There is some very good documentation about crafting your own initramfs
> it the Gentoo wiki:
> https://wiki.gentoo.org/wiki/Custom_Initramfs
> https://wiki.gentoo.org/wiki/Early_Userspace_Mounting

Johannes, these documents are indeed very informative, thank you for
pointing them out.

Marco



Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-15 Thread marco restelli
2017-02-13 12:34 GMT+01:00, Rich Freeman :
> On Mon, Feb 13, 2017 at 5:53 AM, marco restelli 
> wrote:
>>
>> Could you suggest any reference about how an initramfs can help making
>> it easier to identify the correct root filesystem? Does this
>> functionality overlap with what grub can do, or is something
>> different?
>>
>
> The dracut references are fairly extensive, but they probably assume
> that you already know about something like this.  Keep in mind that on
> virtually all other distros end-users aren't expected to set up their
> own kernels or initramfs so there isn't a lot of general documentation
> out there.  And even within Gentoo a lot of people seem to avoid an
> initramfs, so our own docs may not be as extensive as they could be.

Yes, indeed I have always used gentoo without an initramfs and I am
now looking into it because I want to make a bootable USB.

> The short version is that the kernel is very limited in what it can
> take in the root= option on the command line, and grub and other
> bootloaders don't do anything to ID the root filesystem other than
> passing whatever root= parameter you specify (I'd be interested in any
> info to the contrary).

I have always generated grub.cfg files with grub-mkconfig. In some
cases I see here

search --no-floppy --fs-uuid --set=root 
linux   /kernel-XYZ root=/dev/sda4 ro

As far as I understand it, the first line searches the partition where
the kernel is located identifying it through the UUID. Then the second
line loads the kernel passing /dev/sda4 as the system root.

On the bootable USB stick, with an initramfs, however I have

search --no-floppy --fs-uuid --set=root 
linux   /kernel-XYZ root=UUID= ro

so now also the root filesystem is identified by its UUID.

Based on your comment that:

> Anytime you see something like root=UUID=* that is being handled by an
> initramfs.

I understand that this parameter is passed by the kernel to the init
script inside the initramfs which then uses "busybox findfs" to
translate the UUID into a device name. Is this correct?

> Basically an initramfs should be viewed as an extended bootloader.
> For more exotic setups they're essentially required (such as
> network-based root filesystems).  The trend has also been to not add
> new root-finding capabilities to the kernel as the initramfs is the
> preferred way of doing things.  If lvm+mdadm were being built today,
> I'm not sure they would make the kernel capable of directly mounting
> them as root.

OK.

Thank you again,
   Marco



Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-13 Thread marco restelli
2017-02-10 13:35 GMT+01:00, Rich Freeman :
> On Fri, Feb 10, 2017 at 6:58 AM, marco restelli 
> wrote:
>> Hi all,
>>I am trying to understand a bit initramfs and genkernel and I have
>> few (basic) questions.
>
>> - how does genkernel decide which modules to put in the initramfs ?
>
> I can't speak to genkernel specifically, but most initramfs generators
> include all modules.  Other than space and miniscule load time there
> isn't much reason not to.

After checking, genkernel copies only some modules into the initramfs,
unless the --all-ramdisk-modules flag is used.

Concerning the rest of your reply: thank you so much, it really helped
me a lot!

Could you suggest any reference about how an initramfs can help making
it easier to identify the correct root filesystem? Does this
functionality overlap with what grub can do, or is something
different?

Thank you,
   Marco



[gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-10 Thread marco restelli
Hi all,
   I am trying to understand a bit initramfs and genkernel and I have
few (basic) questions.

I understand that one must have in the initramfs those modules which
are required to boot the system, for instance to access /dev . Now:

- can a module be present both in the initramfs and as kernel module
  in /lib/modules ?

- how does genkernel decide which modules to put in the initramfs ?

- can modules included in the initramfs be unloaded once the system is
  running, as  modprobe -r

- can modprobe load modules from the initramfs ?


Well, clearly I am a bit confused about the topic - I hope somebody
can help me a bit!

Thank you,
   Marco



[gentoo-user] Re: USB installation using grub 2 and efi

2017-02-07 Thread marco restelli
2017-02-06 21:44 GMT+01:00, marco restelli :
> Hi all,
>I would like to build a bootable USB which behaves as a normal
> installation (saving files, updates etc.) and which is reasonably
> portable across various computers. I am following
>
> https://wiki.gentoo.org/wiki/Install_Gentoo_on_a_bootable_USB_stick/en
>
> which seems to describe what I am looking for. I am adapting the above
> instructions to use grub2 with efi, using one partition for /boot and
> another for /boot/efi .
>
> I can boot the USB once, but then at the next reboot my hard drive
> installation is corrupted and can not be booted anymore. I have to
> reinstall grub from another live USB.

Replying to my e-mail: it seems that using --removable when calling
grub-install solves the problem.

Marco



[gentoo-user] USB installation using grub 2 and efi

2017-02-06 Thread marco restelli
Hi all,
   I would like to build a bootable USB which behaves as a normal
installation (saving files, updates etc.) and which is reasonably
portable across various computers. I am following

https://wiki.gentoo.org/wiki/Install_Gentoo_on_a_bootable_USB_stick/en

which seems to describe what I am looking for. I am adapting the above
instructions to use grub2 with efi, using one partition for /boot and
another for /boot/efi .

I can boot the USB once, but then at the next reboot my hard drive
installation is corrupted and can not be booted anymore. I have to
reinstall grub from another live USB.

My questions:

1) is the above link a good reference for what I am trying to do?

2) what can corrupt the main driver when booting from the USB
installation?

3) is there another reference for what I am doing? (live USB are a
different thing, since unless I am mistaken the installation can not
be changed, although it is possible to mount a writable partition)

The fact that the main installation is corrupted is of course what
worries me most, since for this USB to be make sense I should be more
or less confident that at least it does not corrupt the main
installation.

I have no problems providing additional details, if I knew what would
be useful.

Thank you!
Marco



[gentoo-user] Re: Problem compiling dev-lang/gdl-0.9.4

2015-04-28 Thread marco restelli
Sorry, the subject in my previous message was wrong.

Marco

2015-04-28 15:53 GMT+0200, marco restelli :
> Hi all,
>I am trying to install dev-lang/gdl-0.9.4 but I see the following
> error:
>
>
> -- Could NOT find PLPLOT (missing:  PLPLOT_LIBRARIES)
> CMake Error at CMakeLists.txt:313 (message):
>   plplot library is required but was not found.
>
>   Use -DPLPLOTDIR=DIR to specify the plplot directory tree.
>
>   (suitable Debian/Ubuntu packages: libplplot-dev,
>   [plplot9-driver-xwin])(suitable Fedora package: plplot-devel)
>
>
> I have plplot with use flags
>
>  * Found these USE flags for sci-libs/plplot-5.11.0:
>  U I
>  + + X: Add support for X11
>  - - ada  : Add bindings for the ADA programming
> language
>  + + cairo: Enable support for the cairo graphics
> library
>  + + cxx  : Build support for C++ (bindings, extra
> libraries, code generation, ...)
>  - - doc  : Add extra documentation (API, Javadoc,
> etc). It is recommended to enable per package instead of globally
>  + + dynamic  : Build with dynamic drivers
>  - - examples : Install examples, usually source code
>  + + fortran  : Add support for fortran
>  - - gd   : Add support for media-libs/gd (to
> generate graphics on the fly)
>  - - java : Add support for Java
>  + + jpeg : Add JPEG image support
>  + + latex: Add support for LaTeX (typesetting package)
>  + + lua  : Enable Lua scripting support
>  - - ocaml: Add support/bindings for the Ocaml language
>  - - octave   : Add bindings for sci-mathematics/octave
>  + + pdf  : Add general support for PDF (Portable
> Document Format), this replaces the pdflib and cpdflib flags
>  - - pdl  : Add bindings for dev-perl/PDL
>  + + png  : Add support for libpng (PNG images)
>  - - python   : Add optional support/bindings for the
> Python language
>  + + python_targets_python2_7 : Build with Python 2.7
>  - - qhull: Add bindings for media-libs/qhull
>  + + qt4  : Add support for the Qt GUI/Application
> Toolkit version 4.x
>  - - shapefile: Enable support for ESRI shapefiles
>  + + svg  : Add support for SVG (Scalable Vector
> Graphics)
>  - - tcl  : Add support the Tcl language
>  - - test : Workaround to pull in packages needed
> to run with FEATURES=test. Portage-2.1.2 handles this internally, so
> don't set it in make.conf/package.use anymore
>  - - threads  : Add threads support for various
> packages. Usually pthreads
>  - - tk   : Add support for Tk GUI toolkit
>  + + truetype : Add support for FreeType and/or FreeType2
> fonts
>  - - wxwidgets: Add support for wxWidgets/wxGTK GUI toolkit
>
>
> Does anybody have a suggestion?
>
> Thank you,
>Marco
>



[gentoo-user] Problem compiling sci-libs/plplot-5.11.0

2015-04-28 Thread marco restelli
Hi all,
   I am trying to install dev-lang/gdl-0.9.4 but I see the following
error:


-- Could NOT find PLPLOT (missing:  PLPLOT_LIBRARIES)
CMake Error at CMakeLists.txt:313 (message):
  plplot library is required but was not found.

  Use -DPLPLOTDIR=DIR to specify the plplot directory tree.

  (suitable Debian/Ubuntu packages: libplplot-dev,
  [plplot9-driver-xwin])(suitable Fedora package: plplot-devel)


I have plplot with use flags

 * Found these USE flags for sci-libs/plplot-5.11.0:
 U I
 + + X: Add support for X11
 - - ada  : Add bindings for the ADA programming language
 + + cairo: Enable support for the cairo graphics library
 + + cxx  : Build support for C++ (bindings, extra
libraries, code generation, ...)
 - - doc  : Add extra documentation (API, Javadoc,
etc). It is recommended to enable per package instead of globally
 + + dynamic  : Build with dynamic drivers
 - - examples : Install examples, usually source code
 + + fortran  : Add support for fortran
 - - gd   : Add support for media-libs/gd (to
generate graphics on the fly)
 - - java : Add support for Java
 + + jpeg : Add JPEG image support
 + + latex: Add support for LaTeX (typesetting package)
 + + lua  : Enable Lua scripting support
 - - ocaml: Add support/bindings for the Ocaml language
 - - octave   : Add bindings for sci-mathematics/octave
 + + pdf  : Add general support for PDF (Portable
Document Format), this replaces the pdflib and cpdflib flags
 - - pdl  : Add bindings for dev-perl/PDL
 + + png  : Add support for libpng (PNG images)
 - - python   : Add optional support/bindings for the
Python language
 + + python_targets_python2_7 : Build with Python 2.7
 - - qhull: Add bindings for media-libs/qhull
 + + qt4  : Add support for the Qt GUI/Application
Toolkit version 4.x
 - - shapefile: Enable support for ESRI shapefiles
 + + svg  : Add support for SVG (Scalable Vector Graphics)
 - - tcl  : Add support the Tcl language
 - - test : Workaround to pull in packages needed
to run with FEATURES=test. Portage-2.1.2 handles this internally, so
don't set it in make.conf/package.use anymore
 - - threads  : Add threads support for various
packages. Usually pthreads
 - - tk   : Add support for Tk GUI toolkit
 + + truetype : Add support for FreeType and/or FreeType2 fonts
 - - wxwidgets: Add support for wxWidgets/wxGTK GUI toolkit


Does anybody have a suggestion?

Thank you,
   Marco



Re: [gentoo-user] xorg-7.2 and ati-drivers-8.32.5

2007-05-07 Thread marco restelli

On 5/4/07, Remy Blank <[EMAIL PROTECTED]> wrote:

I have noticed xorg-7.2 just went stable. I am currently using 7.1 with
the stable binary ATI drivers ati-drivers-8.32.5 and the kernel
gentoo-sources-2.6.19-r5. Has anybody with the same configuration done
the update? Does it work for you?



Update done, no problems (up to now). I am on amd64.

Marco
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: preventing a module from being loaded

2007-02-11 Thread marco restelli

On 2/10/07, Remy Blank <[EMAIL PROTECTED]> wrote:

(Sorry if this appears twice, but I sent the message three hours ago and
it hasn't appeared on the list yet)

marco restelli wrote:
> Now, at boot, the module bcm43xx is loaded, while
> I have been using ndiswrapper.

I had the same problem here. You can block the automatic loading of the
module by udev as follows:

Find out the module alias used by udev:

  cat /sys/class/net/wlan0/device/modalias

(Replace wlan0 by the name of your interface). Here this gives:

  pci:v14E4d4324sv1028sd0003bc02sc80i00

Create the file /etc/modules.d/blacklist with the following content:

  alias pci:v14E4d4324sv1028sd0003bc02sc80i00 off

(Use the alias you got with the command above). Then run modules-update.


Remy, it works. Thanks very much.



Easy, isn't it? ;-)


Uh, I am glad we have this great mailing list and great community!
   Marco
--
gentoo-user@gentoo.org mailing list



[gentoo-user] preventing a module from being loaded

2007-02-10 Thread marco restelli

Hi list,
  I have just upgraded to udev-104-r9.

Now, at boot, the module bcm43xx is loaded, while
I have been using ndiswrapper. I have thus to do
the following:

modprobe -r ndiswrapper
modprobe -r bcm43xx
modprobe ndiswrapper

My question is: how can I prevent bcm43xx from
being loaded? (Adding bcm43xx to
/etc/hotplug/blacklist does not seem to work.)

Thank you
  Marco
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync connecting to 1.0.0.0 [OT, maybe]

2006-12-20 Thread marco restelli

On 12/17/06, Mark M <[EMAIL PROTECTED]> wrote:




On 12/16/06, marco restelli <[EMAIL PROTECTED]> wrote:
>
> On 12/16/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:
> > On Saturday 16 December 2006 08:38, "marco restelli" <
[EMAIL PROTECTED]>
> > wrote about 'Re: [gentoo-user] emerge --sync connecting to 1.0.0.0 [OT,
> > maybe]':
> > > On 12/16/06, Boyd Stephen Smith Jr. < [EMAIL PROTECTED]> wrote:
> > > > Probably some bad DNS server...
> > > >
> > > > Could you post the contents of /etc/resolv.conf when your laptop is
> > > > connected to the Netgear?
> > >
> > > Here it is:
> > >
> > > cat /etc/resolv.conf
> > > # Generated by dhcpcd for interface wlan0
> > > nameserver 192.168.1.1
> > >
> > > Actually, 192.168.1.1 is the router, which is connected to the
> > > internet with a Netgear modem, IP 192.168.0.1
> >
> > Alright.  This means that (most likely) your laptop is asking your
router
> > to resolve rsync.gentoo.org and that router is giving back bad
> > response(s), at least at first.  You should check the configuration of
the
> > DNS server on the router.
>
> Ok, this is already a useful information
>
> > If you need further assistance, I'll need to know more about your
router,
> > specifically it's firm- and software.  Also, if the router isn't running
> > Gentoo, we may need to take this off-list of (at least) mark further
> > messages as off-topic.
>
> It is Netgear WGR614 v6, and it is not running Gentoo.
>
> > If you want to confirm the problem is with the router, break out your
> > generic DNS clients (dig/nslookup) and network monitoring tools (tcpdump
> > et al.).  Of course, your router my simply be giving bad responses
because
> > it's getting bad responses from further upstream.
>
> Thanks for all the advices.
>
> Marco
> --
> gentoo-user@gentoo.org mailing list
>
>
I've seen that exact problem with many simple routers like the one you have
and various Linux distros, almost always
some of the programs do work with dns server being the router itself and
some don't. Namely:

Web browsers and IM apps mostly work,
rsync,svn git and some telnet and ftp apps mostly don't.
In MS Windows almost always all work just fine.
The solution for me was to find out in the router itself what are the dns
servers that it uses and configure them in the system, either in resolv.conf
or in conf.d/net .
Hope it helps.



Indeed, it works for me as well :-)

Thank you
  Marco
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync connecting to 1.0.0.0 [OT, maybe]

2006-12-16 Thread marco restelli

On 12/16/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

On Saturday 16 December 2006 08:38, "marco restelli" <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] emerge --sync connecting to 1.0.0.0 [OT,
maybe]':
> On 12/16/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:
> > Probably some bad DNS server...
> >
> > Could you post the contents of /etc/resolv.conf when your laptop is
> > connected to the Netgear?
>
> Here it is:
>
> cat /etc/resolv.conf
> # Generated by dhcpcd for interface wlan0
> nameserver 192.168.1.1
>
> Actually, 192.168.1.1 is the router, which is connected to the
> internet with a Netgear modem, IP 192.168.0.1

Alright.  This means that (most likely) your laptop is asking your router
to resolve rsync.gentoo.org and that router is giving back bad
response(s), at least at first.  You should check the configuration of the
DNS server on the router.


Ok, this is already a useful information


If you need further assistance, I'll need to know more about your router,
specifically it's firm- and software.  Also, if the router isn't running
Gentoo, we may need to take this off-list of (at least) mark further
messages as off-topic.


It is Netgear WGR614 v6, and it is not running Gentoo.


If you want to confirm the problem is with the router, break out your
generic DNS clients (dig/nslookup) and network monitoring tools (tcpdump
et al.).  Of course, your router my simply be giving bad responses because
it's getting bad responses from further upstream.


Thanks for all the advices.

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



Re: [gentoo-user] emerge --sync connecting to 1.0.0.0 [OT, maybe]

2006-12-16 Thread marco restelli

On 12/16/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

On Saturday 16 December 2006 06:37, "marco restelli" <[EMAIL PROTECTED]>
wrote about '[gentoo-user] emerge --sync connecting to 1.0.0.0 [OT,
maybe]':
> I am even unsure if the problem is the router
> or the laptop configuration or both, hence the OT.
> Any suggestion?

Probably some bad DNS server...

Could you post the contents of /etc/resolv.conf when your laptop is
connected to the Netgear?


Here it is:


cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
nameserver 192.168.1.1


Actually, 192.168.1.1 is the router, which is connected to the
internet with a Netgear modem, IP 192.168.0.1

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



[gentoo-user] emerge --sync connecting to 1.0.0.0 [OT, maybe]

2006-12-16 Thread marco restelli

Hi list,
  this may be a trivial question, but I really
don't know anything about networking.
When I connect my laptop to the internet
through my Netgear router, both firefox and
galeon work fine, but I can not run emerge:

emerge --sync

Starting rsync with rsync://1.0.0.0/gentoo-portage...
Checking server timestamp ...


However, after doing

ping rsync.gentoo.org
PING rsync.gentoo.org (134.68.220.97) 56(84) bytes of data.
64 bytes from rsync.gentoo.org (134.68.220.97): icmp_seq=1 ttl=49 time=170 ms
64 bytes from rsync.gentoo.org (134.68.220.97): icmp_seq=2 ttl=49 time=171 ms
64 bytes from rsync.gentoo.org (134.68.220.97): icmp_seq=3 ttl=49 time=168 ms

--- rsync.gentoo.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 168.541/169.990/171.031/1.159 ms

emerge works:

emerge --sync

Starting rsync with rsync://134.68.220.97/gentoo-portage...
Checking server timestamp ...

Welcome to hawk.gentoo.org


I am even unsure if the problem is the router
or the laptop configuration or both, hence the OT.
Any suggestion?

Thank you
 Marco
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] erratic touchpad

2006-07-04 Thread marco restelli

Hi list,
upgrading to the 2.6.16 kernel solved the problem :-)

Best
Marco


On 6/24/06, Richard Fish <[EMAIL PROTECTED]> wrote:

On 6/22/06, marco restelli <[EMAIL PROTECTED]> wrote:
>
> Hi Richard,
>   thank you for the suggustions, but it does not work.
> Those two errors are still present, for whatever choice
> of the clock option :-(

Hmm, darn.  It still looks to me like a problem with your interrupt
controller.  Unfortunately I don't know your hardware well enough to
advise any further.  You might try the gentoo-amd64 list.

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] erratic touchpad

2006-06-22 Thread marco restelli

On 6/21/06, Richard Fish <[EMAIL PROTECTED]> wrote:

On 6/17/06, marco restelli <[EMAIL PROTECTED]> wrote:
> Everything works fine, but the touchpad.
> Indeed I have all the advanced features working: double click,
> scroll ... but using the touchpad when the CPU load is hight
> the mouse starts jumping around and clicking everywhere.

I see two problems in your dmesg output:

> warning: many lost ticks.
> Your time source seems to be instable or some driver is hogging interupts
> rip __do_softirq+0x45/0xc9

Take a look at /usr/src/linux/Documentation/kernel-parameters.txt,
particularly the clock= option.  clock=pmtmr might be the best option
here...although I'm not sure it applies to amd64.

> input: SynPS/2 Synaptics TouchPad as /class/input/input1
> APIC error on CPU0: 00(40)

Booting with noapic (again, see kernel-parameters.txt) should help.
It might also clear up the time issue above.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list




Hi Richard,
 thank you for the suggustions, but it does not work.
Those two errors are still present, for whatever choice
of the clock option :-(

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



[gentoo-user] erratic touchpad

2006-06-17 Thread marco restelli

Hallo!
   I'm trying to install Gentoo on an hp dv5000us, amd64.
Everything works fine, but the touchpad.
Indeed I have all the advanced features working: double click,
scroll ... but using the touchpad when the CPU load is hight
the mouse starts jumping around and clicking everywhere.

I followed the instructions in
http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad
with the following configuration:
kernel 2.6.15-gentoo-r5
synaptics-0.14.4-r2
evdev and psmouse compiled as modules, loaded in /etc/conf.d/local.start
xorg-x11-6.8.2-r7

The output of dsmesg:
...
GSI 20 sharing vector 0xD1 and IRQ 20
ACPI: PCI Interrupt :06:02.0[A] -> GSI 21 (level, low) -> IRQ 209
ndiswrapper: using irq 209
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:14:a5:7c:c2:c0 using driver
bcmwl5, 14E4:4318.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
AES/CCMP with WPA, WPA2, WPA2PSK
warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x45/0xc9
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
for details.
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x20
input: SynPS/2 Synaptics TouchPad as /class/input/input1
APIC error on CPU0: 00(40)
wlan0: no IPv6 routers present
[fglrx] Maximum main memory to use for locked dma buffers: 918 MBytes.
ACPI: PCI Interrupt :01:05.0[A] -> GSI 17 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.23.7 [Mar  6 2006] on minor 0
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: Failed to reset mouse on isa0060/serio1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
psmouse.c: TouchPad at