Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2012 22:27:11 -0800 (PST)
From:      timp <timp87@gmail.com>
To:        freebsd-scsi@freebsd.org
Subject:   Re: Can't load mps as module with custom kernel
Message-ID:  <1331188031232-5546565.post@n5.nabble.com>
In-Reply-To: <20120307223959.GA39737@nargothrond.kdm.org>
References:  <20120305184313.GA3215@laptop.levsha.me> <20120307223959.GA39737@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>On Mon, Mar 05, 2012 at 20:43:14 +0200, Mykola Dzham wrote:
>
>> Hi! 
>> My FreeBSD box running on custom kernel config, without device mps 
>> When i attempt to load mps as module: 
>> 
>> # sudo kldload mps 
>> kldload: can't load mps: Exec format error 
>> 
>> Mar  5 09:33:35 laptop kernel: link_elf_obj: symbol xpt_freeze_simq
>> undefined 
>> Mar  5 09:33:35 laptop kernel: linker_load_file: Unsupported file type 
>> 
>> # uname -a 
>> FreeBSD laptop.levsha.me 10.0-CURRENT FreeBSD 10.0-CURRENT #48 r232475M:
>> Mon Mar  5 09:47:35 EET 2012     [hidden
>> email]:/usr/obj/usr/src/sys/LEVSHA  amd64 
>> 
>> Fix: 
>> 
>> Index: sys/dev/mps/mps_pci.c 
>> =================================================================== 
>> --- sys/dev/mps/mps_pci.c	(revision 232475) 
>> +++ sys/dev/mps/mps_pci.c	(working copy) 
>> @@ -87,6 +87,7 @@ 
>>   
>>  static devclass_t	mps_devclass; 
>>  DRIVER_MODULE(mps, pci, mps_pci_driver, mps_devclass, 0, 0); 
>> +MODULE_DEPEND(mps, cam, 1, 1, 1); 
>>   
>>  struct mps_ident { 
>>  	uint16_t	vendor; 
>>
>
>Committed to FreeBSD/head, thanks! 
>
>Ken 
>-- 
>Kenneth Merry 

I'm sorry, but what about similar bugs in hptiop, isp and hptmv?

--
View this message in context: http://freebsd.1045724.n5.nabble.com/Can-t-load-mps-as-module-with-custom-kernel-tp5538504p5546565.html
Sent from the freebsd-scsi mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1331188031232-5546565.post>