Bug 134644

Summary: alpha3 can't detect my usb-storage devices
Product: [openSUSE] SUSE Linux 10.1 Reporter: Chema Ollés <jmolles>
Component: HotplugAssignee: Kay Sievers <kasievers>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 3   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 142479    
Attachments: my hwinfo
hwinfo with usb modules loaded

Description Chema Ollés 2005-11-21 11:04:24 UTC
Hi all:
alpha3 can't detect my usb-storage device,doesn't mount usbfs,doesn't create /dev/usb....
Comment 1 Olaf Hering 2005-12-21 12:06:58 UTC
ah.
do you have more infos or should I just close this report?
Comment 2 Chema Ollés 2005-12-29 08:18:12 UTC
I update from 10.1a3 to alpha4 and I see the same problem.I suposse is a problem
related with udev and the incapacity to create devices dinamicatly...
regards
Comment 3 Olaf Hering 2006-01-02 12:17:50 UTC
I'm not sure if you have read any of the "how to report a bug" sites on the web.

attach the output of 'hwinfo' of the working and non-working case.
Comment 4 Chema Ollés 2006-01-02 12:40:13 UTC
Created attachment 61854 [details]
my hwinfo

I hope this log help for the udev problem.
regards
Comment 5 Olaf Hering 2006-01-03 13:58:37 UTC
can you try to run 'modprove -v uhci-hcd'? I dont see any usb modules loaded.

grep usb /proc/modules
Comment 6 Chema Ollés 2006-01-03 15:56:19 UTC
Created attachment 61897 [details]
hwinfo with usb modules loaded

Well my system is too old to execute modprove and I must to run modprobe instead ;-)
when I run grep usb /proc/modules I see this:
usbcore 132100 2 uhci_hcd, Live 0xf8ead000
I can see any sda device when connect my usb HD...
May I create sda... devices by hand? How?
regards
Comment 7 Chema Ollés 2006-01-03 15:57:42 UTC
Sorry the correct line is:
I can't see any sda device....
Comment 8 Chema Ollés 2006-01-03 16:20:10 UTC
I create a new /dev/sda y /dev/sda1 with mknod /dev/sda b 8 0 and
mknod /dev/sda1 b 8 1 but without luck... :-(
Comment 9 Olaf Hering 2006-01-03 17:36:57 UTC
Load also usb-storage, sd_mod and sr_mod.
But in any case, cant be a kernel bug.
Comment 10 Kay Sievers 2006-01-03 17:44:00 UTC
what does:
  rpm -q udev
and
  rpm -q kernel-default
and
  uname -a
print?
Comment 11 Chema Ollés 2006-01-03 19:11:02 UTC
OK...
I run modprobe -v usb-storage 
modprobe -v sd_mod
modprobe -v sr_mod
run rpm -q udev -> udev-077-3
run rpm -q kernel-default -> package kernel-default is not installed
run rpm -qa | grep 'kernel' ->
  kernel-update-tool-0.9-18
  kernel-smp-2.6.15_rc5_git3-2
  kernel-source-2.6.15_rc5_git3-2
and run uname -a -> Linux linux 2.6.15-rc5-git3-2-smp #1 SMP Wed Dec 14 13:10:38 UTC 2005 i686 i686 i386 GNU/Linux
well I must to say that after load the rest of usb modules I can mount 3 differents usb devices:
TOMTOM GO 300,DIGITAL CAMERA FINEPIX F455 (FUJIFILM) and a little flash-hd 128Mb
well the question is:
why the system doesn't load the usb modules when it need and I must do it by hand?

Comment 12 Chema Ollés 2006-01-03 21:52:01 UTC
I update to udev-079-2,hwinfo-11.31-2,hal-0.5.6_CVS_20051214-3.
Restart the system and see that must create all devices again... :-(
usb HD devices only works if I load the modules and create sda by hand...
Must I create udev.rules by hand also for the devices works?
regards
Comment 13 Kay Sievers 2006-01-04 01:02:17 UTC
No, all this should work without any manual setup, and it does on all boxes I've seen so far.

Does:
  killall udevd
  /etc/init.d/boot.udev start
after a reboot load the modules?
Comment 14 Chema Ollés 2006-01-04 15:44:54 UTC
Oh my God!
killall udevd saw this messages:
udevd: no process killed
It seems udevd doesn't start at the begining?
When I start the HD usb is detected...
I reboot again and look for this,without create sda and load modules by hand...
Please wait to my answer...
I'll write you later
regards
Comment 15 Kay Sievers 2006-01-04 16:13:18 UTC
Does:
  /etc/init.d/boot.d/S02boot.udev
exist?

If not, see if:
  insserv -d boot.udev
creates it.
Comment 16 Chema Ollés 2006-01-04 23:28:50 UTC
Hi again:
Well first of all,I reboot and see that boot.udev doesn't run.
I see I have a  /etc/init.d/boot.d/S04boot.udev also I have S04boot.device-mapper
and S04boot.md before boot.udev... Is this important for a reason boot.udev not run?
I run insserv -d boot.udev and create a new S02boot.udev and after  I can see S04boot.device-mapper and S04boot.md.
I reboot again and udev runs.Devices like mice,sound.... are created and usb are detected
Only I see that on boot messages,1 time cron doesn't load (I must run it by hand) and 1 time also I have a lot of messages related with NetworkManager.The last time cron loads normally
Another thing,I must change on /etc/udev/rules.d/50-udev-default.rules urandom mode from 660 to 666 because I have problems with amule and encripts routines.
seems all works fine now.
thank you very much for your great help
regards
Comment 17 Chema Ollés 2006-01-10 21:13:39 UTC
well it seems all ok now
regards
Comment 18 Ihno Krumreich 2007-06-04 16:41:38 UTC
Closed.