Re: 2.6.24 breaks BIOS updates on all Dell machines

From: Jean Delvare
Date: Tue Feb 05 2008 - 11:26:01 EST


On Mon, 4 Feb 2008 09:58:35 -0600, Michael E Brown wrote:
> On Sun, Feb 03, 2008 at 03:02:38PM +0100, Jean Delvare wrote:
> > Hi Michael,
> >
> > On Tue, 29 Jan 2008 13:09:25 -0600, Michael E Brown wrote:
> > > On Tue, Jan 29, 2008 at 08:04:17PM +0100, Sytse Wielinga wrote:
> > > > I've created the simple patch below. I have no idea if it actually works,
> > > > though, as I don't appear to have any hardware for which a linux driver
> > > > supports firmware loading. Please comment.
> > >
> > > You can test this rather easily. Simply modprobe the "dell_rbu" driver.
> > > You dont need any special hardware, it should load on any machine. After
> > > you have loaded it, check the sysfs path to see if it has the correct
> > > path (or some symlink thereof):
> > >
> > > GOOD: /sys/class/firmware/dell_rbu/
> > > BAD : /sys/class/firmware/firmware-dell_rbu/loading
> >
> > This doesn't actually work for me. Loading the dell_rbu driver on a
> > non-Dell system doesn't create anything under /sys/class/firmware.
>
> You have to initialize the driver first before that file appears.
>
> [root@localhost ~]# modprobe dell_rbu
> [root@localhost ~]# cd /sys/devices/platform/dell_rbu/
> [root@localhost dell_rbu]# ll /sys/class/firmware/dell_rbu/loading
> ls: cannot access /sys/class/firmware/dell_rbu/loading: No such file or
> directory
> [root@localhost dell_rbu]# echo -n -e 'init\0' > image_type
> [root@localhost dell_rbu]# ll /sys/class/firmware/dell_rbu/loading
> -rw-r--r-- 1 root root 4096 2008-02-04 09:57
> /sys/class/firmware/dell_rbu/loading

Ah, OK, thanks for the hint, it works now.

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