linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Benh-2.4.4-pre3 kills linuxconf
@ 2001-04-19 19:53 Martin Costabel
  2001-04-19 20:12 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Costabel @ 2001-04-19 19:53 UTC (permalink / raw)
  To: linuxppc-dev


For a long time, I have been using linuxconf to switch between home and
office configurations on my iBook. This worked up to kernel version
2.4.4-pre1 (rsynced from the benh tree on April 12). With 2.4.4-pre3,
rsynced yesterday, linuxconf doesn't work any more. When I type
"linuxconf", it just sits there and waits, doing nothing. When I stop it
with ^C, then subsequent calls of linuxconf come back immediately saying
"Broken pipe." The kernel config is the same in both cases.

Has anyone seen this?

I am trying newer kernels mainly because of the recent improvements in
the pmud and the firewire subsystems. I am still hoping that one day my
iBook will be able to sleep *and* wake up correctly. Until now it
sleeps, but usually crashes after wakeup, or at least the network
system, ethernet and airport, is dead until the next reboot. My firewire
disk (the old 10GB IBM travelstar, free after I upgraded the iBook to
20GB, put into a firewire+USB enclosure) doesn't work either, even with
all the recent ieee1394 patches applied :-(

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Benh-2.4.4-pre3 kills linuxconf
  2001-04-19 19:53 Benh-2.4.4-pre3 kills linuxconf Martin Costabel
@ 2001-04-19 20:12 ` Benjamin Herrenschmidt
  2001-05-01 15:31   ` Martin Costabel
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2001-04-19 20:12 UTC (permalink / raw)
  To: Martin Costabel, linuxppc-dev


>For a long time, I have been using linuxconf to switch between home and
>office configurations on my iBook. This worked up to kernel version
>2.4.4-pre1 (rsynced from the benh tree on April 12). With 2.4.4-pre3,
>rsynced yesterday, linuxconf doesn't work any more. When I type
>"linuxconf", it just sits there and waits, doing nothing. When I stop it
>with ^C, then subsequent calls of linuxconf come back immediately saying
>"Broken pipe." The kernel config is the same in both cases.
>
>Has anyone seen this?

No, but I don't use linuxconf...

>I am trying newer kernels mainly because of the recent improvements in
>the pmud and the firewire subsystems. I am still hoping that one day my
>iBook will be able to sleep *and* wake up correctly. Until now it
>sleeps, but usually crashes after wakeup, or at least the network
>system, ethernet and airport, is dead until the next reboot. My firewire
>disk (the old 10GB IBM travelstar, free after I upgraded the iBook to
>20GB, put into a firewire+USB enclosure) doesn't work either, even with
>all the recent ieee1394 patches applied :-(

Well, I didn't notice the ethernet problem. Does it happen if you
ifconfig the interface down before sleep and back up after sleep ?
Airport is known to not survive to sleep, you have to bring it down
before and back up after. If you forget, bringing in down and back up
should get it back as well.

Does it work with another kernel or without sleep ? I have not yet
written any specific code to handle firewire sleep, so it's possible that
it doesn't survive well to sleep. In that case, you can also try
rmmod'ing the IEEE1394 host controller driver before sleep and insmod'ing
it back up after wakup.

Tell me if any of these helps.

Also, do you experience crashes (not related to the above issues) when
sleeping from X ? I know there are still some problems related to console
sleep.

Regards,
Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Benh-2.4.4-pre3 kills linuxconf
  2001-04-19 20:12 ` Benjamin Herrenschmidt
@ 2001-05-01 15:31   ` Martin Costabel
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Costabel @ 2001-05-01 15:31 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


Benjamin Herrenschmidt wrote:
>
> >For a long time, I have been using linuxconf to switch between home and
> >office configurations on my iBook. This worked up to kernel version
> >2.4.4-pre1 (rsynced from the benh tree on April 12). With 2.4.4-pre3,
> >rsynced yesterday, linuxconf doesn't work any more. When I type
> >"linuxconf", it just sits there and waits, doing nothing. When I stop it
> >with ^C, then subsequent calls of linuxconf come back immediately saying
> >"Broken pipe." The kernel config is the same in both cases.
> >
> >Has anyone seen this?
>
> No, but I don't use linuxconf...

I found a small patch for kernel/fork.c on the linux-kernel mailing list
that solves this problem. It seems that others consider the change to
this file that occurred between 2.4.4-pre1 and pre3 a bug, too.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-01 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-19 19:53 Benh-2.4.4-pre3 kills linuxconf Martin Costabel
2001-04-19 20:12 ` Benjamin Herrenschmidt
2001-05-01 15:31   ` Martin Costabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).