From: Daniel Smolik <marvin@mydatex.cz>
To: sparclinux@vger.kernel.org
Subject: Re: openpromfs 2.6.18-rc6
Date: Tue, 19 Sep 2006 19:27:55 +0000 [thread overview]
Message-ID: <451044BB.3080001@mydatex.cz> (raw)
In-Reply-To: <44FF3044.2020509@mydatex.cz>
Daniel Smolik napsal(a):
> Daniel Smolik napsal(a):
>
>> David Miller napsal(a):
>>
>>> From: Daniel Smolik <marvin@mydatex.cz>
>>> Date: Wed, 06 Sep 2006 22:32:04 +0200
>>>
>>>
>>>> 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.
>>>
>> 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", ...}) = 0
> --- SIGBUS (Bus error) @ 0 (0) ---
> +++ killed by SIGBUS +++
> 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
prev parent reply other threads:[~2006-09-19 19:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 20:32 openpromfs 2.6.18-rc6 Daniel Smolik
2006-09-18 7:43 ` David Miller
2006-09-18 7:50 ` Daniel Smolik
2006-09-18 8:03 ` Daniel Smolik
2006-09-19 19:27 ` Daniel Smolik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451044BB.3080001@mydatex.cz \
--to=marvin@mydatex.cz \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.