to enter them.
This patch ensures that the ACPI cpuidle driver sets those dummy power
values itself whenever it (re-)initializes its idle states.
Tested and verified on an Acer AC700 Chromebook, which supports the C3
state only when it switches from AC to battery power.
Signed-off-by: Julius Werner
> This is specific to the acpi and should be handled in the
> processor_idle.c file instead of the cpuidle core code.
>
> Could be the function 'acpi_processor_cst_has_changed' the right place
> to set a dummy power value for the power in the new C-state ?
Thanks for your feedback. I think it woul
it switches from AC to battery power.
Signed-off-by: Julius Werner
---
drivers/cpuidle/cpuidle.c | 24
drivers/cpuidle/driver.c | 25 -
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `gmux_probe':
apple-gmux.c:(.devinit.text+0x6daa8): undefined reference
to `apple_bl_unregister'
drivers/built-in.o: In function `gmux_remove':
apple-gmux.c:(.devexit.text+0x8f80): undefined reference
to `apple_bl
CC drivers/power/twl4030_charger.o
drivers/power/twl4030_charger.c:248:12: error: invalid
suffix "b1100" on integer constant
drivers/power/twl4030_charger.c:250:12: error: invalid
suffix "b1000" on integer constant
drivers/power/twl4030_charger.c:252:12: error: invalid
suffix "b0100" on
On an Acer Aspire 5349 I get several error messages during
booting, with 3.5-rc7 . Pls inspect the added syslog.
wl
Jul 16 00:39:53 localhost kernel: WARNING: at
drivers/pci/hotplug/ibmphp_ebda.c:282
ibmphp_access_ebda+0x104/0x517()
Jul 16 00:39:53 localhost kernel: Hardware name: Aspire
5
On a computer of someone else, on which today I tried to
install 3.5-rc6 (what on my computer and on an HP pavillon
laptop runs without problem - on the laptop however needs
ircpoll otherwhise don't find the harddisk), few seconds
after start booting it sticks and don't continue longer
(reboot
There is a big problem since 3.5-rc1 which potentially
mess the installations
rdev don't give longer back the root device like
/dev/sda1 , but in the bios form like 0x80010300
rdev is essential for the installation programs and for
the installation f.ex. of lilo . It's not conveniente
I reported a regression, that when a usb-key is connected, #lilo produces a
bootloader which don't work, on 2.6.24-rc6-git2, diferently to kernels before.
Yesterday I compiled 2.6.24-rc6-git8 with exactly the same kernel parameters,
with this, the problem didnt occure again, on the same 2 compute
There seems to have two regressions between the kernels from yesterday and
before-yesterday
On the kernel -git7 what didnt happened on -git6
1) My hard disk is /dev/hda, but when I have an usb key sticked in /dev/sba,
and run lilo then, then it dont boot but give L99 99 99 99 ... error. When I
On 7/Nov/2007 20:10 werner wrote ..
> With 2.6.23-rc2 is the same problem: it crashed at the beginning: EIP 060
> c03fdea4
> EFLAGS 00010212 EIP is at xor_sse_2+0x34/0x200
> Again during the compilation was reclaimed that
> /arch/x86/Makefile.o
> cannot be found and were ce
Kernel Crash -- Details see below
globc 2.7 glib2 2.14.2
W.Landgraf
www.copaya.yi.org
=
2.6.24-rc1-git10
EIP 0600: EFLAGS 00010212 CPU 0
EIUP is at xor_sse_2+0x34/0x200
EAX: 10 EBX fffedb22
er
I hope you can find and repair this before the 2.6.23 release
Below is the beginning of dmesg for the two kernels what I quoted above.
Werner Landgraf
www.copaya.yi.org
== dmesg 2.6.23-rc9-git2 (drm no working longer ...)
===
Linux version 2.6.2
Am Freitag, 21. September 2007 18:18 schrieb Greg KH:
Hello,
> On Fri, Sep 21, 2007 at 10:15:11AM +0200, Werner Cornelius wrote:
> > Hello,
> >
> > attached you will find the patch against the 2.6.23-rc6-mm1
> >
> > Changed fetaures:
> >
> >
Hello,
attached you will find the patch against the 2.6.23-rc6-mm1
Changed fetaures:
1. All baudrates possible (dynamic baudfactor calculation)
2. Added support of modem control and status lines.
Still missing (due to lack of an usb sniffer):
1. Break control
2. Parity
Werner
--- linux
Hello,
attached you will find the patch against the 2.6.23-rc6-mm1
Changed fetaures:
1. All baudrates possible (dynamic baudfactor calculation)
2. Added support of modem control and status lines.
Still missing (due to lack of an usb sniffer):
1. Break control
2. Parity
Werner
--- linux
tings these features may be added to the driver of course.
I am not listening on this mailing list, so please address me directly if
there are any questions or comments.
The patch is against the 2.6.22.5 kernel, but should work for newer kernels,
too.
Werner
--- linux-2.6.22.5/Documentation/us
[1.] One line summary of the problem:
hw csum failure appears in syslog
[2.] Full description of the problem/report:
hw csum failure appears in syslog and sometimes, under heavy network utilization, with NFS-Daemon the Network Device
totally fails. Then no Network Access is possible. Reboo
other
incompatibility
This is since 2.6.22-git15 and on 2.6.23-rc1 , too
The kernel need to stay compatible to old versions of the file system and other
fundamental programs.
Please correct this
Werner Landgraf
www.copaya.yi.org
Example: ==
/usr/local/src
other
incompatibility
This is since 2.6.22-git15 and on 2.6.23-rc1 , too
The kernel need to stay compatible to old versions of the file system and other
fundamental programs.
Please correct this
Werner Landgraf
www.copaya.yi.org
Example: ==
/usr/local/src
Kernel with older and new
versions of the file systems have to be observed very good, for the reliability
to can read dates.
Thus this should be checked, and corrected
Werner Landgraf
[EMAIL PROTECTED]
www.copaya.yi.org
: [] Not tainted VLI
EFLAGS: 00010046 (2.6.22-git13-i486-1mn #1)
EIP is at ksize + 0x40/0x50
.
Obs: With 2.6.22-git11 that problem didnt occur
Werner Landgraf
[EMAIL PROTECTED]
es no reaction whatsoever. Searching with google, I haven't found
anything related to this chip; looking into the kernel source code
wasn't successful either.
Can you please shed some light on the current situation? I'm using
kernel 2.6.20.
Werner
-
To unsubscribe from this
a particular type of disks, or all disks.
... and allow "partition" to override partitions previously
auto-detected by the kernel. That way, you can phase in
"partition" without needing to change your kernel setup.
Besides, the ability to correct pas
llows the methods hotplug uses find the modules
> needed to support some hardware.
This is great, and was long overdue. Thanks for fixing my sins of
omission dating back from 1996 :-)
- Werner
--
_____
/ Werner Almes
On Friday 11 March 2005 10:04, Jesse Barnes wrote:
> On Friday, March 11, 2005 9:59 am, Bjorn Helgaas wrote:
> > > Right, it's a special agp driver, sgi-agp.c.
> >
> > Where's sgi-agp.c? The HP (ia64-only at the moment) code is hp-agp.c.
> > It does make a fake PCI dev for the bridge because DRM s
ec-based boot loader, passing device scan results will be
very useful, plus it's a good environment for experimenting
with such a feature.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL
enough. It even
makes sense: no need to switch kernels if "pro audio" applications
(or whatever else may end up wanting this) are added to the mix,
and fewer configurations to test.
You can run, but you cannot hide :-)
- Werner
--
_____
o try first.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line &
the implementor of the atomic functions, the roles are reversed.
> You still get the memory barrier, whether you read the return
> value or not.
That might be something worth mentioning. Not that a construct
is used that gcc can optim
g
> values, require explicit memory barrier semantics around their
> execution.
Very confusing: the barriers aren't around the routines (that
is something the user would be doing), but around whatever does
the atomic stuff inside them.
- Werner
--
___
ts could be placed in separate files, using a different
extension, e.g. .ct for ".c test", or in some "test" directory.
(That is, in case they're distributed along with the kernel code,
which, IMHO, would help to avoid code dr
ce in memory should perhaps just be reserved,
at least until the system has passed initialization, without trying
to copy it to a "safe" place early in kernel startup.
- Werner
--
_____
/ Werner Almesberger, Buenos Aire
lays to a few hundred microseconds
(still worst-case).
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsub
ed) would
be more useful than a huge dump that may require significant
post-processing.
It would also be nice to be able to go both ways, from called to
caller, and from caller to called. Again, the tricky bit here are
the function pointers.
I think that a tool that can handle the most common
ou could move even more intelligence outside the kernel.
All you really need in the kernel is a place to put the probe,
plus some debugging information to tell you where you find the
data (the latter possibly combined with gently coercing the
compiler to put it at some accessible pla
uld be part of
a kernel most people can accept for regular use.
> Want to help?
Trying to, by explaining why it should move on :-) Anything else
you need ?
- Werner
--
_
/ Werner Almesberger
workstations, whereas I think
we should have been running circles around them for years already.
So if there was a vote to be cast for getting kexec into mainline
as quickly as possible, you'd certainly have mine :-)
- Werner
--
__
rallel.
2) LTT should do what it is good at, and not have to worry
about the rest (i.e. supporting infrastructure).
3) relayfs should be lean and fast, as you intend it to be, so
that non-LTT tracing or fnord debugging fnord code may find
it useful, too.
- Werner
--
or all practical purposes, mounting the root file
system has a single target anyway, so it can't really compete with
anything else. Automatically selected alternative roots can make
sense, but that's sufficiently policy-ish that I think it would be
better kept in an init
else or
some list, and monitoring the reaction), should be useful.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net/
g could be avoided.
- Werner
--
_____
/ Werner Almesberger, Buenos Aires, Argentina [EMAIL PROTECTED] /
/_http://www.almesberger.net//
-
To unsubscribe from this list: send the line
kind of code
anywhere near mainline ;-)
Not that I currently have more troubles with it than usually. I
just want to point out that there are other, strange but legitimate
(at least in the "all shall eventually be GPL" sense) users of the
kernel, wh
lt just by
> running the task 'nice'ly...
A tradeoff of having better system responsiveness by having the kernel to
check more often if a running process should be preempted is that the CPU
spends more time in Kernel Mode and less time in User Mode.
And as a consequence, user programs ru
I have trouble with the APM in kernel 2.4.3.
I'm booting Win98SE and run loadlin 1.6a to booting the linux kenel 2.4.3.
Everything goes ok, but my machine will not turn off if I use the command
poweroff.
If I booting MS-DOS 6.22 from disk at the same machine, then running the same
loadlin and
Arnaldo Carvalho de Melo wrote:
> http://bazar.conectiva.com.br/~acme/TODO
BTW, I don't know if you're already interacting, but it seems to me that
there are a lot of things on your list that look as if the MC project at
Stanford ("CHECKER") could provide automated te
ectric Fence, which has already helped to find a few
real bugs. (Does EFence work with UML ?)
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+4
1" a bit of an anachronism too.
After all, a modern Unix system has quite a few demons that you don't
want to kill either, so why make init special ? But anyway, you don't
need to change init.
- Werner
--
______
as files(dev/console among others)
> are\might still be in use.
Exactly. They's in use in any case until you close and re-open the
console.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
some
kernel threads that don't call exit_fs.
> Not using the ramfs limits for now, will do soon.
BTW, if you can't free the RAM disk, you may have to apply
http://icawww1.epfl.ch/~almesber/patches/rdfree
- Werner
--
___
the space immediately, make "what-follows" a
script than first frees them, and then exec's init.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
recently-used file stuff
> in memory so that the system can be as fast as if you used a RAM disk
> instead of real physical (slow) hard disks.
Correct, but does not require VFS.
Nice try, though.
- Werner
--
_____
/ Wer
rnel or "The Onion" ? I can already see it:
" suspends execution of dissidents
for one week.
Amnesty International hails this as a significant move, showing their
determination to move swiftly to full compliance with human rights.&
formance penalty ...
> Is it worth emptying?
Probably not ... the only interesting case would be if you could completely
umount it.
> BTW, Werner - could you take a look at the
> prepare_namespace()/handle_initrd()?
Okay, I'll have a look.
> That's our late boot process taken
unt we've discussed about one year
ago ? I.e.
stat foo# output A
mount /dev/whatever /
stat foo# output B
with A != B ?
If yes, is there also a way to destroy/empty ramfs after this ?
- Werner
--
_____
/
hardware-assistance for shaping on other
media than ATM.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubsc
Hmm, this may actually be worse during bursts: if you burst exceeds
the preallocated size, you have to perform more expensive/slower
operations (e.g. running a tasklet) to refill your cache.
- Werner
--
_____
/ Werner A
x27; tree, would it make sense to flag patches that
should go into 2.4 as "Not for Alan; Linus _please_ pick it up" (and to
keep on pushing until Linus does) ?
- Werner
--
_____
/ Werner Almesberger, ICA, E
e everybody happy.
> And yes, there _is_ IMHO a difference in telling someone on LKM,
> especially someone without deeper knowledge that is lookin for help:
Yes, also rejection can be delivered in a civilized way.
- Werner
--
______
eded to share a document,
they were flexible enough to allow this.
Of course, it's better if documentation is entirely in the public too,
but considering the typical overhead of clearing a document for public
release,
d AIX, HP-UX, SCO, etc. The question is what
you expect from Linux. After all, you strongly disagree with the main
common denominator of Linux developers, that it be Open Source.
- Werner
--
_____
/ Werner Almesberg
at
least at the point of what happens at interfaces. This means that
large projects should be done openly, with occasional announcements
on linux-kernel. Building that killer subsystem in-house until
perfection is reached, and then submitting a multi-megabyte patch
isn't going to make anybody h
s ?
Out of pity ?
BTW, parallel development does happen all the time. The point of
convergence in a single "mainstream" kernel is that you benefit
from all the work that's been going on while you did the stuff
you care most about.
- Wer
the Linux boots Linux
designs should nicely solve this, with the possible exception of
environments where a legacy OS needs to be booted. Reminds me that I should
find some time besides traffic control to work a bit on bootimg ...
- Werner
--
____
t ? Just preload the movie with the kernel, and you can start
playing as soon as framebuffer, timers, and interrupts are
available.
Of course, if the word gets out that you're writing such a patch,
the people from the village
g more damage. Of course,
readily available diagnostics can't stop them, but they may at least make
it a bit more likely that people do the right thing.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
Ctrl-Alt-F2.
This could of course be cured by a little window where the last three or
four printk lines are shown ...
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+4
This patch for 2.4.2-pre1 adds a few includes I forgot in sch_atm.c and
sch_dsmark.c
Their absence didn't cause any kernel compilation problems, but it may
well in the future (or when compiling things in a different context,
that's why I, ehm ... finally, noticed the problem).
find_vma_intersection only lets us pass if there
are no memory objects in the way.
The patch is for 2.4.2-pre1, with my /proc/sys/vm/max_map_count patch
applied. (The latter only changes some offsets, not the context of this
patch.)
- Werner
patch
Tigran Aivazian wrote:
> This patch adds "rootfs" boot parameter which selects the filesystem type
> for the root filesystem.
Could you please make this rootfstype= or fstype= or maybe
root=[,] or such ? Calling it "rootfs" is just asking
_brk about 2% faster ;-)
- Werner
patch
--- linux.orig/include/linux/sched.hTue Jan 30 08:24:56 2001
+++ linux/include/linux/sched.h Sat Feb 3 14:29:41 2001
@@ -195,7 +195,9 @@
}
/* Maximum number of active map areas.. Thi
ication
- if your code allows you to, put #define while if in some header file
- Werner (couldn't resist ;-)
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41
r 2.4.x and wave it a little under Linus' nose. Maybe
he likes the scent ;-)
In any case, once it's in 2.5.x, and if it is as useful as I suspect
it to be, it would probably be back-ported to 2.4 sooner or later.
- Werner
--
_____
n't the most user-friendly way for identifying things ;-)
But for the occasional problem case where label or uuid don't work,
any such information is, of course, valuable.
- Werner
--
_____
/ Werner Almesberger, ICA
ooting/bootinglinux-0.ps.gz
for my views on such things.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsub
ts boot sector
(* in principle, you could even avoid this, if you have some means of
identifying a disk (e.g. via the uuid of a file system). However,
I would consider such a solution to be overly fragile.)
- Werner
--
_____
cord file name and line number of the EINVAL
in *current and add an eh?(2) system call ;-)
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_
On Sat, 13 Jan 2001, Andre Hedrick wrote:
> On Sat, 13 Jan 2001, Werner wrote:
>
> > The first and last message I get is:
> > "Uncompressing Linux... OK, booting the kernel"
>
> > # lspci
> > 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 824
I guess I confused some people. I didn't copy the kernel from PIII to
PII etc.. I compiled the kernel on all my PCs separately.
I just have problems with one PC, the HP Pavilion.
On Sat, 13 Jan 2001, Werner wrote:
>
> HP Pavilion 8290, PII 400MHz, 256MB hangs on boot 2.4 and 2
nsoniq ES1370 [AudioPCI]
00:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 74)
00:0c.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
Let me know what I c
ge, i.e. if the hack didn't quite work. (Due to odd
side-effects, incomplete address decoding, etc.)
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fa
hey're rather
simple, therefore one may use this for setting a link.
Werner
BTW: I'm missing a real replacement for my sys_revoke() patch done at the
end of October. Al Viro has wipe it out but never shows an alternative way
of implementing such a beast.
--- fs/proc/proc_tty.c
+++ fs/p
k a -Wall-as-of=2.7.2 might be convenient at times ;-)
- Werner (drifting off-topic :-( )
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610__
ude/linux/atmapi.h, in this case, there's little risk in
exposing the internal structure.
So I'd consider opaque types more as a hypothetical obstacle.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL
orgotten xterm and an incompatible build
starts.
I like environment variables as a means to override auto-detected
defaults, though.
Also, environment variables don't solve the problem of conveniently
providing other compiler arguments (the kmodcc idea - the problem is
very old, but I think it'
ally private and what isn't.
> Any other solution, as I see it, would break existing module code.
Hmm, I think what I've outlined above wouldn't break more code than
your approach. Obviously, m
e the
> target compiler.
Hmm, I don't quite understand what you mean here.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693
e obtained from the tree or the tree could be
picked based on the architecture. This is a policy decision that could
be hidden in the script.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH
s of the interface can be a problem here, e.g.
struct oldold_utsname vs. struct old_utsname vs.
struct new_utsname. It would be nice to have them prefixed at
least with __. Maybe a __LATEST_utsname macro would be useful
too ;-) (I know, breaks binary compatibility, hence the
Usage:
./lss.pl /wherever/vmlinux
- Werner
--- lss.pl
#!/usr/bin/perl
open(KERNEL,$ARGV[0]) || die "open $ARGV[0]: $!";
for (split("\n",`objdump -h $ARGV[0]`)) {
next unless /^\s*\d+\s+(\S+)\s+(\S+)\s+(\S+)\s+\
Jeff Chua wrote:
> I'm posting this again hoping that it'll get incorporated into the kernel.
It's already in Alan's tree (e.g. patch-2.4.0test11-ac1.bz2) and should
find its way from there into Linus' tree soon (i.e. pr
r know what may go wrong with the
other variables).
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_/
-
To unsubscrib
) But I'm not sure if this is also
true for other versions/architectures, or other code constructs.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_I
ic _is_ the right answer, though. If a critical
subsystem just politely returns an error to user space and tries to
continue, it may take a while until somebody realizes that there's
something wrong at all ...
- Werner
--
_____
antly, or was
is lost in the normal inter-gcc-version noise ?)
Just curious,
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610__
sk that definitions get scattered all over the driver, so it makes
it easier to look for copy-from-manual bugs.
- Werner
--
_____
/ Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] /
/_IN_N_032__Tel_+41_21_693_6621__
t driver I'm using (xf86Graphireusb.so, June 15, under XF86 3.3.6);
what's bad: only provides mouse).
But anyway, the mouse wheel is also unavailable with the Xinput
driver.
- Werner
--
_____
/ Werner Almes
dscripts", 0xb5c4) = -1 ENOENT (No such file or directory
)
stat("/usr/bin/ldscripts", 0xb5c4) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../lib/ldscripts", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
oblem
- described how to test initrd with chroot
- added reference to "Booting Linux" document
- added reference to newlib package
- various minor changes
Should apply to any kernel since ~2.3.41, including 2.4.0-test11.
Cheers, Werner
that
seems to solve the problem. Since I'm not quite sure I understand the
reference counting rules there, I would appreciate your comment.
Thanks,
- Werner
-- cut here ---
--- linux.orig/drivers/block/rd.c Mon Nov 20 02:
401 - 500 of 526 matches
Mail list logo