openpromfs 2.6.18-rc6
Hi,
I want change my input-device from keyboard to rsc and I get invalid argument.
echo 'rsc' > /proc/openprom/options/input-device. eeprom ends with SIGBUS. Under 2.6.17.2 openpromfs works well.
Regards
Dan
From: Daniel Smolik <[email protected]>
Date: Wed, 06 Sep 2006 22:32:04 +0200
Quoted 4 lines
I want change my input-device from keyboard to rsc and I get invalid argument.
echo 'rsc' >
/proc/openprom/options/input-device. eeprom ends with SIGBUS. Under 2.6.17.2 openpromfs works well.
Intentional added limiation to openpromfs, it is very difficult to add property writing support in the new OBP device tree code in the kernel.
It works just fine when using /dev/openprom, so please convert whatever you're trying to accomplish to use that for property modification for now.
I have no plans to add back property writing support to openpromfs for 2.6.18, I simply lack the time to do it. However I'll probably be able to do it for 2.6.19.
David Miller napsal(a):
Quoted 14 lines
From: Daniel Smolik <[email protected]>
Date: Wed, 06 Sep 2006 22:32:04 +0200Quoted 4 lines
I want change my input-device from keyboard to rsc and I get invalid argument.
echo 'rsc' >
/proc/openprom/options/input-device. eeprom ends with SIGBUS. Under 2.6.17.2 openpromfs works well.Intentional added limiation to openpromfs, it is very difficult to add property writing support in the new OBP device tree code in the kernel.
Quoted 8 lines
It works just fine when using
/dev/openprom, so please convert whatever you're trying to accomplish to use that for property modification for now.I have no plans to add back property writing support to openpromfs for 2.6.18, I simply lack the time to do it. However I'll probably be able to do it for 2.6.19.
Ok,
and exists some tool which I use to do this ?
Thanks
Dan
Daniel Smolik napsal(a):
Quoted 23 lines
David Miller napsal(a):
Quoted 21 lines
From: Daniel Smolik <[email protected]>
Date: Wed, 06 Sep 2006 22:32:04 +0200Quoted 6 lines
I want change my input-device from keyboard to rsc and I get invalid argument.
echo 'rsc' >
/proc/openprom/options/input-device. eeprom ends with SIGBUS.
Under 2.6.17.2 openpromfs works well.Intentional added limiation to openpromfs, it is very difficult to add property writing support in the new OBP device tree code in the kernel.
It works just fine when using
/dev/openprom, so please convert whatever you're trying to accomplish to use that for property modification for now.
Quoted 7 lines
Quoted 4 lines
I have no plans to add back property writing support to openpromfs for 2.6.18, I simply lack the time to do it. However I'll probably be able to do it for 2.6.19.
Ok,
and exists some tool which I use to do this ?
eeprom which is in Debian Sid ends with SIGBUS :-(
mprotect(0xf7f2a000, 24576, PROT_READ) = 0
munmap(0xf7f38000, 69225) = 0
open("/dev/openprom", O_RDWR) = 3
ioctl(3, 0x20004f05, 0x243e0) = 0uname({sys="Linux", node="sunik", ...}) = 0
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Process 1437 detached
Dan
Daniel Smolik napsal(a):
Quoted 42 lines
Daniel Smolik napsal(a):
Quoted 24 lines
David Miller napsal(a):
Quoted 22 lines
From: Daniel Smolik <[email protected]>
Date: Wed, 06 Sep 2006 22:32:04 +0200Quoted 6 lines
I want change my input-device from keyboard to rsc and I get invalid argument.
echo 'rsc' >
/proc/openprom/options/input-device. eeprom ends with SIGBUS.
Under 2.6.17.2 openpromfs works well.Intentional added limiation to openpromfs, it is very difficult to add property writing support in the new OBP device tree code in the kernel.
It works just fine when using
/dev/openprom, so please convert whatever you're trying to accomplish to use that for property modification for now.Quoted 7 lines
Quoted 4 lines
I have no plans to add back property writing support to openpromfs for 2.6.18, I simply lack the time to do it. However I'll probably be able to do it for 2.6.19.
Ok,
and exists some tool which I use to do this ?eeprom which is in Debian Sid ends with SIGBUS :-(
mprotect(0xf7f2a000, 24576, PROT_READ) = 0 munmap(0xf7f38000, 69225) = 0 open("/dev/openprom", O_RDWR) = 3 ioctl(3, 0x20004f05, 0x243e0) = 0
uname({sys="Linux", node="sunik", ...})= 0killed by SIGBUS +++ renamed from SIGBUS (Bus error) @ 0 (0) --- +0
-0
Quoted 1 line
Process 1437 detached
Better explanation of problem:
NU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/marvin/sparc-utils-1.9.orig/prtconf-1.3/eeprom
Program received signal SIGBUS, Bus error.0x00012160 in main (argc=0, argv=<value optimized out>) at eeprom.c:661
661 *(int *)op->oprom_array = 0;
(gdb) bt
#0 0x00012160 in main (argc=0, argv=<value optimized out>) at eeprom.c:661 (gdb)
Dan