help regarding PnP SCSI

2005-02-07 Thread Bhupesh Kumar Pandey, Noida
Hi all, is kernel 2.6.8 support plug and play on SCSI devices? I want to use FC-HBA on PCI Express and want to attach SCSI at FC end, but i am sure whether SCSI support pnp at this end or not. and in which thing the PnP SCSI is dependent. Thanks in advance for resolving my confusion.

RE: return value warnings about scsi_add_host, anything in progre ss?

2005-02-07 Thread Ju, Seokmann
On Monday, February 07, 2005 4:40 AM, Alex wrote: is anything going to happen with the below listed locations? (Some are part of the USB system, one is in block device, rest is SCSI.) Note that a few locations do still lack the XXX comment. I am asking because i am seeing ther respective

Re: return value warnings about scsi_add_host, anything in progre ss?

2005-02-07 Thread Matthew Wilcox
On Mon, Feb 07, 2005 at 08:47:36AM -0500, Ju, Seokmann wrote: On Monday, February 07, 2005 4:40 AM, Alex wrote: is anything going to happen with the below listed locations? (Some are part of the USB system, one is in block device, rest is SCSI.) Note that a few locations do still lack the

RE: return value warnings about scsi_add_host, anything in progre ss?

2005-02-07 Thread Ju, Seokmann
On Monday, February 07, 2005 11:29 AM, Matthew wrote: I don't get a warning from this line, using gcc 3.4.4 20041218 (prerelease) (Debian 3.4.3-7): drivers/scsi/megaraid.c: In function `megadev_ioctl': drivers/scsi/megaraid.c:3626: warning: ignoring return value of `copy_to_user', declared

[RFC][PATCH 2.6.11-rc2] Linux SCSI hotplug infrastructure

2005-02-07 Thread Matt Domsch
Below is a patch to add some hotplug infrastructure to the Linux SCSI subsystem. New files: include/scsi/scsi_hotplug.h drivers/scsi/scsi_hotplug.c implements a new exported function: extern int scsi_topology_hctl_action(struct Scsi_Host *shost, unsigned int channel,

Re: [RFC][PATCH 2.6.11-rc2] Linux SCSI hotplug infrastructure

2005-02-07 Thread Matt Domsch
On Mon, Feb 07, 2005 at 12:27:53PM -0600, Matt Domsch wrote: Modified files: drivers/scsi/megaraid/megaraid_mbox.c (will follow in a separate patch) is the user of this new function. For example. I will rework this to follow the patch submitted last week by LSI to accomplish something

Re: [RFC][PATCH 2.6.11-rc2] Linux SCSI hotplug infrastructure

2005-02-07 Thread Matt Domsch
On Mon, Feb 07, 2005 at 12:27:53PM -0600, Matt Domsch wrote: In addition, two more infrastructure pieces are necessary: udev-050-scsi_topology.patch - adds the subsystem name scsi_topology to the list of devices *not* to wait for the creation of files in sysfs for - scsi_topology devices

Re: [RFC][PATCH 2.6.11-rc2] Linux SCSI hotplug infrastructure

2005-02-07 Thread Matt Domsch
On Mon, Feb 07, 2005 at 12:27:53PM -0600, Matt Domsch wrote: /etc/hotplug/scsi_topology.agent handles the hotplug call, and invokes /sys/class/scsi_host/hostX/scan and /sys/class/scsi_device/H:C:T:L:/device/delete as appropriate. And here's scsi_topology.agent. Signed-off-by: Matt Domsch

Re: return value warnings about scsi_add_host, anything in progre ss?

2005-02-07 Thread Alexander Stohr
On Mon, Feb 07, 2005 at 04:10:22PM +, Matthew Wilcox wrote: I'm not sure why returning the result doesn't count as a use of the result (in the case of megaraid). From: Alexander Stohr [mailto:[EMAIL PROTECTED] ./drivers/scsi/megaraid.c:4890: error = scsi_add_host(host,

EBDA Question

2005-02-07 Thread Moore, Eric Dean
EBDA - Extended Bios Data Area Does Linux and various boot loaders(lilo/grub/etc) having any restrictions on where and how big memory allocated in EBDA is? Is this handled for 2.4/2.6 Kernels? Reason I ask is we are considering having BIOS(for a SCSI HBA Controller) allocating memory in EBDA

RE: [PATCH] Convert megaraid2 to compat_ioctl

2005-02-07 Thread Ju, Seokmann
On Tuesday, January 18, 2005 6:17 AM, Andi wrote: Convert megaraid2 driver to new compat_ioctl entry points. I don't have easy access to hardware, so only compile tested. Hi, I've applied your patch to the driver and getting compilation error as follow.

Re: Fw: [Bugme-new] [Bug 4166] New: BUG: using smp_processor_id() in preemptible [00000001] code: nfsd/2783

2005-02-07 Thread Andrew Morton
Andrew Vasquez [EMAIL PROTECTED] wrote: On Mon, 07 Feb 2005, Andrew Morton wrote: Andrew Vasquez [EMAIL PROTECTED] wrote: - if (smp_processor_id() == ha-last_irq_cpu || was_empty) + if (_smp_processor_id() == ha-last_irq_cpu || was_empty) Am I correct in assuming that if we are