Diagnosing early kernel hang [was Re: kernel .config for Debian stock kernel?]

2009-03-24 Thread Brian P. Flaherty

Brian P. Flaherty wrote:

Wartan Hachaturow wrote:

[...]


Kernel configs are available in kernel image packages, and reside in
/boot/config-*.


Thank you, I'll try to build a new kernel using the 2.6.18 config.


I built a 2.6.26 kernel today starting from the 2.6.18 config.  That 
custom kernel hangs in the same place as the Debian installed and Lenny 
install CD kernel.


I don't know exactly where it is hanging, but it is pretty early in the 
boot process.  I think it may be right before the frame buffer happens 
(Isn't that when the penguin shows up in the top fifth of the screen?). 
 Today I was comparing the kernel and cpu options between the two 
configs, but couldn't not fix it.


Any suggestions for what I should look to change in the 2.6.26 config?

Also, are the fans quieter with 2.6.26?  That is one of the reasons I 
wanted to try to get it working.


Thank you for your time and thoughts,

Brian


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Does someone use grub?

2009-03-24 Thread Michel Dänzer
On Sat, 2009-03-21 at 22:08 +, Jörg Sommer wrote: 
 
 does someone of you use grub on PowerPC?

I do.

 I thought about replacing yaboot by grub, but a deeper look showed I
 have to do stuff by hand, i.e. it misses a default configuration.

What do you mean by that? I don't remember doing anything special other
than mounting the HFS bootstrap partition on /boot/grub.

However, note that there's a couple of bugs which may be a problem:

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

I'm using self-built binaries with these patched.

In any case, you obviously shouldn't change the boot-device variable in
NVRAM from yaboot to GRUB until you've successfully booted the latter
manually from the OF prompt.

 Is it worth to do it? Is grub better than yaboot?

I can't answer that for you, but FWIW my main motivations were:

  * I was able to migrate my filesystem from ext3 to ext4 without
repartitioning for a separate /boot which yaboot can read. In
general, GRUB2 supports many more filesystems as well as things
like LVM and RAID (at least in theory, can't say how well these
things work on powerpc at this point).
  * update-grub2 automagically adds all kernels and any
corresponding initrds in /boot to /boot/grub/grub.cfg (with
'postinst_hook = update-grub2' and 'postrm_hook = update-grub2'
in /etc/kernel-img.conf), I no longer have to take care that the
symlinks referenced in yaboot.conf remain valid when removing
kernel images.
  * More powerful user interface at boot time, e.g. you can change
boot parameters in an editor, and there's tab completion for
filenames, so even if there is a problem with the kernel entries
in grub.cfg, it's easier than with yaboot to manually specify
the kernel and initrd to boot.

 Can grub boot OS X and from CD, i.e. that what enablecdboot in
 yaboot offers?

I don't know of any way to do these, but I haven't really tried to find
out if there is because it's easy enough to do these things from OF
anyway: hold the C key on bootup to boot from the optical drive, hold
the alt key to get a GUI boot volume chooser.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



iBook G3 - Debian Lenny and one projector

2009-03-24 Thread Esteban Monge
Hello I have a iBook G3 Dual USB 800MHz, I need conect a projector to it.
Need clone my screen in the projector.

This is my xorg.conf file:

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section InputDevice
IdentifierGeneric Keyboard
Driverkbd
OptionXkbRulesxorg
OptionXkbModelpc104
OptionXkbLayoutes
EndSection

Section InputDevice
IdentifierConfigured Mouse
Drivermouse
EndSection

Section Device
IdentifierATI Technologies, Inc. Radeon Mobility M7 LW [Radeon
Mobility 9000]
Driver radeon
BusIDPCI:0:16:0
OptionUseFBDevtrue
EndSection

Section Monitor
IdentifierConfigured Monitor
OptionDPMS
EndSection

Section Screen
IdentifierATI Technologies, Inc. Radeon Mobility M7 LW [Radeon
Mobility 9000]
MonitorConfigured Monitor
DefaultDepth24
SubsectionDisplay
Depth 16
Modes 1024x768
EndSubSection
SubSectionDisplay
Depth 24
Modes 1024x768
EndSubSection
EndSection

How I can make it?
-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.


Re: iBook G3 - Debian Lenny and one projector

2009-03-24 Thread Amit Uttamchandani
On Tue, 24 Mar 2009 12:15:51 -0600
Esteban Monge esteban.franci...@gmail.com wrote:

 Hello I have a iBook G3 Dual USB 800MHz, I need conect a projector to it.
 Need clone my screen in the projector.
 
 This is my xorg.conf file:
 

[snip]

 
 How I can make it?
 -- 


Hi there,

I haven't tried it myself since I don't have access to a projector. But
in order to clone or mirror your screen you need to use xrandr. If you
don't have it installed then use aptitude to install it. 

I think the radeon driver you're using supports xrandr but there is
only one way to find out. Install xrandr, plug it in, and use the
xrandr command line program to clone/mirror your screen. You can use
the man page to see how to use it or use the following examples in the
following article:

http://blog.hydrasystemsllc.com/2009/02/21/xrandr-and-the-x-window-system/

Good luck and post back your results.

Amit


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: iBook G3 - Debian Lenny and one projector

2009-03-24 Thread James Tappin
On Tue, 24 Mar 2009 12:15:51 -0600
Esteban Monge esteban.franci...@gmail.com wrote:

EM Hello I have a iBook G3 Dual USB 800MHz, I need conect a projector
EM to it. Need clone my screen in the projector.
EM 

There is a command-line utility called m3mirror which can switch on and
off the display and external graphics outputs (I don't recall the URL).
You may also find you need a kernel patch to get rid of the waves in the
external display -- I know I posted that to the Ubuntu forums a couple
of years back.


-- 
++---+-+
| James Tappin   | School of Physics  Astronomy |  O__|
| s...@star.sr.bham.ac.uk | University of Birmingham  | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722  | |
++-+


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: iBook G3 - Debian Lenny and one projector

2009-03-24 Thread Rafal Czlonka
Esteban Monge wrote:
 How I can make it?

On my iBook G4 it looks like this:

% xrandr --addmode VGA-0 1024x768

This is there simply because my projector (not sure if that applies to
all) doesn't provide any information regarding supported modes, etc. in
the same way monitors do.

% xrandr --output VGA-0 --mode 1024x768 --output LVDS --off

This uses the previously added mode and switches off the laptop screen
(you can omit the last two options if not needed).

% man xrandr

Last but not least ;^)

My xorg.conf has only basic entries as I use the xserver automatic
configuration.

P.S. You can create an alias for it or put it into a script.

Regards,
-- 
Raf

http://www.catb.org/~esr/faqs/smart-questions.html


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#520711: installation-reports: The squeeze netinst doesn't find archive

2009-03-24 Thread Rick Thomas
I just tried the PowerPC squeeze businesscard install disk, with the  
same results.


The CD was downloaded from the URL:


http://cdimage.debian.org/cdimage/daily-builds/testing/arch-latest/powerpc/iso-cd/

The boilerplate on that directory says:


Daily build #3 for powerpc, using installer build from squeeze

These images will install the testing version of Debian, currently  
Squeeze.


See the top-level daily directory for more information about the  
daily builds.


This build finished at Tue Mar 24 15:56:34 UTC 2009.




The CD booted fine, it ran thru the normal process of picking a  
language and keyboard type, loading modules, etc then tried to DHCP a  
network address.  This failed because there's no DHCP server on that  
network.  I manually configured the network numbers, and it got its  
name from the DNS server (so I didn't fat-finger the network  
configuration)


Then it was time to configure a mirror, and I chose the default: ftp.us.debian.org 
 .  This resulted in the Bad archive mirror error.


When I switch to the alt-F2 console and try to do a wget, I get a  
segmentation fault.


I tried the PowerPC netinst install CD from the same directory, with  
the same results.


Hope this helps to analyze the bug...


Rick


On Mar 22, 2009, at 5:38 AM, Alexander V.Inyakin wrote:


Package: installation-reports
Severity: critical
Justification: breaks the whole system



-- Package-specific info:

Boot method: CD
Image version: debian-testing-i386-netinst.iso22-Mar-2009 05:02   
152M

Date: 10:00 22.03.2009

Machine: Compaq CQ60
Partitions: df -Tl will do; the raw partition table is preferred


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O ]
Detect network card:[O ]
Configure network:  [O ]
Detect CD:  [O ]
Load installer modules: [O ]
Detect hard drives: [O ]
Partition hard drives:  [O ]
Install base system:[O ]
Clock/timezone setup:   [O ]
User/password setup:[O ]
Install tasks:  [E ]
Install boot loader:[ ]
Overall install:[ ]

Comments/Problems:

Configuring package manager the squeeze netinst
gives Bad archive mirror message at any archive
beginning from ftp.us.debian.org

--



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#520711: installation-reports: The squeeze netinst doesn't find archive

2009-03-24 Thread Otavio Salvador
On Tue, Mar 24, 2009 at 6:02 PM, Rick Thomas rbthoma...@pobox.com wrote:
 When I switch to the alt-F2 console and try to do a wget, I get a
 segmentation fault.

Please take a look on the syslog of the installer and if possible
attach it to this
bug report (please, gzip it).

-- 
Otavio Salvador  O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#520711: installation-reports: The squeeze netinst doesn't find archive

2009-03-24 Thread Rick Thomas


On Mar 24, 2009, at 10:09 PM, Otavio Salvador wrote:

On Tue, Mar 24, 2009 at 6:02 PM, Rick Thomas rbthoma...@pobox.com  
wrote:

When I switch to the alt-F2 console and try to do a wget, I get a
segmentation fault.


Please take a look on the syslog of the installer and if possible
attach it to this
bug report (please, gzip it).


The syslog file of a failed install has been sent to the 520711 bug  
report.


I glanced at it, but I'm not a d-i guru (just a [usually] happy  
user).  The only thing I noticed was a few occurrences of


Mar 25 03:36:30 main-menu[695]: DEBUG: resolver (libc6-udeb):  
package doesn't exist (ignored)
Mar 25 03:36:30 main-menu[695]: DEBUG: resolver (libc6): package  
doesn't exist (ignored)


But they are probably harmless because they were followed eventually by


Mar 25 03:36:36 anna[3512]: DEBUG: retrieving libc6-udeb 2.9-4


so something else will be needed to explain the seg-fault in wget.

This particular installation attempt was done on a network that did  
have DHCP, so the syslog shows it succeeding -- no manual network  
configuration was required.  From this I assume I can deduce that the  
network was up and working, so it's not a matter of having the wrong  
(or no) network driver...


Hope it helps...


Rick

PS: I assume that Otavio and Alexander are subscribed to the PowerPC  
list or the 520711 bug report (or both) so I've trimmed them off the  
CC list.



--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org