why kernel don't read partition table?

2005-10-29 Thread marco giusti
hi,
  i was looking for mac-fdisk for printing my partition map, so i did:

# mac-fdisk /dev/hda
p
[my partition table]
warning, there is an error ... bla bla bla... press w(rite) to correct.
(ok, maybe it knows what it say so...)
w
q

after a reboot...

cannot open root device hda4 or unknow-block(3,4)
kernel panic.

with a live distro i cannot read the lost partitions. i don' know what
to do. please help me, i cannot lose all my data.

thanks
marco



Re: IBMJava doesn't work after installing... - solution!

2005-12-31 Thread Marco Giusti
On Sat, Dec 31, 2005 at 02:02:07PM +0100, Bartosz Sokolowski wrote:
>> BTW, there is a mozilla plugins in IBM Java 1.5.  So you can watch java
>> applet 
>> with mozilla or firefox.  Just create the symbolic links as the
>> following.
>> 
>> ~~~snip~~~
>> ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so \
>> /usr/lib/mozilla/plugins/
>> ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so \
>> /usr/lib/mozilla-firefox/plugins/
>> ~~~snip~~~
>
>Strange but it doesn't work for me. JVM in Mozilla and Firefox is still
>broken. Any ideas??  How to check which plugins are installed in
>Mozilla/Firefox??

in the url input type: about:plugins

>BTW: why j2sdk1.5-ibm ?? I have
>/usr/lib/j2re1.5-ibm/jre/bin/libjavaplugin_oji.so. Is it the same
>plugin??

yes, as far as i know. sdk is software development kit, jre is java
runtime enviroment. sdk is for developer (it includes javac, ecc.) and
includes jre.

ciao
marco


signature.asc
Description: Digital signature


Re: User Mode Linux does not work

2006-02-23 Thread Marco Giusti
On Sat, Feb 18, 2006 at 11:54:15PM +0100, Stefano Melchior wrote:
>On Sat, Feb 18, 2006 at 08:58:27PM +0100, Luca Bigliardi wrote:
>Hi Dieter
>> On Sat, Feb 18, 2006 at 07:53 PM, Dieter Schuster wrote:
>> 
>> > does anyone of you run user mode linux on PPC? 
>> 
>> it doesn't work

is there an alternative for UML? i must test the comunication between
three computers using ethereal, iptables, ecc. in x86 i lanch three
instances of uml, but in ppc?

ciao
marco


signature.asc
Description: Digital signature


ibook g4 kernel config

2004-12-03 Thread marco giusti
hi all,
  i'm going to compile the kernel (for the first time). someone of you
have got a .config for this ibook? maybe with Benjamin Herrenschmidt's
sleep patch?

thank you in advice for your help
regards
marco

ps. some more information

minimurdoc:/usr/src/kernel-source-2.6.9# cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 1199MHz
revision: 1.1 (pvr 8003 0101)
bogomips: 1196.03
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh 
detected as : 287 (iBook G4)
pmac flags  : 000a
L2 cache: 512K unified
memory  : 256MB
pmac-generation : NewWorld

minimurdoc:/usr/src/kernel-source-2.6.9# lspci
:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
:00:10.0 VGA compatible controller: ATI Technologies Inc RV250
5c63 [Radeon Mobility 9200 M9+] (rev 01)
0001:01:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:01:12.0 Network controller: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller (rev 03)
0001:01:17.0 ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:01:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:01:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:01:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:01:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:01:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:01:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:02:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:02:0d.0 ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:02:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2
FireWire (rev 81)
0002:02:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC
(Sun GEM) (rev 80)



ibook fan speed

2004-12-17 Thread marco giusti

hi,
  sometimes the fan starts making a big noise. in my /var/log/messages there are 
some info:


Dec 17 18:54:18 minimurdoc kernel: adt746x: Stopping CPU fan.
Dec 17 18:54:18 minimurdoc kernel: adt746x: Setting speed to: 0 for CPU fan.
Dec 17 18:55:50 minimurdoc kernel: adt746x: Setting speed to: 128 for CPU fan.
Dec 17 18:58:18 minimurdoc kernel: adt746x: Stopping CPU fan.
Dec 17 18:58:18 minimurdoc kernel: adt746x: Setting speed to: 0 for CPU fan.

is it possible to set the fan speed? who command the fan?

bye
marco



Re: Two questions about Ibook G4

2004-12-17 Thread marco giusti

Sylvain "Skarsnik" Colinet wrote:

Hi there.
I recently reinstall a debian on my ibook G4.
I use a sarge net install cd and update to sid.
It's not the first time i run debian on my ibook, all work fine, X,
sleep and co.

First question :
But now I not enable to have a well working Xfree (I loose my odl
config :(), what the magic configuration entry in XF86Config-4 ?


i attach my XF86Config-4, i've got a new ibook g4 1,2GHz



Second question :
It there kernel-image with all the working stuff or config file ? I am
borring of compiling the kernel.


some time ago i asked for an optimal kernel configuration, but it doesn't work 
very well.

samba don't work, like the sound and i don't like the hard drive light.
moreover when i tried to load the .config file some options have not been 
recognized.
however you can find the configuration here: 
http://lists.debian.org/debian-powerpc/2004/12/msg00122.html




Thanks to futur help


if my XF86Config-4 is mistaken or someone have a suggestion for the kernel config, 
is welcome :)


ciao
marco



Re: Two questions about Ibook G4

2004-12-17 Thread marco giusti

marco giusti wrote:

i attach my XF86Config-4, i've got a new ibook g4 1,2GHz



ehm, i forgot the file
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection
Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "ATI Technologies, Inc. RV250 5c63 [Radeon Mobility 
9200 M9+]"
Driver  "ati"
Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
Identifier  "Monitor Generico"
HorizSync   28-50
VertRefresh 43-75
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "ATI Technologies, Inc. RV250 5c63 [Radeon Mobility 
9200 M9+]"
Monitor "Monitor Generico"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode0666
EndSection


Re: [Patch #3] Re: Hard Drive light

2004-12-20 Thread marco giusti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Cedric Pradalier wrote:
|
| You're right. So this is a version with the strings updated.
| Please excuse my english...
|
| Cheers,
|
|

a stupid question: how i shall apply this patch?
patch -p1 < patch is right?

thanks

ciao
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBxo9dmQRKGuVp5FMRAmS9AJ0SOVJqWA2VVa3/Av5S6EuRMHhRqgCeLY31
OSsg5yTt3mWUkBEglwrTulg=
=Mj9I
-END PGP SIGNATURE-