Bug 474584
Summary: | zd1211 has broken sysfs 'driver' link | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jurica Vukadin <u.ra604> |
Component: | kernel | Assignee: | John W. Linville <linville> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | dcbw, kernel-maint, quintela, u.ra604, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-29 12:59:10 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
Jurica Vukadin
2008-12-04 15:42:31 UTC
This seems to be caused by HAL somehow, there is no info.linux.driver property for the device: [jura@eriador src]$ hal-device /org/freedesktop/Hal/devices/net_00_11_3b_04_b4_25 udi = '/org/freedesktop/Hal/devices/net_00_11_3b_04_b4_25' info.capabilities = { 'net', 'net.80211' } (string list) net.80211.mac_address = 74004608037 (0x113b04b425) (uint64) info.subsystem = 'net' (string) info.product = 'WLAN Interface' (string) net.physical_device = '/org/freedesktop/Hal/devices/usb_device_ace_1215_noserial_if0' (string) info.udi = '/org/freedesktop/Hal/devices/net_00_11_3b_04_b4_25' (string) net.originating_device = '/org/freedesktop/Hal/devices/usb_device_ace_1215_noserial_if0' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/net/wlan0' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_ace_1215_noserial_if0' (string) net.interface = 'wlan0' (string) net.address = '00:11:3b:04:b4:25' (string) net.linux.ifindex = 3 (0x3) (int) linux.hotplug_type = 2 (0x2) (int) info.category = 'net.80211' (string) net.arp_proto_hw_id = 1 (0x1) (int) linux.subsystem = 'net' (string) Hm, manually setting the property doesn't help. It still bails with the failed assertion. What exact kernel version and hal version do you have? What's the output of: ls -al /sys/class/net/wlan0/device/driver it should look something like: lrwxrwxrwx 1 root root 0 2008-12-09 12:13 /sys/class/net/eth2/device/driver -> ../../../../bus/pci/drivers/ipw2200 [jura@eriador ~]$ rpm -q kernel kernel-2.6.27.5-117.fc10.x86_64 [jura@eriador ~]$ rpm -q hal hal-0.5.12-12.20081027git.fc10.x86_64 [jura@eriador ~]$ ls -al /sys/class/net/wlan0/device/driver lrwxrwxrwx 1 root root 0 2008-12-09 16:40 /sys/class/net/wlan0/device/driver -> ../../../../../../bus/usb/drivers/zd1211rw But the link is broken... [jura@eriador ~]$ ls -l /sys/bus/usb/drivers total 0 dr-xr-xr-x 2 root root 0 2008-12-09 17:40 001 dr-xr-xr-x 2 root root 0 2008-12-09 17:40 002 -r--r--r-- 1 root root 0 2008-12-09 16:40 devices I'm updating to kernel-2.6.27.7-134.fc10.x86_64, will let you know how it goes. Nope, no change with latest kernel. Ok, it's a kernel bug then; if that link doesn't work, HAL can't get the driver name, and thus NM can't get the driver name either. Can you replicate this with a current rawhide kernel? Yep, reproducible with 2.6.28-0.129.rc8.git2.fc11.x86_64 Oddly enough, it works with the same kernel (2.6.27.5-117.fc10.x86_64) on the live cd, but not on my machine. I think I'll just reinstall. OK, I figured it out. I had this line in fstab (because of VirtualBox), which overwrote the directory: none on /sys/bus/usb/drivers type usbfs (rw,devgid=501,devmode=664) |