Fabio Pennati wrote:
   I installed FreeBSD Release 7.0 stable from ftp.
   I found the following problems:

   1) I can boot only in "rescue mode"; all other options result in an
   hang. This could not be a problem if there is not influence on problem
   no.2 below.

I am afraid the second problem may be related to your kernel hang in
the first place.

Can you post the output of your "dmesg" command?
What kind of machine is this.

Is it fresh install or update/overwrite of something else?

   2) The USB mouse do not work at all, also if it is recognized during
   boot (it is configured as standard in /etc/devd.conf) and a proper
   "moused" process is started. The mouse is seen as usb generic device,
   sysmouse protocol on port /dev/ums0. I  checked also with "usbdevs"
   command  ant it appears normally on the usb hub.

Can you post the kernel logs when the mouse is attached?

I have (I think) similar setup - a laptop with external mouse.

I have two processes running:

% ps ax |grep moused
583 ?? Is 0:51,41 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
 1270  ??  Rs     0:31,96 /usr/sbin/moused -3 -p /dev/psm0 -t auto

So should you also have.

Can you recompile the kernel with USB_DEBUG set and set the following variables at boot:

hw.usb.uhci.debug=6
hw.usb.ohci.debug=6
hw.usb.ums.debug=10

You may want to remove all usb-devices from the kernel and load them as modules in /boot/loader.conf:

usb_load="YES"
ugen_load="YES"
uhid_load="YES"
ukbd_load="YES"
ulpt_load="YES"
ums_load="YES"
cdce_load="YES"
ubsa_load="YES"
uplcom_load="YES"
ng_ubt_load="YES"
umass_load="YES"
uscanner_load="YES"

This is will make applying patches easier (you can set USB_DEBUG then in /etc/make.conf or in the appropriate /sys/modules/<module>/Makefile with:

DEBUG_FLAGS=-g -DUSB_DEBUG

--Marcin







Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to