Re: MOL .debs (was: Power Management et. al.)

2001-04-20 Thread Andre Berger
* Benjamin Herrenschmidt <[EMAIL PROTECTED]>, 2001-04-20 15:47 +0200:
> MOL packaging is difficult because of the fact that you should run
> a MOL kernel module that match exactly the kernel you are running
> (that was compiled with the kernel headers of the kernel you are 
> running).
> 
> The best solution would be to have MOL package actually recompile
> the module when installed.
> 
> Ben.

It's just the same situation with pcmcia-modules. Precompiled .debs are
supplied for the proposed kernels, a source package for those who want to
compile their own kernels.

Andre Berger[EMAIL PROTECTED]


pgpjAxts3E9uU.pgp
Description: PGP signature


Re: Power Management et. al.

2001-04-19 Thread Andre Berger
* Ethan Benson <[EMAIL PROTECTED]>, 2001-04-19 09:51 +0200:
> On Thu, Apr 19, 2001 at 12:48:01AM +0200, Jonas Smedegaard wrote:
[...]
> my idea is to take the module sources from mol and put them in thier
> own package, say mol-modules-src or something.  this package should
> depend on kernel-headers and would allow the user to build just the
> modules against thier running kernel.  
> 
> i am not sure if this would work though, if i get bored agian i may
> mess with it.  

Hope you'll get bored soon :) 

It would also be very nice to have a precompiled mol-package just like
the pcmcia-modules package for the proposed kernels.

Andre Berger[EMAIL PROTECTED]


pgpQk5axVL7Wk.pgp
Description: PGP signature


Re: What is /etc/X11/X ?

2001-04-17 Thread Andre Berger
* Stefan Haller <[EMAIL PROTECTED]>, 2001-04-17 11:10 +0200:
> Last week I upgraded my potato 2.2r0 to testing (which was a bit of a
> pain, btw, because ldconfig kept dying with "Illegal instruction" all
> the time, so I needed many iterations of "apt-get -f dist-upgrade" and
> "dpkg --configure -a" until it was through).
> 
> Now X won't start.  It says
> 
>   X: Cannot stat /etc/X11/X (no such file or directory).
> 
> What am I doing wrong?

Nothing. Make /etc/X11/X a symbolic link to your Xserver, like

lrwxrwxrwx1 root root   24 Jan  7 02:02 /etc/X11/X ->
/usr/X11R6/bin/XF86_SVGA*

I don't use v4 on this machine, so I don't know the exact name
(use "XFree86" instead of "XF86_SVGA" IIRC)

Andre Berger[EMAIL PROTECTED]


pgpBvxmgAXHaz.pgp
Description: PGP signature


Re: pppd troubles

2001-04-16 Thread Andre Berger
* [EMAIL PROTECTED] <[EMAIL PROTECTED]>, 2001-04-16 23:42 +0200:
> I cannot connect to my ISP, these are the files
> for my pppd configuration, I try to launch with the
> command "pppd call provider" 

try "pon" 

> 56600
  ^^^^^
You mean 57600, don't you.

Andre Berger[EMAIL PROTECTED]


pgpX4ytK58zM8.pgp
Description: PGP signature


mtools

2001-04-05 Thread Andre Berger
I have a problem concerning mtools (potato/ppc, 2.2.19pre17, PB 3400).
The first time I do "mdir", everything's fine. But the second time I
always get "Can't open /dev/fd0: device or ressource busy. Cannot
initialize 'A:'", until I reboot.

Andre Berger[EMAIL PROTECTED]



Re: Configure keys for my keyboard

2001-04-02 Thread Andre Berger
* Arne Scheffler <[EMAIL PROTECTED]>, 20010401 22:41 +0200:
> Hi,
> there are some keys on my keyboard which xkb don't map
> right. Now I want to know the keycodes. But I don't know
> which tool to use. Is there a tool I can start, press the
> key and see which keycode it produce ?
> 
> Thanks for any help
> 
> arne

showkey on the consoles, xev (xcontrib) for X.

Andre Berger[EMAIL PROTECTED]



Re: new input layer and mouse button emulation

2001-03-28 Thread Andre Berger
* Patrice LaFlamme <[EMAIL PROTECTED]>, 20010328 16:21 +0200:
> On Wed, Mar 28, 2001 at 12:18:22PM +0200 or thereabouts, Andre Berger wrote:
> > It did! Changed the mapping to btn2=96 btn3=116, everything works
> > beautifully again. So no reason to go back to ADB. Is there any
> > documentation for the whole stuff also distributed with the kernel
> > itself?
> > Patrice: It does work on the 3400 (gpm, X).
> 
> Hm, I guess I'll have to re-read this thread ;)

> But, my main problem is that I can't even get a kernel compiled with the
> new input layer, so there's no chance of getting it to work (that's with 
> 2.2.18).

In BootX's optional arguments line:

adb_buttons=76,127

(worked w/ my german kbd, check with showkey/xev)

What's the problem compiling 2.2.18 with the new layer?

> As for 2.4.x... well... I'm not using that yet... :)

Me not either. I've switched to kernel-image-2.2.19pre17-pmac from
proposed-updates.

Andre Berger[EMAIL PROTECTED]



Re: Thanks DebianPPC Porters + Writers!

2001-03-28 Thread Andre Berger
* Nate Duehr <[EMAIL PROTECTED]>, 20010328 12:03 +0200:
> I just wanted to publically thank you all for your hard work on
> Debian-PPC.  

/me to.

> Still diddling with X and trying to get the mouse to work (it said
> something about "send mail to debian-powerpc, your Apple hardware is not
> recognized" or somesuch, but I'm also about 2000 messages behind in my
> debian-ppc reading, so I figured it's probably already in here
> somewhere... and I need to catch up on my reading I suppose.

That's about 2 days behind ;)

Andre Berger[EMAIL PROTECTED]



Re: new input layer and mouse button emulation

2001-03-28 Thread Andre Berger
* Adam C Powell IV <[EMAIL PROTECTED]>, 20010328 12:02 +0200:
> Andre Berger wrote:
> 
> > #/etc/sysctl.conf
> > dev.mac_hid.mouse_button2_keycode = 76
> > dev.mac_hid.mouse_button3_keycode = 127
> > dev.mac_hid.mouse_button_emulation = 1
> >
> > (and rebooted; /proc/sys/dev/mac_hid/mouse* are set to these values)
> >
> > Those keycodes are mapped to my keypad-enter (btn2) and the power button
> > (btn3) on my keyboard, on the consoles. On X, the same keys are mapped
> > to 84/135 (I re-checked with showkey and xev). This setup worked with
> > adb_buttons=76,127 with my old kernel and gpm.
> 
> Right.  The "Linux" mapping is different from the ADB mapping.  See
> /usr/include/linux/input.h for keycodes to use there.
> 
> For all the gory details: 
> http://homepages.munich.netsurf.de/Franz.Sirl/inputppc.html
> 
> I know, very confusing, lots of breakage for a potato upgrade, etc.  
> Apologies for
> the headache, the decision apparently seemed like a good one at the time.  In 
> the
> long term, everyone will make the change anyway, but perhaps the Debian PPC 
> kernels
> should have waited for other packages to catch up (e.g. makedev, bug #87854).
> 
> HTH,
> 
> -Adam P.

It did! Changed the mapping to btn2=96 btn3=116, everything works
beautifully again. So no reason to go back to ADB. Is there any
documentation for the whole stuff also distributed with the kernel
itself?

Patrice: It does work on the 3400 (gpm, X).

Thank you.
-Andre

Andre Berger[EMAIL PROTECTED]



Re: new input layer and mouse button emulation

2001-03-27 Thread Andre Berger
* Patrice LaFlamme <[EMAIL PROTECTED]>, 20010327 22:36 +0100:
> On Mon, Feb 12, 2001 at 02:57:00AM +0100 or thereabouts, Andre Berger wrote:
> > I've updated my potato system (PB3400) to kernel 2.2.19pre17-pmac from
> > proposed updates, which uses the new input layer model. I've changed
> > mouse type and device successfully, the mouse works in X and the
> > consoles, with gpm. The only thing not solved: Mouse button emulation. I
> > used to boot with "adb_buttons=76,127" (IIRC) option in BootX, which had
> > mapped my 2nd and 3rd mouse button to spare keys. Keys have changed
> > according to xev, this wouldn't be a problem. But is there a similar
> > option for the new input layer like adb_buttons? The
> > kernel-parameters.txt document seemed not helpful.
> 
> Hi!
> 
> Check in /proc/sys/kernel/mac_hid orsomething (not home now, can't check)
> You ca activate mouse_button_emulation and determine which keycode to use
> for button 2 and 3.. Keycodes are defined in include/linux/input.h I think.
> 
> Note however that on my pb3400 I've been very unlucky with kernel-powered 
> button
> emulation (as opposed to Xpmac-powered button emulation...)
> 
> Cheers,
> Patrix.

This is what I have now and what doesn't work:

#/etc/sysctl.conf
dev.mac_hid.mouse_button2_keycode = 76
dev.mac_hid.mouse_button3_keycode = 127
dev.mac_hid.mouse_button_emulation = 1

(and rebooted; /proc/sys/dev/mac_hid/mouse* are set to these values)

Those keycodes are mapped to my keypad-enter (btn2) and the power button
(btn3) on my keyboard, on the consoles. On X, the same keys are mapped
to 84/135 (I re-checked with showkey and xev). This setup worked with
adb_buttons=76,127 with my old kernel and gpm.

I have a modem connection and don't want to d'l the kernel source. If I
have to, I'd just use ADB... But what's wrong with my setup?

Andre Berger[EMAIL PROTECTED]



new input layer and mouse button emulation

2001-03-27 Thread Andre Berger
I've updated my potato system (PB3400) to kernel 2.2.19pre17-pmac from
proposed updates, which uses the new input layer model. I've changed
mouse type and device successfully, the mouse works in X and the
consoles, with gpm. The only thing not solved: Mouse button emulation. I
used to boot with "adb_buttons=76,127" (IIRC) option in BootX, which had
mapped my 2nd and 3rd mouse button to spare keys. Keys have changed
according to xev, this wouldn't be a problem. But is there a similar
option for the new input layer like adb_buttons? The
kernel-parameters.txt document seemed not helpful.

Thanks in advance.

Andre Berger[EMAIL PROTECTED]



Re: PowerPC

2001-03-26 Thread Andre Berger
* Lorenzo De Vito <[EMAIL PROTECTED]>, 20010326 15:48 +0200:
[...]
> Anyone know journal for LinuPPC ? Perhaps can be a good idea...
> There are other mailing list on Linux or Debian PPC ?
[...]

comp.os.linux.powerpc

Andre Berger[EMAIL PROTECTED]



Re: Email client and conversion from Netscape Mail on win32

2001-03-09 Thread Andre Berger
* Colin Walters <[EMAIL PROTECTED]>, 20010309 10:25 +0100:
> Andre Berger <[EMAIL PROTECTED]> writes:
> 
> > Could you perhaps tell how to make Gnus use mbox format by default?
> > (serious question of course)
> 
> Gnus 5.8 has the "nnmbox" backend, so which I assume reads and writes
> mbox files.  

Theoretically yes. But it doesn't work with anything else but ML (here),
and I can't find examples in the manual except for that it's supposed to
work.

> Using nnml is a lot nicer though.  I hear mutt even groks
> nnml folders now.  Did you read the manual?  The node "Getting Mail"
> describes how to set things up.

MH written by Mutt isn't recognized by Gnus (here, and that's also
how I understood the manual).

> Also, there's the gnu.emacs.gnus newsgroup, as well as the
> [EMAIL PROTECTED] mailing list for help.

Thank you, I'll keep trying. I think Lisp is a pain.

Andre Berger[EMAIL PROTECTED]



Re: Email client and conversion from Netscape Mail on win32

2001-03-08 Thread Andre Berger
On 20010308 22:54 +0100, Josh Huber <[EMAIL PROTECTED]> wrote:
> >>>>> "Mike" == Mike Fedyk <[EMAIL PROTECTED]> writes:
> I've recently switched from using Mutt to Gnus, mostly because I
> started to get frustrated with the mutt config file format and the
> lack of a programming language to customize the mailer.

Could you perhaps tell how to make Gnus use mbox format by default?
(serious question of course)

Andre Berger[EMAIL PROTECTED]



Re: pb1400

2001-01-03 Thread Andre Berger
Nick Croft <[EMAIL PROTECTED]> writes:

> I recall seeing a message on the m68k list some time ago, from someone who
> got debian-powerpc running on a pb1400cs using some combination of the
> mklinux installer and the debian-powerpc base files.
> 
> Is this true? Are there any success stories? Or is my memory distored by
> wishful thinking?
> 
> Nick Croft

There was a thread on comp.os.linux.powerpc a few days ago; they say
it's possible (for the 5300, so why not for the 1400).

The thread started with

Message-ID: <[EMAIL PROTECTED]>

I'd be interested in the results too (for the 5300), but don't have
the time just now. Maybe you could drop me a line if it works or not?

-- 
Andre Berger[EMAIL PROTECTED]



Re: screen blanking different

2001-01-01 Thread Andre Berger
Michel Dänzer <[EMAIL PROTECTED]> writes:

> fblevel is for that. AFAIK it goes from 0 (off) to 15 (maximum brightness).

Isn't it 35?, or to put it this way: Is 35 dangerous (PB 3400)?

Andre



Re: exiting minicom...

2000-12-29 Thread Andre Berger
"W. Crowshaw" <[EMAIL PROTECTED]> writes:

> At 1:13 PM +0100 12/29/00, Michel Dänzer wrote:
> >Chad Albers wrote:
> >>
> >>  I'm trying to us minicom to debug a ppp connection, but I can't seem
> >>  to use the meta key inside minicom (in a console) to access its
> >>  options.  Neither escape nor CTL or ALT work?
> >
> >What about the command key (the one with the apple and the funny sign on it)?
> >
> >
> >Michel
> 
> Nope, the command key fails as well.
> --
> 
> W. Crowshaw

Strange, it works here (minicom 1.82.1, PB 3400/german keyboard,
potato). Are you sure you type in the right key sequence, e.g.
'z' and not ''?

-- 
Andre Berger[EMAIL PROTECTED]



Re: 3400 Sleep probs

2000-12-13 Thread Andre Berger
Wilhelm Fitzpatrick <[EMAIL PROTECTED]> writes:

> I'm having trouble with my 3400 waking up from sleep, causing a hang about
> 1 time in 2.  This is with a 2.2.18pre21 kernel compiled from
> linux-pmac-stable.
> 
> I had better luck with a 2.2.17pre(15?) precompiled kernel that I copped
> off a website some while ago.  I believe this was before the BenH changes
> merged in.  The problems seem to be related to bringing the IDE back up,
> and are similar to problems I had with the benh kernels a number of months
> back.
> 
> So I would like to know:  If you have a 3400 that is sleeping reliably,
> what kernel are you using?
> 
> -raf

I turned off DMA completely with 2.2.17 because of the IDE problems,
and never had any trouble with waking up again. (I haven't tested any
2.2.18* kernel so far.) I used hdparm to turn it off so far, but why
not just compile 2.2.18 without DMA support at all.

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



[OT] Netiquette [was: Re: HELP! SOS!!!]

2000-12-12 Thread Andre Berger
Sergio Brandano <[EMAIL PROTECTED]> writes:

> Michel D‰nzer wrote:
> 
> > First of all, who do you think you are???
> 
> For you, I am a user.
> 
> > Others have problems as well, some of them as severe as yours I'm sure.
> 
> You are sure? And who do you think you are for making the rest of us
> little little while you can benedict or escomunicate us from your address?
> You can keep your advises and answers for yourself, and let the rest of
> us be troubled in piece. I am in serious need here, and I ask for help.
> If you feel bothered about my asking, you can unsubscribe at any time.
> 
> Thank you,
> Sergio
> 
> > Can you boot into single user mode? E.g. with  yaboot, add 'single' after 
> > the
> > image name to do that. Then you can check the logs on what happens.
> >
> > Michel
> >
> > --
> > Earthling Michel Dänzer (MrCooper)  \  CS student and free software 
> > enthusiast
> > Debian GNU/Linux (powerpc,i386) user \   member of XFree86 and the DRI 
> > project

Please calm down you two. I think we all know how it feels to be in
serious trouble, and from this perspective, I don't understand what
part of the original question may have led into an off-topic
discussion of that kind.

Andre

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: I have to choose the best machine

2000-12-11 Thread Andre Berger
xav <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> Somebody I know have the opportunity to buy one of the following,
> which is the best ?
> 
> 7600/120
> 7600/132
> PowerBook 270C
> PowerBook 520C

> PowerBook 3400C
I have potato on this one, and there's even IrDA.

> PowerBook 5300C
MkLinux only, buggy

> PowerBook DUO 2300C
> Quadra 6100/66
> Starmax 4000/200
> 
> Thanks...
> 
> O+ xavier

Don't know about the rest...

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



cross-compilation

2000-12-10 Thread Andre Berger
As Helix Gnome dev seems long broken, I thought of using dpkg-cross to
compile for PPC on my i586. The potato version of dpkg-cross comes
with m68k configuration only. Would that be OK, or else, what would I
have to do?

Andre
-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: floppy low-level format

2000-12-06 Thread Andre Berger
John MacPhail <[EMAIL PROTECTED]> writes:

> On Wed, Dec 06, 2000 at 06:24:30AM -0900, Ethan Benson wrote:
> > do you also have a floppy drive in a powerpc machine?  if so take a
> > 1.44MB floppy you don't care about stick it in the drive and run:
> > 
> > superformat --superverify /dev/fd0
> > 
> > you can drop the superverify i suppose.  if it fails its broken (or
> > your floppy is crap) try it on a known good floppy if possible... 
> 
> [jrm]$ superformat /dev/fd0 hd
> get drive characteristics: Unknown error 515

The same here

> [jrm]$ eject /floppy
> eject: unable to open `/dev/fd0'

I know this problem. A script /usr/local/bin/ejf

#!/bin/sh
cd #why not 
sync
umount /floppy 2>/dev/null
eject /floppy 2>/dev/null

solves it for me, provided I'm a member of group floppy,
have mounted the device, and it's not in use.

Andre

> [jrm]$ dpkg -l |grep fdutils
> ii  fdutils5.3-3  Linux floppy utilities
> [jrm]$ man superformat
>
>When the  disk  is  formatted,  superformat  automatically
>invokes  mformat  in  order to put an MS-DOS filesystem on
>it. You may ignore this filesystem, if you don't need  it.
> 
> This is Potato on a beige G3 with a floppy drive.  The floppy had
> seemed okay, HFS formatted.  If it would help anyone, I would be
> willing to do more tests.  But I would appreciate advice on how to get
> around the ejection problem without rebooting.
> 
> -- 
> John (MacPhail) .. .. .. .. .. .. References: \ & (Perl, C/C++)
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: floppy low-level format

2000-12-06 Thread Andre Berger
Ethan Benson <[EMAIL PROTECTED]> writes:

> On Wed, Dec 06, 2000 at 04:20:21PM +0100, Andre Berger wrote:
> > 
> > I have superformat too. 
> 
> do you also have a floppy drive in a powerpc machine?  if so take a
> 1.44MB floppy you don't care about stick it in the drive and run:
> 
> superformat --superverify /dev/fd0
> 
> you can drop the superverify i suppose.  if it fails its broken (or
> your floppy is crap) try it on a known good floppy if possible... 
> 
> -- 
> Ethan Benson
> http://www.alaska.net/~erbenson/

I always get this "Unknown error 515"  with superformat...

Andre

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: floppy low-level format

2000-12-06 Thread Andre Berger
Ethan Benson <[EMAIL PROTECTED]> writes:

> On Wed, Dec 06, 2000 at 02:12:51PM +0100, Michael Schmitz wrote:

> > It's still broken on m68k, and I've files a bug because of that,
> > mentioning powerpc in passing. My Powerbook sure has no floppy drive
> > either. Anyone with a Powermac, a floppy drive and superformat to test? 
> 
> ok
> 
> -- 
> Ethan Benson
> http://www.alaska.net/~erbenson/

I have superformat too. 

Andre



floppy low-level format

2000-12-05 Thread Andre Berger
I haven't figure out yet how to do a low-level format on /dev/fd0 on
PPCs, can anybody help me?

My machine is a PowerBook 3400/potato/2.2.17, the floppy drive comes
as a module (hardware module of course :)).

Thank you,
Andre



Re: Searching for X11-Keymap german ...

2000-11-21 Thread Andre Berger
Michael Flaig <[EMAIL PROTECTED]> writes:

> On Mon, Nov 20, 2000 at 09:25:30PM +, Hadess wrote:
> > Michael Flaig wrote:
> > > 
> > > Hi!
> > > 
> > > I'm searching for a german X11-keymap that works fine on the Powerbook 
> > > Firewire.
> > 
> > There are 2 things that we would need to know to be able to give you a
> > proper keymap:
> > - the version of the kernel, the new input layer appeared in 2.2.17
> > (AFAIK) with some guest appearances in the previous ones.
> > - the version of X, you probably run X4
> 
> Ok ok ...
> 
> I´m running woody ... updated today ... xfree86-common is 4.01 nut the Server
> is still 3.3.6 .
> 
> > 
> > OK, so if you run a kernel > 2.2.17 and X4, you can use PC keymaps, in
> > fact you should *avoid* mac keymaps...
> 
> I´m running the default kernel of the official debian ppc potato
> 
> > 
> > > Has anybody a @ with default keymap?
> > 
> > I have the default US keymap, on a UK kbd, but that's probably not the
> > thing you wanted to hear =P
> > 
> > > I don't understand the X11 keymap concept ...
> > 
> > Each key of your keyboard corresponds a keycode, then you will map each
> > key to an "action", for example: on my kbd, 0x41, the action is
> > Caps_Lock. X (every version) also tries to grab the configuration from
> > the console, with some versions doing better than others...
> 
> this is like console keymap ... i made one for my keyboard.
> And I´ve now disabled xkb and perhaps i get the keymap work with Xmodmap
> 
> But I found no manpages to Xmodmap ...:(
 ^ 
 x
 
> > 
> > Type "xmodmap -pk | less" to see the current keytable.
> >
> 
> ok ... thanks ... :)
> 
> -- 
> Michael Flaig ... PROLinux

-- Andre



Re: still help please

2000-11-13 Thread Andre Berger
Drew Coon <[EMAIL PROTECTED]> writes:

> yes... I already tried S0... but no matter what I pick i get
> /usr/sbin/pppd:  In file /etc/ppp/peers/provider: unrecognizable option
> '/dev/modem'
> anyone know how to fix this?

rm /dev/modem
ln -s /dev/ttyS0 /dev/modem
   ^zero

Dont't forget to 'adduser $YOURSELF dip'.

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: PCMCIA-Probleme

2000-11-06 Thread Andre Berger
Paul Talacko <[EMAIL PROTECTED]> writes:

> > > Hallo,
> > > 
> > > ich versuche verzweifelt Debian 2.2 auf meinem Powerbook zu
> > > installieren. Jedesmal, wenn ich im Installationsprogramm PCMCIA
> > > konfigurieren mchte, hngt sich der Mac auf (Kernel panic: machine
> > > check rebooting in 180 seconds). Ich wei auch nicht, ob ich einen
> > > i82365 oder tcic -Controller nehmen soll und welche Einstellungen ich
> > > fr den Controller vornehmen muss
> > > 
> > > Wenn ich PCMCIA nicht konfiguriere, geschieht das gleiche beim ersten
> > > Neustart (Nur das Basissystem ist installiert)
> > > 
> > > Ich komme ber manuelles Mounten aus dem Installprogrann auf die
> > > Partition, auf welcher vorher Debian installiert wurde. Knnte also
> > > Config-Dateien ndern.
> > > 
> > > Please help!
> > > 
> > > cu Tobias

[PCMCIA installation problem: kernel panic on unknown PowerBook]

Nothing much to say if you don't even tell the PB model. Try to
install the base system from flopies or external disks. FYI, but I
doubt whether it suits your needs:

The non-standard stuff in my potato box setup (once the system was
installed), in /etc/pcmcia/config.opts:

#PB34000

include memory 0x9000-0x90ff  
include port 0x1000-0x10ff

and maybe of help,

#include port 0x800-0x8ff  #modem

-- Andre



Re: Fixing keyboard settings

2000-11-04 Thread Andre Berger
Simon Piette <[EMAIL PROTECTED]> writes:

> * Andre Berger ([EMAIL PROTECTED]) [001104 09:03]:
> > Taro Fukunaga <[EMAIL PROTECTED]> writes:

> > > How do I fix my keyboard settings if xkeycaps is broken? I can't
> > > scroll the window to select a keyboard. I have a PowerComputing
> > > keyboard and whenever I press Caps-Lock in X I get an A and an a
> > > if I depress it. I would appreciate any pointers on how to fix
> > > this.  -- Taro

> > Edit /etc/X11/Xmodmap. Make backup copy before you actually do.
> 
> Which modifications you've made? To fix this problem, I had to use a
> patch from Jerry Quinn (look in the archive).
> 
> Simon Piette

I changed a good part of my /etc/X11/Xmodmap because there was no
acceptable german keyboard for the PowerBook 3400, so this was a
general advice where to start if you want to change your key
layout. From what you say I've learned it's not the right advice to
solve this problem.

-- Andre



Re: Fixing keyboard settings

2000-11-04 Thread Andre Berger
Taro Fukunaga <[EMAIL PROTECTED]> writes:

> How do I fix my keyboard settings if xkeycaps is broken? I can't scroll the
> window to select a keyboard. I have a PowerComputing keyboard and whenever I
> press Caps-Lock in X I get an A and an a if I depress it. I would appreciate
> any pointers on how to fix this.
> 
> -- Taro

Edit /etc/X11/Xmodmap. Make backup copy before you actually do.

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: Remapping Mouse Keys

2000-10-25 Thread Andre Berger
"Andrew B. Arthur" <[EMAIL PROTECTED]> writes:

> Hi.
> 
> I'm on a PowerMac 4400/200 with an ATI Mach64 VT Internal Video, using
> atyfb, linux-pmac-devel from Sat Oct 21 (uname -a: Linux cowsandcorn
> 2.4.0-test10 #3 Sat Oct 21 09:39:08 EDT 2000 ppc unknown). At any rate,
> with the New Input Layer (and devfs also), I have to use Xpmac rev. 10
> with this, because older Xpmac revs, don't support the imps2 protocol
> provided by /dev/usbmouse (or nowdays /dev/input/mice). XFree86 3.3 and
> 4.0's fbdev driver is slow, and it appears to have (endianess?)
> problems, that leave black bloches on the screen when moving windows, or
> doing other activities that involve alot of pixel movement. XFree86
> 4.0's ati driver seems to lock up on me after a few minutes of use. 
> 
> Okay back to the problem. My MacAlly ADB 2 Button Mouse works fine with
> this setup, as left mouse gets me left click, and right mouse gives me
> right click in X (or middle click in console). My Kensington ADB Orbit
> Trackball, on the otherhand causes right click to be mapped to middle
> click in both console or X. This is fine for me in console (as I mostly
> want to middle click in the console for cut and paste). But for X, this
> behavior is just annoyning (as lots of X programs use right click). With
> previous Xpmac revs, I got around this using xmodmap -e "pointer = 1 3
> 2", but this won't work (it broken) due to changes made by Kevin
> Hendricks when porting USB support to Xpmac. 
> 
> For now I am just using my MacAlley mouse, but I would like to be able
> to use my trackball (and have right button, right click). I've taken a
> look at the kernel driver (mac_keyb.c) but I am at a miss where to
> change this. Maybe there is something I am overlooking, like in proc
> that I can change to make this hppen.
> 
> Thank You for Your Time And Effort.
> 
> Sincerly,
> 
> Andrew B. Arthur
> [EMAIL PROTECTED]

gpm can also map mouse buttons. Sysntax is -B 132, see man gpm.

HTH

-- Andre



Re: debian-powerpc: sawmill wont install

2000-10-24 Thread Andre Berger
Brendan J Simon <[EMAIL PROTECTED]> writes:

> I can't get sawmill to install on my G4 due to dependency problems.
> Has anybody worked around this and able to install sawmill from a .deb
> repository ???
> 
> Thanks,
> Brendan Simon.

I used the helix version of sawfish (as it called now) on a
PB3400/woody before the logic board died.

Add these lines to /etc/apt/sources.list:

# Helix Gnome PPC
deb http://southpole.penguinpowered.com/debian unstable main

Andre
-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: How to access Toast-ed multisession CDs?

2000-10-20 Thread Andre Berger
"Jeremiah Merkl" <[EMAIL PROTECTED]> writes:

I guess I'd better take my CDs and my MOD, and visit friends whose Macs
still work...

Thank you

-- Andre

> Just for those who have never seen a multi-session HFS disc before, when you
> stick the CD in under a Mac, it actually mounts one volume per session -- 5
> sessions = 5 CD icons appearing on the desktop when you stick it in the drive.
> You have to unmount all the icons for the disc to eject. Strange, but it 
> works.
> 
> Other than that, I can't be any more help. I don't know the specs either. :)
> 
> -JM
> 
> Michael Schmitz wrote:
> 
> > > > mount -t hfs /dev/cdrom should mount the HFS part of the CD. The command
> > > > to mount the ISO portion is left as an exercise...
> > > >
> > > Let me be more precise: I have 5 sessions, and I can mount exactly one
> > > HFS partition, and cannot find the other four sessions. fdisk shows no
> >
> > The other four are also HFS? That's probably not supported.
> >
> > > partition at all, I guess because it is not designed for CD-ROMs?
> >
> > [ISO] CD-ROMs have no partition table. The session information is in the
> > ISO (or other format) data and the kernel only uses the information on
> > the latest session (for CDs where you just add more and more files
> > incrementally) if you specify the default device for all I know.
> >
> > Quoting the source (fs/isofs/inode.c):
> >
> > static int parse_options(char *options, struct iso9660_options * popt)
> > {
> >
> > if (!strcmp(this_char,"session") && value) {
> >
> > [...]
> > char * vpnt = value;
> > unsigned int ivalue = simple_strtoul(vpnt, &vpnt, 
> > 0);
> > if(ivalue < 0 || ivalue >99) return 0;
> > popt->session=ivalue+1;
> > }
> >
> > [...]
> >
> > So there should be a mount option to specify the session to use -
> > mount -o session=0 is session 1 and so on.
> >
> > A bit further, in isofs_get_last_session():0
> >
> > [...]
> > /* If a minor device was explicitly opened, set session to the
> >  * minor number. For instance, if /dev/hdc1 is mounted, session
> >  * 1 on the CD-ROM is selected. CD_PART_MAX gives access to
> >  * a max of 64 sessions on IDE. SCSI drives must still use
> >  * the session option to mount.
> >  */
> > if ((MINOR(dev) % CD_PART_MAX) && (MAJOR(dev) != SCSI_CDROM_MAJOR))
> > session = MINOR(dev) % CD_PART_MAX;
> > [...]
> >
> > Seems like mounting /dev/hdc gives the last session, and mounting
> > /dev/hdc2 gives session 2.
> >
> > Caveat:
> >
> > * Multisession is legal only with XA disks.
> >  * A non-XA disk with more than one volume descriptor may do it right, but
> >  * usually is written in a nowhere standardized "multi-partition" manner.
> >  * Multisession uses absolute addressing (solely the first frame of the 
> > whole
> >  * track is #0), multi-partition uses relative addressing (each first frame 
> > of
> >  * each track is #0), and a track is not a session.
> >  *
> >  * A broken CDwriter software or drive firmware does not set new standards,
> >  * at least not if conflicting with the existing ones.
> >  *
> >  * [EMAIL PROTECTED]
> >
> > How does this apply to HFS? Could not find any mention of 'session' in the
> > HFS source. The HFS filesystem may not be multisession aware. Good luck
> > getting the necessary specs out of Apple or Adaptec.
> >
> > > What's the role of "the ISO portion" here?
> >
> > I thought you was talking about a hybrid HFS/ISO CD. That's the only
> > 'multisession' CD type I've tried.
> >
> > Michael



Re: How to access Toast-ed multisession CDs?

2000-10-19 Thread Andre Berger
Michael Schmitz <[EMAIL PROTECTED]> writes:

> > What's the trick to see more than one sessions on a multisession CD? I
> > created it with Toast 3.5.7 on a Mac for a Mac, but have no Mac at
> > hand (potato/PC now, with HFS support in the kernel). I would like to
> > get my Documents back... snief...
> 
> mount -t hfs /dev/cdrom should mount the HFS part of the CD. The command
> to mount the ISO portion is left as an exercise...
> 
>   Michael

Let me be more precise: I have 5 sessions, and I can mount exactly one
HFS partition, and cannot find the other four sessions. fdisk shows no
partition at all, I guess because it is not designed for CD-ROMs?
What's the role of "the ISO portion" here?

-- Andre



How to access Toast-ed multisession CDs?

2000-10-19 Thread Andre Berger
What's the trick to see more than one sessions on a multisession CD? I
created it with Toast 3.5.7 on a Mac for a Mac, but have no Mac at
hand (potato/PC now, with HFS support in the kernel). I would like to
get my Documents back... snief...

-- Andre



Re: xmodmap

2000-09-24 Thread Andre Berger
[EMAIL PROTECTED] writes:

> Hello,
> 
> I wish to use xmodmap (with the help of xkeycaps) to change the layout of my
> keyboard. I've been told there are no problems with this (on the LinuxPPC
> mailing list), but I cannot make even the slightest change! This is with
> Xpmac and with XF68_FBDev...
> 
> Am I doing something wrong? I use xkeycaps, change the layout, write the 
> .xmodmap
> file, and run xmodmap .xmodmap ...
> 
> Thanks,
> Patrix.

Copy your .xmodmap to /etc/X11/Xmodmap, the system wide default
(perhaps make a backup copy before, be sure your former .xmodmap
covers all keys). If you're using helix-gdm, edit
/etc/gdm/Init/Default: add a line 'xmodmap /etc/X11/Xmodmap', then at
least restart the Xserver. You even might or (might not) have to
reboot. 

-- Andre



Re: Debian on Apple Powerbook 5300c with a 603e

2000-09-11 Thread Andre Berger
Bill Paterson <[EMAIL PROTECTED]> writes:

> Has anyone got Debian running on the above machine? If yes, elaboration on
> workarounds, glitches, etc. would be appreciated.

No way. Only MkLinux (DR3 & Pre-R1) will currently run on the 5300 (>=
24 MB RAM), with no ext. SCSI, no PCMCIA, and of that wasn't enough,
buggy serial port support. But the system itself is said to run stable
and much faster than MacOS does. There are threads on the 5300 on
 every now and then, all with the same sad
result. Sorry for us.

-- Andre



[Fwd] Re: Keyboard Layout

2000-09-06 Thread Andre Berger
Ooops, sholud have gone to the list... Andre

--- Begin Message ---
Fabian Jakobs <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I have problems with my Keyboard-Layout under X and console. I have a G4
> (AGP) with German USB-Keyboard.
> Does anyone know where to find the Pipe-Symbol (X, console) and the @ (only
> X).

> BTW how/where do I change the keyboard layout?

Don't know about USB-keyboards; try Opt-# or Opt-+ or Opt-<.

As for the key layout in X, edit /etc/X11/Xmodmap and restart the X
server. For the consoles, make a copy of
/usr/share/keymaps/mac/mac-de2-ext.kmap.gz, unzip it, edit it, rezip
it, install it. mac-de-latin1-nodeadkeys is buggy, there were patching
instructions in the german computer magazine c't. I could send you the
result; contact me off-list. 

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany
--- End Message ---


Re: touble making Power Mac 7200 boot directly into Linux

2000-09-05 Thread Andre Berger
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> Hrm... By "older" PowerBook, you mean a "first generation" also called
> "3500" ? 

FYI: The 3500 is a 3400, org. 603ev, with a G3 CPU: the first G3
PowerBook. 

-- Andre



Re: Deb.2.2rev.0 Appletalk DDP support build-in ?

2000-09-02 Thread Andre Berger
Werner Teeling <[EMAIL PROTECTED]> writes:

> I think my kernel lacks Appletalk DDP support.

Don't "think" ;), instead try 'modconf' as root.

HTH
-- Andre



Re: IDE-problems

2000-08-06 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes:

> > I get the timeouts with both 2.2.17pre13-ben2 und
> > 2.2.17pre15-ben1 when using pmud.
> 
> (on PB 3400)
> 
> > > hda: Enabling MultiWord DMA 2
> > > hda: dma_intr: status=0x00 { }
> > > media bay 0 contains a floppy disk drive
> > > hda: Enabling MultiWord DMA 2
> 
> With 2.2.17pre15-ben1, the HDD doesn't spin up any more at
> wakeup from pmud; I can hear the CD-ROM drives spin up. 

Seems I found out why. Not a good idea to run both pmud and
noflushd... 

> The machine
> locks up at boot time every now and then (hda: lost interrupt) and
> needs a reset.

Still the same. And the mentioned 

ide_pmace: wait_for_ready, error status: 51
pmac_ide_do_setfeature disk not ready after SET_FEATURE !
hda: Failed !

still occurs sometimes.

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: IDE-problems

2000-08-06 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes:

> I get the timeouts with both 2.2.17pre13-ben2 und
> 2.2.17pre15-ben1 when using pmud.

(on PB 3400)

> > hda: Enabling MultiWord DMA 2
> > hda: dma_intr: status=0x00 { }
> > media bay 0 contains a floppy disk drive
> > hda: Enabling MultiWord DMA 2

With 2.2.17pre15-ben1, the HDD doesn't spin up any more at
wakeup from pmud; I can hear the CD-ROM drives spin up. The machine
locks up at boot time every now and then (hda: lost interrupt) and
needs a reset.

-- AB



Re: IDE-problems

2000-08-06 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes:

I get the timeouts with both 2.2.17pre13-ben2 und
2.2.17pre15-ben1 when using pmud.

> Claus <[EMAIL PROTECTED]> writes:
> 
> > now it's 2.2.17pre13-ben2
> 
> hda: Enabling MultiWord DMA 2
> hda: dma_intr: status=0x00 { }
> media bay 0 contains a floppy disk drive
> hda: Enabling MultiWord DMA 2

-- AB
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: Mouse and key board [Correction]

2000-08-05 Thread Andre Berger
I wrote:

> gpm can remap keys. 

and meant of course mouse buttons.

Andre



Re: Mouse and key board

2000-08-05 Thread Andre Berger
Cameron <[EMAIL PROTECTED]> writes:

> My mouse buttons are mixed up (3 button ps/2 logitech).
> THe right mouse button does what the middle mouse button should be doing.
> 
> Oddly enough, mouse wouldn't work unless I set the XF86Config file to look
> to the adbmouse device and BusMouse protocol in spite of the factthat it's
> in a ps/2 port... 

Is it? What's your hardware? 
BM is correct for ADB mice unless you're running a very recent kernel
with the new unified USB stuff that is supposed to replace the ADB
driver in the future. 

> Oh well, go figure. So how can I remap the mouse
> buttons.

gpm can remap keys. 
 
> Ok, now I get some weird activity from the delete key on my keyboard, it
> doesn't delete the way it's supposed to. It won't back up for delete, it
> only deletes on the space it's currently on (I hope this is making sense).

Don't know, there's no Delete key on my PB's kbd. 

Andre 



Re: IDE-problems

2000-08-02 Thread Andre Berger
Claus <[EMAIL PROTECTED]> writes:

> now it's 2.2.17pre13-ben2

hda: Enabling MultiWord DMA 2
hda: dma_intr: status=0x00 { }
media bay 0 contains a floppy disk drive
hda: Enabling MultiWord DMA 2

But no crashes with pmud so far.

Andre



Re: X Free

2000-07-29 Thread Andre Berger
Cameron <[EMAIL PROTECTED]> writes:

> Woohoo! Finally got X up and helix/gnome is tolerable with a single buton
> mouse (I'm getting a 3 button ps2 anyway).

Congratulations! You know that you can map mouse buttons to keys, do
you? You will have to use kernel arguments like adbuttons=103,108 or
so. To find out about keycodes on the consoles, use "showkey".

> The backspace key (delete too) doesn't work in X. Now what needs fixing?
> Does anyone know? Backspace works fine in the console.

Modify /etc/X11/Xmodmap. The corresponding line for my German keyboard
is:
keycode 0x3B =  BackSpace
To find out what keycodes your keys generate on X, use "xev". 

AB
-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: IDE-problems

2000-07-28 Thread Andre Berger
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> Thanks. Now, I'd like if you could try to get more precise values because
> those I sent you are really too high.
> 
Let me first say that
>> In function dma_bits_to_command(), comment out the MDMA 2 case
gave me Multiword DMA 1 instead of 2, but didn't have any other effect.

> Can you try changing only one of them, and then try decreasing them until
> you find the "breaking" point ?

wait_for_ready 5000 / IDE_WAKEUP_DELAY_MS 5000 is too short. So the
truth should lie somewhere in the middle.

I had to notice that even with wait_for_ready 5000 /
IDE_WAKEUP_DELAY_MS 1, which is fine at bootup, the HDD won't spin
up at all (which locks the machine), whereas the CD-ROM does. I have
purged pmud for now. 

> Also, to get rid of the interrupt, can you try changing
> pmac_ide_do_setfeature() this way: (hand-made diff)

I'll give it a try, but as it takes almost an hour to compile
a kernel here, it may take some time.

Andre



Re: IDE-problems

2000-07-27 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes:

>  - First, try increasing the wait_for_ready to a larger value
> line 597:
> int timeout = 5000 (was 2000)
>  - Try increasing the IDE_WAKEUP_DELAY_MS definition to a much larger
> > value (1 ?)
> line 102:
> #define IDE_WAKEUP_DELAY_MS 1 (was 1500)

Those two measures seem to have solved the problem for now. I just get
the following message when waking the machine up from pmud:

media bay 0 contains a CD-ROM drive
media-bay 0 is ide 1
hda: Enabling MultiWord DMA 2
hdc: Enabling MultiWord DMA 2
ide1: unexpected interrupt, status=0x00, count=1

which don't seem problematic, do they?

Andre



Re: IDE-problems

2000-07-26 Thread Andre Berger
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> >I have recompiled my 2.2.17pre11 kernel with int timeout=5000; nothing
> >has changed (PB 3400):
> Sounds like a bogus hard disk, it's returning an error status from the
> SET_FEATURE command while advertising some DMA support. I'll double check
> my code, but at first, I think the drive is wrong. I suggest you edit
> drivers/block/ide_pmac.c, and try several things:
> 
>  - First, try increasing the wait_for_ready to a larger value

line 597:
int timeout = 5000 (was 2000)

>  - Try increasing the IDE_WAKEUP_DELAY_MS definition to a much larger
> value (1 ?)

line 102:
#define IDE_WAKEUP_DELAY_MS 1 (was 1500)

>  - In function dma_bits_to_command(), comment out the MDMA 2 case (should
> look like this:
> 
> static __inline__ unsigned char
> dma_bits_to_command(unsigned char bits)
> {
> /*
>   if(bits & 0x04)
>   return IDE_DMA2_ENABLE;
> */
>   if(bits & 0x02)
>   return IDE_DMA1_ENABLE;
>   return IDE_DMA0_ENABLE;
> }

OK

> And finally, you can try compiling without the "automatic" enable of DMA
> in the config option but this will give you a much slower hard disk. I
> would prefer if you could first test the previous stuffs so it helps me
> figuring out what's wrong.

I'll try this if nothing else works. Let me check the new kernel first.

Andre



Re: IDE-problems

2000-07-26 Thread Andre Berger
Claus <[EMAIL PROTECTED]> writes:

> drivers/block/ide-pmac.c   line 597
> 
> wait_for_ready(ide_drive_t *drive)
> {
>   /* Timeout bumped for some powerbooks */
>   int timeout = 2000;
>   byte stat;

I have recompiled my 2.2.17pre11 kernel with int timeout=5000; nothing
has changed (PB 3400):

ide0 at 0x102-0x1020007,0x1020160 on irq 13
ide1 at 0x1021000-0x1021007,0x1021160 on irq 14
hda: Enabling MultiWord DMA 2
hda: IBM-DMCA-21440, 1378MB w/96kB Cache, CHS=2800/16/63, DMA
hdc: Enabling MultiWord DMA 2
hdc: ATAPI 8X CD-ROM drive, 256kB Cache
Uniform CD-ROM driver Revision: 3.11
fd0: SWIM3 floppy controller in media bay
scsi0 : MESH
scsi : 1 host.
scsi : detected total.
Partition check:
 hda: hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9 hda10 hda11
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 92k init 32k prep
Adding Swap: 89492k swap-space (priority -1)
hda: Enabling MultiWord DMA 2
ide_pmace: wait_for_ready, error status: 51
pmac_ide_do_setfeature disk not ready after SET_FEATURE !
hda: Failed !
hda: timeout waiting for DMA
hda: irq timeout: status=0x00 { }
VFS: Disk change detected on device ide1(22,0)
hdc: Enabling MultiWord DMA 2

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: Yow! No X mouse with 2.2.17

2000-07-25 Thread Andre Berger
[EMAIL PROTECTED] (Adam Sjøgren) writes:

> On Tue, 25 Jul 2000 15:46:07 -0700 (PDT), Wilhelm Fitzpatrick wrote:
> 
> > It's nae gud laddie!  Disabled gpm, restarted X, same difference ->
> > mouse doesn't move
> 
> You may want to read the section "Test kernels" on Benh's page:
>  http://ppclinux.apple.com/~benh/ >

Good idea, but doesnt't work. I compiled ADB support into my own
2.2.17pre11 kernel, and everything's fine again.

Andre
-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: Debian on 7200 -- Success!

2000-07-25 Thread Andre Berger
Werner Teeling <[EMAIL PROTECTED]> writes:

> Here my 2 cents :
> 
> System 7.5.3 can be found here :

Sorry I didn't read the whole the thread, but the following
information may be useful. If you just want BootX, d'l the 8.1 rescue
floppy and use its System Folder on your HDD. Remove all pictures in
its resource via ResEdit. 

-- 
Andre



Re: IDE-problems

2000-07-25 Thread Andre Berger
Michael Schmitz <[EMAIL PROTECTED]> writes:

> New hypothesis: generic too short timeout - please increase timeout to
> 5000 in wait_for_ready. 
> 
>   Michael

Where could I increase that timeout?

-- 
Andre



Re: IDE-problems

2000-07-25 Thread Andre Berger
Michael Schmitz <[EMAIL PROTECTED]> writes:

> You could try the following to narrow down the problem further:
> 
> - omit the -p in the wakeup hdparm command, to make sure we're not running
> into a problem with PIO mode autotune here (the kernel option is kind of
> defeated by that option for all I can see).
> 
> - add a -x34 after the -d1 in the wakeup command (see hdparm man page).
> 
> - try the sleep and wakeup hdparm commands without actually putting the
> machine to sleep, both with and without forcing the disk to stand by or
> power down  immediately. The problem might just be too short a timeout for
> the wakeup, so the whole set of commands should succeed without standby,
> and fail with standby. 

Well there seems to be a multiword DMA 2 problem. All -d1... commands
on /dev/hda result in the orig. error; -d0 solves the problem. Note the
problem with /dev/hdc, which was not set to -d0 in /etc/power/pwrctl.

[EMAIL PROTECTED] ~]# dmesg
[snip]
Registered ide 1 for media bay 0
hda: IBM-DMCA-21440, ATA DISK drive
hdc: CD-ROMFFREDDIE+, ATAPI CDROM drive
ide0 at 0x102-0x1020007,0x1020160 on irq 13
ide1 at 0x1021000-0x1021007,0x1021160 on irq 14
hda: Enabling MultiWord DMA 2
hda: IBM-DMCA-21440, 1378MB w/96kB Cache, CHS=2800/16/63, DMA
hdc: Enabling MultiWord DMA 2
hdc: ATAPI 8X CD-ROM drive, 256kB Cache
Uniform CD-ROM driver Revision: 3.11
fd0: SWIM3 floppy controller in media bay
[snip]
Adding Swap: 89492k swap-space (priority -1)
VFS: Disk change detected on device ide1(22,0)
hdc: Enabling MultiWord DMA 2
media bay 0 contains a CD-ROM drive
media-bay 0 is ide 1
hdc: Enabling MultiWord DMA 2
ide1: unexpected interrupt, status=0x00, count=1


Andre



Re: IDE-problems

2000-07-25 Thread Andre Berger
Michael Schmitz <[EMAIL PROTECTED]> writes:

> > > Your error message looks like the disk doesn't like one of the feature set
> > > commands the kernel sends it. I'll have to look at the IDE driver to see
> > > if that's the DMA setting or some other drive command. Did you try
> > > hda=noautotune, and does this happen with all kernel versions?
> > 
> > As raf mentioned in the other reply to my org. posting, this happens
> > with kernel versions 2.2.15-2.2.17, but I think I sometimes had them
> > with 2.2.14 too, yet much less often. And it happens both with and
> > without hda=autotune.
> 
> I've had a look at the code and the setfeature command in fact is the
> multiword DMA enable. 
> 
> You could try the following to narrow down the problem further:
> 
> - omit the -p in the wakeup hdparm command, to make sure we're not running
> into a problem with PIO mode autotune here (the kernel option is kind of
> defeated by that option for all I can see).

Sorry, which one is the wakeup command? I have removed every -p from
the PB3400 section I could find for now.

> - add a -x34 after the -d1 in the wakeup command (see hdparm man
page).

It's actually -X34 according to the man page.

I'll (hopefully) report success with the new settings. 

BTW: Can I also turn off the backlight in order to save energy?

Andre




Re: IDE-problems

2000-07-25 Thread Andre Berger
Michael Schmitz <[EMAIL PROTECTED]> writes:

> > hda: Enabling MultiWord DMA 2
> > ide_pmace: wait_for_ready, error status: 51
> > pmac_ide_do_setfeature disk not ready after SET_FEATURE !
> > hda: dma_intr: status=0x00 { }
> > hda: Failed !
> > 
> > I have an 'alien'ized pmud 0.6.1 installed and its script
> 
> You can install the pmu 0.6 deb from unstable. It doesn't make assumptions
> about config files found in RH locations. Just a s(n)ide note. 

thanks, I'll purge and re-install.

> > /etc/power/pwrctrl mentions fiddling with DMA on the PB 3400:
> 
> That's just turning off DMA in the IDE chipset (to keep from running
> into cache trouble later). 
> Your error message looks like the disk doesn't like one of the feature set
> commands the kernel sends it. I'll have to look at the IDE driver to see
> if that's the DMA setting or some other drive command. Did you try
> hda=noautotune, and does this happen with all kernel versions?

As raf mentioned in the other reply to my org. posting, this happens
with kernel versions 2.2.15-2.2.17, but I think I sometimes had them
with 2.2.14 too, yet much less often. And it happens both with and
without hda=autotune.

Andre



IDE-problems

2000-07-25 Thread Andre Berger
I get the follpwing message every now and then on my potato box, a 
PowerBook 3400 (custom 2.2.17pre11, IDE settings not changed from pmac
standard), or even a complete lockup at boot time which forces me to
press the reset btn, and has already resulted in data loss(t+found): 

hda: Enabling MultiWord DMA 2
ide_pmace: wait_for_ready, error status: 51
pmac_ide_do_setfeature disk not ready after SET_FEATURE !
hda: dma_intr: status=0x00 { }
hda: Failed !

I have an 'alien'ized pmud 0.6.1 installed and its script
/etc/power/pwrctrl mentions fiddling with DMA on the PB 3400:

# -
# On the 3400, for minimum power, we put the CPU into nap mode
# (rather than doze mode) when it is idle.  This reduces power
# consumption but means that DMA is no longer cache coherent.
# Therefore we have to disable DMA, including the ethernet.
# We also turn the ethernet off during sleep.
# -

function pwrctl_3400() 
{
case "$1" in
minimum)
ifconfig eth0 down
hdparm -d0 -S 12 /dev/hda
hdparm -d0 /dev/hdc
echo 1 >/proc/sys/kernel/powersave-nap
;;
medium)
echo 0 >/proc/sys/kernel/powersave-nap
hdparm -d1 -p -S 12 /dev/hda
hdparm -d1 /dev/hdc
ifconfig eth0 up
;;
maximum)
echo 0 >/proc/sys/kernel/powersave-nap
case "$2" in
ac)
# on mains, do not spin down
hdparm -d1 -p -S 0 /dev/hda
;;
*)
# on battery, set disk to spin down after 5 minute
hdparm -d1 -p -S 60 /dev/hda
;;
esac
hdparm -d1 /dev/hdc
ifconfig eth0 up
;;
warning)
do_warn
;;
sleep)
ifconfig eth0 down
;;
wakeup)
xrefresh 2> /dev/null
ifconfig eth0 up
;;
*)
$logger -p daemon.error -t pwrctl "$0: invalid arg $1"
;;
esac
}


Please help me to find out if it's a hardware problem. BTW I get the
same error msgs with the stock <= 2.2.17 kernels.

-- 
Andre



pmud and backlight

2000-07-24 Thread Andre Berger
I wonder if it's possible to turn off the backlight on the PowerBook
3400, running pmud 0.6.1 and Xpmac, as part of the energy saving
measures. 

Andre



Re: unzip

2000-07-06 Thread Andre Berger
Josh <[EMAIL PROTECTED]> writes:

> "C.M. Connelly" wrote:
> 
> > unzip is available:
> 
> OK, I got unzip.  The program I downloaded, after unzipping is now:
> 
> program.exe
> 
> I chmod'd it so its executable.  I tried running it (by typing its name) and 
> I was told that I
> can't run binaries.  Is there something else I have to do to the program to 
> run it?
> 
> Josh.

You will need a DOS or Windows-emulator (dosemu, wine, VMWare) in order to
use .exe or .com files; they are no Linux apps and thus not just
executable. 

Andre



Re: unzip

2000-07-06 Thread Andre Berger
Oops I didn't realize this thread is on debian-powerpc. Most PC
emulators won't wotk on PPC; experiences with VMWare on PPC anyone?

Andre



Re: Mouse & Keyboard settings on Debian for PowerPC

2000-06-28 Thread Andre Berger
Thomas Powell <[EMAIL PROTECTED]> writes:

> Andre, 
> With my setup, just pressing the command key is equivalent to depressing
> the second button of the mouse - no mouse click required. Very few, if
> any, X apps that I use map anything to the command key, whereas many use
> control and option. You can pass the keycode for any key you wish to the
> kernel and emulate this behaviour.

Well, (X)emacs depends on the Modifier key. One could use ESC instead, but
this doens't seem a real alternative (for me). 

Option-Click works as the middle button here; but is there really no way
to use Command-Click as button3?

Andre



Re: Mouse & Keyboard settings on Debian for PowerPC

2000-06-28 Thread Andre Berger
Thomas Powell <[EMAIL PROTECTED]> writes:

> to get your keymap working, uncomment the lines under powermac in
> /etc/X11/XModmap and add "exec xmodmap /etc/X11/Xmodmap &" to your
> .xinitrc file. I emulate a three button mouse by passing
> "adb_buttons=103,55" to the kernel at boot (via quik or BootX) which
> uses the command key as button two and F11 as button three. You can
> modify these values to suit your needs. Note: This is using the FBDev
> xserver, XPmac is different, and can be changed on the command line, but
> I don't remember the particulars.
> 
> Tom

Do I get you right: You're using the command key as your right button?
How, by holding it and klicking the mouse, or is the command key
always mapped to button 3 now?

Andre



Re: Xpmac.deb

2000-06-26 Thread Andre Berger
I have both Xpmac and gpm. Here are the relevant settings:
(Note I have to use different keycodes to use F9 as middle- and F10 as
right button -- YMMV).

Kernel arguments in BootX:
adbuttons=101,109

/etc/gdm/gdm.conf (only the relevant section):
[servers]
0=/usr/bin/X11/X vt7 -depth 16 -middlekey 109 -rightkey 117 -nooptionmouse 
-once dpms r -f 0 +kb

#  /etc/gpm.conf - configuration file for gpm(1)
device=/dev/adbmouse
responsiveness=
repeat_type=
type=bm
append="-g2 -l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""

(/etc/gpm-root.conf out of the box)

[EMAIL PROTECTED] ~]$ ls -la /dev/adbmouse 
crw-rw1 root root  10,  10 Apr 10 04:13 /dev/adbmouse
[EMAIL PROTECTED] ~]$ ls -la /dev/mouse  
lrwxrwxrwx1 root root8 Jun  1 11:52 /dev/mouse -> adbmouse
[EMAIL PROTECTED] ~]$ ls -la /dev/gpmctl   
srwxrwxrwx1 root root0 Jun 26 01:57 /dev/gpmctl

Selected text (give an extra tip on the touchpad if you use it as the
button) can also be pasted with option-Trackpad; this
won't work if you switch from X to console or vice versa, and may
according to a security setting (see man gpm), not work between
different consoles either. 

HTH
Andre


pohl <[EMAIL PROTECTED]> writes:

> Today's thread on Xpmac spurred me to resume my efforts to get
> it running.  It turned out to be very easy after all, with one
> exception:  in the debian/x86 universe, I was never able to get
> mouse support under X unless "gpm" was running, but under Xpmac
> the exact opposite was the case: my mouse would only work after
> executing "/etc/init.d/gpm stop".
> 
> Now that it's running, I have a configuration question:  I'm used to
> tweaking XF86Config to get the resolution/bit-depth that I want, but
> Xpmac operates on some magic principles that I don't understand.  How
> do I tell it these configuration values?  Are there any arbitrary
> limitations that I need to know about?
> 
> G4 w/ Rage128Pro(ATI)
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2ndRequest-XF86ConfigForPowerbook(Lombard)

2000-06-25 Thread Andre Berger
Don't know anything about newer PBs; on my 3400, I have switched to
Xpmac which doesn't need an XF86Config but is configured by command
line arguments. You would have to get it (probably from LinuxPPC,
sorry I've lost the URL -- anyone?), then alien the rpm.

I've changed the relevant section of /etc/X11/gdm/gdm.conf:

[servers]
0=/usr/bin/X11/X vt7 -depth 16 -middlekey 109 -rightkey 117 \
-nooptionmouse -once dpms r -f 0 +kb

which is of course just an example. You can add graphic chip specific
options too.

-fix4mbprocess 4MB boundary for Matrox MGA2x64
-tt128 enforce TwinTurbo128 acceleration without video driver
-ct6555enforce C&T 6555x acceleration without video driver
-mach64enforce Mach64 acceleration without video driver

HTH
Andre


Tom <[EMAIL PROTECTED]> writes:

> Anyone have potato running on a G3Powerbook (Lombard"gold")?
> 
> I'm not sure if the XF86Config file is my problem or I'm passing incorrect
> kernel arguments to BOOTX.
> 
> My BOOTX arguments
>   video=atyfb:vmode:14,cmode:32mclk:90 hda=autotune
> 
> And the response to startx
> 
> (**) FBDev:  Using default frame buffer video mode
> (--) FBDev:  Frame buffer device: )Ffb ATY,264LTP
> (--) FBDev:  Video memory: 3072K @ 0x81801000
> (--) FBDev:  MMIO regs: 0K 2 (nil)
> (--) FBDev:  Type 0 type_auyx 0 bits_per_pixel 32
> (--) FBDev:  Hardware accelerator:  None
> (--) FBDev:  No driver support for hardware acceleraton
> bpp=32, depth = 32, BitsPerRBG =8
> (--) FBDev:  Using cfb32 driver
> 
> waiting for X server to shut down Caught signal 11.
> 
> Server aborting ...
> 
> 
> thanks for any help
> 
> --
> tom   | "When we are born we cry that we have
> [EMAIL PROTECTED] |  come to this great stage of fools!"
>   |  W. Shakespeare
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apache

2000-06-22 Thread Andre Berger
Sorry to follow-up my own post, I forgot to say that if you use
/etc/init.d/network, you will have to execute this script in order to
get a network... Better change /etc/network/interfaces.

Andre Berger <[EMAIL PROTECTED]> writes:

> Be sure the loopback is enabled.
> 
> Either put the lines
>   #! /bin/sh
>   ifconfig lo 127.0.0.1
> into /etc/init.d/network (the pre-2.2 style)
> 
> or the make sure the line
>   iface lo inet loopback
> is not commented out in /etc/network/interfaces.
> 
> 
> /etc/hosts should contain:
>   127.0.0.1   localhost   yourMachine.domain.com
>   xxx.xxx.xxx.xxx   yourMachine.domain.com   yourMachine
> You can add
>   yyy.yyy.yyy.yyy   anotherMachine.another.dom   anotherMachine
> and can 'ssh anotherMachine' as shortcut to 'ssh
> anotherMachine.another.dom' etc.
> 
> /etc/hostname would be:
>   yourMachine
> 
> 
> Restart the machine once the settings are correct.
> 
> Andre
> 
> 
> Joshua Holland <[EMAIL PROTECTED]> writes:
> 
> > [1  ]
> > I'm trying to learn apache.  When I run it I get
> > 'Apache: Cannot determine local hostname'
> > Does the hostname have to be set up with my service provider or something?
> > I set the ServerName directive to my hostname.domain.com (hostname is 
> > what's in my /etc/hostname file, and I have a domain name set up).
> > Are there certain criteria for what the hostname in /etc/hostname can be?
> > And what is /etc/hosts?
> > Help please.
> > 
> > Thank you.
> > [2  ]



Re: apache

2000-06-22 Thread Andre Berger
Be sure the loopback is enabled.

Either put the lines
#! /bin/sh
ifconfig lo 127.0.0.1
into /etc/init.d/network (the pre-2.2 style)

or the make sure the line
iface lo inet loopback
is not commented out in /etc/network/interfaces.


/etc/hosts should contain:
127.0.0.1   localhost   yourMachine.domain.com
xxx.xxx.xxx.xxx   yourMachine.domain.com   yourMachine
You can add
yyy.yyy.yyy.yyy   anotherMachine.another.dom   anotherMachine
and can 'ssh anotherMachine' as shortcut to 'ssh
anotherMachine.another.dom' etc.

/etc/hostname would be:
yourMachine


Restart the machine once the settings are correct.

Andre


Joshua Holland <[EMAIL PROTECTED]> writes:

> [1  ]
> I'm trying to learn apache.  When I run it I get
> 'Apache: Cannot determine local hostname'
> Does the hostname have to be set up with my service provider or something?
> I set the ServerName directive to my hostname.domain.com (hostname is 
> what's in my /etc/hostname file, and I have a domain name set up).
> Are there certain criteria for what the hostname in /etc/hostname can be?
> And what is /etc/hosts?
> Help please.
> 
> Thank you.
> [2  ]



Re: compilation

2000-06-21 Thread Andre Berger
Daniel Jacobowitz <[EMAIL PROTECTED]> writes:

> On Wed, Jun 21, 2000 at 11:45:39AM +0200, Andre Berger wrote:
> > I'm still trying in vain to compile a kernel that would boot my PB
> > 3400 (potato)

> Nope.  Copy a config (probably pmac) from
> /usr/src/kernel-patches/powerpc.

> # PATCH_THE_KERNEL=yes make-kpkg --revision=PB.1.0 kernel_image

This made it!

> There's a pcmcia-modules-2.2.15-pmac package, that should match the
> kernels currently in the archive...

Yes. But the current debs -- as well as my own files!!! 
kernel-image-2.2.16pre4_PB.1.0_powerpc.deb 
pcmcia-modules-2.2.16pre4_3.1.14-1+PB.1.0_powerpc.deb
-- give me a kernel panic as soon as I insert my Network card, a LevelOne
FPC-0102TX 10/100Mbps Fast Ethernet PC Card (FPC-0101TX is listed as
inofficially compatible). 

Andre



compilation

2000-06-21 Thread Andre Berger
I'm still trying in vain to compile a kernel that would boot my PB
3400 (potato), recent versions of
kernel-patch-2.2.15-powerpc,
kernel-source-2.2.15 

Here's my /etc/kernel-pkg.conf:
maintainer := Andre Berger
email := [EMAIL PROTECTED]
priority := Low
patch_the_kernel := YES
image_in_boot := YES

This is /etc/kernel-img.conf:
Do_Symlinks = 

I did 
# make menuconfig
and used the default settings which should work, shouldn't they.
# make-kpkg clean
# make-kpkg --revision=PB.1.0 kernel_image
and this produced a kernel image which I installed via dpkg. I copied
/boot/vmlinux-2.2.15 to my Mac-partition and tried to boot it via
BootX. But the kernel gives me a machine check error (mm or mmu
problem).

What's wrong???

BTW The only reason why I want to compile this kernel is
PCMCIA. Perhaps someone would just send me the modules (and pcmcia-cs) I
would need with kernel-image-2.2.15?

Sorry for bothering you, but I have compiled about a dozen kernels
with different configurations and never got any of these to boot.

Andre



kernel compilation for pcmcia

2000-06-16 Thread Andre Berger
I would like to build my own kernel with corresponding PCMCIA modules
on my PB 3400/potato. I have built a few "easy" kernels on PCs, but PPC seems
to be different (has to be patched, hasn't it?). Could someone please
give me some step-by-step-instructions (what to download, what to do
with it) or point me to documentation?

I have tried to compile a kernel on the PB a few times,
# PATCH_THE_KERNEL=yes
# make_kpkg -revision=PB.1.0 kernel_image

but the resulting image wasn't bootable (BootX), though the machine
type etc. appeared to be correct.

Sorry I'm at work here and can't tell you about the version I tried it
with at home right now.

Andre



Re: X Trouble

2000-06-16 Thread Andre Berger
Sorry to followup my own post; I made a mistake. F9/F10 is really
101/109 on the console resp. 109/117 on X here.

Andre Berger <[EMAIL PROTECTED]> writes:

> It should work on (left) option 2/3 (not option F2/F3). I had a
> problem using different keys. Though I had mouse button emulation on
> the consoles via BootX arguments and using gpm, on F9/F10 (103,108), the same
> buttons didn't work with X. I solved this using xev (apt-get install
> xcontrib); the X-keycodes are different from the console codes here
> (F9/F10 is 109,117). 



Re: X Trouble

2000-06-15 Thread Andre Berger
Michel Dänzer <[EMAIL PROTECTED]> writes:

> Andre Berger wrote:
> > 
> > Edwin Rudolph <[EMAIL PROTECTED]> writes:
> > 
> > > I just installed potato on my PowerBook and am having some trouble with
> > > getting the X server to work right.  I first tried to fire up X with the
> > > default FBDev server, and that didn't work at all.
> 
> What was the problem?

(It was Edwin's problem.)

> > > Another thing is the mouse button emulation--doesn't work at all.
> > 
> > It should work on (left) option 2/3 (not option F2/F3). I had a
> > problem using different keys. Though I had mouse button emulation on
> > the consoles via BootX arguments and using gpm, on F9/F10 (103,108), the
> > same buttons didn't work with X.
> 
> This works with an XFree86 server.

Yes, here too.
I switched to Xpmac because xserver-fbdev used to crash
(because it was able to handle screensaving/-blanking correctly). I
use a german keyboard, maybe that's the cause.

> > >Other times, the mouse button doesn't do anything--nothing
> > > will happen when I click the button. (All of this is of course w/Xpmac).
> > 
> > May be window manager related. Sawmill is sometimes kinda sluggish;
> > flwm is not.
> 
> Huh??? I've never had any problem with saw{mill,fish}.

Pismo is just faster, I bet.

Andre



Re: X Trouble

2000-06-15 Thread Andre Berger
Edwin Rudolph <[EMAIL PROTECTED]> writes:

> I just installed potato on my PowerBook and am having some trouble with
> getting the X server to work right.  I first tried to fire up X with the
> default FBDev server, and that didn't work at all.  The only way I could
> get X going was to use the Xpmac server from LinuxPPC.  Moreover, if I
> left the video device box unchecked in BootX, I get 8 bit mode, if I check
> it, I can get 32 bit mode.  

Have you tried the relevant Xpmac options?

> Another thing is the mouse button emulation--doesn't work at all.  

It should work on (left) option 2/3 (not option F2/F3). I had a
problem using different keys. Though I had mouse button emulation on
the consoles via BootX arguments and using gpm, on F9/F10 (103,108), the same
buttons didn't work with X. I solved this using xev (apt-get install
xcontrib); the X-keycodes are different from the console codes here
(F9/F10 is 109,117). 

> Even
> stranger is that sometimes it seems like the buttons are being pressed
> "magically"--as if the computer thought a button was being held down when
> it wasn't.  

A friend of mine who was new to PBs had this with MacOS. It turned out
he sometimes touched the trackpad with his palm, which was interpreted
as a single klick or made the mouse jump around.

>Other times, the mouse button doesn't do anything--nothing
> will happen when I click the button. (All of this is of course w/Xpmac).

May be window manager related. Sawmill is sometimes kinda sluggish;
flwm is not.

> BTW, this is (I think) the Wallstreet PB, Mach64 card.

FYI, PB 3400

> Any ideas would be appreciated.
> Thanks :)
> 
> --
> Edwin Rudolph
> [EMAIL PROTECTED]


Good luck
Andre



Re: Why yaboot is NOT for oldworld macs, Oldworld owners please read! (was Re: StarMax and yaboot...)

2000-06-08 Thread Andre Berger
Chris Baker <[EMAIL PROTECTED]> writes:

> Andre Berger <[EMAIL PROTECTED]> writes:
> 
> > [snip..]
> > 
> > Ethan Benson <[EMAIL PROTECTED]> writes:
> > 
> > > yes you need a COMPLETE *REAL* 4MB Finder. 
> > 
> > I have removed the "This is a Emergency Boot Floppy System only" alert box 
> > from
> > a MacOS 8.1 Emergency floppy system folder and added the BootX 1.2.2
> > Extension plus a kernel image. The whole thing is around 4mb and boots
> > quite fast.
> 
> How did you do this?  Just open it in resedit and delete the resource?

Yes, exactly. BTW deleting the MacsOS logo would give some extra
speed. I did ages ago this because I wanted to use a startup RAM disk on my 
PowerBook, which was HFS+ formatted. If you want to use a printer with this
crippled system (on MacOS), you have to copy and paste the appropriate
and set up ressources (Printer chosen in the Chooser) from another
system into the minisys (unless you're a programmer) and add the
corresponding printer extension to the Extensions folder.

> This is quite a good fallback for oldworlder's having trouble with OF
> booting.

Like me, though you really great people on this list did your very best!

> Too bad it's not free, otherwise I'd ask you to post it :-(

Open Source clearly has its advantages.

Good Luck,
Andre



Re: Why yaboot is NOT for oldworld macs, Oldworld owners please read! (was Re: StarMax and yaboot...)

2000-06-07 Thread Andre Berger
[snip..]

Ethan Benson <[EMAIL PROTECTED]> writes:

> yes you need a COMPLETE *REAL* 4MB Finder. 

I have removed the "This is a Emergency Boot Floppy System only" alert box from
a MacOS 8.1 Emergency floppy system folder and added the BootX 1.2.2
Extension plus a kernel image. The whole thing is around 4mb and boots
quite fast.

Andre



Re: xemacs21-nomule broken?

2000-05-31 Thread Andre Berger
yesterday; today the missing packages have arrived. I had the same
problem with 21.1.9 IIRC; the xemacs21-bin and xemacs21-nomule debs
arrived one day later than the rest. Annoying.


Ethan Benson <[EMAIL PROTECTED]> writes:


> [1  ]
> On Wed, May 31, 2000 at 09:09:17AM +0200, Andre Berger wrote:
> > After apt-get upgrade (both in potato and woody), xemacs21-nomule
> > should have been updated to 21.1.10. But it doesn't work and forced me
> > to manually reinstall 21.1.8. Any idea what's wrong?
> 
> did you do this today?  yesterday i had parts of xemacs upgraded but
> not all of it, which borked the upgrade, today the rest of the
> packages were uploaded and the upgrade finished correctly.
> 
> [EMAIL PROTECTED] eb]$ dpkg -l | grep xemacs
> ii  xemacs21   21.1.10-1  Editor and kitchen 
> sink
> ii  xemacs21-basesupport   1999.12.15-1   Editor and kitchen 
> sink -- elisp support files
> ii  xemacs21-bin   21.1.10-1  Editor and kitchen 
> sink -- support binaries
> ii  xemacs21-nomule21.1.10-1  Editor and kitchen 
> sink -- Non-mule binary
> ii  xemacs21-support   21.1.10-1  Editor and kitchen 
> sink -- architecture independent support files
> ii  xemacs21-supportel 21.1.10-1  Editor and kitchen 
> sink -- non-required library files
> [EMAIL PROTECTED] eb]$
> 
> and xemacs seems to work ok (in the console anyway, i don't use X on
> powerpc)
> 
> -- 
> Ethan Benson
> http://www.alaska.net/~erbenson/
> [2  ]



Re: Resizing Partitions

2000-05-31 Thread Andre Berger
The "really clean" solution without any Apple stuff has convinced
me. Could you perhaps give an example how to use cpio to backup my
ext2-partition, the usage seems quite complicated to me...

And, which tool did you use for partitioning, mac-fdisk? 
 
Andre

Ethan Benson <[EMAIL PROTECTED]> writes:

> On Wed, May 31, 2000 at 10:52:33AM +0200, Andre Berger wrote:
> > Is there a way to change the partition scheme without data loss or
> > re-formatting? I have a PowerBook 3400/potato. My partition scheme is: 
> 
> im not a big fan of partition resizing, you really need to make a
> backup anyway becuase if anything goes wrong well...
> 
> > /dev/hda
> > #type namelength   base( 
> > size )  system
> > /dev/hda1 Apple_partition_map Apple   63 @ 1   ( 
> > 31.5k)  Partition map
> > /dev/hda2  Apple_Driver43 Macintosh   54 @ 64  ( 
> > 27.0k)  Driver 4.3
> > /dev/hda3  Apple_Driver43 Macintosh   74 @ 118 ( 
> > 37.0k)  Driver 4.3
> > /dev/hda4Apple_Driver_ATA Macintosh   54 @ 192 ( 
> > 27.0k)  Unknown
> > /dev/hda5Apple_Driver_ATA Macintosh   74 @ 246 ( 
> > 37.0k)  Unknown
> > /dev/hda6   Apple_Patches Patch Partition512 @ 320 
> > (256.0k)  Unknown
> > /dev/hda7 Apple_UNIX_SVR2 /  2137464 @ 832 (  
> > 1.0G)  Linux native
> > /dev/hda8 Apple_UNIX_SVR2 swap163840 @ 2138296 ( 
> > 80.0M)  Linux swap
> > /dev/hda9   Apple_HFS untitled 3  511973 @ 2302136 
> > (250.0M)  HFS
> > /dev/hda10 Apple_Free Extra 8291 @ 2814109 (  
> > 4.0M)  Free space
> > 
> [snip fdisk crap]
> > 
> > I would like to grow my ext2 /dev/hda7 at the expense of the mac
> > partition /dev/hda9 (for which 50mb should be enough). Plan B: If possible, 
> > I
> > would also like to add an Apple_Bootstrap partition for yaboot.
> 
> are you planning on deleting macos permanently?  or reinstalling it in
> a smaller partition?  i am going to assume deletion as 250MB is
> already barly enough space for macos. 
> 
> i would say its possible, but you have to do it carefully and while
> quite sober ;-)
> 
> first don't make the mistake of changing the partition size and then
> expecting the filesystem to suddenly have more space, it does not work
> that way.  first you would have to resize the partition and then
> resize the filesystem with ext2resize.  i would say you could delete
> hda8 and hda9 then resize hda7 to fill that space leaving 800K for
> bootstrap, add the bootstrap partition last in this case is fine since
> you have no more macos partitions.  so you would have something like
> this:
> 
> > /dev/hda
> > #type namelength   base( 
> > size )  system
> > /dev/hda1 Apple_partition_map Apple   63 @ 1   ( 
> > 31.5k)  Partition map
> > /dev/hda2  Apple_Driver43 Macintosh   54 @ 64  ( 
> > 27.0k)  Driver 4.3
> > /dev/hda3  Apple_Driver43 Macintosh   74 @ 118 ( 
> > 37.0k)  Driver 4.3
> > /dev/hda4Apple_Driver_ATA Macintosh   54 @ 192 ( 
> > 27.0k)  Unknown
> > /dev/hda5Apple_Driver_ATA Macintosh   74 @ 246 ( 
> > 37.0k)  Unknown
> > /dev/hda6   Apple_Patches Patch Partition512 @ 320 
> > (256.0k)  Unknown
> > /dev/hda7 Apple_UNIX_SVR2 /  2137464 @ 832 (  
> > 1.0G)  Linux native
> > /dev/hda8 Apple_UNIX_SVR2 swap163840 @ 2138296 ( 
> > 80.0M)  Linux swap
> > /dev/hda9   Apple_Bootstrap bootstrap   XX @ XXX (  
> > 800K)  Unknown
> 
> the numbers are wrong, im too lazy/tired to calculate them, but your /
> partition would be about 254MB larger.  at that point you would need
> to run ext2resize, from a boot floppy/CD whatever in order to actually
> reclaim the space.
> 
> AFAIK that would work but i have never tried it, when i need to change
> partitioning i just clear the table and do it from scratch.  
> 
> that is really what i would reccommend you do, since i would NEVER
> attempt to screw with this without a complete backup of your data, and
> if you have a backup why not just do the partitioning right from
> scratch in the right order? 
> 
> also this is an example of why monolithic huge / partitions are bad,
> if you had farmed your partitions into / /var /us

Resizing Partitions

2000-05-31 Thread Andre Berger
Is there a way to change the partition scheme without data loss or
re-formatting? I have a PowerBook 3400/potato. My partition scheme is: 

/dev/hda
#type namelength   base( size ) 
 system
/dev/hda1 Apple_partition_map Apple   63 @ 1   ( 31.5k) 
 Partition map
/dev/hda2  Apple_Driver43 Macintosh   54 @ 64  ( 27.0k) 
 Driver 4.3
/dev/hda3  Apple_Driver43 Macintosh   74 @ 118 ( 37.0k) 
 Driver 4.3
/dev/hda4Apple_Driver_ATA Macintosh   54 @ 192 ( 27.0k) 
 Unknown
/dev/hda5Apple_Driver_ATA Macintosh   74 @ 246 ( 37.0k) 
 Unknown
/dev/hda6   Apple_Patches Patch Partition512 @ 320 (256.0k) 
 Unknown
/dev/hda7 Apple_UNIX_SVR2 /  2137464 @ 832 (  1.0G) 
 Linux native
/dev/hda8 Apple_UNIX_SVR2 swap163840 @ 2138296 ( 80.0M) 
 Linux swap
/dev/hda9   Apple_HFS untitled 3  511973 @ 2302136 (250.0M) 
 HFS
/dev/hda10 Apple_Free Extra 8291 @ 2814109 (  4.0M) 
 Free space

Block size=512, Number of Blocks=2822399
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0x
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff

I would like to grow my ext2 /dev/hda7 at the expense of the mac
partition /dev/hda9 (for which 50mb should be enough). Plan B: If possible, I
would also like to add an Apple_Bootstrap partition for yaboot.

I could also swap my data to another HDD if necessary; it would be
fine to use this ext.HDD as a mirror for my int.HDD. Is there a tool
that mirrors /dev/hda7 including all ext2 permissions?

Andre



xemacs21-nomule broken?

2000-05-31 Thread Andre Berger
After apt-get upgrade (both in potato and woody), xemacs21-nomule
should have been updated to 21.1.10. But it doesn't work and forced me
to manually reinstall 21.1.8. Any idea what's wrong?

Andre
 



fetchmail trouble was potato installation bug

2000-05-18 Thread Andre Berger
It took a couple of weeks and gallons of coffee to fix a bug that made
it impossible to fetch my mail with fetchmail; the whole thing finally
turned out to be a potato installation bug.

I installed via base2_2.tgz, creation date Mar 18 on my HDD, which I
downloaded from www.them.org. I have no permanent
network connection and chose the PPP installation.

Fetchmail, whose configuration was definitely ok, logged in, listed
the messages, rewrote some headers and them stopped (timed out). I
reinstalled it a few times, the same thing; nobody knew why.

Finally I figured out it wasn't fetchmail's fault; it wasn't able to
connect to localhost. The potato installer hadn't installed
/etc/init.d/network (or started /etc/init.d/networking, don't know
about that). I made /etc/init.d/network as follows (executable):

#! /bin/sh
ifconfig lo 127.0.0.1

et voila, fetchmail works. What gave me the idea was that I couldn't
ping localhost.

If somebody knows what to do to make this executed automatically at startup,
please give me a hint. Dist maintainers, please verify if this issue
still exists.

Thanks for your time,

Andre

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



building kernel/pcmcia - which packages needed?

2000-05-06 Thread Andre Berger
I would like to build both my own kernel and PCMCIA support for my 
PowerBook 3400. Which packages will I have to apt-get install to get
going?

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany 


Re: FBDev crashes

2000-05-01 Thread Andre Berger
> Andre Berger wrote:
> 
> > (**) FBDev: Using XF86Config video mode database
> > (--) FBDev: Frame buffer device: OFfb chips65550
> > (--) FBDev: Video memory: 975K @ 0x81800200
> > (--) FBDev: MMIO regs: 0K @ (nil)
> > (--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
> > (--) FBDev: Hardware accelerator: None
> > (--) FBDev: No driver support for hardware acceleration
> > bpp = 16, depth = 15, BitsPerRGB = 5
> > (--) FBDev: Using cfb16 driver
> 
> Another thing to point out, is that XFBDev is really, really slow using
> No Video Driver checked (as shown above with Hardware accelerator:None),
> you would be much better off either unchecking no video driver (which
> might cause problems on your machine with video) or using Xpmac with the
> -mach64  flag (or whatever neccessary flag for your video card is).
> Xpmac acceleration is independent of the Frame Buffer, so it works with
> No Video Driver checked.
> 
> You can install Xpmac by using alien on the Xpmac RPM and installing or
> getting the Xpmac_rage128_usb.rev10.gz from linuxppc.org. After you
> install that, change the first line of /etc/X11/Xserver to read:
> /etc/X11R6/bin/Xpmac

I couldn't find the RPM, so I installed Xpmac_rage128_usb.rev10.gz (and
unchecked the No Video Driver kernel argument in BootX)

positive:
-   works without crashes! and is faster!

neutral:
-   neither -mach64 nor -ct6555 work here

negative:
-   no documentation -- does anybody have a URL for the RPM?
-   I can enter "Xpmac -middlebutton 101" on the command line, but a
first line in /etc/X11/Xserver like "/usr/X11R6/bin/Xpmac -middlebutton
101" doesn't work. How can I pass arguments to Xpmac for the use with
gdm?

strange:
-   does Xpmac really read /etc/X11/XF86Config?

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany 


FBDev crashes

2000-04-30 Thread Andre Berger
I'm experiencing xserver-fbdev crashes of two types:

1. Fatal server error: fbdevUpdateColormap: FBIOPUTCMAP failed (Function
not implemented) 

2. Caught Signal 11

The problems seem to be screensaver-related. After about 10 minutes of
inactivity the server dies. 

My configuration: PowerBook 3400, potato


XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 2000
If the server is older than 6-12 months, or if your card is
newer
than the above date, look for a newer version before reporting
problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.15pre10 ppc [ELF] 
Configured drivers:
   FBDev: Server for frame buffer device
   (Patchlevel 11): mfb, afb, cfb8, cfb16, cfb32, NCR 77C32BLT (accel),
ATI Mach64 (accel), IMS TwinTurbo (accel), 3Dlabs Permedia 2 (accel)
(using VT number 7)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: disabled
(**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3
(**) FBDev: Graphics device ID: "C&T 65550"
(**) FBDev: Monitor ID: "My Monitor"
(**) FontPath set to
"/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/75dpi/,/usr/lib/X
11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/
misc/:unscaled,/usr/lib/X11/fonts/misc/"
(**) FBDev: Using XF86Config video mode database
(--) FBDev: Frame buffer device: OFfb chips65550
(--) FBDev: Video memory: 975K @ 0x81800200
(--) FBDev: MMIO regs: 0K @ (nil)
(--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
(--) FBDev: Hardware accelerator: None
(--) FBDev: No driver support for hardware acceleration
bpp = 16, depth = 15, BitsPerRGB = 5
(--) FBDev: Using cfb16 driver
xinit:  unexpected signal 2



Fatal server error:
fbdevUpdateColormap: FBIOPUTCMAP failed (Function not implemented)


Server aborting...
.
Please forward information about this crash to XFree86@XFree86.org
including the _full_ output of the X server.

To analyse the crash dump, please type

gdb X /home/andre/core
where

and include this output in your report.  Thanks!


PowerBook/Stylewriter

2000-04-05 Thread Andre Berger
[PowerBook 3400, StyleWriter 1200, potato, ext. modem works at
/dev/ttyS0]

How can I get them to print? I've read a lot of documentation (e.g. the
LinuxPPC Printing FAQ, the Printing Howto, Serial Port Howto,...), got
lpstyl (which I alienated and installed), gs-aladdin, lpr and a lot
more, but it still doesn't work.

Are there any Debian-specific instructions, "real" debs or just anybody
who knows what exactly to do, step by step?

Clueless,
Andre