Re: can't boot with my 2.6.9 kernel...

2005-01-13 Thread Giuseppe Lavagetto
Il giorno gio, 13-01-2005 alle 00:15 +0100, Nicolas Lebas ha scritto:
> The error message is :
> "kernel panic - not syncing: VFS Unable to mount root fs on 
> unknown-block(0,0)"
> 
> 

I hope Guillame's advices can help you in rebooting in your linux box
succesfully. 

I'll add my two cents:

The kernel panic you see is due to a missing kernel component in order
to mount one of your filesystems.

There are several things that can go wrong: for instance

1) You did not include the support for your filesystem in the kernel.

2) You have compiled the support of your filesystem as a module. In this
case you should build the initrd and pass the initrd= option to yaboot
(just add it in yaboot.conf and do ybin).

3) You did all the required steps I listed above, but did not include
initial ramdisk support and/or cramfs support in your monolithic kernel.
In this case, the kernel will not be able to read modules from the
ramdisk.

I hope this can help you

Giuseppe
-- 
Giuseppe Lavagetto <[EMAIL PROTECTED]>
Dipartimento di Scienze Fisiche ed Astronomiche - Università di Palermo



Re: Sleep patch: inclusion?

2005-01-14 Thread Giuseppe Lavagetto
Il giorno ven, 14-01-2005 alle 09:43 +0100, Colin Leroy ha scritto:
> Hi Ben,
> 
> First, happy new year :) I hope your holidays were fine.
> 
> Do you still plan on including the sleep patch in 2.6.11?
> 
> I came across a problem, but it is quite hard to trace and reproduce,
> because it only happened twice (in a few dozens sleep/resumes): the
> keyboard wouldn't respond after a resume. I'm not sure, either, that
> it's due to the kernel, because Command and F10 keys still perform right
> and middle click as per mouseemu's configuration, so it may be a problem
> with mouseemu. 
> 

Well, I own an ibook G4 where I just installed sid. I recompiled 2.6.9
with the sleep patch #7: it does the work, but I've run into some
problems that seem to be common:
1) The alsa system has some glitches
2) Sleep does not if either dri or usb are used
3) Random instabilities if I put the machine to sleep frequently (say
once every 10 mins). 

I'm sorry not being more precise, but I am under pressure at work and do
not have time to trace the bug #3 with properly.

Hope these glitches will be over once the patch does it into the
official kernel.

BTW, thanks for the great work you are doing, Ben

Giuseppe
-- 
Giuseppe Lavagetto 
Dipartimento di Scienze Fisiche ed Astronomiche - Università di Palermo



Re: MAC Mini

2005-01-19 Thread Giuseppe Lavagetto
Il giorno mer, 19-01-2005 alle 11:49 +1100, Benjamin Herrenschmidt ha
scritto:
> 
> It's most certainly a basic intrepid chipset (same as eMac and all
> recent laptops). We'll know for sure once somebody gets one (or better,
> send me one :)
> 
> Ben.
> 

It's on slashdot now, so it's not big news, but several people got their
hands on a mac mini and dissected it:

http://www.mini-itx.com/news/13909018/

It hosts in fact an intrepid chipset+an ati radeon 9200 so it should not
be hard to install linux on it.


Peppe
-- 
Debian: One Swirl to rule them all
[Hi, I'm a .signature virus! Copy me to your .signature file and
help me propagate, thanks!]







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



Re: does sleep work with the patched 2.6.10 kernel?

2005-04-14 Thread Giuseppe Lavagetto
Il giorno 12/apr/05, alle 00:58, Mauro ha scritto:
After installing the 2.6.10-5-powerpc ubuntu kernel my iBook now goes 
to
sleep perfectly, it just doesn't wake up or does quickly followed by a
kernel panic (black screen).
I can confirm I have exactly the same problem, and that it's been there 
since the beginning of the hoary release schedule. I have an ibook g4 
bought in July 2004 (14" G4 1.2 Mhz). I even disabled dri and usb but 
still always had this problem. I never submitted a bug report beccause 
some people said the problem was "fixed" on Ubuntu's Bugzilla. So I 
always blamed my lameness...

Giuseppe Lavagetto
--
"But my research results are due in tommorrow and all I need is one 
page of Laser Print.."
"SURE YOU DO. Well; You just keep telling yourself that buddy!" I hang 
up.
		-- The first real BOFH

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


Re: stranded Ibook g4 users

2005-04-17 Thread Giuseppe Lavagetto
Il giorno 17/apr/05, alle 07:25, Benjamin Herrenschmidt ha scritto:
Can you try to identify the difference between those "2 types" of
ibooks, via /proc/cpuinfo and lspci... do they have the same rev of
video chip for example, and what CPU do they have ? Is the motherboard
code (PowerBookX,Y) the same ?
Looks like we all share the same machine. BTW, I tried to comple 2.6.11 
from scratch, both with and without ubuntu patches, disabled dri and 
the like, and still it did not work...

It seems anyway an issue with a specific ibook model. I am anyway 
willing to test any patch on my system as soon as you are able to come 
out with something. If you really need it, I can even get you ssh 
access to my machine for some days.

Here we go with the output:
cpuinfo:
processor   : 0
cpu : 7447A, altivec supported
clock   : 599MHz
revision: 1.1 (pvr 8003 0101)
bogomips: 598.01
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
memory  : 512MB
pmac-generation : NewWorld
lspci -vv
:00:10.0 VGA compatible controller: ATI Technologies Inc RV250 5c63 
[Radeon Mobility 9200 M9+] (rev 01) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc RV250 5c63 [Radeon Mobility 
9200 M9+]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium 
>TAbort- SERR- 
Latency: 255 (2000ns min), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 48
Region 0: Memory at 9800 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 802400 [size=256]
Region 2: Memory at 9000 (32-bit, non-prefetchable) 
[size=64K]
Expansion ROM at f100 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- 
HTrans- 64bit- FW+ AGP3- Rate=x1,x2
Command: RQ=8 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- 
FW- Rate=x1
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

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


Re: stranded Ibook g4 users

2005-04-18 Thread Giuseppe Lavagetto
Il giorno 19/apr/05, alle 08:14, Benjamin Herrenschmidt ha scritto:
How do you actually differenciate Rev 1.1 from Rev 1.2 ? What
information in the device-tree or /proc/cpuinfo do you use for
differenciating them ??
From my preceding email:
cpuinfo:
processor   : 0
cpu : 7447A, altivec supported
clock   : 599MHz
revision: 1.1 (pvr 8003 0101)
I think he refers to this.
Bye
Peppe
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: stranded Ibook g4 users

2005-04-19 Thread Giuseppe Lavagetto
Il giorno 19/apr/05, alle 09:38, Mauro ha scritto:
On Tue, 2005-04-19 at 01:50 -0400, Eric Pineault wrote:
Hi all, sorry for the delayed reply, thanks first of all for the
interest and time. I'm totally swamped with work this week, so will  
be a
bit passive, but it seems we identified a specific type of Ibook G4,
revision 1.1. Sleep works on revision 1.2 but not on ours.
This is not true.  Although I have the 1.1 ibook and would be happy if
there was a fix with my specific model in mind, there is one person on
that string that reports having a 1.2 for which disabling DRI also  
fixed
his waking from sleep panic (as disabling DRI fixes my 1.1 ibook).
see
http://ubuntuforums.org/showthread.php? 
s=7a758d7b16606695ec80f6412bf586ad&t=25264&page=2&pp=10
"Bug #7464 instead addresses the G4 iBooks with the radeon 9200 card.
The reporter said that disabling dri worked for him, and he has a 7455
iBook. It works for me also (iBook G4 12''), and this is
my /proc/cpuinfo:

processor : 0
cpu : 7447A, altivec supported
clock : 599MHz
revision : 1.2 (pvr 8003 0102)"

Well, Mauro, disabling DRI does not work for people with revision 1.1  
ibooks, so this is the problem!

ASAP I'll try to apply the suggested patch to 2.6.11 toghether with the  
ubuntu-specific patches and I will try to build a kernel .deb.

Please keep in mind that I have got to work, so "ASAP" may mean "within  
one week"

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


Re: can't boot with my 2.6.9 kernel...

2005-01-13 Thread Giuseppe Lavagetto
Il giorno gio, 13-01-2005 alle 00:15 +0100, Nicolas Lebas ha scritto:
> The error message is :
> "kernel panic - not syncing: VFS Unable to mount root fs on 
> unknown-block(0,0)"
> 
> 

I hope Guillame's advices can help you in rebooting in your linux box
succesfully. 

I'll add my two cents:

The kernel panic you see is due to a missing kernel component in order
to mount one of your filesystems.

There are several things that can go wrong: for instance

1) You did not include the support for your filesystem in the kernel.

2) You have compiled the support of your filesystem as a module. In this
case you should build the initrd and pass the initrd= option to yaboot
(just add it in yaboot.conf and do ybin).

3) You did all the required steps I listed above, but did not include
initial ramdisk support and/or cramfs support in your monolithic kernel.
In this case, the kernel will not be able to read modules from the
ramdisk.

I hope this can help you

Giuseppe
-- 
Giuseppe Lavagetto <[EMAIL PROTECTED]>
Dipartimento di Scienze Fisiche ed Astronomiche - Università di Palermo



Re: Sleep patch: inclusion?

2005-01-14 Thread Giuseppe Lavagetto
Il giorno ven, 14-01-2005 alle 09:43 +0100, Colin Leroy ha scritto:
> Hi Ben,
> 
> First, happy new year :) I hope your holidays were fine.
> 
> Do you still plan on including the sleep patch in 2.6.11?
> 
> I came across a problem, but it is quite hard to trace and reproduce,
> because it only happened twice (in a few dozens sleep/resumes): the
> keyboard wouldn't respond after a resume. I'm not sure, either, that
> it's due to the kernel, because Command and F10 keys still perform right
> and middle click as per mouseemu's configuration, so it may be a problem
> with mouseemu. 
> 

Well, I own an ibook G4 where I just installed sid. I recompiled 2.6.9
with the sleep patch #7: it does the work, but I've run into some
problems that seem to be common:
1) The alsa system has some glitches
2) Sleep does not if either dri or usb are used
3) Random instabilities if I put the machine to sleep frequently (say
once every 10 mins). 

I'm sorry not being more precise, but I am under pressure at work and do
not have time to trace the bug #3 with properly.

Hope these glitches will be over once the patch does it into the
official kernel.

BTW, thanks for the great work you are doing, Ben

Giuseppe
-- 
Giuseppe Lavagetto 
Dipartimento di Scienze Fisiche ed Astronomiche - Università di Palermo



Re: MAC Mini

2005-01-19 Thread Giuseppe Lavagetto
Il giorno mer, 19-01-2005 alle 11:49 +1100, Benjamin Herrenschmidt ha
scritto:
> 
> It's most certainly a basic intrepid chipset (same as eMac and all
> recent laptops). We'll know for sure once somebody gets one (or better,
> send me one :)
> 
> Ben.
> 

It's on slashdot now, so it's not big news, but several people got their
hands on a mac mini and dissected it:

http://www.mini-itx.com/news/13909018/

It hosts in fact an intrepid chipset+an ati radeon 9200 so it should not
be hard to install linux on it.


Peppe
-- 
Debian: One Swirl to rule them all
[Hi, I'm a .signature virus! Copy me to your .signature file and
help me propagate, thanks!]