On Tue, Aug 14, 2001 at 08:31:15AM -0400, Stew Benedict wrote:
> There are bootstraps and bootstraps.  What the installer considers to be a
> bootstrap has a very strict definition:
> 
> HFS
> type: Apple_Bootstrap
> name: bootstrap
> 
> I'm not sure what LinuxPPC is doing, and I've never tried to install over
> a LinuxPPC setup.

That's what it was, I even deleted it and remade it that way still
didn't like it.


> /boot is not required - autoallocatee works the same as x86. why would "/"
> want to be HFS? All Linux partitions are created as Linux partition types.
> The only HFS partition required for our install is the bootstrap, which is
> HFS and is not part of the Linux directory structure.

Perhaps it should be changed to make the bootstrap if one doesn't
already exist.  Or at least leave 1 MB for the process that makes it
later.

Well at least with Linux/PPC wherever you put your bootloader and kernel
it had to be HFS or you couldn't boot because OF couldn't see it.  And
when I didn't have a /boot after doing an Autoallocate I got to the end
where the bootloader was installed and it complaigned that / wasn't HFS.

> Placement of the packages should be the same as x86 - this code is
> identical.  You need to understand that Mandrake PPC exists in the greater
> context of Mandrake.  This puts a number of restrictions on how things
> place out, as it is not a "pure" PPC distribution. This is Mandrake 8.0,
> and as such the versions of the packages were determined by what was
> released for x86. Looking at a Mandrake 8.0 CD - I see
> mutt-1.3.15i-3mdk.i586.rpm

I'll accept the mutt version then but.  I'm sure you've added some
modules to make it work.  Shouldn't we be subtracting modules that have
no purpose on a PPC machine.  I haven't checked but I'm sure you didn't
ship lilo.

> If you insist on combining our boot methodology with the way LinuxPPC does
> it, I expect you'll continue to have troubles. Our methodolgy is simple:
> 
> All Linux software (kernel and packages) are on Linux partitions.
> The bootstrap is invisible to MacOS, and is used only for the bootloader:
>       ofboot.b
>       yaboot
>       ybaoot.conf (copy of file in /etc - placed her by ybin)

Well that isn't where it put these things.  It put these files on /boot
and I didn't go out of my way to tell it to put it there and there is a
separate bootstrap.  Perhaps I hosed things up somehow.  I'd actually
rather not setup the boot the way it is (though one benefit of the fake
system folder is you can select Linux from the startup disk control
panel when in the MacOS).  I'm not gonna switch back right now but I
suppose the next release I'll give it a try.

> Apparently x86 must have this defined in their kernel and drakx disables
> it.  My first exposure to it.

Yes because some routers don't support ECN yet and it causes some
traffic from machines using it to disappear.  Frankly it sucks.  At any
rate sysctl complaigns when that's in there, it still does it's trick
but it'd be nice to have it running cleanly without errors out of the
box.

> Thank-you - I will add it. No-one has offered to provide that information
> before.

No problem.

> What codes are you using, and what technique to assign them?

I was using in /etc/sysctl.conf:
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 55
dev.mac_hid_mouse_button3_keycode = 76

And to reassign them at runtime:
sysctl -p /etc/sysctl.conf

> >From what you are describing and a quick test on my Powerbook, it looks
> like the codes you want are:
> 
> KEY_LEFTMETA            125
> KEY_KPENTER             96
> 
> To enable them I did the following (as root):
> 
> echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation
> echo 125 > /proc/sys/dev/mac_hid/mouse_button2_keycode
> echo 96 > /proc/sys/dev/mac_hid/mouse_button3_keycode
> 
> To keep those setting on reboot, edit /etc/sysctl.conf:
> 
> dev.mac_hid.mouse_button_emulation = 1
> dev.mac_hid.mouse_button2_keycode = 125
> dev.mac_hid.mouse_button3_keycode = 96
> 
> The keycodes are listed in /usr/src/linux/include/linux/input.h

That's that's the codes I needed because they work.  I was getting the
ones above by  using showkey.  Thanks a lot.  For helping me out and for
putting this distribution together.  It's a hell of a lot more up to
date than Linux/PPC.  And I'm hoping that we can put out security
updates for this thing unlike a certain other distribution that has
several vulnerable packages un-patched.

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

Wizard's First Rule - People are stupid, they will believe anything
if they want it to be true or they fear it is true - Terry Goodkind

Reply via email to