https://bugzilla.novell.com/show_bug.cgi?id=425307 User bino.sebastian@emulex.com added comment https://bugzilla.novell.com/show_bug.cgi?id=425307#c1 Summary: Fake php module used for PCI hot plug testing is not functioning correctly. Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bino.sebastian@emulex.com QAContact: qa@suse.de Found By: Third Party Developer/Partner Details of the system: ====================== # cat /etc/SuSE-brand openSUSE VERSION = 11.0 # cat /etc/SuSE-release SUSE Linux Enterprise Server 11 (i586) VERSION = 11 PATCHLEVEL = 1 # uname -r 2.6.26-3-pae # uname -a Linux daffy.eng.ma.emulex.com. 2.6.26-3-pae #1 SMP 2008-07-17 18:46:12 +0200 i686 i686 i386 GNU/Linux The system contained 3 Emulex Fibre Channel ports # lspci | grep Emulex 01:04.0 Fibre Channel: Emulex Corporation Thor LightPulse Fibre Channel Host Adapter (rev 01) 03:06.0 Fibre Channel: Emulex Corporation Thor-X LightPulse Fibre Channel Host Adapter (rev 01) 03:06.1 Fibre Channel: Emulex Corporation Thor-X LightPulse Fibre Channel Host Adapter (rev 01) Test procedure: =============== PCI hotplug was tested using following sequence of commands # lspci | grep Emulex 01:04.0 Fibre Channel: Emulex Corporation Thor LightPulse Fibre Channel Host Adapter (rev 01) 03:06.0 Fibre Channel: Emulex Corporation Thor-X LightPulse Fibre Channel Host Adapter (rev 01) 03:06.1 Fibre Channel: Emulex Corporation Thor-X LightPulse Fibre Channel Host Adapter (rev 01) # modprobe fakephp # ls /sys/bus/pci/slots 0000:00:00.0 0000:00:00.2 0000:00:0f.0 0000:00:0f.2 0000:00:10.0 0000:00:11.0 0000:01:04.0 0000:02:00.1 0000:03:06.1 0000:04:05.1 0000:00:00.1 0000:00:0e.0 0000:00:0f.1 0000:00:0f.3 0000:00:10.2 0000:00:11.2 0000:02:00.0 0000:03:06.0 0000:04:05.0 # echo 0 > /sys/bus/pci/slots/0000:03:06.0/power # ls /sys/bus/pci/slots 0000:00:00.0 0000:00:00.2 0000:00:0f.0 0000:00:0f.2 0000:00:10.0 0000:00:11.0 0000:01:04.0 0000:02:00.1 0000:04:05.1 0000:00:00.1 0000:00:0e.0 0000:00:0f.1 0000:00:0f.3 0000:00:10.2 0000:00:11.2 0000:02:00.0 0000:04:05.0 PCI hot unplug worked as expected. When the PCI hotplug was tested using following commands I got error # echo 1 > /sys/bus/pci/slots/0000:00:10.0/power # ls /sys/bus/pci/slots 0000:00:00.0 0000:00:00.2 0000:00:0f.0 0000:00:0f.2 0000:00:10.0 0000:00:11.0 0000:01:04.0 0000:02:00.1 0000:03:06.1 0000:04:05.1 0000:00:00.1 0000:00:0e.0 0000:00:0f.1 0000:00:0f.3 0000:00:10.2 0000:00:11.2 0000:02:00.0 0000:03:06.0 0000:04:05.0 Following message was printed to the /var/log/messages file lpfc 0000:03:06.0: device not available because of BAR 0 [fcb01000:fcb01fff] collisions lpfc 0000:03:06.1: device not available because of BAR 0 [fcb00000:fcb00fff] collisions And the driver did not get attached to the newly added PCI devices. The failure is due to pci_enable_device_mem function failing after the PCI hot plug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.