On Wed, Feb 27, Mohammed Omar wrote:
Content-Description: Forwarded message - Alpha2 couldn't detect network module on HV4
Date: Tue, 19 Feb 2008 12:15:23 +0530 Subject: Alpha2 couldn't detect network module on HV4 From: Mohammed Omar
To: opensuse-factory@opensuse.org, rsudarsh@in.ibm.com, "iranna.ankad" Hi,
I was trying to install opensuse-11.0-Alpha2 on Power6 box.
I got failures when trying to select n/w port .. *** No network device found. Load a network module first.
this is a kernel bug, please open an LTC bug to get it fixed. As you see below, the port0 and port1 directories/symlinks are created _after_ ehea is loaded. But thats too late, the bus devices have to be there before any device driver is loaded. Thats how it is done for other bus types. Once that is implemented properly, stuff like ehea or infiniband will (most likely) work out of the box. boot with 'init=/bin/bash' (none):/# mount -v sysfs sysfs on /sys type sysfs (rw) (none):/# ls -ld /sys/bus/* drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/i2c drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/ibmebus drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/ide drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/macio drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/of_platform drwxr-xr-x 5 root root 0 Feb 29 18:47 /sys/bus/pci drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/pci_express drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/platform drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/scsi drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/serio drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/spi drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/usb drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/vio (none):/# ls -ld /sys/bus/ibmebus/devices/* lrwxrwxrwx 1 root root 0 Feb 29 18:47 /sys/bus/ibmebus/devices/23c00100.lhea -> ../../../devices/ibmebus/23c00100.lhea (none):/# modprobe -v ehea insmod /lib/modules/2.6.25-rc3-20080229_pci_res-ppc64/kernel/drivers/net/ehea/ehea.ko IBM eHEA ethernet device driver (Release EHEA_0083) ehea: eth0: Jumbo frames are enabled ehea: eth0 -> logical port id #1 ehea: eth1: Jumbo frames are enabled ehea: eth1 -> logical port id #2 (none):/# ls -ld /sys/bus/* drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/i2c drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/ibmebus drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/ide drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/macio drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/of_platform drwxr-xr-x 5 root root 0 Feb 29 18:47 /sys/bus/pci drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/pci_express drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/platform drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/scsi drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/serio drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/spi drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/usb drwxr-xr-x 4 root root 0 Feb 29 18:47 /sys/bus/vio (none):/# ls -ld /sys/bus/ibmebus/devices/* lrwxrwxrwx 1 root root 0 Feb 29 18:47 /sys/bus/ibmebus/devices/23c00100.lhea -> ../../../devices/ibmebus/23c00100.lhea lrwxrwxrwx 1 root root 0 Feb 29 18:48 /sys/bus/ibmebus/devices/port0 -> ../../../devices/ibmebus/23c00100.lhea/port0 lrwxrwxrwx 1 root root 0 Feb 29 18:48 /sys/bus/ibmebus/devices/port1 -> ../../../devices/ibmebus/23c00100.lhea/port1 (none):/# ls -ld /sys/bus/ibmebus/devices/port0/* -r--r--r-- 1 root root 4096 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/devspec -r--r--r-- 1 root root 4096 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/log_port_id -r--r--r-- 1 root root 4096 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/modalias drwxr-xr-x 3 root root 0 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/net lrwxrwxrwx 1 root root 0 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/subsystem -> ../../../../bus/ibmebus -rw-r--r-- 1 root root 4096 Feb 29 18:48 /sys/bus/ibmebus/devices/port0/uevent (none):/# head /sys/bus/ibmebus/devices/port0/modalias of:NethernetTnetworkCIBM,lhea-ethernet (none):/# --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org