Bug 133372
Summary: | /dev/ircomm* devices are not available | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leonid Kanter <leon> |
Component: | irda-utils | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | ekanter, karsten |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-07 12:10:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leonid Kanter
2004-09-23 16:08:16 UTC
sorry, entered wrong "assigned" and currently unable to change right command is MAKEDEV ircomm0 hmm, or loading the module, should trigger udev, which creates this device. loading ircomm-tty, triggers the device creation.. Yes, but I don't like the idea of loading ircomm_tty manually. Before udev it was always being loaded by kmod automagically when some application (pppd, minicom, etc) try to open /dev/ircomm0. Now it's impossible. Loading ircomm_tty manually is not user-friendly. Look what we have now. [root@leon root]# service irda start ÐапÑÑкаеÑÑÑ IrDA: [ ÐÐ ] [root@leon root]# lsmod | grep ircomm | wc -l 0 [root@leon root]# ls /dev/ircomm* | wc -l ls: /dev/ircomm*: No such file or directory 0 [root@leon root]# cu -l /dev/ircomm0 cu: /dev/ircomm0: Line in use (it means - no device) [root@leon root]# MAKEDEV ircomm1 [root@leon root]# cu -l /dev/ircomm1 Connected. ... [root@leon root]# ls -l /dev/ircomm* | wc -l 32 If you create one device and try to open it - module is loaded and all other devices are created, but module must be loaded without user interaction. Same problem with SCSI scanner. I had to examine /etc/sysconfig/hwconf SCANNER section and create device manually class: SCANNER bus: SCSI detached: 0 device: sg1 # MAKEDEV sg1 The same for OSS emulation. Any application which use OSS will not work out of the box until you run MAKEDEV dsp or load module manually. *** This bug has been marked as a duplicate of 130746 *** the irda initscript should modprobe ircomm-tty, if /dev/ircomm* is used. re: comment 9 It already does that. Did you by any chance happen to run one of those kernels without irda support ? What's the output of find /lib/modules/`uname -r`/kernel | grep ircom ? [leon@leon po]$ find /lib/modules/`uname -r`/ | grep ircomm /lib/modules/2.6.10-1.741_FC3/build/include/config/ircomm /lib/modules/2.6.10-1.741_FC3/build/include/config/ircomm/module.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_core.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_tty_attach.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_event.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_lmp.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_param.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_ttp.h /lib/modules/2.6.10-1.741_FC3/build/include/net/irda/ircomm_tty.h /lib/modules/2.6.10-1.741_FC3/build/net/irda/ircomm /lib/modules/2.6.10-1.741_FC3/build/net/irda/ircomm/Makefile /lib/modules/2.6.10-1.741_FC3/build/net/irda/ircomm/Kconfig /lib/modules/2.6.10-1.741_FC3/kernel/net/irda/ircomm /lib/modules/2.6.10-1.741_FC3/kernel/net/irda/ircomm/ircomm-tty.ko /lib/modules/2.6.10-1.741_FC3/kernel/net/irda/ircomm/ircomm.ko [leon@leon po]$ ls -l /dev/ircomm* ls: /dev/ircomm*: No such file or directory [leon@leon po]$ /sbin/service irda status irattach (pid 4536) is running... [leon@leon po]$ /sbin/lsmod | grep ir ircomm 14149 0 stir4200 13637 0 irda 121469 2 ircomm,stir4200 crc_ccitt 2112 1 irda ircomm was just inserted manually - no devices created :( It's back to udev then, the device nodes should be created when the ircomm module gets loaded Device nodes are created when ircomm-tty module is loaded. It's better to do it by "modprobe ircomm-tty" in /etc/rc.d/init.d/irda, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133372#c8. Udev is OK. ?? I'm confused now... I don't care if loading ircomm (without -tty) doesn't create the devices nodes as this won't happen if you use the initscript which loads ircomm-tty first. /etc/rc.d/init.d/irda already runs 'modprobe ircomm-tty', but comment 5 indicates that this didn't work. We need to find out why... Please run the following as root and attach the output to this bugreport: /etc/init.d/irda stop sh -x /etc/init.d/irda start Sorry, it happened somehow that I had outdated version of irda-utils without "modprobe ircomm-tty". With irda-utils-0.9.16-3 it's ok. |