RE: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new DellBIOS update driver

Abhay_Salunke_at_Dell.com
Date: 06/07/05

  • Next message: Kumar Gala: "stupid SATA questions"
    Date:	Tue, 7 Jun 2005 09:47:47 -0500
    To: <greg@kroah.com>
    
    

    > -----Original Message-----
    > From: Greg KH [mailto:greg@kroah.com]
    > Sent: Monday, June 06, 2005 3:13 PM
    > To: Salunke, Abhay
    > Cc: marcel@holtmann.org; linux-kernel@vger.kernel.org; akpm@osdl.org;
    > Domsch, Matt
    > Subject: Re: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new
    > DellBIOS update driver
    >
    > On Mon, Jun 06, 2005 at 03:01:04PM -0500, Abhay_Salunke@Dell.com
    wrote:
    > > > Ok, in re-reading the firmware code, you are correct, it will
    still
    > > > timeout in 10 seconds and call your callback.
    > > >
    > > > Which, in my opinion, is wrong. We should have some way to say
    "wait
    > > > forever". Care to change the firmware_class.c code to support
    this?
    > > Will give it a try. So far the request_firmware code calls
    > > kobject_hotplug with action as KOBJ_ADD. It invokes a hotplug script
    > > form user mode. I guess we need to have some reverse mechanism which
    is
    > > invoked when a user writes to the file.
    >
    > Why? Your completion function should be called when the file is
    closed,
    > right?
    >
    > > > I was assuming that this would wait forever, and is why I pointed
    you
    > > in
    > > > this direction. Sorry about the confusion here.
    > > >
    > > I guess the earlier method of request_firmware would work out as is
    with
    > > the only disadvantage of the user having to depend on hotplug
    mechanism
    > > and echoing firmware name.
    > > Let me know if that is acceptable till we find a solution to wait
    for
    > > ever without using hotplug stuff.
    >
    > Why not fix the firmware_class.c code now? :)
    I am working on a solution for this; so yes, I will submit a patch to
    enhance firmware_class.c code.

    Mean while the driver sent earlier is tested and working on current
    version of 2.6 kernel and we have tested it with various distros based
    on 2.6 kernel. Changing the kernel and making the driver dependent on
    the new code will make the driver not work on the current kernels which
    the users have.
    This will make driver non functional on current 2.6 kernels and will be
    an issue if users don't want to upgrade their kernels but just want the
    driver to update BIOS.

    Thanks,
    Abhay
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Kumar Gala: "stupid SATA questions"

    Relevant Pages

    • [PATCH 18-rc2] Fix typos in /Documentation : N-P
      ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
      (Linux-Kernel)
    • two scary syslog kernel messages
      ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
      (Debian-User)
    • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
      ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
      (Linux-Kernel)
    • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
      ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
      (Linux-Kernel)
    • kernel Doc/ URL corrections
      ... -Documents about softnet driver issues in general can be found ... Additional documentation is available at Don Becker's Linux Drivers site: ... Just force it to be recognized by kernel parameters. ... Keywords: files, VFS, file operations, kernel interface, character ...
      (Linux-Kernel)