Re: Problem: update hell: apt-get gives segmentation fault consistently

2009-02-23 Thread Hans Ekbrand
On Mon, Feb 23, 2009 at 07:24:36AM -, Mungo Henning wrote:


 I'm attempting to upgrade the kernel on my linkstation box and I'm getting
 a dreaded crash in apt-get.

[...]

 ---
 Buffalo400Gb:/tmp# apt-get -y install module-init-tools
 Segmentation faultsts... 9%
 Buffalo400Gb:/tmp# ls -lt /var/cache/apt
 total 19800
 -rw-r--r--  1 root root 11 Feb 22 15:41 pkgcache.bin
 drwxr-xr-x  3 root root  14336 Feb 22 09:39 archives
 -rw-r--r--  1 root root   19169764 Aug 17  2007 available
 Buffalo400Gb:/tmp#
 Buffalo400Gb:/tmp# cat /etc/apt/apt.conf
 APT::Default-Release
 stable;
 APT::Cache-Limit 10;
 Buffalo400Gb:/tmp#
 ---

the file pkgcache.bin is 9991236 bytes on my system, yours is way too
big.

This is not a power-pc specific problem, try posting at debian-user,
they have a larger brain pool that might help to solve your problem,

Good luck,

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Wifi on a tray loading iMac, is it possible?

2009-02-12 Thread Hans Ekbrand
On Thu, Feb 12, 2009 at 05:32:16PM +0200, Risto Suominen wrote:
 Sure it's possible. USB adapter is probably the only usable solution.
 I've been successful with old Macs using Buffalo WLI-U2-KG54L
 (0411:00da) and zd1211b, vendor-based community driver, svn version.
 http://zd1211.wiki.sourceforge.net/
 
 The speed will be limited to 11 Mbit/s because of the USB 1.1
 interface on those iMacs.

Do you have to manually set the rate, or is the driver smart enough
to not try rates above 11 Mbit/s?

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: IBM JS21 Blade and debian-40r6-powerpc-netinst.iso

2009-02-06 Thread Hans Ekbrand
On Fri, Feb 06, 2009 at 12:42:34PM -0500, dave oswald wrote:

[...]

 As a reminder - the hardware is a JS21 in an H-chassis.
 
 The PowerPC installer does not run a getty on HVC0 (nor does it provide an 
 option to do so) leaving 
 debian's default PowerPC install non-functional on any Pseries/Power machine 
 without graphics hardware.
 
 The modifications required to get Debian release 4 operational on a JS21 are 
 as follows:
 
o  /etc/inittab - add these lines to the inittab file:
   # Start a getty on a the PowerPC Hypervisor console.
   H0:23:respawn:/sbin/getty 38400 hvc0
 
o /etc/securetty - add this line to the securetty file:
   # Run on the PowerPC Hypervisor console
   hvc0

[...]

 QUESTION - I assume this is some type of bug... Where can this be posted ?

debian-b...@lists.debian.org

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: RealPlayer audio streams

2009-01-26 Thread Hans Ekbrand
On Sun, Jan 25, 2009 at 10:12:09PM +0100, Gerfried Fuchs wrote:
 * Hans Ekbrand hans.ekbr...@sociology.gu.se [2009-01-22 15:19:14 CET]:
  On Thu, Jan 22, 2009 at 02:24:34PM +0100, Bin Zhang wrote:
   You can use mplayer and mozilla-mplayer (debian packages). You need
   realmedia codecs. Two options for installing the codecs:
   - run
   /usr/share/mplayer/scripts/binary_codecs.sh install
   - install Linux PPC 20071007 codecs in your /usr/lib/codecs from
   http://www1.mplayerhq.hu/design7/dload.html
   
   You'll need installing the package libstdc++.so.5.
  
  Both of these, are not-the-debian-way.
 
  Says who? The binary_codecs.sh script infact _is_ the Debian way.

Generally, running install scripts is *not* the debian way, apt-get is.
I don't know the details in this particular case.

  Why not just apt-get from www.debian-multimedia.org?
 
  Because that's not-the-debian-way. 

Maybe not in your contry, but maybe in countries that does not
acknowledge software patents. I don't now your particular situation,
but this is my guess.

 But when it comes to non-free stuff
 one has to jump through hoops anyway.

The current definition of non-free in Debian is, AFAIK, adopted to fit
citizens in countries which acknowledge software patents. In countries
which does not acknowledge software patents, some software which is in
www.debian-multimedia.org is Free software.

Perhaps you remember that debian once had a section named non-us
which where provided to non-us users (and by servers located outside
US). This infrastructure for distributing free software was created in
order to get around the US export restrictions for strong crypto.
Without it, Debian would not have been able to provide the same
software for all users, since Debian when would have (in some cases)
exported the strong crypto software from US to users in other
countries, which the export restrictions did not allow.

My point here is that software patents impose the same kind of
restriction, it only applies in some contries, so Debian could set up
servers in the countries that does not acknowledge software patents,
and the citizens of these countries could benefit from this Free
software.

I live in Sweden, which does not acknowledge software patents, and
therefore it would be perfectly legal for Debian to have
ftp.se.debian.org provide me - and everyone else who is a citizen (and
is living in) a country which does not acknowledge software patents -
nice GPL software which would have been protected by software patents
in some other countries.

In my eyes, www.debian-multimedia.org is such a service. The only
thing that I miss is that the packages is complied and signed by the
normal debian maintainers and built on a official debian machine, and
that Debian officially acknowledge these packages as part of Debian.

Now, I haven't checked all the details of the mplayer package provided
by www.debian-multimedia.org, but I thought mplayer was GPL, isn't it?

If it is, then why do you call it non-free stuff? Isn't that a way
of framing the issue that accepts the idea of software patents?

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: software CPU throttling on powerpc

2009-01-24 Thread Hans Ekbrand
On Sat, Jan 24, 2009 at 08:50:40AM +0100, Sven Luther wrote:

[...]

 You need to write a kernel driver for it, which should not be too
 difficult.

 
 Hints for anyone wanting to do that :
 
   1) the processor specs for the powerpc cpus are usually available, at
   least the freescale ones. The G3 being a IBM part, you should look for
   it in the IBM website or google for it.
 
   2) LDD3 (Linux Driver Development, release 3 if my memory is good)
   explains how to do a sysfs driver, or take example on an existing one,
   it is rather simple, you need to write the module init/deinit
   function, a structure which holds the sysfs ops, and you probably only
   want the read and write function.
 
   3) in the write function, you access the register and put a value to
   it, in the read function, you get the value of the register. This may
   need to be dfone in assembly, but the powerpc assembly reference
   manual is available (from freescale and probably from ibm too). Or
   simply copy the code for other registers.
 
 Once you have that, you can play with it and write some userland tool.

Thanks for giving this info, but using and actually write a kernel
module is beyond my capabilities (and time available to get the
particular computing task done). 

 Please forward this message to the list, since i am being censored.

Done.

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net


signature.asc
Description: Digital signature


Re: software CPU throttling on powerpc

2009-01-24 Thread Hans Ekbrand
On Fri, Jan 23, 2009 at 11:53:00PM +0100, José JORGE wrote:
 A Friday 23 January 2009 20:52:37, Hans Ekbrand escreveu:
  I have an imac G3, which I want to use for a computing intensive task.
  I think this computer has a problem with overheating, because when it
  has been working for approximately 10 hours, it hangs.
 
 If it is a heating problem, it may have dust.
 To make what you want, I'd do a cron job that suspends the computing for 20 
 minutes every 9 hours, to see if it helps. But I've never seen a machine that 
 just overheats after 10 hours of 100% CPU.

It might also be a problem with the nic (if nics can overheat),
because the computing task involes a lot of network traffic and I do
see transmitting errors.

The computing task (building a debian-live CD-image in a directory
that is accessed via NFS over SSH) dynamically creates new processes,
so it's not easy to know which process should be paused with

kill -STOP

Anyway, writing a bash script for that is much easier for me than
writing a kernel module.

Tanks everybody for you answers!

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net


signature.asc
Description: Digital signature


Re: software CPU throttling on powerpc

2009-01-24 Thread Hans Ekbrand
On Sat, Jan 24, 2009 at 07:55:48PM +0100, Sven Luther wrote:
 On Sat, Jan 24, 2009 at 11:30:43AM +0100, Hans Ekbrand wrote:

[...]

  Thanks for giving this info, but using and actually write a kernel
  module is beyond my capabilities (and time available to get the
  particular computing task done). 
 
 Well, the time is a valable excuse, the lack of skill is not, since the
 functions to write are rather basic, which is why i suggested this.

I confident that your suggestions would help someone how knows C to
write such a module fast and easy. I don't know C, so I wrote a
minimal BASH script instead, not as generally useful as software
throttling in the kernel would have been, but good enough.

This script pauses (for 200 seconds) the process which take most CPU,
with exception of all ssh processes (since the NFS-mount is done over
SSH in my particular setup). I run it as cron job every 15 minutes.

PID=`ps aux | mawk '{print $3,$2,$11}' | sort -r | grep -v ssh | grep -v 
COMMAND | head -n 1 | mawk '{print $2}'`
kill -STOP $PID
sleep 200
kill -CONT $PID


-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net



signature.asc
Description: Digital signature


Re: RealPlayer audio streams

2009-01-23 Thread Hans Ekbrand
On Fri, Jan 23, 2009 at 02:02:07PM +0930, Mike Hore wrote:

[...]

 OK, it's good news.  Everything's working!  I can go to a web site with  
 a RealPlayer stream, open it and specify kplayer as the helper app, and  
 it plays.
 So it seems that any needed powerpc codecs must have been installed by  
 the installation process from www.debian-multimedia-org.

Thanks for reporting back. It's good to know that my recommendation
works.

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: Problem with lastfm client on debian ppc linux

2009-01-23 Thread Hans Ekbrand
On Thu, Jan 22, 2009 at 01:37:53PM -0500, thegame4121...@msn.com wrote:
 Hi I am having some problems with the lastfm client under debian linux on the 
 powerpc platform. When I use Lastfm client there appears to be a lot of lag 
 from logging on to lastfm using the client to the stations and songs 
 themselves loading. Everything seems to take longer than it should and the 
 station stops playing music maybe after three to four songs. I can't listen 
 to lastfm on the web site becaue there is no flash for powerpc.

Without any experience in lastfm (not the client nor the website), I
just wanted to point out that there is at least one flash client for
powerpc: gnash

In addition mplayer can play flash videos.

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


software CPU throttling on powerpc

2009-01-23 Thread Hans Ekbrand
I have an imac G3, which I want to use for a computing intensive task.
I think this computer has a problem with overheating, because when it
has been working for approximately 10 hours, it hangs.

What I would like is to enforce some idle cycles which would prevent
the CPU from overheating.

On the ix86 processors, there is an thing called ACPI that has a
function for this at /proc/acpi/processor/CPU0/throttling

I *think* this is completely done in software (in the kernel, requires
no hardware-support). If that is the case, then it should be possible
to do the same on the powerpc plattform, but I haven't found anything
like that.

Hardware details, if relevant.

cpu : 740/750
temperature : 31-33 C (uncalibrated)
clock   : 333.30MHz
revision: 2.2 (pvr 0008 0202)
platform: PowerMac
model   : iMac,1

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: software CPU throttling on powerpc

2009-01-23 Thread Hans Ekbrand
On Fri, Jan 23, 2009 at 09:31:08PM +0100, Mich Lanners wrote:

[...]

 Quote:
 Since that means the processor is running too fast, I looked for a way
  to slow it down. And I've found one The G3 processors implement a
  feature which is designed for power saving and temperature control. It
  works by slowing down the rate at which instructions are fetched from
  the instruction cache. This is achieved by writing a non-zero value to
  the ICTC special register in the G3 processor.
 
 You might have to search for a way to control that register. Years ago I
 had coded kernel support for /proc/sys/kernel/ictc to change that
 register. Not sure it is in recent kernels; I have no G3 at hand to
 check.

Thanks for your answer, this ictc-thing seems promising, but, as you
write, the question now is how to control that register.

I'm on lenny 2.6.26-1.

/proc/sys/kernel/ has no ictc file.

$ ls /proc/sys/kernel/
accthung_task_warnings  ostype   
printk_ratelimitsched_migration_cost softlockup_thresh
cad_pid keysoverflowgid  
printk_ratelimit_burst  sched_min_granularity_ns sysrq
core_patternmaps_protectoverflowuid  pty
 sched_nr_migrate tainted
core_uses_pid   max_lock_depth  panicrandom 
 sched_rt_period_us   threads-max
ctrl-alt-delmodprobepanic_on_oops
randomize_va_space  sched_rt_runtime_us  version
domainname  msgmax  pid_max  real-root-dev  
 sched_wakeup_granularity_ns
hostnamemsgmnb  poweroff_cmd 
sched_child_runs_first  sem
hotplug msgmni  powersave-nap
sched_compat_yield  shmall
hung_task_check_count   ngroups_max print-fatal-signals  sched_features 
 shmmax
hung_task_timeout_secs  osrelease   printk   
sched_latency_nsshmmni

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Signature generated by Signify v1.14.  For this and more, visit 
http://www.debian.org/


signature.asc
Description: Digital signature


Re: RealPlayer audio streams

2009-01-22 Thread Hans Ekbrand
On Thu, Jan 22, 2009 at 05:47:09PM +0930, Mike Hore wrote:
 Hi Hans,

  On Thu, Jan 22, 2009 at 10:32:05AM +0930, Mike Hore wrote:
 
  [...]
 
  Now, never satisfied, I want to get streaming audio from sites that  
 only   provide RealPlayer or WMP formats!  These are proprietary, and so  
 not  supported by Helix.  Helix kindly tells me I need to download  
 RealPlayer  11, but of course when I look there I find that while Linux  
 packages are  available in RPM or DEB formats, it's x86 only (as usual).
 
  Perhaps mplayer from the repository http://www.debian-multimedia.org  
 can handle those?
 

 Yes, maybe, and I had a look there the other day, but I'm too much of a  
 Linux newbie to be able to figure out what everything means.  I don't  
 really want to tackle compiling from source

No need to, www.debian-multimedia.org provides binary debian packages.

[...]

 I need some simple instructions  
 and I don't seem to be able to find them anywhere.

You could try, as root:

echo deb http://www.debian-multimedia.org lenny main  /etc/apt/sources.list
apt-get update
apt-get install mplayer

-- 
Note that I use Debian version 5.0
Linux sqlserver 2.6.26-1-powerpc #1 Sat Jan 10 14:00:38 CET 2009 ppc GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: RealPlayer audio streams

2009-01-22 Thread Hans Ekbrand
On Thu, Jan 22, 2009 at 02:24:34PM +0100, Bin Zhang wrote:
 You can use mplayer and mozilla-mplayer (debian packages). You need
 realmedia codecs. Two options for installing the codecs:
 - run
 /usr/share/mplayer/scripts/binary_codecs.sh install
 - install Linux PPC 20071007 codecs in your /usr/lib/codecs from
 http://www1.mplayerhq.hu/design7/dload.html
 
 You'll need installing the package libstdc++.so.5.

Both of these, are not-the-debian-way. Why not just apt-get from
www.debian-multimedia.org?

-- 
Note that I use Debian version 5.0
Linux sqlserver 2.6.26-1-powerpc #1 Sat Jan 10 14:00:38 CET 2009 ppc GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: RealPlayer audio streams

2009-01-21 Thread Hans Ekbrand
On Thu, Jan 22, 2009 at 10:32:05AM +0930, Mike Hore wrote:

[...]

 Now, never satisfied, I want to get streaming audio from sites that only  
  provide RealPlayer or WMP formats!  These are proprietary, and so not  
 supported by Helix.  Helix kindly tells me I need to download RealPlayer  
 11, but of course when I look there I find that while Linux packages are  
 available in RPM or DEB formats, it's x86 only (as usual).

Perhaps mplayer from the repository http://www.debian-multimedia.org can handle 
those?

-- 
Note that I use Debian version 5.0
Linux sqlserver 2.6.26-1-powerpc #1 Sat Jan 10 14:00:38 CET 2009 ppc GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature


Re: Suspend to RAM leaves backlight on

2009-01-14 Thread Hans Ekbrand
On Tue, Jan 13, 2009 at 08:20:05PM -0800, Amit Uttamchandani wrote:
 I am using powerbook 3,2 with ATI Rage Mobility M3 AGP 2X. Suspend to
 RAM works sporadically. The disk spins down but the machine locks up
 and leaves the display on. This did not happen in Etch.
 
 I tried using the -r switch as stated in the s2ram man page but no
 luck. The driver I am using is r128.

I also have seen sporadically working suspend to RAM (or disk) on a
similar computer. I made a custom suspend script that stop the
network-manager and unloaded some kernel modules, and then just waited
(using bash sleep) for the cpu to become idle, before issueing

pbbcmd sleep

The kernel modules the script unloads are:

sbp2
all modules with ieee in their name

With the script, I can reliably use sleep and resume.

This computer never had etch installed, so I don't know if etch was
better in sleeping.

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Suspend to RAM leaves backlight on

2009-01-14 Thread Hans Ekbrand
On Wed, Jan 14, 2009 at 01:59:27PM +0100, Vincent Lefevre wrote:
 On 2009-01-13 20:20:05 -0800, Amit Uttamchandani wrote:
  I am using powerbook 3,2 with ATI Rage Mobility M3 AGP 2X. Suspend to
  RAM works sporadically. The disk spins down but the machine locks up
  and leaves the display on. This did not happen in Etch.
 
 Probably the same problem as me (I also have a PowerBook3,2).
 FYI, I reported the following bug a couple of weeks ago:
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510108

Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s)

This is exacly what I see too, when suspend failed. I don't have
access to that box right now (it belongs to a friend of mine), but
when I get access, I can share with you the script, and perhaps we
help each other to narrow down the problem.

-- 
Note that I use Debian version 5.0
Linux sqlserver 2.6.26-1-powerpc #1 Wed Nov 26 15:34:33 CET 2008 ppc GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
Signature generated by Signify v1.14.  For this and more, visit 
http://www.debian.org/


signature.asc
Description: Digital signature


Re: Suspend to RAM leaves backlight on

2009-01-14 Thread Hans Ekbrand
On Wed, Jan 14, 2009 at 08:30:41AM -0800, Amit Uttamchandani wrote:
 On Wed, 14 Jan 2009 15:16:12 +0100
 Hans Ekbrand hans.ekbr...@sociology.gu.se wrote:
 
  On Wed, Jan 14, 2009 at 01:59:27PM +0100, Vincent Lefevre wrote:
   On 2009-01-13 20:20:05 -0800, Amit Uttamchandani wrote:
I am using powerbook 3,2 with ATI Rage Mobility M3 AGP 2X. Suspend to
RAM works sporadically. The disk spins down but the machine locks up
and leaves the display on. This did not happen in Etch.
   
   Probably the same problem as me (I also have a PowerBook3,2).
   FYI, I reported the following bug a couple of weeks ago:
   
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510108
  
  Freezing user space processes ... (elapsed 0.00 seconds) done.
  Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
  Suspending console(s)
  
  This is exacly what I see too, when suspend failed. I don't have
  access to that box right now (it belongs to a friend of mine), but
  when I get access, I can share with you the script, and perhaps we
  help each other to narrow down the problem.
 
 I tried with kernel 2.6.25 as mentioned in the other post and I'm not
 having any problems. Could be a kernel issue I guess.

I am almost certain that it is a kernel issue, since the first part of
suspending process is successful.

Trying with 2.6.25 might be a workaround, but 2.6.25 is not available
in lenny so from where should I install it?

-- 
Hans Ekbrand (http://sociologi.cjb.net) h...@sociologi.cjb.net
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: RS6000 running CUPS.... parport_pc needs to be motivated

2008-11-21 Thread Hans Ekbrand
On Fri, Nov 21, 2008 at 08:21:36AM -0500, Benjamin Hoffman wrote:
 Every time the server reboots I have to run this command.
 
 RS6000:~# modprobe parport_pc
 
 If I don't CUPS replies printer not connected.
 
 Using as a windows printer via Samba.
 
 The server operates great otherwise.
 
 Could someone explain what I'm doing wrong?

Doing that manually is sort of wrong since it can be automatically
done at boot-time, if you add a line:

parport_pc

in /etc/modules

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Good luck.

2008-06-11 Thread Hans Ekbrand
On Wed, Jun 11, 2008 at 09:24:31PM +0200, Wolfgang Pfeiffer wrote:
 
 Hi All - on the Powerpc list.
 
 This will be my last email to a Debian list. 
 
 Reason is my last 2 mails were considered as being SPAM at least from
 one of Debian list admins.

Hi Wolfgang!

[and [EMAIL PROTECTED], and Thomas Viehmann, who are CC:ed]
[For a complete version of Wolfgang's mail, see:
 http://lists.debian.org/debian-powerpc/2008/06/msg00067.html]

I'm sorry about how listadmin Thomas Viehmann has treated you. His
email, that you quote, is unreasonable, since your mail was *NOT*
spam.

But perhaps a more constructive solution for Debian and for you can be
found, than you avoiding posting to debian lists.

I know of no conflict-resolution entity in Debian, so I'll just send a
copy of this to [EMAIL PROTECTED], who perhaps can give advice on to
whom one should report what one consider as inaproriate behavour from
debian admins.

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Boot Floppies PPC Old World Mac

2008-04-17 Thread Hans Ekbrand
On Wed, Apr 16, 2008 at 07:15:28PM +0300, Risto Suominen wrote:
 I once installed Debian Sarge (a bit newer than Woody) on a similar
 machine, 6400/180, and was quite happy with it. It had an IMS TT
 graphics card and a USB2 card, and those worked too. The IMS card
 needed some special depth settings for colors to work in X. The kernel
 was probably v. 2.4.18. The other alternative, a 2.2 kernel, wouldn't
 allow USB to work.

Sarge had 2.6.8 (and some 2.4 which I don't remeber), the kernel
versions you mention implies that you installed woody.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Boot Floppies PPC Old World Mac

2008-04-16 Thread Hans Ekbrand
On Tue, Apr 15, 2008 at 01:14:59PM -0400, Scott MacCallum wrote:
 Greetings,
 
 I am trying to get the latest stable release of Debian PPC installed
 on an old world Mac. I have been following the Debian GNU/Linux
 Installation Guide
 (http://www.debian.org/releases/stable/powerpc/index.html.en) and in
 it there is mention of a boot-floppy-hfs.img file
 (http://www.debian.org/releases/stable/powerpc/ch05s01.html.en#id2536590)
 which is the first of many boot floppies that need to be dd'ed. The
 problem is I have been unable to locate the file
 (http://http.us.debian.org/debian/dists/etch/main/installer-powerpc/current//images/powerpc/floppy/)
 in question and the other ones have proven not to work.
 
 Could someone point me in the right direction?

Disclaimer: I haven't installed to oldworld macs since 2006 so my
knowledge in this area may well be outdated.

The installation floppies (miboot) use non-free software and is not
included in the official debian distribution. However, in ealier
versions of debian, the miboot floppies were included. I don't know
exactly when (was it after woody?), but the non-free part of the
floppies where removed the official distro and the boot-floppies could
not boot.

Nevertheless, individual debian developers (Sven Luther and others)
contiued to made automatically built installation floppy images
available to the general public.

Some of the miboot history is in recorded in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382129

As far as I recall, there where problems to get kernels later than
2.6.15 to boot (and the the correct root device) on oldworld.

And the daily miboot builds were non automatically tested, so the
often failed (e.g. the image for the root-floppy was too big to fit a
physical floppy disk).

When I tested new kernel versions on oldworld macs with the quik
boot-loader, I had to rescue or even reinstall from floppies. I
learned to like the woody installation floppies, the worked well on
the hardware I had (Performa 5400). After installing woody I could
upgrade to sarge without problems, but be careful with kernel versions
newer than 2.6.15! (I had success running self-compiled kernels newer
than 2.6.15 but only with kernels that did not use an initrd!).

I would try the woody boot-floppies.

http://archive.debian.org/dists/Debian-3.0/main/disks-powerpc/3.0.23-2002-05-21/powermac/images-1.44/

Install woody - upgrade to sarge - compile a custom kernel that does
not use an initrd using recent kernel sources - upgrade to etch.

But, as I said in the beginning, my knowledge may well be outdated.
Perhaps others on this list have more recent experiences of installing
(and running) oldworld macs.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Boot Floppies PPC Old World Mac

2008-04-16 Thread Hans Ekbrand
On Wed, Apr 16, 2008 at 08:38:39AM -0400, Scott MacCallum wrote:

[...]

 Hans,
 
 Thank you very much for the information! I am sure this will save me
 considerable time and frustration. The computer I am trying to get
 Debian installed on is a PPC 5400/200
 (http://www.everymac.com/systems/apple/powermac/stats/powermac_5400_200.html).
 I am still getting use to the file layout Debian uses. Where can I
 find the Woody ISO for download. Would the small one fit my needs or
 do you recommend one of the others?

Sorry but I don't know. I don't think I've ever installed woody from a
CD, only directly from the net using the boot floppies.

A quick google session returned

http://farbror.acc.umu.se/cdimage/archive/images/3.0_r6/powerpc/debian-30r6-powerpc-binary-1.iso

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: FLOSS VOIP Client Software

2008-01-26 Thread Hans Ekbrand
On Fri, Jan 25, 2008 at 02:03:04AM -0800, Amit Uttamchandani wrote:
 Hello fellow debian users,
 
 I am trying to look for a decent FLOSS VOIP software that allows me to 
 communicate to Windows/Mac users. Skype is out of the question since it does 
 not even support Debian PPC (which I have).
 
 I have heard of Ekiga. How is that? Does that work with Windows/Mac users 
 using Skype clients?

Understand that Skype intentionally seeks to not be communicationable
from other VOIP clients. That's their strategy for increasing their
market share.

For me, that's enough for rejecting Skype altogether. Go SIP instead.
By using open standards, you don't impose any specific software on
your communication partners.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.



signature.asc
Description: Digital signature


Re: Booting powerbook G3 with Bootx or Quik

2008-01-15 Thread Hans Ekbrand
On Wed, Jan 09, 2008 at 12:04:17AM +0100, Paolo Perani wrote:
 Hi guys out there, I have a problem that is driving me crazy (well I am a 
 newbie..).
 I have installed the Debian 4.0 (I tried Netinstall and xfce) on my mac 
 Powerbook g3 wallstreet. The installation is no-problema I install the 
 minimal version of Debian because I only have 1,2G. I do the manual partition 
 and format the root partition with first ext2 and in the second try with ext3.
  
 /dev/hda7   swap
 /dev/hda8   root
 
 I choose as the first try not to install Quik because, if I may quote from 
 the manual:
 
 ???If you use BootX to boot into the installed system, just select your 
 desired kernel in the Linux Kernels folder, un-choose the ramdisk option, and 
 add a root device corresponding to your installation; e.g. /dev/hda8.???

That sounds like a obsolete passage in the manual with false
information. I reported a bug and attached a patch for the manual in
22 december 2005, however, the bug is still open:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344477

The correct procedure has been documented several times on this list,
heres the principal steps:

1. Install (I think continue without a boot-loader is the correct
   thing to do if you want to use BootX)
2. Before rebooting, copy the installed kernel and initrd from /boot
   to the MacOS partition.
3. Reboot to MacOS.
4. Configure BootX to use this new kernel and its initrd instead of the
   installation kernel + installation initrd.

-- 
Hans Ekbrand


signature.asc
Description: Digital signature


Re: ppc installation issues...

2007-11-26 Thread Hans Ekbrand
On Sat, Nov 24, 2007 at 03:33:32PM -0500, P Kapat wrote:
 Hi,
 
 Here are some of the issues that I faced while installing and
 upgrading debian on my iBook G4: (if I am writing to the wrong list,
 please let me know)

gnome and locale issues are not powerpc-specific, so the expertise on
those matters is more likely to be found on the debian-boot list (or
possibly debian-user, at least for the upgrading-to-unstable-problem).

So, I think it is your own best interest to post on those lists
instead.

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Debian on a PowerBook 1400cs/133

2007-11-19 Thread Hans Ekbrand
On Sun, Nov 18, 2007 at 05:35:44PM +0100, Michelle Konzack wrote:
 Hello *,
 
 my vietnames neighbour has a PowerBook 1400cs/133 with broken MacOS
 (which was generaly only the Mac basic software).
 
 Now we have tried to install Debian from CD, but Etch does not boot.
 
 Can anyone help me?
 
 Note:  It does not detect the Binary-1 CD but it works in my iMac.
 
 Can it be, that Etch is some numbers to big for the PowerBook?

No, only macs with the new-world generation of open firmware (like
BIOS in the x86 world) are able to boot from Debian CD:s. (Apple have
proprietary stuff on their bootable CD:s) PowerBook 1400 has not
new-world firmware.

http://nubus-pmac.sourceforge.net/ links to a iso-image for installing
sarge, I would start there.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Sven Luther

2007-07-23 Thread Hans Ekbrand
On Mon, Jul 23, 2007 at 07:42:18PM +0200, Simon Vallet wrote:
 Well, as a PPC user, I think Sven has been very helpful on
 debian-powerpc, and for the Debian PowerPC port in general. I don't
 particularly want to know who's the bad guy and who's the good one:
 this whole banning thing has IMO only had negative impacts.
 
 I vote for this silly ban to get lifted.

I agree wholeheartedly with Simon.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]



signature.asc
Description: Digital signature


debian-powerpc or debian-boot for d-i issues [ was Re: Install 4.0 r0 Etch on IBM p5 510 inside LPAR ]

2007-04-20 Thread Hans Ekbrand
On Fri, Apr 20, 2007 at 09:42:00PM +0200, Wolfgang Pfeiffer wrote:
 On Thu, Apr 19 2007, at 23:08 +0200, Sven Luther wrote:
  On Thu, Apr 19, 2007 at 05:40:51PM +0200, Wolfgang Pfeiffer wrote:
   On Thu, Apr 19 2007, at 15:05 +0200, Sven Luther wrote:
On Wed, Apr 18, 2007 at 04:03:22PM +0200, Gottfried Scheckenbach wrote:
 Hello to all,

This is the wrong list to handle installer related issues. 
   
   Wrong. He tried a Debian install. And he tried it on powerpc. So he's
   at the fully correct place here.

I agree with Sven, debian-installer issues should be reported to
debian-boot, where the developer of d-i listens.

   It won't hurt to crosspost if we know there's a specific list for a
   specific issue.
   
   But if I have to go for every specific problem - and all issues are
   specific - to a specific list I'm sooner or later in an impossible
   and non-manageable situation.
  
  Well, let's step into reality here, none of the debian-installer folk
  really follow this list, and when one year ago i forwarded a report of
  this kind to debian-boot, it set the events into motion which led to one
  year of flamewar and hate.
 
 
 
 Sven, please: stick to the whole truth. They didn't kick you just for
 different opinions on software matters.

Sven have not claimed that. Read his post again if you think it does
state such a thing.

  Installer related questions should be filled in the BTS, as installation
  reports, and failing that, posted to debian-boot.
  
  Furthermore, if it is a kernel issue, it is also best to post it to
  debian-kernel, or better yet to file a bug report against the kernel.
  The debian-installer folk will forward it to the right place already,
  which is why it is best to always file a bug report, instead of mailing
  on a list where the two most concerned group of people are not going to
  hear about it.
 
 I don't doubt that there are other lists being much more appropriate
 for certain issues than this one: But as there are, IINM, literally
 hundreds of mailing-lists it is always a good idea to firstly address
 - when it comes to powerpc related Debian issues - this precious, not
 so little powerpc list ... :)

If anyone on debian-powerpc can help the O.P. fine, but O.P and the
d-i team would probably be better off if the standard procedures,
which Sven mentiones above, were followed.

 That was actually all I wanted to say in my previous posting: And
 sorry if the words I chose (Wrong.) weren't as polite as they could
 have been ...

Pointing O.P to debian-boot and BTS of the d-i (and also the kernel
list) as Sven did is not impolite, it's a good advice which enchances
chance for O.P. getting help.

-- 
Hans Ekbrand


signature.asc
Description: Digital signature


Re: bug#390432 - still no boot 2.6.18 here

2006-10-24 Thread Hans Ekbrand
On Mon, Oct 23, 2006 at 10:00:15PM -0700, Brian Morris wrote:
 On 10/23/06, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote:
 On Mon, 2006-10-23 at 03:01 -0700, Brian Morris wrote:
  well i tried again,  still same result as ever trying
  to boot 2.6.18 on my old powerbook.
 
  synopsis: bootx hangs after first line welcome to linux,
  quik goes all the way to VFS: ... unknown block(0,0)
  (as if there is no initramfs). no floppy drive, so can't
  try miboot.
 
 Quik can load an initrd at all ? I don't remember...
 works fine with 2.6.15-1, if modules=dep is set in
 etc/initramfs-tools/initramfs.conf.

Me too. Works with yaird too, if I recall correctly.

[...]

 quik is quik, it boots faster and runs faster, it would be much
 better if i could use it. but it acts like it can't see the ram disk initrd.

Quik handles initrd well. There seems to be a problem with kernels 
2.6.15 and initrd on oldworld. I managed to boot a customized 2.6.18
with the ide-drivers builtin with quick, but the official debian
kernels fails to find root fs (as if the kernel does not find the
ramdisk). I reported bug#366620 which is now closed, but patch that
closed the bug didn't work on my performa 5400. #390432 seems to be a
continuation of the same problem.

On a possibly unrelated matter, the current (2006-10-24) set of
miboot-floppies

(http://people.debian.org/~wouter/d-i/powerpc-miboot/daily/powerpc/floppy/)

also fails to load the initrd:

RAMDISK: Compressed image found at block 0
No filesystem could mount root, tried: cramfs
Kernel panic - not syncing: VFS Unable to mount root fs on unknown-block(1,0)

The miboot-floppies of beta3 (2006-08-04) boots to debian-installer
sucessfully with a 2.6.16 kernel and initrd (on cramfs). So 2.6.16 can
load the initrd on oldworld macs, even though the official debian
kernels  2.6.15 always has failed on my box (performa 5400, with 24
Mb ram).

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: prematurely deleting kernel packages !?!?!

2006-09-27 Thread Hans Ekbrand
On Wed, Sep 27, 2006 at 12:52:25AM -0700, brian wrote:

[...]

 i found 2.6.18 in unstable and will try that, but 
 i can't believe even if it were tested and shown
 to work on all the old world powerpc it is hardly
 yet time to delete it as it would not come down for
 another at least a week i would expect.(frankly,
 after getting no response to my test results i don't
 expect it to work here)

Me neither.

 actually i am starting to feel intuitively that 15 is
 getting stretched too far, there have never been and
 will never be any updates for it, so my choice i 
 suppose if 18 doesn't work is to go back to
 sarge until i hear that it does. 

Use a custom 2.6.18 kernel, see below.

 also i wish i had heard someone else here to try
 the 18 package, there were no reports at all, what
 is the deal, everybody disappearing just when it
 is important ??

I also have tested the .18 kernel Sven refered me to without success
(the one with BenHs patch for loading initrd). I got a mail that the
bug I reported was closed 366620, but I haven't responded, I guess I
should have, but I don't use the box in question anymore. And for
every kernel I test, I have to rescue with the woody install floppies
if it fails (I do that pretty fast, by now).

Since the problem is well-known, failing to load the initrd, it is
easy to workaround, by compiling in the drivers for the harddisk that
/ is on directly into the kernel. I have successfully ran a 2.6.18
kernel with the ide disk and ext2 complied into the kernel.

Being forced to use custom kernels is of course rather annoying in the
long run.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: kernel-image-2.6.16-2 on oldworld (success with a small change in config)

2006-09-11 Thread Hans Ekbrand
On Fri, Sep 08, 2006 at 03:32:25PM +0200, Sven Luther wrote:
 On Fri, Sep 08, 2006 at 03:20:58PM +0200, Hans Ekbrand wrote:
  Hi!
 
 Hi, please make sure you CC debian-kernel too on issues like this.

Bug #366620 is against linux-image-2.6.16-2-powerpc, my post was a
follow up to [EMAIL PROTECTED] CC:ed to debian-powerpc.

  The official debian kernels for powerpc stopped working for me with
  2.6.16 (2.6.15 works fine). The 2.6.16 ones fail to mount root fs at
  boot, which I have reported in bug #366620
  
  I compiled my own 2.6.16 with a minimal change in .config, and that
  was it, 2.6.16 now boots on my oldworld mac.
  
  The needed change in config was the following: (diff against
  ./boot/config-2.6.16-2-powerpc in the package
  linux-image-2.6.16-2-powerpc_2.6.16-18_powerpc.deb)
  
  4c4
   # Sat Aug 19 00:42:57 2006
  ---
   # Fri Sep  8 09:14:38 2006
  772c772
   CONFIG_BLK_DEV_IDEDISK=m
  ---
   CONFIG_BLK_DEV_IDEDISK=y
  2317c2317
   CONFIG_EXT2_FS=m
  ---
   CONFIG_EXT2_FS=y
  2328c2328
   CONFIG_FS_MBCACHE=m
  ---
   CONFIG_FS_MBCACHE=y
  
  I think this shows that there is some problem with loading the proper
  modules for ide and ext2 from the initrd. As stated in the bugreport
  of #366620 I have tried both yaird and the other initrd creator.

[...]

  Will you consider appling this patch to the config? While it is not
  the right solution in the long term, it would make oldworld macs run
  with official debian kernels again (at least the ones with
  IDE-drives).
 
 No, please get the ramdisk creator packages to get fixed for this one, if it
 is that the issue.

I don't know what to belive anymore, I have tested both mkinitramfs
and yaird (their previous and current versions). I have inspected the
initrds that they produce and the module for ide, ide-disk is
included.

 Also, can you please try the 2.6.18-rc6 packages from :
 
   http://kernel-archive.buildserver.net/debian-kernel/pool/main/l/linux-2.6/
 
 and see if your problem persists there.

Yes the problem persists. But 2.6.18-rc6 gives a clearer error message at boot.

Here is the output at boot on 2.6.18-rc6 (failing)

ide0: no intrs for device /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED], using 13
ide0: Found Apple OHare ATA controller, bus ID 0, irq 13
[...]
hda: QUANTUM FIREBALL_TM1700A, ATA DISK drive
hda: Enabling Multiword DMA 2
ide0: Disabled unable to get IRQ 13.
ide0: failed to initialize IDE interface
[...]
VFS: Cannot open root device hda5 or unknown-block(0,0)

* Here is the output of a successful boot (with 2.6.16) *

ide0: no intrs for device /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED], using 13
ide0: Found Apple OHare ATA controller, bus ID 0, irq 13
Probing IDE interface ide0...
[...]
hda: QUANTUM FIREBALL_TM1700A, ATA DISK drive
hda: Enabling MultiWord DMA 2
ide0 at 0xc2016000-0xc2016007,0xc2016160 on irq 13
hda: max request size: 128KiB
hda: 3335472 sectors (1707 MB) w/76KiB Cache, CHS=3309/16/63, DMA
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7

* Here is the output of yaird, looks OK *

# yaird --verbose --output=/boot/myyaird.img 2.6.18-rc6-powerpc
yaird: goal: template, prologue (/etc/yaird/Default.cfg:52)
yaird: action: prologue,  {}
yaird: goal: module, fbcon (/etc/yaird/Default.cfg:56)
yaird: goal: input, -- (/etc/yaird/Default.cfg:73)
yaird: goal: module, mousedev (/etc/yaird/Default.cfg:103)
yaird: goal: module, evdev (/etc/yaird/Default.cfg:104)
yaird: action: insmod, 
/lib/modules/2.6.18-rc6-powerpc/kernel/drivers/input/evdev.ko {optionList=-- }
yaird: goal: resume, -- (/etc/yaird/Default.cfg:143)
yaird: goal: mountdir, / (/etc/yaird/Default.cfg:157)
yaird: action: insmod, 
/lib/modules/2.6.18-rc6-powerpc/kernel/drivers/ide/ide-disk.ko {optionList=-- }
yaird: hardware: completed 
pci:00/:00:10.0/0.f300:ohare/0.0002:ATA/ide0/0.0
yaird: action: mkbdev, /dev/hda {sysname=hda }
yaird: action: mkbdev, /dev/hda5 {sysname=hda/hda5 }
yaird: action: insmod, /lib/modules/2.6.18-rc6-powerpc/kernel/fs/mbcache.ko 
{optionList=-- }
yaird: action: insmod, /lib/modules/2.6.18-rc6-powerpc/kernel/fs/ext2/ext2.ko 
{optionList=-- }
yaird: action: mount, /mnt {device=/dev/hda5 fsType=ext2 isRoot=1 options=-o 
'errors=remount-ro' }
yaird: goal: template, postlude (/etc/yaird/Default.cfg:170)
yaird: action: postlude,  {}
#


-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: kernel-image-2.6.16-2 on oldworld (success with a small change in config)

2006-09-11 Thread Hans Ekbrand
On Fri, Sep 08, 2006 at 11:21:59PM -0700, brian wrote:
 
 hans -
 
 did you put modules=dep in the config file inside the
 directory of etc/initramfs-tools.

I have had modules=most in /etc/initramfs-tools since I reported
bug #366620.

 then run update-initramfs.
 
 may need discover package, so it can see all the
 modules.

Since the right modules seems to be placed in the initrd, installing
discover does not sound useful.

 be careful --
 the changes in initrd  i have looked at for some
 hours,
 they are pretty complex.

The right modules seems to be included in the initrd, but perhaps that
is not enough.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


kernel-image-2.6.16-2 on oldworld (success with a small change in config)

2006-09-08 Thread Hans Ekbrand
Hi!

The official debian kernels for powerpc stopped working for me with
2.6.16 (2.6.15 works fine). The 2.6.16 ones fail to mount root fs at
boot, which I have reported in bug #366620

I compiled my own 2.6.16 with a minimal change in .config, and that
was it, 2.6.16 now boots on my oldworld mac.

The needed change in config was the following: (diff against
./boot/config-2.6.16-2-powerpc in the package
linux-image-2.6.16-2-powerpc_2.6.16-18_powerpc.deb)

4c4
 # Sat Aug 19 00:42:57 2006
---
 # Fri Sep  8 09:14:38 2006
772c772
 CONFIG_BLK_DEV_IDEDISK=m
---
 CONFIG_BLK_DEV_IDEDISK=y
2317c2317
 CONFIG_EXT2_FS=m
---
 CONFIG_EXT2_FS=y
2328c2328
 CONFIG_FS_MBCACHE=m
---
 CONFIG_FS_MBCACHE=y

I think this shows that there is some problem with loading the proper
modules for ide and ext2 from the initrd. As stated in the bugreport
of #366620 I have tried both yaird and the other initrd creator.

I don't know about the 

FS_MBCACHE=y

thing, that must have been set automatically.

Will you consider appling this patch to the config? While it is not
the right solution in the long term, it would make oldworld macs run
with official debian kernels again (at least the ones with
IDE-drives).

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: XFree86 running too slow in Performa 6500/300.

2006-09-01 Thread Hans Ekbrand
On Thu, Aug 31, 2006 at 03:20:27PM -0700, brian wrote:

[...]

 he just needs a little RAM 
 (128 might be good to start), a little patience,
 and a good lightweight desktop. 
 (well a g3 upgrade wouldn't hurt, but it can wait).

The OP has already stated that there is no budget for hardware
upgrades.


signature.asc
Description: Digital signature


Re: XFree86 running too slow in Performa 6500/300.

2006-08-31 Thread Hans Ekbrand
On Thu, Aug 31, 2006 at 06:41:09PM +0200, Michael Flaig wrote:
 Hi,
 
 sad thing :-(
 
 Have you considered running the apps on a more powerful server? 
 using xdmcp or probably freenx?
 ... as a thin client (probably diskless with netboot)

My advice too. 32 MB is not usable with modern apps, but should be
enough for the X server (especially when running at 16 bpp).

I don't know the current status of ltsp when it comes to nfs-root at
powerpc, but if powerpc is not supported, then boot from local disk
and start X from local disk with

X -query ip.of.server

That, and configuring a server to accept xdmcp connections (e.g. gdm),
is a very easy thing to do, compared to setting up disk-less thin
clients mounting / over nfs.


signature.asc
Description: Digital signature


Re: Where can I find the ramdisk image for sarge for Old World Macs?

2006-08-25 Thread Hans Ekbrand
On Thu, Aug 24, 2006 at 05:31:05PM -0600, [EMAIL PROTECTED] wrote:
 Harold,
 
 I didn't find an initrd.img, I found an initrd.gz and an initrd.info -
 .info complains not a valid ramdisk, .gz gives me a blank screen. Could
 you double check the names off the CD?
 
 Will try .gz again, renaming to ramdisk.image.gz. In the meantime, can
 someone find the woody directory for me?

 
http://ftp.se.debian.org/debian/dists/woody/main/disks-powerpc/current/powermac/images-1.44/

I rely on these as rescue disks whenever a new kernel I try doesn't
work. (I can't interact at boot time with the bootloader I'm using: quik)

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Xorg upgrade breaks keyboard settings on powerbook3,3

2006-06-08 Thread Hans Ekbrand
On Thu, Jun 08, 2006 at 01:19:39PM +0100, James Tappin wrote:
 On Thu, 8 Jun 2006 13:51:35 +0200
 Teemu Ikonen [EMAIL PROTECTED] wrote:
 
 TI Hi all,
 TI 
 TI The xorg upgrade in etch made the keyboard on my TiBook unusable.
 TI Strangely enough, I could only type numbers and punctuation, but not
 TI alphabetical characters. Thus I could only code in perl :)
 TI 
 TI I got my system working by changing theXkbModel to pc105 from
 TI macintosh, but now the umlaut characters on my Finnish keyboard do
 TI not work. Could someone please give me a hint on the right xorg
 TI keyboard setting in powerbooks?

Instead of everyone implementing an individual workaround we should
try to hunt the bug down. I have reported bug 366615 about this, see

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366615 and add your
expericence of the bug to the bugreport.

 TI Here's the xorg.conf keyboard section which I have at the moment:
 TI 
 TI Section InputDevice
 TI Identifier  TiBook Keyboard
 TI Driver  keyboard
 TI Option  CoreKeyboard
 TI Option  XkbRules  xorg
 TI #   Option  XkbModel  macintosh
 TI Option  XkbModel  pc105
 TI Option  XkbLayout fi
 TI EndSection

[...]

 I had a similar problem when upgrading my iBook G3 from Ubuntu Breezy to
 Dapper, with the gb keyboard -- however in my case it was only the top
 row of keys that worked, so there was only a limited subset of
 punctuation.

Good to know that I might expect this when upgrading to dapper.

 I also had to use pc105 and also switch KDE from using the
 gb layout to the us layout (it remains gb in the xorg config file). (I
 even tried using an external keyboard
 with the same results). Unfortunately on the Ubuntu lists I didn't get
 any answers.

Try the debian bug tracking system.

kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: boot from ethernet with imac g3

2006-06-02 Thread Hans Ekbrand
On Fri, Jun 02, 2006 at 11:39:01AM +0200, Giulio Canevari wrote:
 In data 31/05/2006 23:03 Hans Ekbrand ha scritto:
 On Wed, May 31, 2006 at 09:53:50PM +0200, Giulio Canevari wrote:

[This is about an installation on a box with a broken CD, and non
working nic-configuration in the native OS (Mac OS 8.1). And no
floppy-drive, so the installer must be netbooted]

 I'm unable to partition the hd nor to fetch at least the base packages
 from the net with the internal modem with ppp, the installer seems to be
 targeted only at cdrom install.

partitioning the hd requires modules that is not included in the most
minimal initrd. I think the installer of that flavor (with the most minimal
initrd) is supposed to get the needed modules from the net (which IMHO
is a very cool property of d-i). However, my own experience with this
stems from boot-floppies of different flavors, not CDs.

Before anything can be fetched from the net, the nic must be
recognized. If the installer does not recognize your nic then I would
suspect one of the following:

A) wrong flavor used: (a initrd that has modules for different cd:s
   rather than different nics

B) a bug in the installer (the nic module for your particular nic
   should have been included in the initrd).

 B. From where is the debian-installer to get its *own modules* (needed
 for its own functioning)?
 
 1. From the removable media (CDROM or usb) that started the 
 debian-installer at boot
 2. From .iso-file on local harddisk (Filesystem must be readable by the 
 debian-installer, which exludes HFS+) 3. From the net (internet or local 
 debian-mirror) 
 ...
 You control B by choosing what images you will use. I *think* any
 image can be started in any of the tree ways outlined in A (thus
 netboot does NOT imply a tftp boot).
 
 Netboot means B:3 
 Hd-media means B:2
 Business means B:1

That might very well be outdated info. From the description the
netinst link you give below business should be the right one (include
the nics-modules needed).

 I think that you can choose C1 and C2 at install time (if you run the
 installer at a low enough priority)
 ...
 Actually i have got the debian-businnesscard iso [ from wich i have took
 the kernel, yaboot and so on placed in /tftpboot ], 
 
 
 I think that when you use the initrd from the businesscard flavor that
 means B:1, so you will have to use a usb-stick to load parts of the
 installer. Another strategy is to download an kernel+initrd from the
 
 On http://www.debian.org/CD/netinst/ i read something like this ( i 
 translate it in poor english ):
 
 These images contain only the minimum necessary to boot the 
 installation, so only those part of the installer needed to configure 
 the net access so that you can download other components of the 
 installer system.

Yeah, that does sounds like what you need. Now, since you are
netbooting, everything needed must reside in the initrd (it doesn't
help if its on the business-image outside the initrd). Have you looked
on the cd and can you verify that there is no other needed files on
that cd than the initrd and the kernel.

 After having installed the very base system my idea is to perform an 
 apt-get upgrade and give the list of packages to download  to a friend 
 of mine with a fast connection.

Sure, but the very base system (the base system) is a lot more than
what is included in the initrd. So, you have to get the installer to
recognize your nic (and download the packages that makes up the base
system) in order to install the base system.

 This way:
 dpkg --get-selection list.txt from my x86
 dpkg --set-selections list.txt on imac
  and i'll need a way to transfer this list, usb key or via net in some way.
 apt-get --print-uris -s dselect-upgrade
 
 And then, once i have got the packages, i'll try to install an ftp 
 server on my x86 to finish the install ( even if i don't know how i can 
 organize the structure of the dirs, iirc there is an automated tool but 
 i don't remember its name ).

As indicated above, I think you have to let the installer download
things even before this stage.

 I'm CC:ing debian-boot@lists.debian.org in order to get advice from
 the really knowledgeable people on this subject.
 
 I'll keep the address and i cc to.
 
 Thank you,

-- 
Note that I use Debian version testing/unstable
Linux emac140 2.6.16-1-686 #2 Thu May 4 18:22:23 UTC 2006 i686 GNU/Linux
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: imac g3 installation problem

2006-05-31 Thread Hans Ekbrand
On Wed, May 31, 2006 at 05:38:22AM -0700, Daniel Gimpelevich wrote:
 On Tue, 30 May 2006 23:51:10 +0200, Hans Ekbrand wrote:
 
  I haven't used yaboot myself though (I only have oldworld machines),
  and I'm not sure if it does require a repartition to work (which might
  be impossible if MacOS cannot be booted from CD). BootX runs as a
  normal application, but I don't know if yaboot works that way.
 
 As explained in the link you gave, yaboot may be used without
 repartitioning. However, repartitioning is still necessary in order to
 install Linux, which can make the machine non-bootable except by netboot
 means.

If that is what concerns you, then try (within debian-installer) to
resize (shrink) the MacOS partition in a non-destructive way. You said
you have 4 GB, that should be enough for both OSes (at least if MacOS
is kept minimal, I think 8.1 only requires less than 200 Mb).

Adding a another HD is another possibilty, if you're unsure about
repartitioning.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: boot from ethernet with imac g3

2006-05-31 Thread Hans Ekbrand
On Wed, May 31, 2006 at 09:53:50PM +0200, Giulio Canevari wrote:
 In data 31/05/2006 19:02 Giulio Canevari ha scritto:
 Hello,
 
 i have found out that putting the net card on another pci slot on my x86 
 doesn't lead to instability ;) .
 
 I think solution isn't that far. I try to explain everything i did and 
 what happened.
 
 The problem was in the yaboot.conf file:
 
 here is how it looks now:
 
 device=enet:
 partition=0
 timeout=50
 init-message=Debian GNU/Linux Network boot
 default=linux
 
 image=vmlinux
 initrd=initrd.gz
 label=linux
 initrd-size=10240
 #append=init=/linuxrc
 append=DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc
 read-only
 
 So now it boots, it search for the cdrom, the cdrom of course doesn't
 work even with linux, and i'm still blocked.

Now that you have a good working boot-method, there is no danger in
wiping MacOS, if you want a Linux only system.

 I'm unable to partition the hd nor to fetch at least the base packages
 from the net with the internal modem with ppp, the installer seems to be
 targeted only at cdrom install.

Debian-installer comes in different flavours intended for different
uses. The main thing that differs are the modules available in the
initrd, in your case you should try to install everything from the
net, that is net-install. Let me quote an earlier post to this list
about the debian-installer:

There are three different stages A, B and C, that can be loaded by
different means:

A. How to *start* the debian-installer? 

1. Boot from removable media that has an installer-image on its boot
 block (e.g. CDROM, floppy, usb)
2. Use a bootloader from within a existing operating system (yaboot,
 BootX, penguin)
2b. (possible, but not very common) Use a native bootloader (yaboot,
 grub, lilo) installed on harddisk) 
3. Netboot (pxe or other methods gets a bootloader by dhcp and tftp)
(pxelinux or yaboot loads (by tftp) the kernel and initrd needed) 

B. From where is the debian-installer to get its *own modules* (needed
for its own functioning)?

1. From the removable media (CDROM or usb) that started the debian-installer at 
boot
2. From .iso-file on local harddisk (Filesystem must be readable by the 
debian-installer, which exludes HFS+) 
3. From the net (internet or local debian-mirror) 

C. From where is the debian-installer to get the software that will *install* 

C1: The base system 

1. From the removable media (CDROM or usb) that started the debian-installer at 
boot
2. From .iso-file on local harddisk (Filesystem must be readable by the 
debian-installer, which exludes HFS+) 
3. From the net (internet or local debian-mirror) 

C2: Additional packages 

1. From the removable media (CDROM or usb) that started the debian-installer at 
boot
2. From .iso-file on local harddisk (Filesystem must be readable by the 
debian-installer, which exludes HFS+) 
3. From the net (internet or local debian-mirror) 

You control B by choosing what images you will use. I *think* any
image can be started in any of the tree ways outlined in A (thus
netboot does NOT imply a tftp boot).

Netboot means B:3 
Hd-media means B:2
Business means B:1

I think that you can choose C1 and C2 at install time (if you run the
installer at a low enough priority)

 In fact only these steps are avaible:
 
 main-menu,languagechooser,countrychooser,kbd-chooser,hw-detect,cdrom-detect,cdrom-checker,shell
  
 
 .
 
 So i don't have
 netcfg,iso-scan,choose-mirror,partman,autopartkit,partitioner,partconf,base-installer,os-prober,bootloader-installer,base-config
 
 Actually i have got the debian-businnesscard iso [ from wich i have took
 the kernel, yaboot and so on placed in /tftpboot ], 

I think that when you use the initrd from the businesscard flavor that
means B:1, so you will have to use a usb-stick to load parts of the
installer. Another strategy is to download an kernel+initrd from the
netboot flavour and boot with those, which will be able to do B:3.

 it fits the usb key
 but i don't know how to reach and use it.
 
 The usb key is seen as /dev/scsi/host2/bus0/target0/lun0/disc on the
 mac, i can cat/head and so on the raw content, but i am unable to mount
 it. Actually it has a vfat fs on top.

As implied above business flavour mean B:1, and you seem to want B:2.
I suspect that will not work. For it to work, use a kernel+initrd from
the hd-install flavor of d-i.

I'm CC:ing debian-boot@lists.debian.org in order to get advice from
the really knowledgeable people on this subject.

kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: imac g3 installation problem

2006-05-30 Thread Hans Ekbrand
On Tue, May 30, 2006 at 01:55:27PM +0200, Giulio Canevari wrote:
 In data 30/05/2006 01:24 Hans Ekbrand ha scritto:

[...]

 My idea of booting from within MacOS is still possible. But not with
 BootX, but with yaboot. For example see:
 http://neugierig.org/content/tibook/ibook.html
 
 With internet not working from mac and mac os 8.1 i don't think so. The
 howto is targeted at mac os 9 and X.

Do you have usb support from MacOS? If not there seems to be only
netbooting left (no usb, no cd, no floppy, no internet)

If you can use the usb stick to put yaboot and d-i in place then why
not try it? If you have big stick you could try the hd-install
scenario in d-i (put an iso-file as a regular file on the MacOS
partition)

I haven't used yaboot myself though (I only have oldworld machines),
and I'm not sure if it does require a repartition to work (which might
be impossible if MacOS cannot be booted from CD). BootX runs as a
normal application, but I don't know if yaboot works that way.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: imac g3 installation problem

2006-05-29 Thread Hans Ekbrand
On Mon, May 29, 2006 at 08:42:56AM -0700, Daniel Gimpelevich wrote:
 On Mon, 29 May 2006 01:33:24 +0200, Hans Ekbrand wrote:
 
  On Sat, May 27, 2006 at 04:34:33PM +0200, Giulio Canevari wrote:
  Hello,
  
  i have just received as a gift an Imac G3 233 Mhz with 96 mb of ram and 
  a 4 GB hd with macos 8.1, where the monitor contains the processor and 
  so on.
  
  It seems to have a damaged cdrom reader, i can't boot holding c the 
  debian business card cd ( burned correctly ). It doesn't also read disks 
  within mac os 8.1 . I don't know if it is possible to connect a normal 
  ide ( not slim ) unit externally, the cable is not standard as far as i 
  know.
  
  Install BootX, start the installation (kernel with initrd) from BootX.
  Let d-i delete the MacOS partition and hold your thumbs (if
  installation goes wrong, you won't be able to boot into MacOS again).
  
  If that sounds too scary, try to resize the MacOS partition within the
  debian-installer (or even within MacOS before starting d-i, but I
  don't think MacOS will allow that).
 
 Never use BootX on an iMac.

Oh! I should have known better than giving such a bad advice. Yaboot
is what I should have written, not BooX.

[...]

 In the meantime, you can still install Linux, but you must
 use a netboot netinstaller because Apple has NEVER made ANY machine that
 could boot from USB. 

My idea of booting from within MacOS is still possible. But not with
BootX, but with yaboot. For example see:
http://neugierig.org/content/tibook/ibook.html


-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: imac g3 installation problem

2006-05-28 Thread Hans Ekbrand
On Sat, May 27, 2006 at 04:34:33PM +0200, Giulio Canevari wrote:
 Hello,
 
 i have just received as a gift an Imac G3 233 Mhz with 96 mb of ram and 
 a 4 GB hd with macos 8.1, where the monitor contains the processor and 
 so on.
 
 It seems to have a damaged cdrom reader, i can't boot holding c the 
 debian business card cd ( burned correctly ). It doesn't also read disks 
 within mac os 8.1 . I don't know if it is possible to connect a normal 
 ide ( not slim ) unit externally, the cable is not standard as far as i 
 know.

Install BootX, start the installation (kernel with initrd) from BootX.
Let d-i delete the MacOS partition and hold your thumbs (if
installation goes wrong, you won't be able to boot into MacOS again).

If that sounds too scary, try to resize the MacOS partition within the
debian-installer (or even within MacOS before starting d-i, but I
don't think MacOS will allow that).

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: sarge release file?

2006-05-23 Thread Hans Ekbrand
On Tue, May 23, 2006 at 12:54:02AM +0200, [EMAIL PROTECTED] wrote:
 When I attempted a network install recently, I had some troubles concerning 
 the
 new mirrors (I believe). Everything is just fine and dandy until I am supposed
 to select a mirror. As neither of the mirrors listed by the installer seems to
 work, I edit sources.list manually and choose the
 se.powerpc.mirrors.debian.net/debian one (I know that might not be entirely
 correct, but I grab it out of my head when writing this, I didn't when I tried
 to install though), which worked just fine in my installed system. The 
 installer
 couldn't find a release file there either though.

Sounds like an arch-independent problem with the installer. Try 
debian-boot@lists.debian.org

[...]

 I
 have noticed that the lable given to my ethernet card by the installer has
 changed since my last successfull installation (which was pre r2). I can't
 exactly remember from what to what I'm afraid, and I'm not sure wheter it
 changed index number as well or not. The computer is an iBookG4, if that 
 matters.

Sounds like a well-know problem with udev, also arch-independent.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: video card - old world mac question

2006-05-15 Thread Hans Ekbrand
On Sun, May 14, 2006 at 06:26:31PM -0500, Daniel Boyd wrote:
 I was reading through the installation instructions for PowerPC  
 Debian and I saw that it basically said that it would work with any  
 video card that XFree86 has support for.  Is that also true for an  
 old PCI Power Mac like my Performa 6400?  Don't I need an Open  
 Firmware-enabled card?

Correct, but you will only see anything from it after linux has
started to boot. I once used a matrox millenium in a Performa 6400,
worked fine.

 What is the best video card anybody here has been able to get working  
 in a machine that old?  Will a Radeon 9200 Mac Edition work?

Sven Luther writes that that card should work under linux without
problem here:

http://lists.debian.org/debian-powerpc/2005/10/msg00383.html

so I guess it should.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: New miboot-enabled d-i daily builds set up

2006-05-15 Thread Hans Ekbrand
On Mon, May 15, 2006 at 12:35:51AM +0200, Jerome Warnier wrote:
 Le mercredi 03 mai 2006 à 01:11 +0100, Colin Watson a écrit :
  Hi,
  
  I've set up miboot-enabled daily builds of d-i powerpc floppies, to go
  with my normal daily builds:
  
http://people.debian.org/~cjwatson/d-i/powerpc-miboot/
  
  Thanks to Sven Luther for the miboot package used to build these. Let me
  know if there are any problems; I haven't been able to test them myself.
 I checked it on a PowerMac G3 beige.

Here's my results from a Performa 5400 (24 MB RAM):

2006-05-15: Boot ends with Instruction dump:
7ca6 ... ... ... [ a lot of numbers in two lines]

 Version 2006-05-14 didn't boot at all.
2006-05-14: not tested (suspected the same problem as with 06-05-15)

 Version 2006-05-13 boots, and it already gets pretty far, but it cannot
 detect any disk
2006-05-13: Boots OK (didn't put out the floppy automatically though,
I had to use a paperclip to get it out). The root image also works
good, until hw-detection.

Doesn't find my ide disk.

~  # ls /lib/modules/2.6.16-1-powerpc-miboot/kernel/drivers
baseieee1394net scsi

No ide here!

I found the ide drivers on the cd-drivers.img. That should be
documented somewhere, since a net-install will fail without
hd-support.

Also after loading the net-drivers.img the installer failed to detect
my ethernet de2104x PCI. I tried to load tulip dc21x4x manually but
it failed.

This was still an interesting test, since I have not been able to boot
2.6.16 on this machine, but that must be a problem with the initrd
created by initramfs (or possibly something with the way quik boots)

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Boot failure with kernel 2.6.16 on G3 (Gossamer)

2006-05-08 Thread Hans Ekbrand
On Sat, May 06, 2006 at 03:54:45PM +0300, Yavor Doganov wrote:
 [I hope this is the right list.]
 
 I have a G3 (Gossamer) running sid, which hasn't been updated for
 fairly long time.  I installed linux-image-2.6.16-1-powerpc, but it
 fails to boot.  I tried the last few versions (9-12).  I see the
 initial message
 
 Welcome to Linux, kernel 2.6.16-1-powerpc
 
 Linked at   : 0xc00.
 Frame buffer at : 0x (phys), 0xx (log)
 klimit  : 0.
 boot_info at: 0.
 MSR : 0.
 PUR : 0.
 HID0: 0.
 ICTC: 0.
 
 Total space used by parameters  ramdisk: 00503000

[...]

 and it stays forever.  I use BootX 1.2.2, if it matters, ramdisk size
 8192.

I boot with quik and ramdisk_size 8192, but 16384 didn't work either.

  I copy vmlinux-2.6.16-1-powerpc and initrd.img-2.6.16-powerpc
 to the MuckOS partition and point to them, as usual.  My current
 kernel is 2.6.8 and it boots fine.
 
 What am I doing wrong?  Thanks in advance.

My performa 5400 doesn't boot 2.6.16 in sid either. 2.6.15 works well
though. Try 2.6.15. If it works then we might have the same problem
with 2.6.16.

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Boot failure with kernel 2.6.16 on G3 (Gossamer)

2006-05-08 Thread Hans Ekbrand
On Mon, May 08, 2006 at 07:54:03PM +0300, Yavor Doganov wrote:
 At Mon, 8 May 2006 15:14:36 +0200,
 Hans Ekbrand wrote:
  
  My performa 5400 doesn't boot 2.6.16 in sid either. 2.6.15 works well
  though. Try 2.6.15. If it works then we might have the same problem
  with 2.6.16.
 
 Thanks for the pointer.  2.6.15 starts to boot, but I get the
 following error:
 
 i8042.c: No controller found.  
 FATAL: Error inserting i8042
 (/lib/modules/2.6.15-1-powerpc/kernel/drivers/input/serio/i8042.ko):
 No such device
 
 It then drops me to a shell.  Same behaviour with 2.6.14 :/

I only get the well-known

can't mount root fs -- rebooting in 180 seconds.

I think this is a problem with the initrd, it probably does not
include all the needed modules for my box (ide-based). Haven't
bothered to do a proper bug-report yet.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Problem with Acard 6280M (OldWorld Mac)

2006-04-19 Thread Hans Ekbrand
On Wed, Apr 19, 2006 at 07:00:09PM +0200, Michael Ladwein wrote:
 I managed to install Debian 3.1r1 on /dev/hde2. At the end of the 
 installation 
 process, Debian tells me it cannot install the quik bootloader. So I just 
 finished without quik. I set  root=/dev/hde2 devfs=mount,all rw as kernel 
 parameters in BootX (/dev/ram0 works for the installer) but now it seems the 
 System cannot find the boot device. My guess is that the module required for 
 the Acard 6280M is not loaded. The installer gives the hint to use the Kernel 
 and the Ramdisk in /dev/hde2/boot for booting. But how?

See the thread, Debian install on biege G3, in particular my and
David Peads posts from Tue, 06 Dec 2005 10:15:48 + and onwards.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: installing Debian on an oldworld Mac.

2006-04-12 Thread Hans Ekbrand
On Tue, Apr 11, 2006 at 05:48:49PM -0800, petereasthope wrote:
 Mon, 6 Mar 2006 Vinai Roopcha said,
 vr BootX / Kernel / RAM Disk installer ... 
 
 Yes, that works, up to where it searches for a *.iso.  
 The mini.iso is on the boot drive and also on the 
 target drive of the installation.  Nevertheless the 
 installer complains ... did not find an installer 
 ISO image.
 
 After a full search, the installer comments ... it 
 may be on a file system that could not be mounted. 
 
 With an CF-ATA adapter, containing a Compact 
 Flash card containing a FAT file system containing 
 the mini.iso, connected to the ATA-PCI adapter, 
 the system failed to pass the MacOS announcement.
 
 The installer and the Installation Manual both 
 neglect to mention what file systems can mount.  

Sorry if I jump in here, I haven't read the OP, so I don't know what
image the mini.iso is. I recall a similar problem that I discussed
quite thorough in this thread, which might be informative:

http://lists.debian.org/debian-powerpc/2005/12/msg00146.html

There might very well be a bug in the installer.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: initrd: upgrade kernel from 2.4 to 2.6

2006-04-03 Thread Hans Ekbrand
On Mon, Apr 03, 2006 at 02:26:05AM +0200, Eugen Paiuc wrote:
 Alfred E. Heggestad wrote:
 
 On Thu, 2006-03-16 at 09:32 +0100, Eugen Paiuc wrote:
  
 
 Alfred E. Heggestad wrote:
 

 
 hi
 [snip...]
 running
 
   $ quik
   $ quikconfig
 
 
 System is rebooted, in the top left corner is a penguin in
 strange colours, no text, and nothing more happens (no reboot).
 
 
 So my main question is; does 2.6 kernels w/initrd actually work
 with quik? 
 
 
 yes, but only until 2.6.12 sarge backport from (thanks to) sven

The official debian kernel 2.6.15 works fine here with quik, as did
2.6.14. (This is under sid).

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Boot Mac 5500/225 in Linux

2006-03-22 Thread Hans Ekbrand
On Wed, Mar 22, 2006 at 09:00:41AM +0100, Hans Ekbrand wrote:
 On Sun, Mar 19, 2006 at 04:16:43PM -0600, kendall14 wrote:
 
  I don't know much about linux or mac but I want to install a linux
  operating system to a old mac. The system is a mac 5500/225 with a 2GB
  HDD and all downloading will be done on a windows xp computer. The mac
  does not boot, it will just put a floppy on the screen. I have a CD
  burner and no floppy drive but once in a while I can use one on a
  computer that has a cd-rom drive and a floppy drive with windows xp. I
  need to to use minimum floppies and if at all possible none (doubt) or
  one floppy. So my question is , what operating system should I use for
  it and how can do the install?
 
 Oldworld macs (and I believe 5500 is oldworld) cannot be booted from
 the debian-installer CD. So if there is no MacOS present on the HD,
 you have to
 
 A) Install MacOS from CD (that CD can obviously boot the machine)
 B) Install Debian from floppies.

To clarify, do A or B.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Signature generated by Signify v1.14.  For this and more, visit 
http://www.debian.org/


signature.asc
Description: Digital signature


Re: Sarge installer for Mac Performa 6400/180 with 16MB RAM?

2006-03-22 Thread Hans Ekbrand
On Wed, Mar 22, 2006 at 04:23:07PM +0100, Simon Vallet wrote:
 On Mon, 20 Mar 2006 15:28:54 +0100
 Hans Ekbrand [EMAIL PROTECTED] wrote:
 
  On Mon, Mar 20, 2006 at 03:09:18PM +0100, Simon Vallet wrote:
   On Mon, 20 Mar 2006 14:03:23 +0100
   Hans Ekbrand [EMAIL PROTECTED] wrote:
   
No need for BootX (and with 16 MB RAM, the HD is probably small too,
so avoiding BooX seems preferable). My recommendation is boot floppies
from woody and boot the installed system with quik. Thats how I
installed on my Performa 5400 with 24 MB RAM.
   
   I agree on the BootX overhead, however be aware that the 6400 will nost
   likely *not* boot from OF with 'screen' as output-device -- you'll need
   to use a third party video adapter or a serial console
  
  That would only be necessary if something goes wrong, normally you
  don't need to interact with quik. And if something does go wrong, you
  can boot with the boot floppies again and rescue the system.
 
 While that is technically correct, I think you're on this list long
 enough to know that in the vast majority of cases, quik doesn't just
 work -- did it for your 5400 ?

No, it didn't. I had to try and fail quite a few times to get it to
boot, (finding out the correct value of the boot-device variable in OF
and in /etc/quik.conf was difficult),[1] and did mess with a serial
cable. However, with support from the list, future users might succeed
at the first try.

 I think future quik users need to know that it is not always the
 best/easiest/quickest solution, even if that's the one I personally
 adopted.

No, not the easiest, since it is a bit error-prone, but the best once
you get it running.

[1] Here is what I have to issue (as root) for quik to boot:

# nvsetenv boot-device ata/[EMAIL PROTECTED]:0
# nvsetenv boot-command begin ['] boot catch 1000 ms cr again

And here is my /etc/quik.conf

timeout = 20
default = linux
device = ata/[EMAIL PROTECTED]
partition = 5
root = /dev/hda5
image = /vmlinux
initrd = /initrd.img
append = ramdisk_size=8192
label = linux

Notice the difference between the device parameter in quik.conf =
ata/[EMAIL PROTECTED] and in OF = ata/[EMAIL PROTECTED]:0.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: installing Debian on an oldworld Mac.

2006-03-21 Thread Hans Ekbrand
On Tue, Mar 21, 2006 at 04:51:37PM -0800, petereasthope wrote:
 At Mon, 6 Mar 2006 14:11:59 -0600 (CST) Vinai said,
  You can use the BootX / Kernel / RAM Disk installer
 
 Thanks.  BootX is working.
 
 The Installation Manual instructs Download 
 linux.bin and ramdisk.image.gz 
 
 Are files vmlinux and boot.img.gz in 
 /~luther/d-i/images/daily/powerpc/hd-media
 equivalent to the files named in the manual?

linux.bin = vmlinux
ramdisk.image.gz = initrd.gz

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Boot Mac 5500/225 in Linux

2006-03-21 Thread Hans Ekbrand
On Sun, Mar 19, 2006 at 04:16:43PM -0600, kendall14 wrote:

 I don't know much about linux or mac but I want to install a linux
 operating system to a old mac. The system is a mac 5500/225 with a 2GB
 HDD and all downloading will be done on a windows xp computer. The mac
 does not boot, it will just put a floppy on the screen. I have a CD
 burner and no floppy drive but once in a while I can use one on a
 computer that has a cd-rom drive and a floppy drive with windows xp. I
 need to to use minimum floppies and if at all possible none (doubt) or
 one floppy. So my question is , what operating system should I use for
 it and how can do the install?

Oldworld macs (and I believe 5500 is oldworld) cannot be booted from
the debian-installer CD. So if there is no MacOS present on the HD,
you have to

A) Install MacOS from CD (that CD can obviously boot the machine)
B) Install Debian from floppies.

If you have MacOS installed, you can boot the debian-installer with
bootX. In that case you will not need any floppies at all. If you have
a working fast internet connection in MacOS, you don't even need a
debian-installer CD. Just download the needed files within MacOS
(bootX, vmlinux and initrd.gz from the netinst flavour).

If you want to install from floppies you will need at least two
floppies.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Install Sarge on an embedded PowerPC

2006-03-20 Thread Hans Ekbrand
On Mon, Mar 20, 2006 at 12:35:52AM +0100, Guennadi Liakhovetski wrote:
 Hello all
 
 I've got myself an embedded powerpc platform (kurobox) and I'd like to 
 install Sarge on it. My problem is - the board doesn't boot from CD, the 
 bootloader is proprietary and I cannot load initrd... So, AFAIU, I cannot 
 use any of the standard installation methods. I did built a 
 cross-toolchain for it, compile a custom kernel 2.6.15.6, I can boot with 
 NFS-root, so, I just need an installation root, and then I could install 
 the rest over the internet. The problem is, all boot images I tried so 
 far, that come with various install CDs, etc., are compressed, so, I 
 cannot loopback-mount them. So, my question is - how can I install Sarge 
 on the board? Is there a standard way that I've overseen? If not - maybe I 
 could get a suitable boot-install-image, that I could NFS-boot to? Or 
 maybe even somebody could briefly point me in the direction how I can 
 build such a root-fs myself from Debian-sources?

Suggestion A. debootstrap. I don't know the details, but I think it
does what you want.

Suggestion B. How about just copying all files from a minimal working
powerpc installation to a directory and export that rw? (copy the
modules needed for your custom kernel, but since you compile the
kernel yourself you could compile in all necessary drivers). It's not
elegant but it might work.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Sarge installer for Mac Performa 6400/180 with 16MB RAM?

2006-03-20 Thread Hans Ekbrand
On Mon, Mar 20, 2006 at 12:28:55PM +, Clive Menzies wrote:
 On (17/03/06 09:37), Nelson Castillo wrote:
  A user said she will bring a Macintosh Performa 6400/180 with
  16MB RAM [1] to the installfest[2].
  
  Will the sarge installer work with only 16 MB of RAM?

No.

  I would like to know whether I can manage to install sarge
  there.

No, you should install woody and upgrade.

  I'm a little confused with this list of minimum recommended
  requirements [3]:
  
   Install Type RAM   Hard Drive
   No desktop  24 megabytes 450 megabyte
  
  Because it says:
  
   Depending on your needs, you might manage with less than some
   of the recommended hardware listed in the table below. However,
   most users risk being frustrated if they ignore these suggestions.
  
  So my question is:
  
  If I don't run services (perhaps a liteweight web server):
  
Could I manage to install Debian sarge in this mac with only 16 MB of RAM?

Don't confuse the requirement of the installer with the requirement of
the installed system. The installer requires 24 MB, the installed
system requires less.

 I seem to recall that sarge needs a minimum of 32Mb; you will also need
 to use BootX because the machine is 'oldworld'.

No need for BootX (and with 16 MB RAM, the HD is probably small too,
so avoiding BooX seems preferable). My recommendation is boot floppies
from woody and boot the installed system with quik. Thats how I
installed on my Performa 5400 with 24 MB RAM.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Sarge installer for Mac Performa 6400/180 with 16MB RAM?

2006-03-20 Thread Hans Ekbrand
On Mon, Mar 20, 2006 at 03:09:18PM +0100, Simon Vallet wrote:
 On Mon, 20 Mar 2006 14:03:23 +0100
 Hans Ekbrand [EMAIL PROTECTED] wrote:
 
  No need for BootX (and with 16 MB RAM, the HD is probably small too,
  so avoiding BooX seems preferable). My recommendation is boot floppies
  from woody and boot the installed system with quik. Thats how I
  installed on my Performa 5400 with 24 MB RAM.
 
 I agree on the BootX overhead, however be aware that the 6400 will nost
 likely *not* boot from OF with 'screen' as output-device -- you'll need
 to use a third party video adapter or a serial console

That would only be necessary if something goes wrong, normally you
don't need to interact with quik. And if something does go wrong, you
can boot with the boot floppies again and rescue the system.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Quota Support in Kernel

2006-03-14 Thread Hans Ekbrand
On Tue, Mar 14, 2006 at 09:00:23AM -0800, Jason Self wrote:
 I am looking to add quota support.

[...]

 Is quota support already enabled in the kernel for 3.1r1? How can I tell?

$ grep -i quota /boot/config*

I haven't tried quota, but I noticed that in the kernel docs for
quota, it says that quota is only implemented for ext2. That might be
out-dated info, or maybe part of your problem.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Debian MacOldWorld installation

2006-03-10 Thread Hans Ekbrand
On Fri, Mar 10, 2006 at 01:43:01PM +0100, Jerome Le Saux wrote:
 Hi all,
 I imagine you might be bored to see such mail. I'm sorry but I read the
 Debian Manual but also on the net via google to try to find an answer to my
 problem.
 I used to install Debian distribution on other architecture such Intel, so
 my question is only on the CDrom boot.
 I downloaded miboot floppy to boot.

Some miboot floopies are known to not work. Others do work, exactly
what image did you use?

 Miboot returned me : Kernel Panic VFS unable to mount root FS on 08:01.
 What's wrong, my harddrive are not supported ?
 Must I add specific driver for them ?

No, just use a working miboot image. I would suggest using either
images from october-novemer 2005 or the most current ones (the latter
don't work on my testing box, but it would be nice to know it they do
work on your). Here's where I get miboot images.

http://people.debian.org/~luther/d-i/sid/images/

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


debuging 2.6.15 via serial console

2006-03-03 Thread Hans Ekbrand
On Thu, 09 Feb 2006 10:49:49 +1100, Ben wrote:
 On Wed, 2006-02-08 at 12:43 +0100, Hans Ekbrand wrote:
  On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:
 
  [...]
 
   Try installing with floppies?
 
  Trying my own advice :-) on a Performa 5440.
 
   http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
  2.6.15
  This kernel hangs with
 
  ide0: Found Apple Ohare ATA controller, bus ID 0, irq13
  ADB keyboard at 2, handler set to 3
  Serial port locked ON by debugger!

 That means it entered xmon (it crashed basically)... Do you have
 something you can connect to the serial port to get some output ?

Yes! Now I have connected the serial port to another box and can now
use the debugger.

Here is the output I get:

vector: 300 at pc=c010e0b4, lr=c010e308

msr = 9032, sp = c034baf0 [c034ba40]
dar = b4, dsisr = 2200
current = c0304070, pid = 154, comm = kadbprobe
mon




-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: debuging 2.6.15 via serial console

2006-03-03 Thread Hans Ekbrand
On Fri, Mar 03, 2006 at 11:34:14AM +0100, Hans Ekbrand wrote:
 On Thu, 09 Feb 2006 10:49:49 +1100, Ben wrote:
  On Wed, 2006-02-08 at 12:43 +0100, Hans Ekbrand wrote:
   On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:
  
   [...]
  
Try installing with floppies?
  
   Trying my own advice :-) on a Performa 5440.
  
http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
   2.6.15
   This kernel hangs with
  
   ide0: Found Apple Ohare ATA controller, bus ID 0, irq13
   ADB keyboard at 2, handler set to 3
   Serial port locked ON by debugger!
 
  That means it entered xmon (it crashed basically)... Do you have
  something you can connect to the serial port to get some output ?
 
 Yes! Now I have connected the serial port to another box and can now
 use the debugger.
 
 Here is the output I get:
 
 vector: 300 at pc=c010e0b4, lr=c010e308
 
 msr = 9032, sp = c034baf0 [c034ba40]
 dar = b4, dsisr = 2200
 current = c0304070, pid = 154, comm = kadbprobe
 mon
 

As a reminder: This box is normally tracking unstable and has no
problems with 2.6.15 when booted by quik. The miboot-floppies worked
for 2.6.14 but never with 2.6.15, See:

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

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Newbie Debian Etch PPC Yaboot Install Problems.

2006-02-23 Thread Hans Ekbrand
On Wed, Feb 22, 2006 at 06:59:34PM +0100, Andrzej Mendel wrote:
 Dnia 21-02-2006, wto o godzinie 19:04 +0100, Brian Durant napisa??(a):
  Hi again,
  
  I installed Debian (Etch) PPC (I think this is considered to be 
  testing). At the end of the install, I got the following message:
  
  Yaboot didn't install. You will need to boot manually with the 
  /boot/vmlinux kernel on partition /dev/sda3 and root=/dev/sda3 passed on 
  as a kernel argument.
  
  Since an Ubuntu yaboot kicks in at startup, I pressed L and then at 
  the boot prompt, I wrote:
  
  /boot/vmlinux /dev/sda3 root=/dev/sda3
  
  This didn't work as I got the following error:
  
  Kernel panic - not syncing: VFS: Unable to mount root fs on 
  unknown-block(0,0)
  
  S, what do I do to boot into the Debian system for the first time 
  and how do I resolve the yaboot issue permanently?
  
  Cheers,
  
  Brian
  
 You should just modify your yaboot.conf so you can dual boot
 Ubuntu/Debian. 

[...]

 run ybin and voila, problem should be fixed.

If you still have ubuntu installed (and not only yaboot) and can boot
into it then the above should be easy.

But how to modify yaboot.conf when you cannot boot? How to do that is
not self-evident. Try booting the installation CD (or whatever means
you started the installation), let it run until the hardware is
recognized and then execute a shell from within the installer, mount
the partition where you have already installed debian, chroot into
it and then follow the advice from Andrzej Mendel.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Newbie Debian Etch PPC Yaboot Install Problems.

2006-02-22 Thread Hans Ekbrand
On Tue, Feb 21, 2006 at 07:04:25PM +0100, Brian Durant wrote:
 Hi again,
 
 I installed Debian (Etch) PPC (I think this is considered to be 
 testing). At the end of the install, I got the following message:
 
 Yaboot didn't install. You will need to boot manually with the 
 /boot/vmlinux kernel on partition /dev/sda3 and root=/dev/sda3 passed on 
 as a kernel argument.

Bad advice. All recent Debian kernels need an initrd (the drivers for
the harddisks, and filesystems are compiled as modules)

[...]

 S, what do I do to boot into the Debian system for the first time 
 and how do I resolve the yaboot issue permanently?

Sorry I don't know about yaboot.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: G3 imac, networking, 2.6.12 kernel

2006-02-16 Thread Hans Ekbrand
On Wed, Feb 15, 2006 at 10:30:14AM -0500, Rich Johnson wrote:
[...]
 And the answer is  bmac.  This problem has been around since at  
 least 2.6.7.
 
 FWIW, the installation still fails with linux-image-2.6-15-1-powerpc  
 as neither hotplug nor udev can probe this particular machine.
 I plan on filing a bug against  linux-image-2.6.15-1-powerpc, along  
 with the script below for consideration as part of the postinst  
 process.  Is that the ''correct'' package to post against?

Why not linux-image-powerpc, since the problem is not specific to 2.6.15?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: [OpenFirmware2.4] Can't boot on cdrom ('loader: unrecognized client program format')

2006-02-08 Thread Hans Ekbrand
On Wed, Feb 08, 2006 at 10:58:52AM +0100, Arnaud Vandyck wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Arnaud Vandyck wrote:
  Benjamin Herrenschmidt wrote:
  
 On Tue, 2006-02-07 at 14:55 +0100, Arnaud Vandyck wrote:
  
  [...]
  
 0  boot ide1/[EMAIL PROTECTED]:0,\install\powerpc\vmlinux
 
 OF says 'loader: unrecognized client program format'
 
 Oldworld... it might be able to boot from CD a coff file... do the CD
 contains the vmlinux.coff image ?
 
 Strange!...
 0  boot ide1/[EMAIL PROTECTED]:0,\install\powerpc\vmlinuz-coff.initrd
 unable to open: ide1/[EMAIL PROTECTED]:0,\install\powerpc\vmlinuz-coff.initrd 
 ok
 
 grrr!
 
 0  dev ide1/[EMAIL PROTECTED]:0
 can't find device ok
 
 ! What did I do?! Did I messed up the OF? I reseted it
 Alt-Command-P-R but no way! :'(
 
 I can have 8 machines like that, do I have to throw them away?..
 YEAH!

Try installing with floppies? 

http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/root.img

In case quik turns out not to work on those beige G3 (seems it does
work on some but not on others), you could use miboot for booting into
the installed system too.

If miboot works OK, on that model (on my perfomas the cpu will run at
1/10th speed when booted by miboot), I could make you a miboot
boot-floppy to boot into the installed system

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Miboot FREE? [was Re: [OpenFirmware2.4] Can't boot on cdrom ('loader: unrecognized client program format')]

2006-02-08 Thread Hans Ekbrand
On Wed, Feb 08, 2006 at 11:23:54AM +0100, Sven Luther wrote:
 On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:

[...]

  If miboot works OK, on that model (on my perfomas the cpu will run at
  1/10th speed when booted by miboot), I could make you a miboot
  boot-floppy to boot into the installed system
 
 Maybe we could make have miboot to be listed in mkvmlinuz's bootloader, and
 have code in /etc/kernel/postinst.d to automatically create the miboot floppy
 for you on installs.
 
 Now that miboot is being freed, this would be a neat solution.

WHAT IS THIS? HAS MIBOOT BECOME FREE? COOL. Where can I read more
about it?

 Any volunteer to recode the boot sector based on the information Piotr
 provided ? 

Sorry, I would like to but doesn't have the skills needed.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Problem with miboot and 2.6.15 (2.6.14 works OK)

2006-02-08 Thread Hans Ekbrand
On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:

[...]

 Try installing with floppies? 

Trying my own advice :-) on a Performa 5440.

 http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
2.6.15
This kernel hangs with

ide0: Found Apple Ohare ATA controller, bus ID 0, irq13
ADB keyboard at 2, handler set to 3
Serial port locked ON by debugger!

http://people.debian.org/~luther/d-i/sid/images/2006-01-16/powerpc/floppy/boot.img
2.6.15
Hangs also, now with

ide0: Found Apple Ohare ATA controller, bus ID 0, irq13
ADB keyboard at 2, handler set to 3
Serial port locked ON by debugger!
ABD HID on ID 3 not yet registered

http://people.debian.org/~luther/d-i/sid/images/2005-12-28/powerpc/floppy/boot.img
2.6.14
Works!

http://people.debian.org/~luther/d-i/sid/images/2005-01-10/powerpc/floppy/boot.img
2.6.14
Works! 

http://people.debian.org/~luther/d-i/sid/images/2005-01-25/powerpc/floppy/boot.img
2.6.15
This kernel hangs with same as the first above

So to sum up: 2.6.14 works, but 2.6.15 does not.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: quik... quik... quik... [was: Re: [OpenFirmware2.4] Can't boot on cdrom]

2006-02-08 Thread Hans Ekbrand
On Wed, Feb 08, 2006 at 12:52:19PM +0100, Arnaud Vandyck wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Sven Luther wrote:
  On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:
 Try installing with floppies? 
 
 http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
 http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/root.img
 
 These ones doesn't work at the moment, it's impossible to load the
 net/cd-driver floppies, but I did try to install Sarge AND Woody and
 they both fail with quik. Reading around on the internet, it seems I
 have THE machine that causes problems! G3 beige with Open Firmware 2.4.
 
 So, with Woody AND Sarge (booting with BootX), I could install a
 complete Debian installation but it's impossible to boot on the new
 installation!

If you have MacOS, you could install a minimal partition for it, then
install debian but don't wipe away the small MacOS partition, and let
MacOS and BootX automatically boot into Debian. That's better then
throwing working hardware away. I'd say that is the easiest solution.

The other solution (when quik is not an option) is using miboot as a
boot-floppy into the installed system.

 In case quik turns out not to work on those beige G3 (seems it does
 work on some but not on others), you could use miboot for booting into
 the installed system too.
 
 So booting from a floppy?

Yes.

 If miboot works OK, on that model (on my perfomas the cpu will run at
 1/10th speed when booted by miboot), I could make you a miboot
 boot-floppy to boot into the installed system
 
 Great! the root partition is /dev/hda2 and the image is located in
 /boot/vmlinux I think (of course I can not boot anymore so I don't know
 the exact image name! 2.6.8 or something!).

This is the current sarge kernel, right? I have made miboot images
from current unstable sources compiled on an unstable system. I guess
I could do a sarge kernel/miboot-image also, but I am not sure what it
would take for that kernel to match the modules already installed on
your system? Would it have to be *built* on sarge too (in that case I
would have downgrade to sarge just to build it, not very interesting
alternative even if I don't need the box for anything particular).

  Maybe we could make have miboot to be listed in mkvmlinuz's bootloader, and
  have code in /etc/kernel/postinst.d to automatically create the miboot 
  floppy
  for you on installs.
 
 That could be a solution. If I understand, you mean I have to put a
 floppy in the G3 to boot and that's all. So the boot would be 'automatic'?

That would be cool.

  Now that miboot is being freed, this would be a neat solution.

Indeed.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: quik... quik... quik... [was: Re: [OpenFirmware2.4] Can't boot on cdrom]

2006-02-08 Thread Hans Ekbrand
On Wed, Feb 08, 2006 at 12:52:19PM +0100, Arnaud Vandyck wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Sven Luther wrote:
  On Wed, Feb 08, 2006 at 11:10:27AM +0100, Hans Ekbrand wrote:
 Try installing with floppies? 
 
 http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/boot.img
 http://people.debian.org/~luther/d-i/sid/images/daily/powerpc/floppy/root.img
 
 These ones doesn't work at the moment, it's impossible to load the
 net/cd-driver floppies, 

There was a problem with the root-image, it was too big to fit a
floppy. The latest ones that work are:

http://people.debian.org/~luther/d-i/sid/images/2005-11-16/powerpc/floppy/

This is not meant for you, since quick fails on your box, but for
anywone with an oldworld machine that do work with quik.

 but I did try to install Sarge AND Woody and
 they both fail with quik.

So, save the MacOS partition, and boot with BootX instead then.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: g3 beige won't boot off of boot floppy

2006-01-24 Thread Hans Ekbrand
On Mon, Jan 23, 2006 at 07:12:36PM -0500, Chris Fisichella wrote:
 
 On Monday, January 23, 2006, at 06:58 AM, Hans Ekbrand wrote:
 
 This is also more complicated than necessary. Why not just mount the
 real MacOS partition in the first place and overwrite the
 debian-installer kernel and initrd with the ones in /boot?
 
 
 You mean to perform the Debian installation, let it reboot, 

No, don't let it reboot. Do the right thing immediately.

With in the first place above I meant just before debian-installer
would like to reboot the *first* time.

 go into the 
 Debian installer again and mount the HFS+ file system? So you would 
 have to copy the two files to System Folder:Linux Kernels.

So instead of install a bootloader at first stage of
debian-installer, chroot into /target, mount MacOS partition copy
kernel and initrd *then* reboot.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: g3 beige won't boot off of boot floppy

2006-01-23 Thread Hans Ekbrand
 in /boot?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: public key is not available

2006-01-18 Thread Hans Ekbrand
On Wed, Jan 18, 2006 at 09:54:44AM -0800, Paul J. Lucas wrote:
 On Wed, 18 Jan 2006, Eric Cooper wrote:
 
  $ gpg --recv-keys 2D230C5F
 
 gpg: no keyserver known (use option --keyserver)
 gpg: keyserver receive failed: bad URI

Well, use the --keyserver option.

$ host -l pgp.net | grep www

gives a list of available keyservers.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: public key is not available

2006-01-18 Thread Hans Ekbrand
On Wed, Jan 18, 2006 at 11:42:02AM -0800, Paul J. Lucas wrote:
 On Wed, 18 Jan 2006, Hans Ekbrand wrote:
 
  Well, use the --keyserver option.
  
  $ host -l pgp.net | grep www
 
 itsy1# nslookup pgp.net
 Server: 206.13.31.12
 Address:206.13.31.12#53
 
 Non-authoritative answer:
 *** Can't find pgp.net: No answer

If you don't follow the instructions given, how could we help you?

hint: nslookup doesn't give zone info, host -l does.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: public key is not available

2006-01-18 Thread Hans Ekbrand
On Wed, Jan 18, 2006 at 12:40:54PM -0800, Paul J. Lucas wrote:
 On Wed, 18 Jan 2006, Hans Ekbrand wrote:
 
$ host -l pgp.net | grep www
   
   itsy1# nslookup pgp.net
   Server: 206.13.31.12
   Address:206.13.31.12#53
   
   Non-authoritative answer:
   *** Can't find pgp.net: No answer
  
  If you don't follow the instructions given, how could we help you?
  
  hint: nslookup doesn't give zone info, host -l does.
 
 itsy0$ host -l pgp.net 
 Host pgp.net not found: 9(NOTAUTH)
 ; Transfer failed.
 
   The point is that the host doesn't exist.

pgp.net is not a host, it's a zone. My guess is that your nameserver
is broken, but I'm no DNS guru.

Here are some of the servers that my nameserver replies to the above
command:

www.at.pgp.net. A   195.64.0.35
www.au.pgp.net. A   128.232.0.23
binwww.pgp.net. A   128.232.0.23
www.ca.pgp.net. A   192.139.46.2
wwwkeys.ca.pgp.net. A   129.128.11.77
www.ch.pgp.net. A   129.132.119.134
wwwkeys.ch.pgp.net. A   212.55.198.213
www.cl.pgp.net. A   200.2.116.75

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: OT: dns zone transfer (was: public key is not available)

2006-01-18 Thread Hans Ekbrand
On Wed, Jan 18, 2006 at 10:53:46PM +0100, Kiko Piris wrote:
 On 18/01/2006 at 22:16 +0100, Hans Ekbrand wrote:
 
  pgp.net is not a host, it's a zone. My guess is that your nameserver
  is broken, but I'm no DNS guru.
  
  Here are some of the servers that my nameserver replies to the above
  command:
 
 His nameserver doesn't need to be broken, your's might very well be.
 His nameserver refuses to answer a zone transfer request (9 NOAUTH)
 because it's not authoritative on that zone (that's absolutely correct
 behaviour).

OK I'll take your word for that my DNS is broken, his is not. As I
said, I am no DNS guru.

I have bind running locally, could that explain it?

 Your's does answer that request. The funny thing is that among the
 authoritative nameservers of the pgp.net zone, some answer the zone
 transfer request and some do not (5 REFUSED).

I don't really see the fun in it :-) I do find it funny that the
broken DNS:s return the info requested, while the non-broken ones do
not.

I took the host -l pgp.net-method from the default .gnupg/options, is
there anything wrong with that method?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: OT: dns zone transfer (was: public key is not available)

2006-01-18 Thread Hans Ekbrand
On Wed, Jan 18, 2006 at 11:30:31PM +0100, Hans Ekbrand wrote:
 On Wed, Jan 18, 2006 at 10:53:46PM +0100, Kiko Piris wrote:
  On 18/01/2006 at 22:16 +0100, Hans Ekbrand wrote:
  
   pgp.net is not a host, it's a zone. My guess is that your nameserver
   is broken, but I'm no DNS guru.
   
   Here are some of the servers that my nameserver replies to the above
   command:
  
  His nameserver doesn't need to be broken, your's might very well be.
  His nameserver refuses to answer a zone transfer request (9 NOAUTH)
  because it's not authoritative on that zone (that's absolutely correct
  behaviour).
 
 OK I'll take your word for that my DNS is broken, his is not. As I
 said, I am no DNS guru.
 
 I have bind running locally, could that explain it?
 
  Your's does answer that request. The funny thing is that among the
  authoritative nameservers of the pgp.net zone, some answer the zone
  transfer request and sgme do not (5 REFUSED).

I tried 

$ host -v -l pgp.net 

and it seems my dns is not queried to do zone transfers

$ host -v -l pgp.net
Query about pgp.net for record types A NS PTR
Finding nameservers for pgp.net ...
Query done, 6 answers, status: no error
Found 1 address for ns1.pipex.net
Found 1 address for procert.cert.dfn.de
Found 1 address for auth01.ns.uu.net
Found 1 address for dns0.cl.cam.ac.uk
Found 1 address for nac.no
Found 1 address for ns0.pipex.net
Trying server 158.43.192.7 (ns1.pipex.net) ...
Asking zone transfer for pgp.net ...
Query failed, 0 answers, status: query refused
pgp.net AXFR record query refused by ns1.pipex.net
Asking SOA record for pgp.net ...
Query done, 1 answer, authoritative status: no error

[ my comment: host asked ns1.pipex.net for a zone transfer, got none]
[ ... other servers in the list above tried, got no answers]

Trying server 128.232.0.19 (dns0.cl.cam.ac.uk) ...
Asking zone transfer for pgp.net ...
pgp.net.8640IN  NS  nac.no.
pgp.net.8640IN  NS  ns0.pipex.net.
pgp.net.8640IN  NS  ns1.pipex.net.
pgp.net.8640IN  NS  dns0.cl.cam.ac.uk.
pgp.net.8640IN  NS  orgo.progsoc.uts.edu.au.
pgp.net.8640IN  NS  robin.dfn-cert.de.
pgp.net.8640IN  NS  auth01.ns.uu.net.
ftp.at.pgp.net. 8640IN  A   195.64.0.34
www.at.pgp.net. 8640IN  A   195.64.0.35
ftp.au.pgp.net. 8640IN  A   203.5.112.20
www.au.pgp.net. 8640IN  A   128.232.0.23

[...]

If understand things correctly, host does not ask my dns for a zone
transfer for pgp.net. So my DNS is not broken.

If I explicitly tell host to use my DNS, it fails:

$ host -v -l pgp.net 127.0.0.1
Server: localhost.localdomain
Address: 127.0.0.1
Aliases: localhost samir

Query about pgp.net for record types A NS PTR
Trying server 127.0.0.1 (localhost.localdomain) ...
Asking zone transfer for pgp.net ...
Query failed, 0 answers, status: query refused
pgp.net AXFR record query refused by localhost.localdomain
Asking SOA record for pgp.net ...
Query failed, 0 answers, status: no error
pgp.net SOA record currently not present at localhost.localdomain
No nameservers for pgp.net responded

So my DNS is not broken, but why did

$ host -l pgp.net | grep www 

not work for Paul J. Lucas?

Because he used host from the bind9-host package while I used host
from the host package.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Files for BootX

2006-01-16 Thread Hans Ekbrand
On Sun, Jan 15, 2006 at 10:37:33PM -0500, Chris Fisichella wrote:
 On Sunday, January 15, 2006, at 05:31 PM, Hans Ekbrand wrote:

[...]

 It might not be loaded automatically in the chroot, though. Try
 
 # modprobe hfs
 
 and then
 
 # mount /dev/hda10 /mnt
 
 Those commands worked perfectly. Indeed, you were correct, I was very 
 close. Debian is a very nice distro! As a small token of my thanks, I 
 would like to help out with the manual. I think I should document my 
 experience before it fades from my mind. How would you suggest I do 
 that? Should I start with your bug report?

Yes, the text in the patched is file is rather terse, and it assumes
that you do the right thing at the first try. The trick of running the
installer a second time and chroot into the installed system and copy
the kernel and initrd perhaps should be documented also (even if that
trick not will be necessary as often, when the installation manual is
corrected). I suggest that you describe it in the boot-new-xml file
just below the paragraph that reads:

  If you use commandBootX/command to boot into the installed system,
  you should have copied the kernel and initrd from /boot to the MacOS
  partition before finishing the installer as described in xref
  linkend=nobootloader/.

Post your additions as patches to the bug. Mail to
[EMAIL PROTECTED], and cc: to me.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Installation on Old World Mac 9500

2006-01-16 Thread Hans Ekbrand
On Mon, Jan 16, 2006 at 01:30:39AM +0100, [EMAIL PROTECTED] wrote:
 I am trying to install Debian to an Old World Mac (PowerMac 9500). I have 
 tried Debian 2.2 (Potato) using BootX but failed since I could not find a 
 Boot Ramdisk.

Do you mean that you did not find any installer images, so could never
start the installation?

Why not try the Woody installation rather than potato?

 The Installation of Debian 3.1 has been successful so far, but when I reboot, 
 the System stops at a black screen with a small image of tux with inverted 
 colors in the upper left corner.

When you say that the system stops, are you sure it does not finish
the boot successfully (except for the missing display, of course)?
Does Ctrl-Alt-Delete reboot the machine? If so then the at least the
root fs is mounted.

 I am using a patched Voodoo3 video card.
 
 Any idea what to do?

If the system boots correctly, then you could use debian-installer as
a rescue way into the system, and inspect it from inside, see
http://lists.debian.org/debian-powerpc/2006/01/msg00306.html

If it really is a kernel (or initrd) problem, then I would suggest
that you try a newer kernel.

-- Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED] A.
Because it breaks the logical sequence of discussion Q. Why is top
posting bad?


signature.asc
Description: Digital signature


Re: beige g3 - FIRST DISK question

2006-01-16 Thread Hans Ekbrand
On Mon, Jan 16, 2006 at 08:56:20PM -0500, adrian crisan wrote:
 Hi all,
 
 I'm trying to install woody on a beige g3, 266 some 256 mb and a 4 gig ide 
 hard.
 I start the process via floppy, partition the hard, install the base file, 
 however when is time to make system
 bootable it gives me this error:
 
 THE REQUIRED ACTION CANNOT BE PERFORMED BECAUSE THE ROOT PARTITION MUST BE 
 ON THE FIRST DISK
 
 ... well I'm lost, I have the 4 gig ide with the following partitions:
 
 /dev/hdd1  Apple_UNIX_SVR2 root [EMAIL PROTECTED] (3.8G)
 /dev/hdd2  Apple_UNIX_SVR2 swap[EMAIL PROTECTED]  (256.0M)
 /dev/hdd3 Apple_partition_map   Apple[EMAIL PROTECTED] (31.5K)
 /dev/hdd4  Apple_FreeExtra[EMAIL PROTECTED] (0.5k)
 
 
 ... ok, I'm confused what would be the first disk  if not hdd1?

What about /dev/hda instead of /dev/hdd?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Files for BootX

2006-01-15 Thread Hans Ekbrand
On Sun, Jan 15, 2006 at 04:09:51PM -0500, Chris Fisichella wrote:
 
 On Saturday, January 14, 2006, at 06:13 PM, Hans Ekbrand wrote:
 
 
 That sounds nice. I have sent a patch for the problem you (and others)
 have met, but I welcome any enhancements to that patch. The bug I
 filed is #344477, available here:
 
 http://bugs.debian.org/344477
 
 Oh, good idea! LIke I said, if I can get this thing to boot up, I would 
 be glad to detail my experiences. I was thinking of putting them on 
 LinuxQuestions.org also.
 
 Even if you have already installed Debian, you need to start the
 debian-installer again. You will not need to reinstall, but there are
 files (a new kernel and a new initrd) on the partition that you
 installed Debian on that you need to copy to the MacOS partition so
 those files can be loaded by BootX.
 
 So, restart the debian-installer, and run it until it has identified
 your hardware (detected the harddisk). At that point you should get a
 shell prompt. (Either from the debian-installer menu, or by pressing
 Alt-F2). Now you must mount the partition where debian was installed, 
 something like this:
 
 # mount /dev/hda12 /mnt
 
 # mkdir /mnt
 # mount /dev/ide/host0/bus0/target0/lun0/part12 /mnt
 
 Then go into that partition by the following:
 
 # chroot /mnt
 
 # chroot /mnt
 
 
 then mount the MacOS partition, below I asume it is at /dev/hda11.
 
 # mount /dev/hda11 /mnt
 
 # mount /dev/hda10 /mnt
 mount /dev/hda10 has wrong device number or fs type hfs not supported.
 
 Hans, thanks for the help! I _NEVER_ would thought to do that. But, I 
 think I see where you are going with this. Those two files:
 
 initrd.img-2.6.8-powerpc
 vmlinux-2.6.8-powerpc
 
 need to be used by BootX to boot my machine. I thought Debian supported 
 hfs volumes. Oh well, I guess not! :) 

Yes it does! there is a kernel-module for hfs (and even for hfs+). Try

# ls -lR /lib/modules/2.6.8*-powerpc/kernel/fs/hfs*

It might not be loaded automatically in the chroot, though. Try

# modprobe hfs

and then 

# mount /dev/hda10 /mnt

 Moving those files off of that filesystem is a bit tricky at this
 point.

Copying them from the chroot is a known working method (e.g. see
http://lists.debian.org/debian-powerpc/2005/12/msg00293.html)

Good Luck (you're really close now :)

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Files for BootX

2006-01-14 Thread Hans Ekbrand
On Fri, Jan 13, 2006 at 08:15:42PM -0500, Chris Fisichella wrote:
 Gentlemen,
 
 Thank you very much for clearing up the file naming issue for me. Using 
 vmlinux and initrd.gz is definitely the way to go. I certainly feel 
 indebted to you all. Perhaps I could help update the fine Debian 
 PowerPC installation manual if I can ever get this OS booted?

That sounds nice. I have sent a patch for the problem you (and others)
have met, but I welcome any enhancements to that patch. The bug I
filed is #344477, available here:

http://bugs.debian.org/344477

 Speaking of installation problems, I am 99% sure Debian is sitting on 
 my hard disk. The installation goes fine. I choose not to install Quik 
 because I am fairly sure BootX is the manual boot loader the 
 installer is referring to.

Correct.

 Unfortunately, I can not boot into Debian. I certainly apologize for 
 the delay in my response to your original postings, but I was trying 
 different permutations of the boot parameters and disk partitioning 
 options to somehow get around this re-occuring message:
 
 VFS: cannot open root device hda12 or unknown-block(0,0)
 please append a correct  'root= boot option
 kernel panic: VFS: unable to mount root fs on unknown-block(0,0)
 0rebooting in 180 seconds.._

 In BootX, I have always left the vmlinux kernel selected. I tried 
 deselecting the initrd.gz ramdisk file. When I did that, I would enter 
 hda12 into the BootX /dev/ text box. I did that because the Debian 
 installer said:
 
 You will need to boot manually with the /boot/vmlinux kernel on 
 partition /dev/hda12 and root=/dev/hda12 passed as kernel argument.

This is an error in the installer manual. The kernel in the 3.1
release of Debian requires an initrd, and that excludes any
root=/dev/hdXX boot argument.

 I tried adding root=/dev/hda12 with and without the compressed ramdisk 
 image.

If any root device is to be set, it would be root=/dev/ram, but I
think that BootX will automatically set that when a ramdisk (initrd)
is choosen.

 I also reviewed the installation manual and the www.ppcnux.de BootX 
 tutorial that was given to me by Clive . They, apparently kept both 
 their vmlinux file and the compressed ramdisk image. They also added 
 the following additional kernel arguments
 root=/dev/hda12 devfs=mount,all rw

That is old, obsolete, incorrect information.

 In Boot X, my additional kernel arguments text box now contains:
 root=/dev/hda12 devfs=mount,all rw video=atyfb:vmode:14,cmode:32,mclk:63
 
 And I end up with the same kernel panic.

Yeah, because the kernel has not the drivers to the harddisk compiled
in, they are compiled as modules and exists in the ramdisk (initrd) to
be loaded at the first stage of the boot process.

 Once again, I appeal to you 
 all for help. If you have any thoughts on this, I would welcome any 
 feedback.

Even if you have already installed Debian, you need to start the
debian-installer again. You will not need to reinstall, but there are
files (a new kernel and a new initrd) on the partition that you
installed Debian on that you need to copy to the MacOS partition so
those files can be loaded by BootX.

So, restart the debian-installer, and run it until it has identified
your hardware (detected the harddisk). At that point you should get a
shell prompt. (Either from the debian-installer menu, or by pressing
Alt-F2). Now you must mount the partition where debian was installed, something 
like this:

# mount /dev/hda12 /mnt

Then go into that partition by the following:

# chroot /mnt

then mount the MacOS partition, below I asume it is at /dev/hda11.

# mount /dev/hda11 /mnt

Now copy the kernel and initrd to that partition:

# cp /boot/vmlinux* /boot/initrd* /mnt

Now, exit the chroot, and the shell. Cancel the debian-installer and
reboot to MacOS.

Within BootX choose the kernel and initrd you copied. Try boot into
Linux.

Good luck

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: quik 7300 Auto of scan range

2006-01-13 Thread Hans Ekbrand
On Thu, Jan 12, 2006 at 08:14:47PM -0200, Fábio Rabelo wrote:
   Well then you might not even have to resolve the display issue, just
   install ssh in the chroot and reboot.
Googling around I found this 
  :http://www.cpu.lu/~mlan/linux/dev/g3upgrade.html
  but I do not found any command called nvsetenv , there are another
  way to change OF parameters ?
  I am almost giving up !
 
 All right, within chroot the command nvsetenv works, but I have no
 idea how to input this parameters !?!
 man nvsetenv is the most confusing I ever see, tells nothing useful .
 Someone can help me with this ?
 

I use nvsetenv in the following way to set the variables boot-device
and boot-command to get quik working:

nvsetenv boot-device ata/[EMAIL PROTECTED]:0
nvsetenv boot-command begin ['] boot catch 1000 ms cr again

I think the code you refered to would into the nvramrc variable and
thus be entered like this:

nvsetenv nvramrc dev /bandit/gc/via-cuda
' write value W
: -We W swap - execute ;
: P1 4D8 -We false 548 -We ;
W FC + ' P1 BLpatch
: P2 0C 2 ms ;
W E0 + ' P2 BLpatch device-end

Or, if you make a file called nvramrc.patch with the following contents:

-start of file nvramrc.patch
dev /bandit/gc/via-cuda
' write value W
: -We W swap - execute ;
: P1 4D8 -We false 548 -We ;
W FC + ' P1 BLpatch
: P2 0C 2 ms ;
W E0 + ' P2 BLpatch device-end
-end of file nvramrc.patch

you could call nvsetenv like this

nvsetenv nvramrc `cat nvramrc.patch`

Does it make sense?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: quik 7300 Auto of scan range

2006-01-13 Thread Hans Ekbrand
On Fri, Jan 13, 2006 at 10:16:49AM +0100, Mich Lanners wrote:
 On  13 Jan, this message from Hans Ekbrand echoed through cyberspace:
  On Thu, Jan 12, 2006 at 08:14:47PM -0200, Fábio Rabelo wrote:
Well then you might not even have to resolve the display issue,
just install ssh in the chroot and reboot.
 Googling around I found this
   :http://www.cpu.lu/~mlan/linux/dev/g3upgrade.html
 
 I'm the autho of that page, nice to see it might still be useful.
 
   but I do not
   found any command called nvsetenv , there are another way to
   change OF parameters ? I am almost giving up !
  
  All right, within chroot the command nvsetenv works, but I have no
  idea how to input this parameters !?!
  man nvsetenv is the most confusing I ever see, tells nothing useful .
  Someone can help me with this ?
 
 It's very simple:
 
   nvsetenv var name
   
 prints the contents of the OF variable var name, while
 
   nvsetenv var name value
 
 writes value into the OF variable var name.
 
  I use nvsetenv in the following way to set the variables boot-device
  and boot-command to get quik working:
  
  nvsetenv boot-device ata/[EMAIL PROTECTED]:0
 
 Don't use that one in the 7300. It's for machines with IDE disks.

Sure, I just included it as an example of how one uses nvsetenv. I
didn't mean that he should use those to examples on his box.

  nvsetenv boot-command begin ['] boot catch 1000 ms cr again
 
 This one can help since the internal SCSI disk of th 7300 may take too
 much time to spin up. But as far as we know, this is not Fabio's
 problem.

No, just there as an example of nvsetenv usage

  I think the code you refered to would into the nvramrc variable and
  thus be entered like this:
  
  nvsetenv nvramrc dev /bandit/gc/via-cuda
  ' write value W
  : -We W swap - execute ;
  : P1 4D8 -We false 548 -We ;
  W FC + ' P1 BLpatch
  : P2 0C 2 ms ;
  W E0 + ' P2 BLpatch device-end
  
 [snip'ed remaining explanation]
 
 Be careful, this would replace the current contents of nvramrc. But
 there should be other patches already in there.
 
 You better copy your current nvramrc to a file:
 
   nvsetenv nvramrc  of-patches
 
 then edit that file of-patches, adding what I describe on my page, and
 finally setting it again:
 
   nvsetenv nvramrc `cat of-patches`

Good point.

 Now, all this OF patching only helps you get OF's diplay onto your
 monitor. It should not have any impact on what Linux does to your
 display.

Exactly, that was why I questioned the point in getting BootX to work.

 To get this sorted out, tell us more:
 
 - what monitor are you using? Apple? Third party?
 - if third party, what adapter? With video mode switches? How are the
   switches configured?
 - did you install a display manager, that would be started
   automatically, i.e. your system would boot to an X-Windows interface
   instead of only text mode?

Most likely not, the problem appeared first boot after first stage of
debian-installer and X is installed in the second stage.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Strange behavior

2006-01-13 Thread Hans Ekbrand
On Fri, Jan 13, 2006 at 10:39:21AM +0100, Fritz Wettstein wrote:
 Michael Tautschnig wrote:
 [...]
   
 [EMAIL PROTECTED]:~$ ls -la /sda1
 total 4908
 drwxr-xr-x  14 root root   16384 Jan  1  1970 .
 drwxr-xr-x  37 root root4096 Jan 11 16:19 ..
 -rwxr-xr-x   1 root root6148 Jan 10 13:56 .DS_Store
 drwxr-xr-x   2 root root2048 Nov 23 12:27 .Trash-swe
 .
 .
 .
 -rwxr-xr-x   1 root root 180 Jan 11 15:59 hints
 .
 .
 .
 [EMAIL PROTECTED]:~$ sudo mount /dev/sda1 /sda1
 [EMAIL PROTECTED]:~$ sudo chown -R swe /sda1
 chown: changing ownership of `/sda1': Operation not permitted
 chown: changing ownership of `/sda1/.Trashes': Operation not permitted
 chown: changing ownership of `/sda1/macintosh.pdf': Operation not 
 permitted
 .
 .
 .
 chown: changing ownership of `/sda1/hints': Operation not permitted
 .
 .
 .
 
 That seems strange to me, what filesystem is it? The only thing I could 
 imagine
 is that the filesystem doesn't support the operation - VFAT?
 
   
 Don't no what filesystem, it's an USB-Memory stick. So I think it isn't 
 a filesystem in the common sense.

Anything that you mount is a filesystem. When the stick is mounted try 

$ mount

and it will say what filesystem it is.

Since VFAT is the most common filesystem used on USB-memory sticks,
that is almost certainly the problem here.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: quik 7300 Auto of scan range

2006-01-12 Thread Hans Ekbrand
On Thu, Jan 12, 2006 at 07:48:21AM -0200, Fábio Rabelo wrote:
 On 1/11/06, Hans Ekbrand [EMAIL PROTECTED] wrote:
  On Wed, Jan 11, 2006 at 05:56:32PM -0200, Fábio Rabelo wrote:
   But after that, in the first boot within Sarge, my monitor just shows a
   msg scan ou of range .
   The noise from HD sugests the boot is going fine, but I can do anything
   from that on .
 
  OK. But if quik boots alright, then what good would it be to boot with
  BootX instead?
 
 To change quik for bootX

But if the machine boots with quik, what would be gained if it was
booted by BootX instead?

  One simple test is to press Ctrl-alt-delete. If the box reboots, then
  it was properly booted.
 
 After all noise in HD stops, the Ctrl+alt+del restarts the machine yes .

So, the booting is working. Then I fail to see how BootX would help.
Wouldn't the machine get to the same final state after the boot anyhow?

   I can use bootX in this machine, there are room in HD, but how can I
   copy a suitable Kernel to MAC OS partition without a normal boot ?
 
  I would use the debian-installer as a rescue system and chroot into
  the installed system and investigate the problem the monitor. If the
  box is connected to a network, I would install ssh so one could ssh
  into it when/if there is no display.
 
  If it turns out that quik does not really boot the box (in spite of
  the sound that you interpreted as a successful boot), then (still
  within the chroot) mount the MacOS partition and copy the kernel +
  initrd to that partition for use with BootX.
 
 The Sarge installer is not finished yet, in the first boot the
 installer setup the apt.sources, and then download any update
 available , and then I can install anything I want ( like ssh ) so
 before it  can not do anything .

What I scetched above was a procedure to get into the installed system
(wheter or not the installation was finished).

I assume the installer finished the first stage (since quik was
installed, and the system sounds like it boots correctly). 

Start the installation again. When the installer has detected the
hardware, get a shell, mount the partition where debian is installed
and chroot into it.

Did you run base-config during the first stage? If not, do that in the
chroot, so password is set for root.

 The goal is power the machine and never more power off, remove
 keyboard and mouse and use ssh/webmin to manage everything .

Well then you might not even have to resolve the display issue, just
install ssh in the chroot and reboot.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: quik 7300 Auto of scan range

2006-01-12 Thread Hans Ekbrand
On Thu, Jan 12, 2006 at 07:56:54PM -0200, Fábio Rabelo wrote:
 On 1/12/06, Hans Ekbrand [EMAIL PROTECTED] wrote:
  On Thu, Jan 12, 2006 at 07:48:21AM -0200, Fábio Rabelo wrote:
   On 1/11/06, Hans Ekbrand [EMAIL PROTECTED] wrote:
On Wed, Jan 11, 2006 at 05:56:32PM -0200, Fábio Rabelo wrote:
 But after that, in the first boot within Sarge, my monitor just shows 
 a
 msg scan ou of range .
 The noise from HD sugests the boot is going fine, but I can do 
 anything
 from that on .
   
OK. But if quik boots alright, then what good would it be to boot with
  I assume the installer finished the first stage (since quik was
  installed, and the system sounds like it boots correctly).
 
  Start the installation again. When the installer has detected the
  hardware, get a shell, mount the partition where debian is installed
  and chroot into it.
 
 I've try ed this, do not works, when I try to install ssh with dpkg (
 apt do not work in chroot env ) I get error msg like this subproccess
 pre-installation script returned error exit status 255

apt-get does work in chroot, I have used it many times. Since that
part of your problem is not powerpc specific, you might try post it on
debian-user to get more help.

You should be able to get apt-get to work correctly within the croot
and also install ssh.

While you are in the chroot, read the syslog to verify that the system
boots correctly.

While in the croot you could also mount the MacOS partition and copy
vmlinux and initrd.img to that partition for use with BootX. I thought
that the kernel would be able to fix modelines when it takes over.
That might be wrong in which case booting with BootX would likely fix
it. Another workaround would be to try change the modeline with fbset.
You could add a

fbset 800x600-56

to a script that is run at boottime.

I have no opinion on the forth code you mention. I would try less
disruptive ways to work around the problem before I tried it though.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: quik 7300 Auto of scan range

2006-01-11 Thread Hans Ekbrand
On Wed, Jan 11, 2006 at 05:56:32PM -0200, Fábio Rabelo wrote:
 Hi all .
 I am trying to install Sarge on 7300/G3 333 Upgrade/512 MB ram 4 GB HD SCSI
 This machine are been retired from graphics job in a costumer of mine, 
 so I will try to turn it in a firewall/ftp .
 The documentation about installing Sarge with BootX in an old world is 
 outdated .
 The name of files ( kernel and initrd ) are wrong .
 Passed this issue, the instaler works fine ( realy much better then 
 Woody ! ) .
 At the very end of install proccess, the instaler warn about Quik, but  
 installs it ( cool  )
 But after that, in the first boot within Sarge, my monitor just shows a 
 msg scan ou of range .
 The noise from HD sugests the boot is going fine, but I can do anything 
 from that on .

OK. But if quik boots alright, then what good would it be to boot with
BootX instead?

One simple test is to press Ctrl-alt-delete. If the box reboots, then
it was properly booted.

 I can use bootX in this machine, there are room in HD, but how can I 
 copy a suitable Kernel to MAC OS partition without a normal boot ?

I would use the debian-installer as a rescue system and chroot into
the installed system and investigate the problem the monitor. If the
box is connected to a network, I would install ssh so one could ssh
into it when/if there is no display.

If it turns out that quik does not really boot the box (in spite of
the sound that you interpreted as a successful boot), then (still
within the chroot) mount the MacOS partition and copy the kernel +
initrd to that partition for use with BootX.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Files for BootX

2006-01-10 Thread Hans Ekbrand
On Mon, Jan 09, 2006 at 06:11:31PM -0500, Chris Fisichella wrote:
 Hi,
 
 I am on my sixth attempt to install Debian on a Powerbook G3 
 (Wallstreet). I am out of ideas. I have OpenFirmware  3.0, so I tried 
 the following:
 
 1. boot from floppies. four floppies, two different writing methods; I 
 think my floppy drive is too picky.
 
 2. BootX: I could have sworn I downloaded the ramdisk.img.gz file from 
 Debian, but, now I go back and cannot find it. I made it the farthest 
 with this method. I got to the point where it asks for the installation 
 CD, but, then the installer could not find the files rescue.bin and 
 powermac/drivers.tgz. I could not find these anywhere on the CD, either.
 
 3. yaboot. Did not work as the documentation said it would not.
 
 4. Quik: I could not figure out how to create a unix partition for this 
 program to use. I tried the Apple Linux Home partition, but that did 
 not work. I was skeptical that Apple would support Linux anyhow.

Quik can only work after you have completed the installation. It is
not useful to start an installation.

 Acutely aware of the patience of the readership, I present the 
 following questions in decreasing order of importance:
 
 a) Where do I get the ramdisk.img.gz and linux.bin files BootX is 
 looking for? The installation CD and the ftp site seem to be pushing 
 yaboot and floppies.

These filenames are not used anymore, the installation manual still
mentions them, but that is a known bug in the installation manual (bug
#344477).

The new filenames are vmlinux and initrd.gz

I you aim for an installation started with BootX and loading the rest
from an installation-CD, you should use the cdrom flavour of the
vmlinux/initrd.gz files, located at:

http://ftp.debian.org/debian/dists/sarge/main/installer-powerpc/current/images/powerpc/cdrom/

I don't know where on the installation-cd these files are located.

 b) Is BootX the way to go? I would like to have both MacOS9 and Sarge 
 on the same machine. It seems reasonable and, like I wrote previously, 
 it seemed to work the best for my setup.

Yes.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Signature generated by Signify v1.14.  For this and more, visit 
http://www.debian.org/


signature.asc
Description: Digital signature


Re: Files for BootX

2006-01-10 Thread Hans Ekbrand
On Tue, Jan 10, 2006 at 11:29:26AM +, Clive Menzies wrote:
 On (09/01/06 18:11), Chris Fisichella wrote:

[...]

  2. BootX: I could have sworn I downloaded the ramdisk.img.gz file from 
  Debian, but, now I go back and cannot find it. I made it the farthest 
  with this method. I got to the point where it asks for the installation 
  CD, but, then the installer could not find the files rescue.bin and 
  powermac/drivers.tgz. I could not find these anywhere on the CD, either.

[...]

  a) Where do I get the ramdisk.img.gz and linux.bin files BootX is 
  looking for? The installation CD and the ftp site seem to be pushing 
  yaboot and floppies.
  Get BootX from here:
 
  http://penguinppc.org/historical/benh/

The OP already goot BootX working, se point #2 above. The OP wants to
know where to get the kernel and initrd that starts (or is) the
debian-installer.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: [powerpc-floppies] Help Needed : root.img too big (1489688, should be 1474560).

2006-01-09 Thread Hans Ekbrand
On Mon, Jan 09, 2006 at 12:55:51AM +0100, Sven Luther wrote:
 Hi, ...
 
 I am requesting, on behalf of the powerpc oldworld floppies users, some help
 to solve the problem of too big root.img. 
 
 The file is 1489688 bytes, while the floppy size is 1474560, so it is 15128
 bytes to huge. I had a quick look at the floppy pkg-lists, but i couldn't see
 anything obvious to move around to another floppy, maybe the the socket
 modules could move to the net-drivers floppy or something, but that is about
 it, and i think socket-modules is empty right now anyway.
 
 So, it would be very nice if someone with knowledge of the floppies would take
 a look and see where we can gain those 15128 bytes, maybe removing one of the
 console maps (we have usb and at, but oldworld only have adb keymaps, not sure
 what it maps to though), and also add the bit of code Frans mentioned the x86
 floppies already have for failing if the image size is bigger than a floppy. I
 searched for it in config/i386, but failed to find anything that did something
 like this.

I am building a stripped down version of the
linux-image-powerpc-miboot right now. I will test it before sending
patches.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: problems installing debian on Performa 6400

2005-12-19 Thread Hans Ekbrand
On Sun, Dec 18, 2005 at 11:24:18PM +0100, Hans Ekbrand wrote:
 On Sat, Dec 17, 2005 at 11:41:56PM -0800, Tara Athan wrote:
  I have been using BootX 1.1.3 - this may be (part of ) the difficulty.
  I tried downloading all versions of BootX, including 1.2.2, burned onto 
  a CD, fed into my Mac and dragged each onto the StuffIt Expander Icon.
  The only one that expands is 1.1.3
  
  Further information:
   the installation instructions that refer to linux.bin and 
  ramdisk.image.gz are located at
  
  http://http.us.debian.org/debian/dists/sarge/main/installer-powerpc/current/doc/manual/en/ch04s05.html#files-oldworld
  
  These instructions may very well be out-of-date, but they are what is on 
  the website under /current/
 
 This part of the installation manual was never updated for the sarge
 release. So, try following the instructions in my earlier post in this
 thread.

If you can't get BooX to work, you should try booting off a floppy.
I think the floppy images released for sarge did not work with linux
2.6, but linux 2.4 worked.

There are more recent builds of the floppies though, here are the
latest one I found:

http://people.debian.org/~luther/d-i/images/2005-11-25/powerpc/floppy/

You will need

boot.img to boot
root.img to start the installer
cd-drivers.img to load kernel modules for the cd-reader.

These might be untested, so please report any success or failure to
the debian-installer team using this template
http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug

Good luck

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: problems installing debian on Performa 6400

2005-12-19 Thread Hans Ekbrand
On Mon, Dec 19, 2005 at 09:47:07AM +0100, Hans Ekbrand wrote:
 On Sun, Dec 18, 2005 at 11:24:18PM +0100, Hans Ekbrand wrote:
  On Sat, Dec 17, 2005 at 11:41:56PM -0800, Tara Athan wrote:
   I have been using BootX 1.1.3 - this may be (part of ) the difficulty.
   I tried downloading all versions of BootX, including 1.2.2, burned onto 
   a CD, fed into my Mac and dragged each onto the StuffIt Expander Icon.
   The only one that expands is 1.1.3
   
   Further information:
the installation instructions that refer to linux.bin and 
   ramdisk.image.gz are located at
   
   http://http.us.debian.org/debian/dists/sarge/main/installer-powerpc/current/doc/manual/en/ch04s05.html#files-oldworld
   
   These instructions may very well be out-of-date, but they are what is on 
   the website under /current/
  
  This part of the installation manual was never updated for the sarge
  release. So, try following the instructions in my earlier post in this
  thread.
 
 If you can't get BooX to work, you should try booting off a floppy.
 I think the floppy images released for sarge did not work with linux
 2.6, but linux 2.4 worked.

BTW, if you settle for quik instead of BootX, do notice that quik will
not be able to boot from /boot on ext3 if the partition is unclean, so
consider A or B.

A. /boot on an ext2 partition of its own (but then I
think you also need to put quik.conf at that partition rather than in
/etc)

B. / on ext2.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: problems installing debian on Performa 6400

2005-12-18 Thread Hans Ekbrand
On Sat, Dec 17, 2005 at 11:41:56PM -0800, Tara Athan wrote:
 I have been using BootX 1.1.3 - this may be (part of ) the difficulty.
 I tried downloading all versions of BootX, including 1.2.2, burned onto 
 a CD, fed into my Mac and dragged each onto the StuffIt Expander Icon.
 The only one that expands is 1.1.3
 
 Further information:
  the installation instructions that refer to linux.bin and 
 ramdisk.image.gz are located at
 
 http://http.us.debian.org/debian/dists/sarge/main/installer-powerpc/current/doc/manual/en/ch04s05.html#files-oldworld
 
 These instructions may very well be out-of-date, but they are what is on 
 the website under /current/

This part of the installation manual was never updated for the sarge
release. So, try following the instructions in my earlier post in this
thread.

Kind regards,

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: problems installing debian on Performa 6400

2005-12-17 Thread Hans Ekbrand
On Fri, Dec 16, 2005 at 11:11:27PM -0800, Tara Athan wrote:
 I have been attempting to follow the instructions in
 
 http://www.us.debian.org/releases/stable/powerpc/
 
 to install debian on my Performa 6400/180.
 I have done the following:
 1. created 2 partitions on my hard disk, one with the Mac OS installed, the 
 other blank
 2. installed bootx
 3. downloaded CD images from 
 http://cdimage.debian.org/debian-cd/3.1_r0a/powerpc/jigdo-cd
 (I am using a Windows XP machine to download and burn- I don't have an 
 internet connection on the Performa- the modem is not functioning)
 4. burned the first CD using Nero
 5. copied vmlinux and initrd.gz (from the PowerPC folder on the debian 
 distro) into a Linux Kernels folder under the System folder
 
 (Actually the instructions say
 Download
 |linux.bin| and
 |ramdisk.image.gz| from the
 |disks-powerpc/current/powermac| folder, and place
 them in the |Linux Kernels| folder.

This sounds like it was from the an old version of the installation
manual. The names used with the current release is vmlinux and initrd.gz and 
the folder to look for them is 

http://http.us.debian.org/debian/dists/sarge/main/installer-powerpc/current/images

as indicated in the installation manual 4.2.1.

I have no installation cdrom available so I don't know exactly where
these files are on the cd, but you will probably find them.

 but I can't find those files, so I tried using the files for the New World 
 Macs (vmlinux and initrd.gz), which are present in my distro) 

As far as I know there are no special kernels/initrd.gz:s for New
World, but for newer CPU:s. Performa 6400 will only work with the
powerpc flavor (i.e. not power3 or power4 or apus). When you write in
my distro, do then mean on the installation CD? If, so use the
kernel/initrd.gz in the powerpc folder.

 When I reboot, I see the BootX dialog.  There is no response when I
 select Use RAM Disk

This is crucial: the debian-installer will not work (as you found it
will not be able to mount root fs) without the RAM Disk (initrd.gz).

 Clearly I am missing something important.. can anyone give me a clue?
 Are there |linux.bin| and| ramdisk.image.gz files somewhere I haven't 
 looked yet?

No, I think the only thing missing is the RAM Disk, you must somehow
get BootX to load the initrd.gz or the installation will never even
start.

 PS I have OS 7.5.3 installed on the Mac.

I have used BootX with 7.5.3 on a Performa 5400, worked well.

When the installation is over and everything works well, you can boot
with quik on Performa 6400 and reformat the MacOS partition and let
Debian use that part of the HD. You'll need to issue the following
commands before you try to boot with quik though:

# nvsetenv boot-device ata/[EMAIL PROTECTED]:0
# nvsetenv boot-command begin ['] boot catch 1000 ms cr again

And here's how the quik.conf should look like (notice the slight
difference in the ata/ATA-Disk... string).

this one assumes root is at /dev/hda6

--
timeout = 20
default = linux
device = ata/[EMAIL PROTECTED]
partition = 6
root = /dev/hda6
image = /boot/vmlinux
initrd = /boot/initrd.img
append = ramdisk_size=8192
label = linux
--

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


signature.asc
Description: Digital signature


Re: Successfull! - Debian install on biege G3

2005-12-12 Thread Hans Ekbrand
On Mon, Dec 12, 2005 at 03:44:14PM +, David Pead wrote:
 What a right royal pain in the butt for the last few months trying to get
 this running, success at last!
 Many thanks to all for recent advice and that buried away in the archives.
 For any other unfortunate soul who's just starting out with an beige g3
 oldworld install, my experience follows:
 
 Small OS9 partition. BootX with relevant files (ie root.img and vmlinux)
 2nd large partiton, I allowed partion guider to set it up for me.
 
 At the partioner make a note of which partition macos uses. Something like
 #6
 
 Ignore messages regards quik at end of d-i set-up, ctrl-alt-f2 to CLI
 
 This thread I found useful but incomplete, you need to chroot not cd to the
 directory:
 http://lists.debian.org/debian-powerpc/2004/10/msg00628.html
 I found that there was no module available straight from the installer to
 mount the os9 partition. From the above post and others I then
 
 # chroot target

I would like to know if this is the best way to do it, before I send
any suggestions to the installation manual.

Obviously, without the croot it won't work to use

/boot/vmlinux-2.6.12-1-powerpc

but you would have to use

/target/boot/vmlinux-2.6.12-1-powerpc.

But would chroot somehow help to get the MacOS partition mounted or
not?

Is /dev/hda6 specific for the installed system while inside the
installer one have to use /dev/discs/dics0/part6?

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Successfull! - Debian install on biege G3

2005-12-12 Thread Hans Ekbrand
On Mon, Dec 12, 2005 at 04:54:12PM +, David Pead wrote:
  I would like to know if this is the best way to do it, before I send
  any suggestions to the installation manual.
  
  Obviously, without the croot it won't work to use
  
  /boot/vmlinux-2.6.12-1-powerpc
  
  but you would have to use
  
  /target/boot/vmlinux-2.6.12-1-powerpc.
  
  But would chroot somehow help to get the MacOS partition mounted or
  not?
  
  Is /dev/hda6 specific for the installed system while inside the
  installer one have to use /dev/discs/dics0/part6?
 
 Within
 target/lib/modules/2.6.8-powerpc/kernal/fs
 you find hfs and hfsplus support.
 
 This seems to be lacking in d-i

What version of d-i did you use? (netinst, hd-media or business)

 Also I only found reference to the 'sda' partitions within target/dev.
 Any attempt to mount any device in /dev had trouble, only when I chroot did
 I get anywhere...

OK.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


Re: Debian install on biege G3

2005-12-11 Thread Hans Ekbrand
On Fri, Dec 09, 2005 at 03:09:31PM +, David Pead wrote:
  Mount the MacOS-partition where BootX resides.

[...]

 When I use
 ls dev
 there's no refernece to the sda6 partition at all.  The list reads:
 
 adb fb   kmemmiscpts scsiurandom
 cdromsfull  kmsg nullrandom   shm   vc
 consoleide  logportrd   tts vvc
 discs   input   mem ptmx   root ttyzero
 
 In my attempts to mount the disk I managed to mess things up. Therefore, I
 reformated with 3 partitions, one of which I formatted as MSDOS FAT32 (which
 MacOS sould see) hoping to use that as an 'exchange partition' (as per 3.6.1
 MacOS/OSX Partitioning of the manual
 http://www.us.debian.org/releases/sarge/powerpc/ch03s05.html.en#id2517119) I
 can't find that one either.
 
 Looking in 'disks' or 'scsi' I find paths to various 'part1, part2, etc' of
 the disk but have no success in mounting one. Maybe  I'm not doing that
 right? What command do I enter?

Don't know exactly (only have IDE devices myself), something like:

mount /dev/discs/disc0/part6 /mnt

  Tried this but can't seem to mount the MacOS partition. It should be under
  /dev/sda6 but I get wrong device number or fs type hfsplus not supported
  I saw a mention of a patch for said fs, is that what I need?
  
  OK. this hfsplus thing seems problematic. Is possible to load a module
  that support hfsplus within the installer? There is a step in the
  installer that loads additional components (the partitioner amongst
  other things). Could you try and continue the installation until those
  modules are loaded (I mean to point 6.3.2 in the installation manual.)
  
  and then try to mount the partition again?
 
 Sorry friend, how do I check if the modules are loaded. If not, how can I
 load them? Do I have to use something like ctrl,alt F3,4,5 or 6?

# lsmod 

lists the loaded modules

# modprobe hfsplus

or 

# modprobe vfat

might load the needed modules. 

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: BootX, beige G3 and kernel 2.6

2005-12-08 Thread Hans Ekbrand
On Wed, Dec 07, 2005 at 07:36:30PM +0100, Frédéric Massot wrote:
 Hi,
 
 After having tried without success to boot with Quik, I test with BootX 
 (ver. 1.2.2). Linux boot already with BootX and the kernel (2.2.20-pmac) 
 of the Woody installer (linux.bin and ramdisk.image.gz).
 
 I compiled a kernel 2.6.14 with the command make-kpkg and I have to copy 
 the files vmlinux-2.6.14 and initrd.img-2.6.14 in the folder Linux 
 Kernels in the system folder, I selected these files in BootX and boot 
 to Linux. The screen became black and Linux did not boot. :o(
 
 What is necessary for compiled a kernel 2.6 for BootX ?

I didn't know of anything special. I have sucessfully used BootX to
boot quite a few kernels on my old Performa 5400 with only 24 MB RAM.
Are you sure it's not your kernel the problem?

Could you try with some known good kernel, like the official one in
sarge (2.6.8), or the one currently in sid (2.14)?

I won't send my patches to the installation manual before we can
figure out whats wrong here.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.


signature.asc
Description: Digital signature


Re: Can't install, no KBD (G4 Cube)

2005-12-07 Thread Hans Ekbrand
On Tue, Dec 06, 2005 at 08:19:48PM -0500, Rich Johnson wrote:
 
 You were. I stupidly assumed that d-i was changed between march and
 june when sarge was released.
 
 Well, I _tried_ the testing/etch installer.  It managed to activate  
 the keyboard, but it took a long time (5sec) after the select  
 language menu was displayed.
 
 Things went fine untilit started looking for the .iso image.
 Well, it couldn't find it, despite the fact that the iso image was  
 sitting _right next to_ the kernel and initrd. I tried running a  
 shell to mount the partition, but apparently the kernel doesn't  
 support HFS+--despite the fact that it's  running from one.  This is  
 annoying and frustrating.  Then I looked for basic utilities to  
 create disk partitions, establish a network connection and FTP an ISO  
 image from the repository---no dice.

It sounds as if you used the hd-media images. My understanding is that
if you want to install over the net, you should use the netboot images
instead of the hd-media images. (Netboot does not necessarily mean
that the images needed to boot is fetched from the net at boot time).
The hd-media version of the installer expect to find the files needed
locally.

  In fact, none of these most basic utilities are present in the
 bootstrap. This is annoying and frustrating, beyond belief.

If you want to be able to download installer modules at runtime from
the net, use the netboot images.

If you want to be able to install from hd-media and have only HFS+
partitions, that cannot be read by the installer, you could use a
usb-stick and put the powerpc/hd-media/boot.img.gz on it (as suggested
in
http://http.us.debian.org/debian/dists/sarge/main/installer-powerpc/current//images/MANIFEST:

powerpc/hd-media/boot.img.gz-- 123 mb image (compressed) for USB 
memory stick)

 
 I gave up went back to the the woody installer.  It has the following  
 compelling attributes:
   1.  There is a single-machine, no-iso, no-tftp installation option  
 (http://people.debian.org/~branden/ibook.html)
   2.  A complete kit is downloadable from a single url--including  
 yaboot (http://http.us.debian.org/debian/dists/woody/main/disks- 
 powerpc/current/new-powermac/)
   3.  It supports the native filesystem for the machine you're  
 installing it on (HFS+)
   4.  The kit is relatively small (~7M)
   5  It works.
 
 IMO, the sarge/etch installer represents a step backwards until it  
 also has these attributes.

The netboot images provides [1]-[4] except for [3]. But [3] is
uninteresting if you want [4].

Perhaps the installaion manual did not provide a clear description of
the intended purpose of the netboot images?

Etch didn't quite deliver [5] though, you should perhaps report a bug
for the keyboard issue.

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org


signature.asc
Description: Digital signature


  1   2   >