[LU-5455] Get EIO errors when loading lustre modules fails Created: 06/Aug/14  Updated: 18/Feb/15  Resolved: 18/Feb/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.7.0

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Amir Shehata (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 15189

 Description   

when running command 'modprobe lustre', it output following error messages:

modprobe: ERROR: could not insert 'lustre': Input/output error

kernel error messages are:
[ 688.834915] LNetError: 2502:0:(linux-tcpip.c:162:libcfs_ipif_enumerate()) Error -515 enumerating interfaces
[ 688.834919] LNetError: 2502:0:(socklnd.c:2617:ksocknal_enumerate_interfaces()) Can't enumerate interfaces: -515
[ 689.836129] LNetError: 105-4: Error -100 starting up LNI tcp
[ 689.836258] LustreError: 2502:0:(events.c:566:ptlrpc_init_portals()) network initialization failed

So the problem is that it is because we fail to init network, but EIO here is a little confusing for common users.

Since error handling has been there, after returning error code to the caller, rerun 'mod probe lustre', it output messages like:

modprobe: ERROR: could not insert 'lustre': Network is down



 Comments   
Comment by Wang Shilong (Inactive) [ 06/Aug/14 ]

http://review.whamcloud.com/#/c/11337/

Comment by Peter Jones [ 06/Aug/14 ]

Amir

Could you please review this proposed patch

Thanks

Peter

Comment by Amir Shehata (Inactive) [ 27/Aug/14 ]

I'm not on the review list (review already has enough +1). But the change looks good to me.

Comment by Jodi Levi (Inactive) [ 18/Feb/15 ]

Patch landed to Master.

Generated at Sat Feb 10 01:51:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.