Re: Lenny installer, problems loading the graphical installer mouse modules

2010-02-25 Thread Raúl Benencia
El 24/02/10 16:18, Frans Pop escribió:
 I'm using branches/d-i/lenny/installer, but that should not make any 
 difference. Does using the branch make any difference for you?
   
No, the error is still there.
   
 make build_netboot-gtk (only to test the graphical installer)
 
 Did you use fakeroot for the build or what?

   
I've used fakeroot, I just didn't copy-paste the command and forgot to
write it before.
 I tested the mini.iso with a vm, and the error is still there. I've
 built the installer in this way several times in the course of over a
 year, and it always worked for me. Please, take a look and see if you
 can reproduce the error.
 
 I cannot reproduce the error. The image boots without any errors and the 
 mouse works.

 'lsmod' shows psmouse and evdev are loaded and /proc/bus/input/devices 
 shows handlers for kbd, mouseX and eventX. All as it should be.


   
Running 'lsmod' shows no module loaded. [0]
I'm building the image in a squeeze box. Maybe that has something to do
with the problem. I've uploaded[1] a screenshot so you can see the error.
With the dirty workaround I've made, I fixed the problem, so there is
not actual urgency.  I just wanted to report the problem.

[0] http://tinypic.com/r/142t01c/6
[1] http://tinypic.com/r/9ftxde/6

-- 
Raúl Benencia

Lihuen GNU/Linux development team


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b8684e2.80...@linti.unlp.edu.ar



Re: Lenny installer, problems loading the graphical installer mouse modules

2010-02-25 Thread Frans Pop
On Thursday 25 February 2010, Raúl Benencia wrote:
 I'm building the image in a squeeze box.

That won't work. You have to build D-I in an environment that matches the 
release you're building for.

Try in a lenny chroot.


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201002251538.33423.elen...@planet.nl



Re: [SOLVED] Lenny installer, problems loading the graphical installer mouse modules

2010-02-25 Thread Raúl Benencia
El 25/02/10 11:38, Frans Pop escribió:
 On Thursday 25 February 2010, Raúl Benencia wrote:
   
 I'm building the image in a squeeze box.
 
 That won't work. You have to build D-I in an environment that matches the 
 release you're building for.

 Try in a lenny chroot.


   
Tested in a lenny box and worked perfectly. Sorry about that, noob mistake!

Thanks for all. Cheers.

-- 
Raúl Benencia

Lihuen GNU/Linux development team


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b86a51a.2030...@linti.unlp.edu.ar



Lenny installer, problems loading the graphical installer mouse modules

2010-02-24 Thread Raúl Benencia
During the last month, I've been having problems with the creation of
debian-installer images for a lenny-based distro. I've tried with
different svn tags and even with the trunk version, but the results were
the same.
The error appears after selecting the graphical install and enabling the
framebuffer:

FATAL: Could not open 'kernel/drivers/input/evdev.ko': No such file or
directory
FATAL: Could not open 'kernel/drivers/input/mouse/psmouse.ko': No such
file or difrectory

After playing around for a while, I found out that modprobe is trying to
load the kernel modules from a relative path. This, obviously, is a bug.
d-i hackers may have not noticed that because they're tremendously busy
with the squeeze release.
Anyway, I've attached a small dirty and ugly workaround. The file in
charge of loading the mouse modules is the S61mouse-support-x86, from
the rootskel-gtk package.
Is there a better solution to this problem? If you need more
information, please let me know.

-- 
Raúl Benencia

Lihuen GNU/Linux development team

*** src/lib/debian-installer.d/S61mouse-support-x86	2010-02-22 15:40:21.0 -0300
--- src/lib/debian-installer.d/S61mouse-support-x86	2010-02-23 17:20:13.0 -0300
***
*** 1,5 
--- 1,7 
  if [ $DEBIAN_FRONTEND = gtk ] ; then
+ cd /lib/modules/`uname -r`
  modprobe -q evdev || true
  modprobe -q psmouse || true
  modprobe -q usbmouse || true
+ cd -
  fi


Re: Lenny installer, problems loading the graphical installer mouse modules

2010-02-24 Thread Frans Pop
On Wednesday 24 February 2010, Raúl Benencia wrote:
 After playing around for a while, I found out that modprobe is trying to
 load the kernel modules from a relative path. This, obviously, is a bug.
 d-i hackers may have not noticed that because they're tremendously busy
 with the squeeze release.

This cannot be the solution. Modprobe is not supposed to require a path.

I suspect something is broken in the way you create your images, especially 
as we've had no problems at all with the official images (which have been 
updated fairly recently).

Maybe you're failing to run 'depmod -a' at the correct time?


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201002241700.23459.elen...@planet.nl



Re: Lenny installer, problems loading the graphical installer mouse modules

2010-02-24 Thread Raúl Benencia
El 24/02/10 13:00, Frans Pop escribió:
 On Wednesday 24 February 2010, Raúl Benencia wrote:
   
 After playing around for a while, I found out that modprobe is trying to
 load the kernel modules from a relative path. This, obviously, is a bug.
 d-i hackers may have not noticed that because they're tremendously busy
 with the squeeze release.
 
 This cannot be the solution. Modprobe is not supposed to require a path.

 I suspect something is broken in the way you create your images, especially 
 as we've had no problems at all with the official images (which have been 
 updated fairly recently).

 Maybe you're failing to run 'depmod -a' at the correct time?


   
Althought I've tried a lot of times, you made me doubt what I had done
and I had tried one more time half an hour ago with a clean and fresh
installer. These were my steps:

svn co svn://svn.debian.org/d-i/tags/installer/20090123lenny6 d-i

make build_netboot-gtk (only to test the graphical installer)

I tested the mini.iso with a vm, and the error is still there. I've
built the installer in this way several times in the course of over a
year, and it always worked for me. Please, take a look and see if you
can reproduce the error.

Thank you for your time, Frans. I really appreciate your help.

Cheers

-- 
Raúl Benencia

Lihuen GNU/Linux development team


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b855e0a.8070...@linti.unlp.edu.ar



Re: Lenny installer, problems loading the graphical installer mouse modules

2010-02-24 Thread Frans Pop
On Wednesday 24 February 2010, Raúl Benencia wrote:
 Althought I've tried a lot of times, you made me doubt what I had done
 and I had tried one more time half an hour ago with a clean and fresh
 installer. These were my steps:

 svn co svn://svn.debian.org/d-i/tags/installer/20090123lenny6 d-i

I'm using branches/d-i/lenny/installer, but that should not make any 
difference. Does using the branch make any difference for you?

 make build_netboot-gtk (only to test the graphical installer)

Did you use fakeroot for the build or what?

 I tested the mini.iso with a vm, and the error is still there. I've
 built the installer in this way several times in the course of over a
 year, and it always worked for me. Please, take a look and see if you
 can reproduce the error.

I cannot reproduce the error. The image boots without any errors and the 
mouse works.

'lsmod' shows psmouse and evdev are loaded and /proc/bus/input/devices 
shows handlers for kbd, mouseX and eventX. All as it should be.


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201002242018.48162.elen...@planet.nl