Pham Ngoc Hai personal web site
*nix
Patch for vhba-module to work with kernel 2.6.25
 
Written by Pham Ngoc Hai, on 04-03-2008 17:59

This patch will make vhba module 1.0 compile with kernel 2.6.25

It fixes the following errors:

/setup/work/cdemu-1.0/vhba-module-org/vhba.c:490: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’
/setup/work/cdemu-1.0/vhba-module-org/vhba.c:491: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’
/setup/work/cdemu-1.0/vhba-module-org/vhba.c:496: error: ‘struct scsi_cmnd’ has no member named ‘use_sg’
/setup/work/cdemu-1.0/vhba-module-org/vhba.c:500: error: ‘struct scsi_cmnd’ has no member named ‘request_buffer’

Click here to download it

Last update: 04-03-2008 17:59

Published in : Computer stuff, *nix
Keywords : Patch for vhba-module to work with kernel 2.6.25 error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’ ‘struct scsi_cmnd’ has no member named ‘request_bufflen’ ‘struct scsi_cmnd’ has no member named ‘use_sg’ vhba-module-org/vhba.c:500: error: ‘struct scsi_cmnd’ has no member named ‘request_buffer’
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Patch for vhba-module to work with kernel >= 2.6.23
 
Written by Pham Ngoc Hai, on 11-01-2008 00:06

Patch for vhba-module to work with kernel >= 2.6.23
This is my patch to make vhba-module compiled with kernel
>= 2.6.23 with commit
18dabf473e15850c0dbc8ff13ac1e2806d542c15
If you got error like:
error: 'struct scatterlist' has no member named 'page'
then this patch is for you.
Tested with kernel 2.6.24-rc4 on x86_64 arch

Last update: 19-01-2008 08:18

Published in : Computer stuff, *nix
Keywords : Patch for vhba-module to work with kernel >= 2.6.23, error: 'struct scatterlist' has no member named 'page'
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Patch for vhba-module-1.0.0 Makefile
 
Written by Pham Ngoc Hai, on 11-01-2008 00:03

Patch for vhba-1.0.0 Makefile to use EXTRA_CFLAGS and correct MAKE value
If you see make prints warning like:

warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

then apply this patch.
(This only happen if this is a submake)

Last update: 15-03-2008 09:15

Published in : Computer stuff, *nix
Keywords : Patch for vhba-module Makefile, warning: jobserver unavailable: using -j1. Add `+' to parent make rule
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...



Search

Calendar

 Feb   March 2010   Apr

SMTWTFS
   1  2  3  4  5  6
  7  8  910111213
14151617181920
21222324252627
28293031 
Blog Behavioral Synthesis

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai