Re: lazy saturday notebook comparo (long)

2001-08-22 Thread Michael Blakeley
In article 
<[EMAIL PROTECTED]
e>,
 [EMAIL PROTECTED] (Michael Schmitz) wrote:

> >
> > One other factor nobody has mentioned here is SECURITY.  For
> > buffer-overflow type security holes, remote and local, almost all of the
> > exploits are written for i386, so non-Intel platforms are inherently
> > less vulnerable.  Last week's LWN security section opened with a piece
> 
> Security through obscurity? Nope, doesn't work. Thanks for playing though.

The poster implicitly distinguished between targeted and untargeted 
attacks: calling his defense STO is, I think, an oversimplification. 
Sitting outside the target group has its place in ameliorating 
least-common-denominator attacks like Red Worm. By avoiding the LCD OS 
and applications, you place yourself outside the susceptible population.

Choice of OS/protocal/application does not protect you against attacks 
targeted specifically at you: your enemies will understand PPC buffer 
over-flows, and will exploit them. Still, it's nice to know that you are 
less likely than an Intel box to be taken down by random acts of 
vandalism.

To bring this thread back on topic, I'm very happy with the price I paid 
for an ibook dual-SUB. Checklists aside, it's an excellent value.

--
Michael Blakeley   [EMAIL PROTECTED] 
Performance Analysis for Internet Technologies



spanish keymap for ibook

2001-08-22 Thread Ivan Fernandez Calvo
I left in the incoming ftp the Xmodmap  and sdt-kmap to spanish keyboard 
on a ibook

Thx
kuisathaverat

--
Un Saludo
Ivan Fernandez Calvo
Universidad Pontificia de Comillas
[EMAIL PROTECTED]
SysAdmin de ICAI



Re: Huge Log Files

2001-08-22 Thread Jeffrey W. Baker
On Wed, 22 Aug 2001, Russell Hires wrote:

> Hey Everyone,
>
> I've got a problem: I'm running woody, and recently (in the last week or so)
> two of the files in /var/log have become so large that KDE can't start, and
> I'm unable to run some other applications. The two files that are 200 MB
> each? kern.log and syslog. What could be making these two files so big? And
> what could make them grow so quickly in the space of two days? And of course,
> what can I do about it?

If you read them, you might find out!  Try tail -n 1000 /var/log/syslog
and tell us what's there.

-jwb



Huge Log Files

2001-08-22 Thread Russell Hires
Hey Everyone,

I've got a problem: I'm running woody, and recently (in the last week or so) 
two of the files in /var/log have become so large that KDE can't start, and 
I'm unable to run some other applications. The two files that are 200 MB 
each? kern.log and syslog. What could be making these two files so big? And 
what could make them grow so quickly in the space of two days? And of course, 
what can I do about it? 

Thanks for the help!

Russell 

PS If there's any other info that's necessary, just let me know...



Are YOU looking for a new website, develop an existing site, cheaper hosting or domain names?

2001-08-22 Thread Havealook at This
Are YOU looking for a new website, to develop an existing website, for
cheaper hosting or domain names?
We are a UK based company who would like to offer you our considerable
experience and expertise in the field of website design, eCommerce, eTailing
and search engine positioning.
Domain name registration from £20, website design both new and updated sites
undertaken from £100, website hosting from £60pa, full professional after
sales service and maintenance from £10 pm, secure server space and security
certificates from £100 pa, marketing tips and advise free to our clients, top
ranking search engine positioning available. View our price list at

http://www.havealook.net/pricelist2.htm

All of our designs are custom made for our client's requirements and are our
best advert. These are just a small sample to show you the variety of our
portfolio.

http://www.havealook.net/portfolio2.htm


So, whether you want to advertise your business more effectively, reach a
larger catchment area or sell in the global market; WE have the BEST solution
for you. We are independently tested on a daily basis and are consistently in
the top of the performance listings of all the major ISP hosting companies in
the UK.

Please enquire for more details by replying to this email, use our enquiry
form at http://www.havealook.net/enquiry2.asp or call us on 0044 (0)1446
719219 during UK office hours 9am to 5pm to discuss your requirements.

You are receiving this message because your email address was used when
submitting a link to our web site. If your email address was used without
your permission or you no longer want to receive email from us, simply reply
to this email and let us know you'd like to be removed.

We look forward to hearing from you. The team at NTH. www.havealook.net

This email is in Plain Text format, if viewing in HTML format
either change the format or copy and paste the links into a browser.



Re: graph OF hangs - Please help

2001-08-22 Thread Ethan Benson
On Thu, Aug 23, 2001 at 01:33:00AM +0200, Georg Koss wrote:
> Hello Ethan!
> 
> Thanks for the complete answer, I'll follow your suggestions :-).
> 
> > 
> > the only other thing i could suggest is removing or zeroing out the
> > bootstrap partition on /dev/hdb having two bootable partitions in the
> > same place on different disks could be confusing OpenFirmware. (it
> > still doesn't deal with slaves that well in general based on the mail
> > i get).
> 
> If I would remove bootstrap on my ultra1:9 with mac-fdisk d, would it
> leave my other linux-partitions with their content alive?
> ...and would it be possible to eliminate the Apple-driver partitions
> from that disk too without danger for existing linux-partitions?

yes, but i would use parted for that instead.

i think just dding /dev/zero onto the second bootstrap partition is
probably good enough.


-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgphiLE8LEJzR.pgp
Description: PGP signature


Re: graph OF hangs - Please help

2001-08-22 Thread Georg Koss
Hello Ethan!

Thanks for the complete answer, I'll follow your suggestions :-).

> 
> the only other thing i could suggest is removing or zeroing out the
> bootstrap partition on /dev/hdb having two bootable partitions in the
> same place on different disks could be confusing OpenFirmware. (it
> still doesn't deal with slaves that well in general based on the mail
> i get).

If I would remove bootstrap on my ultra1:9 with mac-fdisk d, would it
leave my other linux-partitions with their content alive?
...and would it be possible to eliminate the Apple-driver partitions
from that disk too without danger for existing linux-partitions?

I think, after reading the security announce from mac-fdisk (woody),
that it must be possible to free hdb15 Apple_HFS at least without
danger for the rest of the disk and change it to a linux partition, am
I right?
> 
> if you use the `16p' type syntax to mac-fdisk for the ending block
> when creating your last partition you won't have this wasted space at
> the end of the disk, the number you use is the number of the last
> Apple_Free partition.  see mac-fdisk-basics.

Right - looks nice now ;-))


Cheers


-- 
mfg

Georg Koss

mailto: [EMAIL PROTECTED]



Re: ibook2 not reading Debian PPC disk

2001-08-22 Thread Brendon Colby
On Wed, Aug 22, 2001 at 05:27:09PM -0500, Vinai wrote:
> On Wed, 22 Aug 2001, Albert D. Cahalan wrote:
> 
> }Don't try to use a CD-R disk in a DVD drive. The laser is the wrong
> }color. Sometimes a CD-RW will work.
> 
> Not sure if that holds.  I've read a few CD-R disks in a GD-7500 and
> my Lombard's drive, both DVD-ROM drives - including discs I made off
> the linuxiso site of the 2.2r2 PPC images.
> 
I've read a few CD-Rs as well, all of which have worked just fine. They are the
same brand and out of the same spindle as the Debian disks. The only CD-Rs I've
had a problem with are the Debian PPC disks...

-- 
Brendon Colby
Systems Administrator
Midcontinent Communications



Re: graph OF hangs - Please help

2001-08-22 Thread Georg Koss
Hello again!

I did partitioning with mac-fdisk (woody) and reinstalled without
Apple-Drivers - it worked great =8-)).

> > please let ybin take care of boot-device, it will do it correctly.

I did with ybin-0.30 form potato's CD1.

First trial:
Just typing ybin with a written yaboot.conf adapted to my ultra0 it
gave about 10-12 times "/etc/yaboot.conf: line too long". That was it :-(

Second trial:
mkofboot -b /dev/hda2 -i /usr/lib/yaboot/yaboot -m
/usr/lib/yaboot/ofboot --root /dev/hda4 --partition 4 --device `ofpath
/dev/hda` 
... seemed to work. (Just one /etc/yaboot.conf. line too long) and the
question "should I create ..." [y].

After that I was able to boot from graphical OF once when CD1 in
CD-RW, without that CD1 in the drive it failed again

printenv boot-device gave:
hd:2,\\:tbxi hd:,\\:tbxi

Default booting occures in ultra0:2 (potato) instead of ultra1:9 (woody).
 
Is there any chance to get it default booting with ultra1:9 and beeing
able to boot ultra0:2 from OF graphical (or perhaps any similar solution)?

Thank's again!

Cheers


-- 
mfg

Georg Koss

mailto: [EMAIL PROTECTED]



Re: mac-fdisk trouble on G4 double disk

2001-08-22 Thread Georg Koss
Hi!

Thank's again for all help :-) !

> But I'll try it again now, probably with woodies mac-fdisk ;-)
> 
Worked great :-)))


Cheers 

-- 
mfg

Georg Koss

mailto: [EMAIL PROTECTED]



Re: Getting the alt (option) key to work as Altgr

2001-08-22 Thread Michel Dänzer
Adrian Cox wrote:
> 
> Michel Dänzer wrote:
> 
> > I suspect the result is the same because Xkb is disabled in both cases.
> > "XkbModel" "none" sounds fishy... check the log. If Xkb is disabled, that
> > might explain why the modifiers don't work.
> >
> > You should be able to get Xkb working by choosing the correct XkbModel and
> > setting your language code as XkbLayout.
> 
> What is the correct XkbModel for the iBook2?  It's not "macintosh".

With XFree86 4.0.x:

"macintosh" for ADB keycodes, "powerpcps2" for Linux keycodes

With XFree86 4.1.0:

"macintosh_old" for ADB keycodes, "macintosh" for Linux keycodes (or "pc104"
or another pc variant for a non-Apple keyboard).


-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: graph OF hangs - Please help

2001-08-22 Thread Ethan Benson
On Wed, Aug 22, 2001 at 10:14:20PM +0200, Georg Koss wrote:
> Hello again!
> 
> First of all thank's to Ethan Benson for the reply and help.
> 
> Basically, I want to erase macos from my box (as complete as possible
> :-/ ) and install on each of my disks one seperate debian.

easy

> > > 
> > > printenv boot-device gives:
> > > ultra1:9,\\yaboot  hd:,\\:tbxi
> > 
> > this is wrong.  you will not be able to interact with yaboot's
> > interface since you need to load the first stage bootstrap installed
> > by ybin.
> > 
> > please let ybin take care of boot-device, it will do it correctly.
> 
> If ybin does this, will it be the right way that I have one bootstrap,
> lets say on ultra1 and a yaboot which allows booting either woody on
> ultra1 or potato on ultra0? 

of course, you only need one bootstrap partition on one or the other
disks for to boot both, i recommend keeping bootstrap on ultra0 (IDE
master) since OF/yaboot tend to be less reliable on slaves.  

> If so, could you explain please how to write that to yaboot.conf.

boot=/dev/hda2
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

# kernel on master root partition
image=/vmlinux
device=ultra0:
partition=3
root=/dev/hda3
read-only

# kernel on slave root partition
image=/vmlinux
device=ultra1:
partition=3
root=/dev/hdb3
read-only

> The other way, I could imagine is to work with two bootstraps as at

that would be unecessary and harder to deal with.  

> the moment. If I go that way, how can I tell ybin from one booted HD
> about the yaboot.conf of the other debian.

see above

> More realistic I would assume ybin to do it's job on each of my 
> instllations separatly. I did this and OF hangs. On ultra0 which is
> representated in the printenv  as hd:,\\:tbxi it should be
> something like  ultra0:9,\\yaboot instead but I can't cope with this :-/.

it should NEVER be set to yaboot directly, you will not be able to
interact with yaboot if you do that.  hd: == ultra0: btw.  ybin will
set it to hd:2,\\:tbxi which is correct.

> The third idea I have would be to do ybin from the potato-CD1 :-/ .

use the ybin from sid.  and upgrade your firmware if there is any
updates available.  the ybin in woody has a bug that crashed
OpenFirmware's multibooter. (did not affect normal boots though).

you also need to reset OF to complete defaults, to do this hold down
command option p r while cold booting the machine, keep them down
until it reboots 3 times.  you must turn off OpenFirmware's security
features to do this:

setenv security-mode none (if you ever changed it).

the only other thing i could suggest is removing or zeroing out the
bootstrap partition on /dev/hdb having two bootable partitions in the
same place on different disks could be confusing OpenFirmware. (it
still doesn't deal with slaves that well in general based on the mail
i get).

> /dev/hda
> 
> /dev/hda1  Apple_partition_map Apple   63 @ 1( 31.5k)  Partition map
> /dev/hda2  Apple_Driver43 Macintosh54 @ 64   ( 27.0k)  Driver 4.3
> /dev/hda3  Apple_Driver43 Macintosh74 @ 118  ( 37.0k)  Driver 4.3
> /dev/hda4  Apple_Driver_ATA Macintosh  54 @ 192  ( 27.0k)  Unknown
> /dev/hda5  Apple_Driver_ATA Macintosh  74 @ 246  ( 37.0k)  Unknown
> /dev/hda6  Apple_FWDriver Macintosh   200 @ 320  (100.0k)  Unknown
> /dev/hda7  Apple_Driver_IOKit Macintosh   512 @ 520  (256.0k)  Unknown
> /dev/hda8  Apple_Patches Patch Partition  512 @ 1032 (256.0k)  Unknown

get rid of this crap.

> /dev/hda9  Apple_Bootstrap bootstrap 1600 @ 1544 (800.0k)  Unknown
> /dev/hda10 Apple_UNIX_SVR2 swap262144 @ 3144 (128.0M)  Linux swap
> /dev/hda11 Apple_UNIX_SVR2 / 10813440 @ 26528(  5.2G)  Linux native
> /dev/hda12 Apple_UNIX_SVR2 /home  5734400 @ 11078728 (2.7G)  Linux native
> /dev/hda13 Apple_UNIX_SVR2 /var   3196928 @ 16813128 (1.5G)  Linux native
> /dev/hda14 Apple_Free Extra   760 @ 20010056 (380.0k)  Free space
> 
> 
> /dev/hdb
> 
> /dev/hdb1  Apple_partition_map Apple63 @ 1 ( 31.5k)  Partition map
> /dev/hdb2  Apple_Driver43 Macintosh 54 @ 64( 27.0k)  Driver 4.3
> /dev/hdb3  Apple_Driver43 Macintosh 74 @ 118   ( 37.0k)  Driver 4.3
> /dev/hdb4  Apple_Driver_ATA Macintosh   54 @ 192   ( 27.0k)  Unknown
> /dev/hdb5  Apple_Driver_ATA Macintosh   74 @ 246   ( 37.0k)  Unknown
> /dev/hdb6  Apple_FWDriver Macintosh200 @ 320   (100.0k)  Unknown
> /dev/hdb7  Apple_Driver_IOKit Macintosh512 @ 520   (256.0k)  Unknown
> /dev/hdb8  Apple_Patches Patch Partition   512 @ 1032  (256.0k)  Unknown

and this crap.

> /dev/hdb9  Apple_Bootstrap Apple_Bootstrap 1600 @ 1544 (800.0k)  Unknown
> /dev/hdb10 Apple_UNIX_SVR2 swap 262144 @ 3144  (128.0M)  Linux swap
> /dev/hdb11 Apple_UNIX_SVR2 /   12582912 @ 265288 ( 6.0G)  Linux native
> /dev/hdb12 Apple_UNIX_SVR2 /home  10485760 @ 12848200 (5.0G)  Lin

Re: vlc 0.2.82 debs available

2001-08-22 Thread Michel Dänzer
Andrew Sharp wrote:
> 
> Mmm, delicious, thank you.  I don't suppose you have the source debs
> available? ~:^)

They are in sid.

As there are libdvdcss packages, I assume Michel built from videolan CVS
though.


-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: lazy saturday notebook comparo (long)

2001-08-22 Thread Michael Schmitz
> That's pretty close!
>
> One other factor nobody has mentioned here is SECURITY.  For
> buffer-overflow type security holes, remote and local, almost all of the
> exploits are written for i386, so non-Intel platforms are inherently
> less vulnerable.  Last week's LWN security section opened with a piece

Security through obscurity? Nope, doesn't work. Thanks for playing though.

Michael



Re: vlc 0.2.82 debs available

2001-08-22 Thread Andrew Sharp
Mmm, delicious, thank you.  I don't suppose you have the source debs
available? ~:^) 

a

 
Michel Lanners wrote:
> 
> Ooops
> 
> On  21 Aug, this message from Andrew Sharp echoed through cyberspace:
> > Well, one thing you did wrong was that I get
> >
> > File not Found
> >
> > for both http://www.cpu.lu/ftp/debian/vlc_0.2.82
> >
> > and http://www.cpu.lu/ftp/debian/
> 
> Make that:
> 
> http://www.cpu.lu/~mlan/ftp/debian/vlc_0.2.82
>   ^
> 
> Cheers
> 
> Michel
> 
> -
> Michel Lanners |  " Read Philosophy.  Study Art.
> 23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
> L-1710 Luxembourg  |
> email   [EMAIL PROTECTED]|
> http://www.cpu.lu/~mlan| Learn Always. "



Re: Getting the alt (option) key to work as Altgr

2001-08-22 Thread Adrian Cox

Michel Dänzer wrote:


I suspect the result is the same because Xkb is disabled in both cases.
"XkbModel" "none" sounds fishy... check the log. If Xkb is disabled, that
might explain why the modifiers don't work.

You should be able to get Xkb working by choosing the correct XkbModel and
setting your language code as XkbLayout.



What is the correct XkbModel for the iBook2?  It's not "macintosh".

--
Adrian Cox   http://www.humboldt.co.uk/



Re: ibook2 not reading Debian PPC disk

2001-08-22 Thread Vinai
On Wed, 22 Aug 2001, Albert D. Cahalan wrote:

}Don't try to use a CD-R disk in a DVD drive. The laser is the wrong
}color. Sometimes a CD-RW will work.

Not sure if that holds.  I've read a few CD-R disks in a GD-7500 and
my Lombard's drive, both DVD-ROM drives - including discs I made off
the linuxiso site of the 2.2r2 PPC images.

vinai




Re: ibook2 not reading Debian PPC disk

2001-08-22 Thread Albert D. Cahalan
> For some reason I can't get any Debian PPC disks to work on my new iBook
> (DVD/ CDRW). MacOS does NOT recognize the disk, neither does OF (in OF
> I did a "dir cd:\" - returned "Cannot open DIR device"). When I try to

Don't try to use a CD-R disk in a DVD drive. The laser is the
wrong color. Sometimes a CD-RW will work.



ibook2 not reading Debian PPC disk

2001-08-22 Thread Brendon Colby
Hello all,

For some reason I can't get any Debian PPC disks to work on my new iBook (DVD/
CDRW). MacOS does NOT recognize the disk, neither does OF (in OF I did a
"dir cd:\" - returned "Cannot open DIR device"). When I try to boot using:

boot cd:,install\powermac\yaboot

I get a badPtr error. I've burnt three ISOs, two d/l off of 
linuxiso.org (debian-2.2r3-ppc-1.iso) and the third was an iso I made myself 
off our local mirror. All had the same effect.

The disks are readable elsewhere, such as on my Debian desktop. I've tried 
simply reading other disks and that worked just fine. It's only the PPC disks.

Has anyone seen this before? Any helpful thoughts are appreciated.

-- 
Brendon Colby
Systems Administrator
Midcontinent Communications



Re: vlc 0.2.82 debs available

2001-08-22 Thread Michel Dänzer
Michel Lanners wrote:

> For all those interested in DVDs and video in general, I have just
> finished uploading debs for vlc_0.2.82:
> 
> http://www.cpu.lu/ftp/debian/vlc_0.2.82
> 
> The complete list of .debs is there.
> 
> Have fun!
> 
> Michel
> 
> PS Built on a woody system, X 4.0.3 out of woody... My first .debs, so
> let me know what I did wrong ;-)

I can't tell because I only get a 404 . ;)


PS: There are 0.2.82 debs in sid.

-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: Getting the alt (option) key to work as Altgr

2001-08-22 Thread Michel Dänzer
Håvard Wigtil wrote:

> I've set up a norwegian keyboard (heavily based on the swedish ;) that
> work perfectly on the console. But I can't get the option or command key
> to do anything under X, which means that i can't get a bar (norwegian
> alt+7) amongst others.
> 
> What I'm trying to do is to get option to to work as AltGr does on a PC
> and to get command to work as alt (so I can switch consoles). I've done
> this a long time agon on LinuxPPC, but I've forgotten what I did.
> 
> I've tried two different courses, both with the same result.
> 
> 1) Set
>Option "XkbDisable"
> in XF86Config
> 
> 2) Set
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "macintosh"
> Option  "XkbLayout" "none"

I suspect the result is the same because Xkb is disabled in both cases.
"XkbModel" "none" sounds fishy... check the log. If Xkb is disabled, that
might explain why the modifiers don't work.

You should be able to get Xkb working by choosing the correct XkbModel and
setting your language code as XkbLayout.


> Option  "RightAlt"  "ModeShift"

This probably wouldn't work anyway as both alt keys generate the same code.


-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: Problem with Keyboard

2001-08-22 Thread Michel Dänzer
[EMAIL PROTECTED] wrote:
> 
> today I upgrade my woody powerpc. It is an ibook with german
> keyboard. It's my own fault but I don't want a new install.
> After a reboot my keyboard ist wrong. Backspace is 2 and so on. The
> install srcipt give me the following info and I try it at yaboot prompt.
> 
> debian video=ofonly root=/dev/hda13 KEYBOARD_SENDS_LINUX_KEYCODES=1
> 
> but nothing happen's. What ist wrong???

It says you should use keyboard_sends_linux_keycodes=1 . Why on earth did you
capitalize it? Most if not all things about Debian GNU/Linux are case
sensitive.

You don't have to reinstall of course, just type the correct argument at the
yaboot prompt and then fix yaboot.conf and run ybin.


-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: Problem with Keyboard

2001-08-22 Thread Michel Dänzer
Derrik Pates wrote:
> 
> On 22 Aug 2001 [EMAIL PROTECTED] wrote:
> 
> > today I upgrade my woody powerpc. It is an ibook with german
> > keyboard. It's my own fault but I don't want a new install.
> > After a reboot my keyboard ist wrong. Backspace is 2 and so on. The
> > install srcipt give me the following info and I try it at yaboot prompt.
> 
> > debian video=ofonly root=/dev/hda13 KEYBOARD_SENDS_LINUX_KEYCODES=1
> >
> > but nothing happen's. What ist wrong???
> 
> You don't pass that as an option to the kernel,

Yes you do.

> you have to add a line like the following:
> 
> dev.mac_hid.keyboard_sends_linux_keycodes=1

Bad idea as you won't be able to interact with fsck...


> to your /etc/sysctl.conf. You may have to boot with the 'init=/bin/bash'
> flag so that the keymaps aren't changed (after which, you'll have to
> manually mount all your filesystems, or at least / and /usr).

This isn't necessary either, as I have pointed out several times. Just pass
the argument at the yaboot prompt.


-- 
Earthling Michel Dänzer (MrCooper)\   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \XFree86 and DRI project member



Re: Problem with Keyboard

2001-08-22 Thread Derrik Pates
On 22 Aug 2001 [EMAIL PROTECTED] wrote:

> today I upgrade my woody powerpc. It is an ibook with german
> keyboard. It's my own fault but I don't want a new install.
> After a reboot my keyboard ist wrong. Backspace is 2 and so on. The
> install srcipt give me the following info and I try it at yaboot prompt.

> debian video=ofonly root=/dev/hda13 KEYBOARD_SENDS_LINUX_KEYCODES=1
>
> but nothing happen's. What ist wrong???

You don't pass that as an option to the kernel, you have to add a line
like the following:

dev.mac_hid.keyboard_sends_linux_keycodes=1

to your /etc/sysctl.conf. You may have to boot with the 'init=/bin/bash'
flag so that the keymaps aren't changed (after which, you'll have to
manually mount all your filesystems, or at least / and /usr).

Derrik Pates  |   Sysadmin, Douglas School   |#linuxOS on EFnet
[EMAIL PROTECTED] | District (dsdk12.net)|#linuxOS on OPN



Re: graph OF hangs - Please help

2001-08-22 Thread Georg Koss
Hello again!

First of all thank's to Ethan Benson for the reply and help.

Basically, I want to erase macos from my box (as complete as possible
:-/ ) and install on each of my disks one seperate debian.

> > 
> > printenv boot-device gives:
> > ultra1:9,\\yaboot  hd:,\\:tbxi
> 
> this is wrong.  you will not be able to interact with yaboot's
> interface since you need to load the first stage bootstrap installed
> by ybin.
> 
> please let ybin take care of boot-device, it will do it correctly.

If ybin does this, will it be the right way that I have one bootstrap,
lets say on ultra1 and a yaboot which allows booting either woody on
ultra1 or potato on ultra0? 
If so, could you explain please how to write that to yaboot.conf.

The other way, I could imagine is to work with two bootstraps as at
the moment. If I go that way, how can I tell ybin from one booted HD
about the yaboot.conf of the other debian.
More realistic I would assume ybin to do it's job on each of my 
instllations separatly. I did this and OF hangs. On ultra0 which is
representated in the printenv  as hd:,\\:tbxi it should be
something like  ultra0:9,\\yaboot instead but I can't cope with this :-/.

The third idea I have would be to do ybin from the potato-CD1 :-/ .

> only if the bootstrap appears after macos partitions.
That's not the case ...

I put my parition-tables in addendum.

TIA and Cheers


-- 
mfg

Georg Koss

mailto: [EMAIL PROTECTED]


Addendum:


/dev/hda

/dev/hda1  Apple_partition_map Apple   63 @ 1( 31.5k)  Partition map
/dev/hda2  Apple_Driver43 Macintosh54 @ 64   ( 27.0k)  Driver 4.3
/dev/hda3  Apple_Driver43 Macintosh74 @ 118  ( 37.0k)  Driver 4.3
/dev/hda4  Apple_Driver_ATA Macintosh  54 @ 192  ( 27.0k)  Unknown
/dev/hda5  Apple_Driver_ATA Macintosh  74 @ 246  ( 37.0k)  Unknown
/dev/hda6  Apple_FWDriver Macintosh   200 @ 320  (100.0k)  Unknown
/dev/hda7  Apple_Driver_IOKit Macintosh   512 @ 520  (256.0k)  Unknown
/dev/hda8  Apple_Patches Patch Partition  512 @ 1032 (256.0k)  Unknown
/dev/hda9  Apple_Bootstrap bootstrap 1600 @ 1544 (800.0k)  Unknown
/dev/hda10 Apple_UNIX_SVR2 swap262144 @ 3144 (128.0M)  Linux swap
/dev/hda11 Apple_UNIX_SVR2 / 10813440 @ 26528(  5.2G)  Linux native
/dev/hda12 Apple_UNIX_SVR2 /home  5734400 @ 11078728 (2.7G)  Linux native
/dev/hda13 Apple_UNIX_SVR2 /var   3196928 @ 16813128 (1.5G)  Linux native
/dev/hda14 Apple_Free Extra   760 @ 20010056 (380.0k)  Free space


/dev/hdb

/dev/hdb1  Apple_partition_map Apple63 @ 1 ( 31.5k)  Partition map
/dev/hdb2  Apple_Driver43 Macintosh 54 @ 64( 27.0k)  Driver 4.3
/dev/hdb3  Apple_Driver43 Macintosh 74 @ 118   ( 37.0k)  Driver 4.3
/dev/hdb4  Apple_Driver_ATA Macintosh   54 @ 192   ( 27.0k)  Unknown
/dev/hdb5  Apple_Driver_ATA Macintosh   74 @ 246   ( 37.0k)  Unknown
/dev/hdb6  Apple_FWDriver Macintosh200 @ 320   (100.0k)  Unknown
/dev/hdb7  Apple_Driver_IOKit Macintosh512 @ 520   (256.0k)  Unknown
/dev/hdb8  Apple_Patches Patch Partition   512 @ 1032  (256.0k)  Unknown
/dev/hdb9  Apple_Bootstrap Apple_Bootstrap 1600 @ 1544 (800.0k)  Unknown
/dev/hdb10 Apple_UNIX_SVR2 swap 262144 @ 3144  (128.0M)  Linux swap
/dev/hdb11 Apple_UNIX_SVR2 /   12582912 @ 265288 ( 6.0G)  Linux native
/dev/hdb12 Apple_UNIX_SVR2 /home  10485760 @ 12848200 (5.0G)  Linux native
/dev/hdb13 Apple_UNIX_SVR2 /var7987200 @ 2960 (3.8G)  Linux native
/dev/hdb14 Apple_Free Extra 309354 @ 31321160 (151.1M) Free space
/dev/hdb15 Apple_HFS Ohne Titel 2  8245945 @ 31630514 (3.9G)  HFS
/dev/hdb16 Apple_Free Extra 21 @ 39876459 (10.5k)  Free space






Re: mac-fdisk trouble on G4 double disk

2001-08-22 Thread Georg Koss
Hello again!

Thank's again for reply :-) !
> 
> you do NOT need the driver crap then, and i HIGHLY reccommend that
> you remove it.  follow mac-fdisk basics on how to use the `i' command
> and give the CORRECT number of blocks.  everything will work fine
> then.  
> 
> dbootstrap nor GNU/Linux now anything but MacOS needs all that crap
> cluttering the partition table.
> 
I thought I remember heard this from you in earlier mails, but as it
didn't work for me :-/. But I'll try it again now, probably with
woodies mac-fdisk ;-)

Thank's and cheers

-- 
mfg

Georg Koss

mailto: [EMAIL PROTECTED]



Problem with Keyboard

2001-08-22 Thread thorsten_nicklaus
Hi,
today I upgrade my woody powerpc. It is an ibook with german
keyboard. It's my own fault but I don't want a new install.
After a reboot my keyboard ist wrong. Backspace is 2 and so on. The
install srcipt give me the following info and I try it at yaboot prompt.


debian video=ofonly root=/dev/hda13 KEYBOARD_SENDS_LINUX_KEYCODES=1

but nothing happen's. What ist wrong???


bye
Thorsten



Re: lazy saturday notebook comparo (long)

2001-08-22 Thread Adam C Powell IV

 Andrew Sharp wrote:


Now, when it comes to the iBook2,

A Dell Inspriron 2100:
700MHz P3 (w/ SpeedStupid (tm))
256MB mem
external combo dvd/cdrw drive
1024x768 12.1" video
30GB hard drive
37Whour battery
free palm m100 or lexmark32 printer or umax 3400 usb scanner
$2227 after $100 mail in rebate.

iBook2:
combo drive internal, I think
$2200 after $100 memory upgrade special


That's pretty close!

One other factor nobody has mentioned here is SECURITY.  For 
buffer-overflow type security holes, remote and local, almost all of the 
exploits are written for i386, so non-Intel platforms are inherently 
less vulnerable.  Last week's LWN security section opened with a piece 
estimating that a fast worm should in theory be able to spread to all 
vulnerable networked machines in the world in as little as 15 minutes, 
which is a whole heck of a lot faster than I apply upgrades, so any time 
which heterogeneity in OS, server software or CPU arch can buy is really 
crucial.


IOW, if you just run IIS/W2K on Intel on all of your servers, prepare to 
have your entire network r00ted with every new security alert, like 
every month or two.  If you have some Linux on Intel and a few ports 
open, without frequent security upgrades you're still vulnerable to 
quite a lot (like last year's worm).  Debian on PPC, well, nobody uses 
that anyway so it's not worth writing a specific exploit for. :-)  At 
worst the buffer overflow attacks will crash a server or two.  How about 
a Debian/Netwinder (StrongARM) firewall?  At that point, security 
becomes much more a function of admin carelessness (bad passwords, etc.).


For this reason, I've been buying alphas for years, but the ev6 
performance/price has not been near where ev5(6) was, so that's not 
really an option any more.  It's nice to see that Apple is keeping some 
prices in line with the Intel world.


Incidentally, regarding the structural integrity problems people have 
mentioned with the TiBook (time to put on my materials scientist hat), 
this is a textbook case of *bad* materials selection on Apple's part. 
Titanium sounds sexy, and is nice and strong, sure.  But for a laptop, 
you really don't need a lot of strength in the case, since if you drop 
it, a component is going to fail before the case.  What you really need, 
as comments on this list have underscored, is stiffness, for which 
titanium is not so good (which is why it makes great golf clubs...).


But, you say, the stiffness/density ratio is about the same for steel, 
titanium, aluminum and magnesium, so what's the big deal?  Sure, no big 
deal in tension, but in bending, what's relevant is not E/rho, but 
E^{1/3}/rho, which favors lighter materials.  (In fact, the best 
material with this criterion is- get this- balsa wood!  Which is why 
balsa wrapped in aluminum sheet has been used in many aircraft cabin 
floor boards, though by today metal honeycomb sandwich structures may 
have surpassed this...)  So of these four metals, magnesium is by far 
the best, which is why Sony uses it in the Vaio.  Magnesium is also far 
easier to cast in complex shapes than titanium, and the semisolid 
casting process used for the Vaio case gives outstanding quality metal 
with minimal porosity, resulting in great strength (my two-year-old Vaio 
has survived three drops onto concrete with no noticeable damage).


Incidentally, this is also why aluminum makes lighter and stiffer car 
bodies than steel; magnesium is not a candidate there for largely 
corrosion reasons, but that's getting way off-topic.


In any case, it's interesting to hear that all this theory is confirmed 
in practice, and that the TiBook was a bad idea, as I've been saying 
since it came out (though not on the net).


Zeen,
--

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! 







Re: Is the iBook2 really good?

2001-08-22 Thread Russell Williams
Can I use the international kernel patch
(www.kerneli.org) to decrypt my file system on an
iBook2?

Regards
Russell

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Re: installation oddities

2001-08-22 Thread Bob Hunter



In summary, this is not a bug at all, but a deliberate design decision,
that makes debconf a lot more powerful, at the expense of not letting it
try to go in and make the kind of fool-hardy modifications to a
possibly-corrupted debconf database which you are suggesting.


Well, it is a "feature" then. A feature that broke my installation
for three weeks. It is that much time, in fact, that I have been
unable to install software. I am not saying that that is the cause,
I am saying that my reported bugs were bug indeed, and the solution
was to actually type in by hand all the missing entries.


-- Bob


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



Re: UK iBook2 keymaps

2001-08-22 Thread Tuomas Kuosmanen
On Tue, 2001-08-21 at 14:35, Adrian Cox wrote:
> Has anybody got any good recipes for the UK iBook2 keyboard?
> 
> I'm using Ken Moffat's console keytable from:
> http:www.kenmoffat.uklinux.net/downloads
> 
> Everything is fine at the console, but in X I can't get a '#'. I'm using 
> X 4.1 out of unstable, and the rest of my system is from testing. I've 
> had to set XkbDisable in order to get the basic letters of the keyboard 
> to come out right. I now have the problem that the Command-3 combination 
> that should produce '#' actually produces '3'.

I have noticed something like this also: With a powerbook keyboard, if
you press [Fn] you get the keypad emulation turned on. Now this makes
the "9" key become keypad-9 instead of the normal 9. 

On a finnish/swedish keymap (those are identical), Normal 9 has ]}
behind it when you press "AltGr" and "shift-AltGr" (I think AltGr is
"Mode_switch" when we talk about X here) Now, I think Mode_switch is
bound to Fn-alt here.

This can be a problem for keymaps on laptops. However, it works as
expected on MacOS, so one solution would be to map those extra chars to
the keypad keys that overlap as well? Maybe macos does that? My
understanding is *both* alt keys produce the same keycode on the pismo
and many other apple keyboards as well, so one must have both of them
produce the same key event, right? On macos it just works 

Now this cannot be related to the # key, since that key is not part of
the keypad emulation thing, but it might be interesting to someone.

Actually, as a test, this works for me:

keycode  80 = KP_8 KP_Up bracketleft braceleft
keycode  81 = KP_9 KP_Prior bracketright braceright

/* newbie info */ 
   Save that to a file, and "xmodmap file" or do a dump of your 
   current keymap by "xmodmap -pke > mymap", then edit mymap on 
   those lines (just need to add the two last words on those lines
   so the brackets/braces start working) and "xmodmap mymap" next 
   time you start X.
/* end of newbie info */

Maybe someone could patch the X keymaps to take this into account? I am
going to look into this, but I dont grok the files yet.. :-( Though I am
planning to when I get some of the copious free time at hand :)

Anyway, the important thing is now I can use my .fi keyboard in FI mode
to write some perl/php since it was a bit hard without []{} chars before
:o)

I know another way would be to use the key-next-to-space that defaults
to the kp-enter or something as mode_switch, but I really like to use
that one as my mousebutton emulation key, since it is near the trackpad.
It is also not used as a modifier on macos, and my goal is to have less
adjusting madness between MOL and linux for keymaps. There is enough
pain learning from the US happy hacking kbd from my desktop machine to
this pismo keyboard..

Tuomas

-- 
:: :: Tuomas Kuosmanen  :: Art Director, Ximian :: ::
:: :: [EMAIL PROTECTED] :: www.ximian.com   :: ::



Re: nice console res with platinum

2001-08-22 Thread Steven Hanley
On Wed, Aug 22, 2001 at 07:41:06AM +0200, Michel Lanners wrote:
> Yes there is: platinumfb. Have a look under
> drivers/video/platinumfb[c,h]
> 
> > so I cant do something like
> > append="video=atyfb:vmode:12", when I try that line with no atyfb: it just
> > ignores the vmode:12 and comes up in 80x25.
> 
> That would rather be:
> 
> append="video=platinumfb:vmode:12"

yes someone mentiuoned that there is a platinumfb, I tried it, it didnt work
in 2.2, however it works in the 2.4.8 benh I am running on that box now.

So I have a nice console on the mahcine, and am at some point going to try to
get X working with a mach 64 card I plugged in from an intel box.

See You
Steve

-- 
[EMAIL PROTECTED] http://wibble.net/~sjh
Look Up In The Sky
Is it a bird?   No
Is it a planeNo
Is it a small blue banana?
Yes



Re: nice console res with platinum

2001-08-22 Thread Michel Lanners
On  12 Aug, this message from Steven Hanley echoed through cyberspace:
> Anyone know how to get a good console res, such as 128x48 or something with
> the platinum card in an oldworld. There doesnt seem to be an explicit fb
> driver for the platinum

Yes there is: platinumfb. Have a look under
drivers/video/platinumfb[c,h]

> so I cant do something like
> append="video=atyfb:vmode:12", when I try that line with no atyfb: it just
> ignores the vmode:12 and comes up in 80x25.

That would rather be:

append="video=platinumfb:vmode:12"

but you better check the source to see whether platinum accepts command
lines, and whether res switching is implemented there. It could also be
a problem (maybe depending on lernel version) with calling the
platinumfb's option parsing function from generic framebuffer code.
IIRC, that bit of code was missing at some point in time.

You can have a look at the command line of your current kernel (to check
whether specifying append=.. worked) via:

cat /proc/cmdline

That doesn't say anything if the option _worked_, though

Finally, your best bet is switching to the desired resolution in MacOS.

> Also is X accelerated with the platinum in any release? Maybe 3.3.6?

No Apple framebuffer (platinum, valkyrie, control) is accelerated. The
hardware is basically dumb; just a flat framebuffer (except for the
unsupported hardware cursor).

Cheers

Michel

-
Michel Lanners |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. "