[PATCH] powerpc: dont allow old RTC to be selected

2006-02-12 Thread Anton Blanchard

> I've had several spates of time-going-nuts on ppc64.  The most recent one
> was because someone went and fiddled with Kconfig naming and I lost the RTC
> driver.

This might help a bit:


Now powerpc uses the generic RTC stuff we should not enable the old
RTC. Doing so will result in hangs at boot.

Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]>
---

Index: build/drivers/char/Kconfig
===
--- build.orig/drivers/char/Kconfig 2006-02-09 11:35:15.0 +1100
+++ build/drivers/char/Kconfig  2006-02-13 14:55:22.0 +1100
@@ -695,7 +695,7 @@ config NVRAM
 
 config RTC
tristate "Enhanced Real Time Clock Support"
-   depends on !PPC32 && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && 
!FRV
+   depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV
---help---
  If you say Y here and create a character special file /dev/rtc with
  major number 10 and minor number 135 using mknod ("man mknod"), you


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Andrew Morton <[EMAIL PROTECTED]> writes:

> Roger Leigh <[EMAIL PROTECTED]> wrote:
>>
>> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
>>  Freescale 7447A):
>> 
>>  $ date && touch f && ls -l f && rm -f f && date
>>  Sun Feb 12 12:20:14 GMT 2006
>>  -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
>>  Sun Feb 12 12:20:14 GMT 2006
>> 
>>  Notice the timestamp is 3 minutes in the future compared with the
>>  system time.  "make" is not a very happy bunny running on this kernel
>>  due to every touched file being 3 minutes in the future.
>
> I've had several spates of time-going-nuts on ppc64.  The most recent one
> was because someone went and fiddled with Kconfig naming and I lost the RTC
> driver.
>
> What does `grep RTC .config' say?

CONFIG_GEN_RTC=y
CONFIG_GEN_RTC_X=y
CONFIG_SENSORS_RTC8564=m
CONFIG_RTC_X1205_I2C=m

This is just ppc, not ppc64, BTW:
$ uname -m
ppc


Regards,
Roger

-- 
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


pgppPkmAJ80EE.pgp
Description: PGP signature


Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Andrew Morton
Roger Leigh <[EMAIL PROTECTED]> wrote:
>
> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
>  Freescale 7447A):
> 
>  $ date && touch f && ls -l f && rm -f f && date
>  Sun Feb 12 12:20:14 GMT 2006
>  -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
>  Sun Feb 12 12:20:14 GMT 2006
> 
>  Notice the timestamp is 3 minutes in the future compared with the
>  system time.  "make" is not a very happy bunny running on this kernel
>  due to every touched file being 3 minutes in the future.

I've had several spates of time-going-nuts on ppc64.  The most recent one
was because someone went and fiddled with Kconfig naming and I lost the RTC
driver.

What does `grep RTC .config' say?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gphoto 2

2006-02-12 Thread david

Ok, all fixed :)

I tried the permission trick, to no avail.

I have used libgphoto2-2 from testing with gtkam and gphoto2 from the 
same source, everything is sweet now:) (but only the apt god knows what 
I have broken)


david
Erik Chakravarty wrote:


make sure you have permissons on your USB device.

try running gtkam with sudo and see if that works. 




On Mon, 2006-02-13 at 08:44 +1100, david wrote:
 


Hi all

I have a mini mac, running sarge. The standard 2.6.8 kernel makes no 
sound, so I have installed the stock 2.6.15 kernel from 
www.ppckernel.org which fixed the sound problem. OK so far so good :)


My digital camera works fine with gphoto2 and gtkam using the 2.6.8 
kernel. Using the 2.6.15 kernel causes gphoto2 and others to error.


According to the developers at gphoto2, I should update my libgphoto2 to 
at least 2.1.6 (currently at 2.1.5). Apt says this will break kde and a 
bunch of other stuff.


Any suggestions? I already reboot to import my pix, but that is a pain 
:) Can I force apt to install libgphoto2 and leave the rest of my 
install alone?


tia

david


   




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bash,/dev/null and errors

2006-02-12 Thread Andrea Lusuardi - UoVoBW
Hi everyone,
i've been experiencing this strange error for about 1 month now.
I am using Xfce4/Xorg on an ibook 14" and i've tried many kernels but
the problem persisted.
Sometimes, i cannot reproduce it nor find the sequence of steps that
lead to the problem, the system will boot, X will start but ANY
terminal i try (xterm ,eterm, aterm, kterm, the gnome one, the xfce
terminal and so on) will flash for a moment then disappear.If i keep
pressing alt+f3 (my terminal keystroke) or clicking on the terminal
icon for _many_ times it starts (after many other "flashes") and goes:

bash: /dev/null : permission denied

again and again (i see the scrolling line getting smaller) then i hit
ctrl+c and it stops, it goes back to my prompt and then works perfectly.
I have found no kernel versions since 2.6.11 not doing it (without a
pattern, since sometimes they work perferctly, then not, then again
and so on) and no kernel version doing it always.

Kernel bug?
bash bug?
all-the-above-mentioned-terminals bug?
my error? 
even chmodding 777 (as root) /dev/null did not solve the problem.


I have also a problem regarding sound 

alsa_ctl: No such device

and graphic card (ati radeon):

[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* process  using kernel context 0

errors in 2.6.16-rc2, but i think it might be a
udev/rc-kernel problem, so it does not matter that much.


Any hints about the bash/terminal problem?

thanks a lot
bye

-- 
 Andrea Lusuardi aka UoVoBW 
Registered Linux User #364578
 http://uovobw.homelinux.org
Q: Cosa fa un gentooista sottacqua?
A: emerge


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gphoto 2

2006-02-12 Thread Erik Chakravarty
make sure you have permissons on your USB device.

try running gtkam with sudo and see if that works. 



On Mon, 2006-02-13 at 08:44 +1100, david wrote:
> Hi all
> 
> I have a mini mac, running sarge. The standard 2.6.8 kernel makes no 
> sound, so I have installed the stock 2.6.15 kernel from 
> www.ppckernel.org which fixed the sound problem. OK so far so good :)
> 
> My digital camera works fine with gphoto2 and gtkam using the 2.6.8 
> kernel. Using the 2.6.15 kernel causes gphoto2 and others to error.
> 
> According to the developers at gphoto2, I should update my libgphoto2 to 
> at least 2.1.6 (currently at 2.1.5). Apt says this will break kde and a 
> bunch of other stuff.
> 
> Any suggestions? I already reboot to import my pix, but that is a pain 
> :) Can I force apt to install libgphoto2 and leave the rest of my 
> install alone?
> 
> tia
> 
> david
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gphoto 2

2006-02-12 Thread david

Hi all

I have a mini mac, running sarge. The standard 2.6.8 kernel makes no 
sound, so I have installed the stock 2.6.15 kernel from 
www.ppckernel.org which fixed the sound problem. OK so far so good :)


My digital camera works fine with gphoto2 and gtkam using the 2.6.8 
kernel. Using the 2.6.15 kernel causes gphoto2 and others to error.


According to the developers at gphoto2, I should update my libgphoto2 to 
at least 2.1.6 (currently at 2.1.5). Apt says this will break kde and a 
bunch of other stuff.


Any suggestions? I already reboot to import my pix, but that is a pain 
:) Can I force apt to install libgphoto2 and leave the rest of my 
install alone?


tia

david


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 04:02:24PM +0100, Elimar Riesebieter wrote:
> On Sun, 12 Feb 2006 the mental interface of
> Wouter Lueks told:
> 
> [...]
> > initrd=/boot/initrd.img-2.6.15-1-powerpc
> > 
> > initrd content:

Its supposed to be a initramfs ramdisk, not in the initrd format anymore.

> Why are you guys using that damn .. initrd? Compile all stuff

Because the debian kernel is supposed to run on all matter of hardware, from
oldworld pmacs, to newer powerbooks, passing by pegasos machine and motorola
prep powerstacks.

The old 2.4 non-ramdisk kernels did grow immensely upto 5 MB of compressed
image, compared to the 1.8MB of compressed image we have now.

Also, the ramdisk images make things like suspend-to-ram or nfs root or
crypted filesystems easier or even make things possible that would not have
been possible in a plain non-ramdisk system.

> needed for booting directly into the kernel, throw initrd away and
> you're happy. initrd just makes sense in the case of distri kernels

Well, he specifically was mentioning using the debian kernels, did he not ? 

> like the udev ones, where the hardware and choosen fs isn't known by
> the maintainer ;)

what has udev to do with distri kernel ? yaird for example doesn't use udev at
all, only initramfs-tools has this failing. yaird and initramfs-tools in
MODULES=dep mode, i think, make it easy to chose the modules in function of
the information provided in /sys, and easily find which modules are needed and
include them in the ramdisk.

I feel that this problem is a tool with either initramfs-tools or yaird, and
we need a proper bug to be filled against them, including the installation
log, to know which of the two was used and is buggy.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Benjamin Herrenschmidt
On Sun, 2006-02-12 at 17:13 +, Roger Leigh wrote:
> Hi folks,
> 
> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
> Freescale 7447A):
> 
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 12:20:14 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
> Sun Feb 12 12:20:14 GMT 2006
> 
> Notice the timestamp is 3 minutes in the future compared with the
> system time.  "make" is not a very happy bunny running on this kernel
> due to every touched file being 3 minutes in the future.
> 
> When the same command is run on 2.6.15.3:
> 
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 14:27:27 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 14:27
> Sun Feb 12 14:27:27 GMT 2006
> 
> In this case the times are identical, as you would expect.
> 
> In both these cases, the chrony NTP daemon is running, if that might
> be a problem.

Can you strace vs. ltrace and see if the gettimeofday or clock_gettime
syscalls are ever called ? I wonder if you have a glibc new enough to
use the vDSO to obtain the time or if it's using the syscall... The vDSO
on ppc32 is very new.

Also, are your kernels built with ARCH=ppc or ARCH=powerpc ?

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 11:56:08AM +, Chris Burdess wrote:
> Wouter Lueks wrote:
> >However, no matter what I try I keep getting the following error:
> >
> >"VFS: unable to mount root fs on unknown-block(0,0)"
> >
> >The root-fs is XFS, and the xfs module is included in the initrd  
> >module.
> 
> Link the xfs filesystem statically into your kernel.

No need, that is why we have a ramdisk for. This is probably a (minor and easy
to fix) bug in yaird or initramfs-tools package.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 10:45:06AM +0100, Wouter Lueks wrote:
> It's been some time since I updated my kernel.  I'm currently using a
> self-compiled 2.6.12 kernel.  It thought it was time to check out the
> stock debian kernels since the seemed to be working very good for a lot
> of people.
> 
> So I went ahead and installed the debian kernel and hoped it would boot. 
> However, no matter what I try I keep getting the following error:
> 
> "VFS: unable to mount root fs on unknown-block(0,0)"
> 
> The root-fs is XFS, and the xfs module is included in the initrd module. 
> I couldn't find any major differences with other yaboot.conf files, so
> I'm a bit at a loss on how to solve this.
> 
> Regards,
> 
> Wouter Lueks
> 
> Current versions:
> yaird - 0.0.12-3
> yaboot - 1.3.13-4.1
> linux-image-2.6.15-1-powerpc - 2.6.15-4
> 
> yaboot.conf:
> boot=/dev/hda2
> device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
> partition=3
> root=/dev/hda3
> timeout=100
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
> enablecdboot
> enableofboot
> macosx=/dev/hda6
> 
> image=/boot/vmlinux-2.6.15-1-powerpc
> label=Linux
> read-only
> initrd=/boot/initrd.img-2.6.15-1-powerpc
> 
> initrd content:
> (attached)

Can you file a proper bug report against linux-2.6 with title marked [powerpc]
?

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hi and first and hopefully last question

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 11:48:08AM +0100, Helge Kreutzmann wrote:
> Hello Sven,
> On Sun, Feb 12, 2006 at 09:46:50AM +0100, Sven Luther wrote:
> > On Sun, Feb 12, 2006 at 08:11:36AM +0100, Helge Kreutzmann wrote:
> > > I remember that in a recent issue of a german Linux magazin a work
> > > around for this was presented: Use the 2.4 kernel to do a (minimal)
> > > install and then build your own kernel (> 2.6.8 in Sarge). There were
> > > some minor tips around this as well which I forgot, but since you use
> > > Debian for some time this should get you going.
> > 
> > This advice is x86 specific, and using 2.4 kernels on powerpc these days is
> > akin to pure madness :)
> 
> Sorry, the article was *explicitly* talking about recent PowerBooks
> and it was an explicit work around for this (or a similar) problem. It
> is in the current issue of "Linux User" (02/2006). The article is not
> (yet) online, but (if you speak german) you can see the table of
> contents in www.linuxuser.de

Bah.

> And yes, this is a *workaround* and clearly marked as such, and the
> article in no way suggest running 2.4 anything but the shortest time
> needed for install.

We hope to remove all trace of powerpc 2.4 kernels for etch.

> I don't have the magazine myself anymore.
> 
> > A more exact tip is :
> > 
> >   1) use the sarge installer, and go upto the install phase.
> 
> I think the problem was, that at *this stage* the install was hanging,
> but if this goes this far, then fine, of course!

Ah, well, then option 2. The 2.6.8 sarge kernel is not a very good kernel to
run anyway.

> > Another possibility is to try the debian/etch beta2 installer, which will 
> > have
> > 2.6.15 kernel from the start. You will even be able to have the graphical
> > installer then. The beta2 is not yet out (but almost there), and you can use
> > daily builds of the installer until it is.
> 
> This is of course the best option as (remaining bugs) can be filed and
> fixed most promptly.

Indeed. and beta2 will make this easier in any case.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hi and first and hopefully last question

2006-02-12 Thread Mich Lanners
Hi,

On  12 Feb, this message from Andrzej Mendel echoed through cyberspace:
> On Thu, 2006-02-09 at 18:05 +0100, Daniel Payno wrote:
>> I plan to install linux but:
>>  * Ubuntu/PPC 5.10's Live/Install kernels don't support my Superdrive
> Impossible, both Ubuntu 5.10 and Debian Sarge supports DVD writers, if
> there's any problem, it is related to the IDE controller.

Exactly that is the problem. The PCI IDs were changed on the most recent
PowerBooks, and that makes older kernels not recognize the IDE
controller. Which is a problem not only for the DVD drive, but for the
hard disk as well (though you have not yet experienced that, failing to
get by earlier stages.

Same goes for the Ethernet controller, by the way, and I think Firewire
also (but that one is even less useful during install).

Cheers

Michel

-
Michel Lanners |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. "


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Bin Zhang
On 2/12/06, Roger Leigh <[EMAIL PROTECTED]> wrote:
> Roger Leigh <[EMAIL PROTECTED]> writes:
>
> > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
> > Freescale 7447A):
> >
> > $ date && touch f && ls -l f && rm -f f && date
> > Sun Feb 12 12:20:14 GMT 2006
> > -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
> > Sun Feb 12 12:20:14 GMT 2006
> >
> > Notice the timestamp is 3 minutes in the future compared with the
> > system time.  "make" is not a very happy bunny running on this kernel
> > due to every touched file being 3 minutes in the future.
>
> > In both these cases, the chrony NTP daemon is running, if that might
> > be a problem.
>
> Some further information:
> - this does not appear to affect i386 kernels
> - I have
> CONFIG_HZ_250=y
> CONFIG_HZ=250
>   in my .config; the full config is at
>   http://people.debian.org/~rleigh/config-2.6.16-rc2
>

I have in my config-2.6.16-rc2 (G4 1.2Ghz, 7447A)
CONFIG_HZ_1000=y
CONFIG_HZ=1000
and have
$ date && touch f && ls -l f && rm -f f && date
Sun Feb 12 21:08:43 CET 2006
-rw-r--r-- 1 zhang zhang 0 2006-02-12 21:08 f
Sun Feb 12 21:08:43 CET 2006

I don't have ntp daemon running (ntpdate at boot).

Regards,
Bin

>
> Regards,
> Roger
>
> --
> Roger Leigh
> Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
> Debian GNU/Linuxhttp://www.debian.org/
> GPG Public Key: 0x25BFB848.  Please sign and encrypt your 
> mail.
>
>
>



Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Olaf Hering
 On Sun, Feb 12, Roger Leigh wrote:

> In both these cases, the chrony NTP daemon is running, if that might
> be a problem.

I dont run Debian, but:

My G4/466 has the hwclock at 1970 for some reason. The early bootscripts
call klogd, which calls nanosleep. This syscall takes 3 hours to complete.

A bit userland debugging shows that hwclock is 1970, system time is also
1970 when nanosleep starts. But when it returns, the time is correct.
Its already at the end of the /etc/init.d/boot.d/S* scripts, nothing
else runs there. Bug exists since at least 2.6.15-git12, 2.6.15 was ok.
Fatfingerd kernel debug patch and lost remote access...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Roger Leigh <[EMAIL PROTECTED]> writes:

> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
> Freescale 7447A):
>
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 12:20:14 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
> Sun Feb 12 12:20:14 GMT 2006
>
> Notice the timestamp is 3 minutes in the future compared with the
> system time.  "make" is not a very happy bunny running on this kernel
> due to every touched file being 3 minutes in the future.

> In both these cases, the chrony NTP daemon is running, if that might
> be a problem.

Some further information:
- this does not appear to affect i386 kernels
- I have
CONFIG_HZ_250=y
CONFIG_HZ=250
  in my .config; the full config is at
  http://people.debian.org/~rleigh/config-2.6.16-rc2


Regards,
Roger

-- 
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


pgpGQ8LGCP2Zo.pgp
Description: PGP signature


Re: MythTV PPC

2006-02-12 Thread Guido Guenther
On Wed, Dec 07, 2005 at 06:56:55AM +0100, Inge Eidem wrote:
> Hi everyone
> 
> I have talk to alioth, and they have approved another project. So  
> here it is!
> 
> Ill talk to the project admins about including a PPC build.
> 
> http://alioth.debian.org/projects/pkg-mythtv
Sorry for being late on this but Christian Marillat already packaged
this and I took about two lines of changes in debian/rules to get it to
compile for ppc and sparc [1]. You can dowload it from the usual
location [2].
Cheers,
 -- Guido

[1] his packages would provide a very good base to get this into the
main archive

[2] deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/


signature.asc
Description: Digital signature


Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Gabriel Paubert
On Sun, Feb 12, 2006 at 05:13:50PM +, Roger Leigh wrote:
> Hi folks,
> 
> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
> Freescale 7447A):
> 
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 12:20:14 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
> Sun Feb 12 12:20:14 GMT 2006
> 
> Notice the timestamp is 3 minutes in the future compared with the
> system time.  "make" is not a very happy bunny running on this kernel
> due to every touched file being 3 minutes in the future.
> 
> When the same command is run on 2.6.15.3:
> 
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 14:27:27 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 14:27
> Sun Feb 12 14:27:27 GMT 2006
> 
> In this case the times are identical, as you would expect.
> 
> In both these cases, the chrony NTP daemon is running, if that might
> be a problem.

I don't know whether it is reloated, but since I installed
a 2.6.16-rc2 kernel on my G4/466, I have log messages
that claim that the clock error rate is too large for NTP
to correct (larger than 512ppm).

Gabriel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Hi folks,

When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
Freescale 7447A):

$ date && touch f && ls -l f && rm -f f && date
Sun Feb 12 12:20:14 GMT 2006
-rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
Sun Feb 12 12:20:14 GMT 2006

Notice the timestamp is 3 minutes in the future compared with the
system time.  "make" is not a very happy bunny running on this kernel
due to every touched file being 3 minutes in the future.

When the same command is run on 2.6.15.3:

$ date && touch f && ls -l f && rm -f f && date
Sun Feb 12 14:27:27 GMT 2006
-rw-r--r-- 1 rleigh rleigh 0 2006-02-12 14:27
Sun Feb 12 14:27:27 GMT 2006

In this case the times are identical, as you would expect.

In both these cases, the chrony NTP daemon is running, if that might
be a problem.


Regards,
Roger

-- 
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


pgpduSGgbAXHi.pgp
Description: PGP signature


Re: 2.6.16-rc1

2006-02-12 Thread Roger Leigh
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

>> Further investigation (using netconsole) shows the breakage (in
>> 2.6.16-rc1 and -rc2) is due to discovering an additional IDE
>> controller (KeyLargo) before the normal (UniNorth) controller:
>
> Some patch that went in -rc1 screwed up the existing .config's, you
> probably lost CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST

This was exactly what was missing.  Thanks all.


-- 
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


pgp5wHgQYRKMy.pgp
Description: PGP signature


Re: 2.6.16-rc1

2006-02-12 Thread Bin Zhang
On 2/4/06, Roger Leigh <[EMAIL PROTECTED]> wrote:
> Roger Leigh <[EMAIL PROTECTED]> writes:
>
> > Has anyone managed to get linux-2.6.16-rc1 to boot successfully on a
> > powermac?  It appears to detect the IDE controller and HDD on my mac
> > mini, but then fails to mount the root fs.  (It's hard to double check
> > this because the USB keyboard isn't initialised by the failure, so I
> > can't scroll back to check.)
>
> rc2 is also broken in the same way.
>
I'm writing this message using 2.6.16-rc2 with bcm43xx-dscape patch
ftp://bu3sch.de/bcm43xx-snapshots/all-in-one/bcm43xx-dscape .

It works fine for me on my ibok G4 1.2 Ghz 12".

I took a working /boot-2.6.15-* as .config and I did a "make
oldconfig", I had to answer many many questions. So It seems to me
that the organisation of the .config file has changed in 2.6.16. You
should check your .config carefully


Regards,
Bin


>
> --
> Roger Leigh
> Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
> Debian GNU/Linuxhttp://www.debian.org/
> GPG Public Key: 0x25BFB848.  Please sign and encrypt your 
> mail.
>
>
>



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Sergio Talens-Oliag
El Sun, Feb 12, 2006 at 10:45:06AM +0100, Wouter Lueks va escriure:
> It's been some time since I updated my kernel.  I'm currently using a
> self-compiled 2.6.12 kernel.  It thought it was time to check out the
> stock debian kernels since the seemed to be working very good for a lot
> of people.
> 
> So I went ahead and installed the debian kernel and hoped it would boot. 
> However, no matter what I try I keep getting the following error:
> 
> "VFS: unable to mount root fs on unknown-block(0,0)"
> 
> The root-fs is XFS, and the xfs module is included in the initrd module. 
> I couldn't find any major differences with other yaboot.conf files, so
> I'm a bit at a loss on how to solve this.

This is caused by a known bug on yaboot and XFS that afects initrd images
build using initramfs and yaird (the old mkinitrd images DO work, though).

The bug is not assigned to yaboot, but I've found a that includes an
explanation:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336993

I solved the issue making a small ext3 /boot partition to put my initrd there
and now standard kernels work (I'm using initramfs right now); luckily I made
a 1Gb swap partition when I first installed the machine and was able to split
that one in two instead of reinstalling.

Greetings,

  Sergio.

-- 
Sergio Talens-Oliag <[EMAIL PROTECTED]>   
Key fingerprint = 29DF 544F  1BD9 548C  8F15 86EF  6770 052B  B8C1 FA69


signature.asc
Description: Digital signature


Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Elimar Riesebieter
On Sun, 12 Feb 2006 the mental interface of
Wouter Lueks told:

[...]
> initrd=/boot/initrd.img-2.6.15-1-powerpc
> 
> initrd content:

Why are you guys using that damn .. initrd? Compile all stuff
needed for booting directly into the kernel, throw initrd away and
you're happy. initrd just makes sense in the case of distri kernels
like the udev ones, where the hardware and choosen fs isn't known by
the maintainer ;)

Elimar

-- 
  We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus Torvalds


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Filippo Giunchedi
On Sun, 12 Feb 2006 11:56:08 +, Chris Burdess wrote:

> Wouter Lueks wrote:
>> However, no matter what I try I keep getting the following error:
>>
>> "VFS: unable to mount root fs on unknown-block(0,0)"
>>
>> The root-fs is XFS, and the xfs module is included in the initrd  
>> module.
> 
> Link the xfs filesystem statically into your kernel.

isn't initramfs/initrd supposed to avoid this kind of problems?

I have the same setup and I'm also experiencing the same problem.

filippo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hi and first and hopefully last question

2006-02-12 Thread Andrzej Mendel
On Thu, 2006-02-09 at 18:05 +0100, Daniel Payno wrote:
> Hello all!
> 
> This is my first e-mail all because a few days ago bought myself a  
> brand new iPowerBook 15" (Alubook so it seems :) with MACOsX
> 
> It bundles a new dl superdrive:
> 
> MATSHITA DVD-R   UJ-846:
> 
>Revisión del firmware: FAAG
>Interconexión: ATAPI
>Soporte de grabación:  Sí (incluido o compatible con Apple)
>Caché: 2048 KB
>Leer DVD:  Sí
>Grabar CD: -R, -RW
>Grabar DVD:-R, -RW, +R, +RW, +R DL
>Protección de falta de datos de grabación de CD:   Sí
>DVD de protección de falta de datos de grabación:  Sí
>Estrategias de escritura:  CD-TAO, CD-SAO, DVD-DAO
>Soporte:   No
> 
> 
> I plan to install linux but:
>   * Ubuntu/PPC 5.10's Live/Install kernels don't support my Superdrive
Impossible, both Ubuntu 5.10 and Debian Sarge supports DVD writers, if
there's any problem, it is related to the IDE controller. I've got a
SuperDrive myself, almost identical model as yours, and it works like
a charm. Could you describe the problem a bit more?

> Does the latest Debian/PPC 3.0 iso support it? I planned to use the  
> easeness of ubuntu as starting point, but aint afraid of a debian  
> vanilla install.
Debian install is quite easy these days, Sarge installs on PPC without
any hitch and I guess Etch is even better. 

> Also, i would like a pointer to a place to find an image not only  
> bootable but with some app similar to qparted so that i can make  
> space without erasing and recreating the MacOsX slices
> 
> urls welcome!
Ubuntu LiveCD should do it. If Breezy doesn't work, try some Dapper
alpha releases, they're quite functional (I'm running one)
> Znx all,
> --
> Daniel Payno
> [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Chris Burdess

Wouter Lueks wrote:

However, no matter what I try I keep getting the following error:

"VFS: unable to mount root fs on unknown-block(0,0)"

The root-fs is XFS, and the xfs module is included in the initrd  
module.


Link the xfs filesystem statically into your kernel.
--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin






PGP.sig
Description: This is a digitally signed message part


Re: hi and first and hopefully last question

2006-02-12 Thread Helge Kreutzmann
Hello Sven,
On Sun, Feb 12, 2006 at 09:46:50AM +0100, Sven Luther wrote:
> On Sun, Feb 12, 2006 at 08:11:36AM +0100, Helge Kreutzmann wrote:
> > I remember that in a recent issue of a german Linux magazin a work
> > around for this was presented: Use the 2.4 kernel to do a (minimal)
> > install and then build your own kernel (> 2.6.8 in Sarge). There were
> > some minor tips around this as well which I forgot, but since you use
> > Debian for some time this should get you going.
> 
> This advice is x86 specific, and using 2.4 kernels on powerpc these days is
> akin to pure madness :)

Sorry, the article was *explicitly* talking about recent PowerBooks
and it was an explicit work around for this (or a similar) problem. It
is in the current issue of "Linux User" (02/2006). The article is not
(yet) online, but (if you speak german) you can see the table of
contents in www.linuxuser.de

And yes, this is a *workaround* and clearly marked as such, and the
article in no way suggest running 2.4 anything but the shortest time
needed for install.

I don't have the magazine myself anymore.

> A more exact tip is :
> 
>   1) use the sarge installer, and go upto the install phase.

I think the problem was, that at *this stage* the install was hanging,
but if this goes this far, then fine, of course!

> Another possibility is to try the debian/etch beta2 installer, which will have
> 2.6.15 kernel from the start. You will even be able to have the graphical
> installer then. The beta2 is not yet out (but almost there), and you can use
> daily builds of the installer until it is.

This is of course the best option as (remaining bugs) can be filed and
fixed most promptly.

Greetings

 Helge

-- 
Dr. Helge Kreutzmann, Dipl.-Phys.   [EMAIL PROTECTED]
   gpg signed mail preferred 
64bit GNU powered  http://www.itp.uni-hannover.de/~kreutzm
  Help keep free software "libre": http://www.ffii.de/


pgpFAntQnyDSN.pgp
Description: PGP signature


Unable to boot with debian kernel 2.6.15

2006-02-12 Thread Wouter Lueks
It's been some time since I updated my kernel.  I'm currently using a
self-compiled 2.6.12 kernel.  It thought it was time to check out the
stock debian kernels since the seemed to be working very good for a lot
of people.

So I went ahead and installed the debian kernel and hoped it would boot. 
However, no matter what I try I keep getting the following error:

"VFS: unable to mount root fs on unknown-block(0,0)"

The root-fs is XFS, and the xfs module is included in the initrd module. 
I couldn't find any major differences with other yaboot.conf files, so
I'm a bit at a loss on how to solve this.

Regards,

Wouter Lueks

Current versions:
yaird - 0.0.12-3
yaboot - 1.3.13-4.1
linux-image-2.6.15-1-powerpc - 2.6.15-4

yaboot.conf:
boot=/dev/hda2
device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
partition=3
root=/dev/hda3
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
enableofboot
macosx=/dev/hda6

image=/boot/vmlinux-2.6.15-1-powerpc
label=Linux
read-only
initrd=/boot/initrd.img-2.6.15-1-powerpc

initrd content:
(attached)
.
bin
bin/cat
bin/dash
bin/mkdir
bin/mknod
bin/mount
bin/sleep
bin/umount
dev
dev/console
dev/null
etc
lib
lib/modules
lib/modules/2.6.15-1-powerpc
lib/modules/2.6.15-1-powerpc/kernel
lib/modules/2.6.15-1-powerpc/kernel/drivers
lib/modules/2.6.15-1-powerpc/kernel/drivers/ide
lib/modules/2.6.15-1-powerpc/kernel/drivers/ide/ide-disk.ko
lib/modules/2.6.15-1-powerpc/kernel/drivers/input
lib/modules/2.6.15-1-powerpc/kernel/drivers/input/evdev.ko
lib/modules/2.6.15-1-powerpc/kernel/fs
lib/modules/2.6.15-1-powerpc/kernel/fs/exportfs
lib/modules/2.6.15-1-powerpc/kernel/fs/exportfs/exportfs.ko
lib/modules/2.6.15-1-powerpc/kernel/fs/xfs
lib/modules/2.6.15-1-powerpc/kernel/fs/xfs/xfs.ko
lib/tls
lib/tls/libc-2.3.5.so
lib/tls/libdl-2.3.5.so
lib/tls/libc.so.6
lib/tls/libdl.so.2
lib/ld-2.3.5.so
lib/libblkid.so.1.0
lib/libselinux.so.1
lib/libsepol.so.1
lib/libuuid.so.1.2
lib/ld.so.1
lib/libblkid.so.1
lib/libuuid.so.1
mnt
proc
sbin
sbin/insmod
sys
usr
usr/lib
usr/lib/yaird
usr/lib/yaird/exec
usr/lib/yaird/exec/run_init
var
init


Re: hi and first and hopefully last question

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 08:11:36AM +0100, Helge Kreutzmann wrote:
> I remember that in a recent issue of a german Linux magazin a work
> around for this was presented: Use the 2.4 kernel to do a (minimal)
> install and then build your own kernel (> 2.6.8 in Sarge). There were
> some minor tips around this as well which I forgot, but since you use
> Debian for some time this should get you going.

This advice is x86 specific, and using 2.4 kernels on powerpc these days is
akin to pure madness :)

A more exact tip is :

  1) use the sarge installer, and go upto the install phase.

  2) Before rebooting the machine, switch to console 2 and chroot into
  /target.

  3) mount /proc and /sys.

  4) download the sid kernels, initramfs-tools and udev packages (and
  dependencies), and install those.

  5) redo the yaboot configuration.

  6) proceed with the normal install and reboot.

Another possibility is to try the debian/etch beta2 installer, which will have
2.6.15 kernel from the start. You will even be able to have the graphical
installer then. The beta2 is not yet out (but almost there), and you can use
daily builds of the installer until it is.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hi and first and hopefully last question

2006-02-12 Thread Sven Luther
On Sun, Feb 12, 2006 at 07:56:48AM +0100, Daniel Payno wrote:
> El 11/02/2006, a las 22:17, Mich Lanners escribió:
> >>I plan to install linux but:
> >>* Ubuntu/PPC 5.10's Live/Install kernels don't support my Superdrive
> >What do you mean; doesn't support the SuperDrive?
> >The DVD drive is a generic MMC3-compatible IDE drive; there is no  
> >issue
> >of support involved here.
>   O, more precisely, the debian_installer, once booted whilst pressing 
> dong 'C', past the locale config, tries to detect the cd, and load  
> the needed module in the install kernel, to proceed with the install.  
> That's the point where the install stops and issues a warning of  
> unsupported hardware, and error in locating cd-rom drive
>   Being a new tech DL superdrive it didn't surprise me really, i'm an  
> old debian user, so in my early times i remember going to buy  
> hardware always with the Hardware-HOWTO in my hand :)

Mmm, i have some doubts about this, the disk controller driver may have some
issues, but the dvd model per se should be transparent.

> >You can try the netboot ISO from my site, but you also need to install
> >the kernel that omes along with it:
> >
> >http://www.cpu.lu/~mlan/ftp/debian/albook-mini.iso
> >http://www.cpu.lu/~mlan/ftp/debian/kernel-albook.deb
> >
> >The kernel contains every hardware support I deem important or useful
> >compiled-in (not as modules). But you may disagree with me; so use the
> >config that is included in the package to build your own kernel.
> Well, there'll be time to compile a custom one, past installation..
> Znx, i'm actually doing backup to reinstall MaxOsX for applying  
> repartitioning logic, and then i'll try this

Bah, people should use the official debian kernels, and file bug reports if
they don't work :)

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hi and first and hopefully last question

2006-02-12 Thread Sven Luther
On Sat, Feb 11, 2006 at 10:17:41PM +0100, Mich Lanners wrote:
> > Does the latest Debian/PPC 3.0 iso support it? I planned to use the  
> > easeness of ubuntu as starting point, but aint afraid of a debian  
> > vanilla install.
> 
> Debin can be installed more easily these days than many people used to
> the old days do believe ;-)

Debian 3.0 aka woody, is stone-age by now (almost 4 years since the release),
no chance it will work. Debian/sarge, using backported sid/etch kernels should
work just fine, this is what i run myself.

But where i you, i would definitively give Debian/etch beta2 which will be out
in a couple of weeks a try.

Ubuntu and debian share most of the ease-of-use installer, so there should be
no significant difference in the installation method per se.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]