debian-ppc on pismo anyone?

2001-01-10 Thread Otto
hi all,

I am currently running LinuxPPC, MacOS X and MacOS 9.04 on my pismo and
would like to give debian-ppc a try.

so if anyone out there is happily using debian-ppc on their pismo, please
let me know! otherwise, if you had trouble getting it to run, please save me
some time and drop me a line, too. maybe I can even help you out..?

I used ybin/yaboot to set up my boot configuration (works great). right now,
I have the following partitions:

1 HFS  bootstrap
1 HFS+ MacOS 9.04
1 HFS+ MacOS X
1 ext2 LinuxPPC
1 swap
1 HFS  shared data

for debian, I would like to convert the shared data partition to ext2 and
use my swap partition for both debian and LinuxPPC.
that way, I would only have to add an entry for debian in my yaboot conf -
right?

as the debian-ppc port is quite new, are there any known problems I should
know about?

thanks for your time, any help is greatly appreciated!

TIA,
-otto.





should I get potato or woody?

2001-02-02 Thread Otto
hi,

I'm looking into installing debian-ppc on my pismo, but don't know which
version to get, potato or woody.

someone on this list mentioned that potato doesn't support the 2.4.x
kernels, so I guess I would be better off with woody (I want 2.4.x for USB
and firewire support). is that correct?

and then, how do I get woody anyway? I've been looking around
cdimage.debian.org but it seems I can only get potato that way. do I have to
install potato first and then upgrade to woody?

TIA,
-otto.





need a little help installing

2001-02-23 Thread Otto
hi,

I'm trying to install potato on my pismo. I have MacOS 9.04, MacOS X PB and
LinuxPPC running, so I figured I could convert a spare HFS partition to ext2
and have debian and LinuxPPC share the existing swap partition.

So I booted into the installer from CD, but for some reason, debian won't
let me use the existing swap partition. whenever I choose "initialize and
activate swap partition" or "activate previously installed swap partition",
the installer complains "no swap partitions that had not already been
mounted were detected".

I decided to select "do without a swap partition" and fix that later.

then I tried to set up that spare partition to install on, so I chose
"partition disk" from the menu and used that command line tool to delete my
spare HFS partition and create a new one of type ext2 in its place. seemed
to work fine, too, but still, "Initialize linux partition" gives me the same
error as above.

under "show partition map", everything looks ok, though my new partition is
said to be "not available" (just like those LinuxPPC partitions).

just out of couriosity, I opened a shell, and the welcome message said that
disks would be mounted under /target. well, not in my case. ls /target
showed that /target is empty. !?

after installing LinuxPPC few months ago, I really thought I could handle to
install debian on my own.. oh well.

any help is greatly appreciated..

TIA,
-otto.

>> I used ybin/yaboot to set up my boot configuration (works great). right now,
>> I have the following partitions:
>> 
>> 1 HFS  bootstrap
>> 1 HFS+ MacOS 9.04
>> 1 HFS+ MacOS X
>> 1 ext2 LinuxPPC
>> 1 swap
>> 1 HFS  shared data
>> 
>> for debian, I would like to convert the shared data partition to ext2 and
>> use my swap partition for both debian and LinuxPPC.
>> that way, I would only have to add an entry for debian in my yaboot conf -
>> right?
>
> Ethan Benson <[EMAIL PROTECTED]> wrote:
>
> yes, something like this:
> 
> image=/vmlinux
> label=debian
> root=/dev/hda7
> read-only
> partition=7
> 
> this assumes that the debian partition is /dev/hda7, that partiton=
> line must point at the debian root partition, you linuxppc images must have
> a partition line pointing at the linuxppc root partition.
> 
> note that you *must* change the partition type of that HFS exchange if
> you choose to use it for debian instead of as a HFS exchange.
> otherwise MacOS will try and mount it as HFS, see there is no HFS
> filesystem and helpfully offer to erase it.  



german keyboard layout / usbmouse / ppp / gnome / gcj questions

2001-03-11 Thread Otto
hi,

I just installed potato on my pismo, and now I need some help setting up
some basic stuff. I bet these are FAQs, but I checked the archive and came
up with nothing too helpful, so..

1)

how do I configure X to use german keyboard layout? this was tough under
LinuxPPC, too, and I forgot how I did it.. =)
my XF86Config (I'm using the default potato X server) currently reads

Protocol  "Standard"
XkbLayout "de"
XkbVariant"nodeadkeys"
XkbModel  "macintosh"
XkbRules  "xfree86"

but this didn't help at all..

2)

how do I configure X to use both the trackpad and my USB mouse as input
devive? my XF86Config says

Device "/dev/mouse"

and /dev/mouse is a symblic link to /dev/adbmouse. I tried changing the link
to /dev/usbmouse, but that left me with no mouse or trackpad at all..

this is some new input layer stuff, right?

3)

I set up ppp with pppconfig (according to
http://www.oreilly.de/catalog/debian/chapter/ch11_04.html) and ppp connects
fine, but for some reason I can't ping or lynx any damn server..

/var/log/messages says

pppd[523]: pppd 2.3.11 started by root, uid 0
chat[524]: abort on (BUSY)
chat[524]: abort on (NO CARRIER)
chat[524]: abort on (VOICE)
chat[524]: abort on (NO DIALTONE)
chat[524]: abort on (NO DIAL TONE)
chat[524]: abort on (NO ANSWER)
chat[524]: send (ATZ^M)
chat[524]: expect (OK)
chat[524]: ^M
chat[524]: OK
chat[524]:  -- got it
chat[524]: send (ATDT276760^M)
chat[524]: expect (CONNECT)
chat[524]: ^M
chat[524]: ^M
chat[524]: CARRIER 33600^M
chat[524]: ^M
chat[524]: PROTOCOL: LAP-M^M
chat[524]: ^M
chat[524]: COMPRESSION: V.42BIS^M
chat[524]: ^M
chat[524]: CONNECT
chat[524]:  -- got it
chat[524]: send (\d)
pppd[523]: Serial connection established.
pppd[523]: Using interface ppp0
pppd[523]: Connect: ppp0 <--> /dev/ttyS0
pppd[523]: Unsupported protocol 0x8207 received
pppd[523]: local  IP address 134.95.89.122
pppd[523]: remote IP address 134.95.89.1

and ifconfig gives me

ppp0  Link encap:Point-to-Point Protocol
  inet addr:134.95.88.91  P-t-P:134.95.88.1  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:16 errors:2 dropped:0 overruns:0 frame:2
  TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:10

but still, no ping or lynx.. the same ppp settings work fine under
LinuxPPC.. ???

3)

whenever I log in to a gnome session, windows open in the left upper corner
of my screen, with the title bar cut off by the screen boundaries, so I
can't move them. in debian sessions, I'm happily using icewm.. so how do I
get gnome to use it, too?

4) we're almost there..

I'd love to use gcj (the java frontend for gcc/egcs), but I just can't find
libgcj for either debian or LinuxPPC. is anyone actually using it?


thanks for any help. once my system is running smoothly, I'll be happy to
post a summary or whip up a website. for some reason, there seem to be very
few debian-ppc specific websites and tutorials out there. or am I missing
something?

TIA,
-otto.





Re: german keyboard layout / usbmouse / ppp / gnome / gcj questions

2001-03-12 Thread Otto
hi,

>> how do I configure X to use german keyboard layout?
>> my XF86Config (I'm using the default potato X server) currently reads
>> 
>> Protocol  "Standard"
>> XkbLayout "de"
>> XkbVariant"nodeadkeys"
>> XkbModel  "macintosh"
>> XkbRules  "xfree86"
>> 
>> but this didn't help at all..
> 
> The only suggestion I can give here is to try "de_DE" instead of just "de".

that did't work either.. isn't anyone using a german keyboard out there?


>> how do I configure X to use both the trackpad and my USB mouse as input
>> devive? my XF86Config says
>> 
>> Device "/dev/mouse"
>> 
>> and /dev/mouse is a symblic link to /dev/adbmouse. I tried changing the link
>> to /dev/usbmouse, but that left me with no mouse or trackpad at all..
>> 
>> this is some new input layer stuff, right?
> 
> Possible. Try /dev/input/mice .

I'd love to give it a try, but unfortunately, the new input layer isn't in
potato, so I /dev/input/mice doesn't exist.
is there a debian package to create it?


>> I set up ppp with pppconfig (according to
>> http://www.oreilly.de/catalog/debian/chapter/ch11_04.html) and ppp connects
>> fine, but for some reason I can't ping or lynx any damn server..
> 
> Have you configured it to set the default route? Use 'route -n' to see if
> there is a default route (0.0.0.0 at the beginning) with the peer IP as
> gateway.

here's what route -n gives me, I'm not sure if that's correct - the peer IP
isn't mentioned as gateway, but destination..

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref   Use Iface
134.95.89.129   0.0.0.0 255.255.255.255 UH0  00 ppp0


>> whenever I log in to a gnome session, windows open in the left upper corner
>> of my screen, with the title bar cut off by the screen boundaries, so I
>> can't move them. in debian sessions, I'm happily using icewm.. so how do I
>> get gnome to use it, too?
> 
> Make sure you have the icewm-gnome package installed. If that doesn't help,
> try the Window Manager section in the GNOME control center.

ok, I'll give this a try soon.

thanks,
-otto.





Bug#1063738: mariadb: FTBFS on armel, armhf, powerpc, x32, hppa: size of array compile_time_assert is negative

2024-02-11 Thread otto
Source: mariadb
Version: 1:10.11.7-1
Forwarded: https://jira.mariadb.org/browse/MDEV-33429
Tags: confirmed, help, ftbfs
User: debian-...@lists.debian.org
Usertags: armel, armhf
X-Debbugs-CC: debian-...@lists.debian.org
User: debian-powerpc@lists.debian.org
Usertags: powerpc
X-Debbugs-CC: debian-powerpc@lists.debian.org

After uploading latest MariaDB 10.11.7 to Debian it was noticed that the builds 
on armel, armhf, powerpc, x32, hppa fail on:

[ 31%] Building C object tests/CMakeFiles/bug25714.dir/bug25714.c.o
cd /<>/builddir/tests && /usr/bin/cc -DHAVE_CONFIG_H 
-DMYSQL_CLIENT -D_FILE_OFFSET_BITS=64 -I/<>/libmariadb/include 
-I/<>/builddir/libmariadb/include 
-I/<>/wsrep-lib/include -I/<>/wsrep-lib/wsrep-API/v26 
-I/<>/builddir/include -I/<>/include/providers 
-I/<>/include -I/<>/client -g -O2 
-ffile-prefix-map=/<>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC 
-fstack-protector --param=ssp-buffer-size=4 -O2 -g -static-libgcc 
-fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized 
-fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall 
-Wdeclaration-after-statement -Wenum-compare -Wenum-conversion -Wextra 
-Wformat-security -Wmissing-braces -Wno-format-truncation -Wno-init-self 
-Wno-nonnull-compare -Wno-unused-parameter -Wvla -Wwrite-strings 
 -std=gnu99   -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT 
tests/CMakeFiles/bug25714.dir/bug25714.c.o -MF 
CMakeFiles/bug25714.dir/bug25714.c.o.d -o CMakeFiles/bug25714.dir/bug25714.c.o 
-c /<>/tests/bug25714.c
In file included from /<>/tests/mysql_client_fw.c:16,
 from /<>/tests/mysql_client_test.c:38:
/<>/tests/mysql_client_fw.c: In function ‘main’:
/<>/include/my_global.h:384:18: error:
  384 | typedef char compile_time_assert[(X) ? 1 : -1] 
__attribute__((unused)); \
  |  ^~~
/<>/tests/mysql_client_fw.c:1438:3: note: in expansion of macro 
‘compile_time_assert’
 1438 |   compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
  |   ^~~

See 
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=armel&ver=1%3A10.11.7-1&stamp=1707544526&raw=0
 and 
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=armhf&ver=1%3A10.11.7-1&stamp=1707545871&raw=0
 for full log. I was able to reproduce this on Launchpad.net armhf builder as 
well, both on Noble and Mantic, so it looks like a regression in MariaDB itself 
and not in any Debian dependency. These are all 32-bit systems, so it can be 
related to potential time_t changes in MariaDB.

This has been reported upstream in https://jira.mariadb.org/browse/MDEV-33429



Re: startup jingle

2001-06-01 Thread Otto Wyss
> If you still have MacOS, this may work:
> 
>   http://www.zdnet.com/downloads/stories/info/0,,MC13222,.html
> 
> It says it doesn't work on all models.
> I think the ULAW of the arpeggio is actually in the hardware.
> 
> The problem with disabling the arpeggio is that it is supposed to indicate
> that the system is functioning correctly. Most computers beep or something
> when they start up to indicate they have POSTed correctly. To disable this
> could potentially limit your ability to diagnose problems... which is prob.
> why Apple doesn't make it any easier.
> 
The volume of the startup sound is stored in the ROM but is controlled
by the sound level which is stored in the PRAM. QuietStart simply sets
this value lower during shutdown and up again during startup (of course
after the startup sound). The value could be choosen during the loading
of this extension while pressing a numeric key. Default value is 3 the
range goes from 0..9, so you actually can make the startup sound louder
if you like ;-) . I've set my value to 1 but I'm always shocked when I
reboot after my Mac crashed.

O. Wyss



Re: switching to linux keycodes in woody

2001-06-07 Thread Otto Wyss
> > Keeping these in mind, I suggest that you go ahead with this change.
> > (And maybe figure out what's wrong with xkb?)
> 
> theres one vote in favor
> 
Up to now I'm not using Linux on my PowerMac for various reasons, so I
don't have immediate experience. As far as I know the keycodes of an USB
keyboard is fix defined in the USB specs regardless of the type. So it
should be natural to got for that change, I'm astonished this hasn't
already happend so far.

While I like to have the CMD-key next to the spacebar, Apple changed
this in the wrong place, they should have done it in their keymaps.
Since I'm using a PC-keyboard on the Mac I did this modification in the
system myself.

O. Wyss



Re: Wine

2001-06-27 Thread Otto Wyss
> As stated earlier you can't run wine on ppc linux.  If you really wanted to
> you could install intel linux using bochs and then wine on top, but why
> would you want to do that if you just want to run windows running Windows it
> would be much easier to install Windows on bochs.
> 
It would be nice to have a possibility just to run this silly but
necessary programm which is never ported to the Mac. I got VirtualPC on
my Mac just because I had to run a Windows programm to get a remote
connection to the firm.

[OFFTOPIC] Is there a Mac emulation layer similar to wine?



Re: Wine

2001-06-28 Thread Otto Wyss
> A very strange way to run Windows on Linux...emulate MacOS on Linux then run
> VirtualPC on it and install Windows with VirtualPC.
> Terrible !!!
> 
I wouldn't mind running MOL on my PowerPC running VirtualPC to be able
to run this silly program if I still were at that firm. Of course I'd
prefer a bochs/wine solution if possible. 

I'm still dreaming of the day where I sit in front of my system were I
just start any program (regardless if Linux, MacOS, Windows, Solaris,
etc.) and the underlying libraries take care of any environment this
program needs. 

O. Wyss



What's the best replacement editor for ae?

2001-06-28 Thread Otto Wyss
What small editors are in use on the PowerPC? Is there any editor which
is similar to BBedit in respect of the key shortcuts? 

O. Wyss



Re: What's the best replacement editor for ae?

2001-06-30 Thread Otto Wyss
> boot-floppies now use nano-tiny, we have taken ae out back and shot it
> 
That's the reason I though nano-tiny might be usable, but it uses the
"^\" for "replace". "^\" is not possible on a swiss-german keyboard
since "\" is an AltGr key which can't be combined with "^" (control) as
a command.

I currently do most of my editing on my PC-Linux either remotely with
BBedit and the rest with gedit(X) or vim (console). I also tried to
change xemacs to my liking but have given up. The situation currently is
not satisfying, there seems to be no editor which is (IMHO) good on
Linux. I thought at least on PPC there were a better solution.

There seems to be another promising candidate, e3. At least in
nedit-mode it's rather nice and maybe the author might integrate a
Bbedit-mode (or should I say an "Otti"-mode ;-) ). 

To give an idea what I consider good keyboard shortcuts, look a this
uncomplete schema:
Files:
^Q  Quit if nothing changed
^QN Quit, No save
^QY Quit and save
^S  Save
^N  New file
^O  Open file
^W  Close file (similar Quit)
^P  Print

Move:
PageUp  Go page up
PageDownGo page down
^L  Go line

Select:
^A  Select all
^M  Mark beginning
^X  Cut current block
^C  Copy current block
^V  Paste curren block

Delete:
BackSp  Cursor left, delete
Del Delete

Search:
^F  Find
^G  Find again
^H  Replace (search and replace)

Other:
Insert  Toggle insert/overwrite mode
^Z  Undo
^Y  Redo 
"^" means here Command and not CTRL



Re: What's the best replacement editor for ae?

2001-06-30 Thread Otto Wyss
> The same as on any GNU/Linux or *NIX platform.
> 
Unforunatly, I hoped on PPC there might be other alternatives as well.

> > Is there any editor which is similar to BBedit in respect of the key
> > shortcuts?
> 
> "nano" (a free clone of pico) is perhaps the best small, easy-to-use
> editor for the console. It doesn't use the same key shortcuts as BBEdit,
> but it has the same spirit of providing a functional, self-explanatory
> editing tool.
> 
Regarding "nano" see my other posting. "spirit of functionality" is one
important part of an editor and almost any Linux editor suits this
rather well. But for an editor the most important fact is usablilty of
its shortcuts and here none comes even close (IMHO). Nedit or e3 (in
nedit-mode) are the best candidates but nedit is IMHO to much Windows
oriented.

I don't want to start a "which is better" war, all I want is an editor
which has keyboard shortcuts like I mentioned in my other posting.

O. Wyss 



Re: What's the best replacement editor for ae?

2001-06-30 Thread Otto Wyss
> > change xemacs to my liking but have given up. The situation currently is
> > not satisfying, there seems to be no editor which is (IMHO) good on
> > Linux. I thought at least on PPC there were a better solution.
> 
> such a statement can only result in a dual pronged witchhunt and make
> you deserving of nothing less then severe flogging for insulting both
> the Church of Emacs AND the Cult of vi.

I knew I will suffer anything from flogging to worse through the rest of
my probably very short life, but you also know one can never stop any
fanatics, especially the ones who believe in their own ONENESS.

In hope there will be a better Linux world after the singular prevalence
of MY point of view will outlive my martyrism.

O. Wyss



Re: What's the best replacement editor for ae?

2001-06-30 Thread Otto Wyss
> http://segfault.org/story.phtml?id=3b3b46fb-005dd860
> 
The laugh I had to endure during reading this sad story almost
overwhelmed me. Only with the help of my wife I could recover and
survive this hideous attack at my health. 

Sorry this is getting a little off topic but since today is my birthday
I feel lunatic enough to draw this a little further. Thank you for this
nice birthday present.

O. Wyss



Is it possible to burn MacOS bootable CD's on Linux

2001-08-10 Thread Otto Wyss
Just curious if it's possible to burn standard MacOS bootable CD's on
Linux? What else is needed?

O. Wyss



Making a d-i USB memory stick under Mac OS X

2006-11-19 Thread Otto Maddox
Hi,

I'm trying to make a bootable USB memory stick for Debian Installer, according 
to the instructions at 
http://d-i.alioth.debian.org/manual/en.powerpc/ch04s04.html.  These 
instructions are for a Debian system, but there must be a way to do the same 
thing under OS X.  I have downloaded boot.img.gz, and now just need to write it 
to the raw USB stick (the easy way, using zcat), which means that the device 
must not be mounted, right?  I've identified the device as /dev/rdisk2 (or 
should it be /dev/disk2 ?) when it's mounted, but when it's not mounted, there 
is no device node.

Can somebody please give me some instructions on how to do this under Mac OS X?

Thanks.
-- 
  Otto Maddox
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - And now for something completely different…



Powerpc docs missing

2000-04-26 Thread Otto Wyss
There was once a documentation on "disks-powerpc/current/doc" but it's
mostly gone. Will it be replaced by a new one?

O. Wyss


Status of USB-support in debian-powerpc

2000-05-11 Thread Otto Wyss
I'd like to know the status of the USB-support in debian-powerpc port.
I'm currently using the Potato release (kernel 2.2.14) with the
USB-backport from kernel 2.3.99pre6 (see
"http://www.suse.cz/development/usb-backport/";) on an i386, since my
USB-keyboard/-mouse definitly needs this backport. When Potato becomes
final (need a working CD before I can start) I'd like to install it on
my b&wG3, using the same keyboard/mouse through an USB-switchbox.

Since kernel 2.4 definitly won't be ready, I strongly favour an
inclusion of this USB-backport into Potato, even as a separate Debian
package. Michael Vogt voluntiered to build such a package (see
"http://members.xoom.com/mydebs/debian/usb/";). Could anybody check it on
a PPC? And does anyone support the inclusion into Potato?

O. Wyss

PS. Is there a similar backport for the framebuffer device?



Re: system clock runs too fast on pb12"

2003-05-31 Thread Thomas Otto

I now experienced that the system clock of my PowerBook 12" runs too fast.
I'm adjusting it nearly once an hour using ntpdate now and it seems to
change about +1m per hour.

I hope this isn't a hardware problem.


No, the kernel is making up for the hardware clock which he *thinks* is
going 1m per hour to slow.

Empty your /etc/adjtime and then update your hwclock once(!). Then wait
a week or two before you do it again. The difference between the real
and the hwclocktime is then stored in the above mentioned file so the
kernel can correct it, given the drift is constant, which it normally
is. You probably set the hwclock two or more times in a too short
periode of time ("Viel hilft viel" ;-) so a wrong drift was calculated.
   See 'man hwclock' /NOTES for the complete story.

If the clock is too wrong while your are waiting for a second correction
run # ntpdate ; hwclock --systohc --noadjfile (+ --utc maybe).

HTH

-Thomas




Re: Reiserfs on an iBook?

2003-06-04 Thread Thomas Otto

Is anybody running reiserfs on an iBook?

Opinions? Comments? Gotchas?


Shouldn't be a problem of the hardware but rather of the kernel, 
reiserfsutils etc installed.
Yet on problem could be the following with noflushd (c&p from 
noflushd.sf.net):


- Reiserfs journaling bypasses the kernel's delayed write mechanisms. 
This amounts to lousy spindown times when working off such a partition. 
There's no workaround for this.


I have ext3 on my debian ibook and don't have any problems with it, my 
desktop runs flawless with reiserfs partitions.


-Thomas



Re: ibook2

2003-07-26 Thread Thomas Otto

Problem 1:
I can't record anything with my soundcard. Playing is no problem. I 
checked and found out that a call

   open("/dev/dsp", O_RDONLY);
fails, but
   open("/dev/dsp", O_WRONLY);
succeeds.

Some programs (like audacity) will therefore leave my soundcard in a bad 
state: I am not able to play any sound afterwards, either.


Used sound drivers:
 > lsmod
Module  Size  Used byNot tainted
dmasound_pmac  70640   0  (autoclean)
dmasound_core  13496   0  (autoclean) [dmasound_pmac]
soundcore   4616   3  (autoclean) [dmasound_core]


If you are talking about the little microphone top-right of the screen:
IIRC you will have to wait for the 2.6 kernels with alsa since dmasound
isn't supporting recording (I guess externel USB Microphones won't work
either).
Concerning a broken sound which here is sometimes caused by quake2 I
simply reload the soundmodules (rmmod..insmod) via a script and
everything is back (also I sometimes have to kill the app that is using
dsp [fuser /dev/dsp]).

 -Thomas



Re: Keyboard on X with missing keys

2003-07-26 Thread Thomas Otto

I'm missing the bar sign, the @ sign (I had to paste this one from the address
in the header), bracketleft, bracketright, EuroSign and I don't know what
else on the keyboard on X.


Same here, on an iBook2 700Mhz. I ended up writing my own ~/.Xmodmap 
which i load when I login.

I also had to generated my own consolemaps.

OS is Debian/sid FYI, what distro are you using?


For the console: no EuroSign, that I found, but the other important signs as
@, bracketleft, bracketright, bar etc. are available.

I.e. my main problem is the keyboard on X.


See [1] for the relevant part of my .Xmodmap, I just pass this file to 
xmodmap to get all the needed keys in X.



So how do I install a working keyboard? Docs, good (!) docs, not just snippets
of knowledge, somewhere?


I basicly "googled my way to freedom", I haven't even found a table with 
a complete desciption of all xmodmap entrys, e.g. that | is bar.

IIRC the YDL pages also have some docs about this.


I know I could simply do something like:
cd /usr/share/keymaps/i386/qwertz
cp mac-usb-de-latin1-nodeadkeys.kmap.gz /etc/console/boottime.gz


No! The mac- keymap has includes whereas the boottime keymaps must be a 
single file. There is a command to resolve all the dependencys and put 
the includes in one file, yet I forgot what this was.



But I'm careful with this as I did not find a way to check a newly installed
boottime.gz on the *running* system, i.e. before rebooting. After all with the
wrong keymap I won't be able to even log in, if my guess is right.


Indeed, and unlike a broken kernelmodule booting another kernel doesn't 
help it.

Yet you can try a keymap temporarily with 'loadkeys'.
Also check the keycodes via showkey.
For X the aforementioned "xmodmap -e 'keycode x  = y' + 'xev' to get the 
keycode helps.




[ ADB or not ADB - that is the question... ]


I was also wondering about this, yet now I boot my 2.4.21-benh2 with 
keyboard_sends_linux_keycodes=1 and it works - more or less. So I think 
"Never change a running system" and the 31 bytes more in the memory 
shouldn't hurt.


Maybe also have a look at
http://www.debian.org/ports/powerpc/keycodes.{de.,}html


My brain hurts :), after hours without good answers from WWW.

Thanks in anticipation.


"I feel your pain, brother" :)

   -Thomas


[1]


! compose key is shift+apple, i.e. compose,e,' = é
keycode 115 = Mode_switch Multi_key
! a second Enter?? pfff
keycode 108 = Delete

keycode 46 = l L at
keycode 26 = e E  EuroSign
keycode  54 = c C cent

keycode 94 = less greater bar

! + * ~
keycode 35 = plus asterisk asciitilde

! 7-0 AltGr keycodes

keycode 16 = 7 slash braceleft
keycode 17 = 8 parenleft bracketleft
keycode 18 = 9 parenright bracketright
keycode 19 = 0 equal braceright
keycode 20 = ssharp question backslash



Re: Keyboard on X with missing keys

2003-07-26 Thread Thomas Otto

I know I could simply do something like:
cd /usr/share/keymaps/i386/qwertz
cp mac-usb-de-latin1-nodeadkeys.kmap.gz /etc/console/boottime.gz


No! The mac- keymap has includes whereas the boottime keymaps must be a 
single file. There is a command to resolve all the dependencys and put 
the includes in one file, yet I forgot what this was.


Ah, that command was too simple: "install-keymap", see its manpage.
So when "loadkeys .gz" doesn't render the keyboard useless you 
can use install-keymap ;-).




Re: Keyboard on X with missing keys

2003-07-27 Thread Thomas Otto
I basicly "googled my way to freedom", I haven't even found a table with 
a complete desciption of all xmodmap entrys, e.g. that | is bar.

IIRC the YDL pages also have some docs about this.


Ah, here they are, right under my nose:

/usr/X11R6/include/X11/keysymdef.h, just remove the "XK_" from the 
descriptors and you'll get what xmodmap will accept as input, e.g.

#define XK_ssharp  0x0df  --> ssharp i.e. ß

$ dpkg -S /usr/X11R6/include/X11/keysymdef.h
xlibs-dev: /usr/X11R6/include/X11/keysymdef.h

   -Thomas



Re: Wiping out Mac OS X and Mac OS 9

2003-07-30 Thread Thomas Otto

I suppose I can delete hda13 but I would like to clean things a
bit. Do I still need "Apple_Driver" partition ? And Apple_Patches ?


IIRC, all you need (other than your linux partitions) is the small
Apple_Bootstrap partition.  You should be able to get rid of the rest
of the "Apple_*" partitions ...  fdisk should also let you use every
single block of the drive,  so you don't have that tiny block at the
end either, if you want to have all your drive space accounted for ;-)


But be careful to not let fdisk reorder the partition table which would 
change your rootpartition from hda11 to 4 or 3.

Or if you do, fix your yaboot.conf and fstab.

 -Thomas



X startup... (was Re: Keyboard on X with missing keys)

2003-07-30 Thread Thomas Otto

Same here, on an iBook2 700Mhz. I ended up writing my own ~/.Xmodmap
which i load when I login.

>

It seems everybody does that, instead of fixing the X keymaps... I'm no
better myself. :)


But where *is* this keymap that will be read at the start of an X session on
Debian 3.0. r1 /testing?


Um, yes, I forgot to mention.
In theory you just create a ~/.xsession and the scripts in 
/etc/X11/Xsession.d which take care of your X login will execute this 
upon start, i.e. don't forget  "exec /bash/to/windowmanager" in the last 
line.
YET this seems also fscked here so I just wrote exec $HOME/.xsession 
into 99xfree86-common_start and then added "xmodmap ~/.Xmodmap" and 
sourced /etc/profile (so the WM has a reasonable $PATH + other stuff) 
before the exec `which windowmaker` command.


I gave up trying to understand the Xsession.d chaos b/c even simple 
"echo var is $THISVAR now" for debugging made the script exit (maybe due 
to "exec > "$ERRFILE" 2>&1" in the caller?).


  -Thomas



Re: X startup... (was Re: Keyboard on X with missing keys)

2003-07-31 Thread Thomas Otto

[ /etc/X11/Xsession.d + ~/.xsession not working ]


See Debian bug 195845 for a patch to fix this problem. It shows up if you're 
using KDM or GDM and selecting a specific session manager (as opposed to the 
default).


Thanks for the hint. Everything is working as expected now, I thought my 
shellscriptingskills had failed me.

I still have to remember to search debian bugs as well and not
only Google ;-).


I gave up trying to understand the Xsession.d chaos b/c even simple
"echo var is $THISVAR now" for debugging made the script exit (maybe due
to "exec > "$ERRFILE" 2>&1" in the caller?).


BTW, For debugging these, I always echo into some /tmp/file so I can see what 
was executed before all heck breaks loose.


That was exactly the thing that was so creepy to me (actually still is): 


Any echo's, plain or redirected, caused these scripts to bail out.
I finally got a glimpse of what was going on via 'touch /tmp/var_$WHAT' 
  - so i found out that in /theory/ my .xsession should be accepted :)

On second thought a 'set +x' should have helped as well.

   -Thomas



Re: keyboard problem with 266MHz iMac

2003-08-08 Thread Thomas Otto
The modifier keys don't work for my old iMac /w 266MHz G3 CPU.  After 
fixing the problems with the modelines to get xfree86 running and 
changing XkbLayout to de_DE to get german umlauts, I don't know how to 
get chars like @{}[]|~\ hidden somewhere on the third keyboard level. 
With MacOS I would get those chars with the Alt or option modifier keys, 
but with Debian those keys don't work.


See the thread "Keyboard on X with missing keys" on this NG, it's about 
a month old.  Message-ID: <[EMAIL PROTECTED]> , may 
groups.google.com be your friend :)


  -Thomas



Re: DualHead-hack for iBook breaks radeonfb

2003-08-10 Thread Thomas Otto
This http://www.heise.de/newsticker/data/adb-31.07.03-000/ (in German) 
also didn't help?


Seems like the 3rd Comment in the description hints at that.

I wonder if I should try this hack as well on my 700Mhz Radeon M7 
iBook...  I never got the VGA-Out working though (not that I tried 
really hard).


 -Thomas



Re: Cube as a firewall/router - Comments anyone?

2003-08-11 Thread Thomas Otto

How about adding an extra ethernet connection to the cube? Possible?


You can't add an internal one, but a USB one should be OK for a
typical cable or DSL modem link.


Why not use use IP over FireWire? 


Hehe, nice Idea. Though IIRC despite the RFC IP over FW is not yet 
completely implemented in the linux kernel.

But you could set CONFIG_IEEE1394_ETH1394 in the .config file:

Ethernet over 1394
CONFIG_IEEE1394_ETH1394
  Extremely Experimental! This driver is a Linux specific way to use
  your IEEE1394 Host as an Ethernet type device. This is _NOT_ IP1394.

in case all the clients are on linux.

With a FW port at my Mac and my x86 Audigy soundcard I could try this, 
yet FW cables quite expensive.


But..., damn, isn't using the Cube as a router kindof blasphemy? ;-)


 -Thomas



Re: Help with X using ATI pci card?

2003-08-11 Thread Thomas Otto

I can only give you some hints nontheless:

Try to autogenerate a new XF86Config-4 via "xf86config" (this worked 
perfecty fine for me, ATI Radeon on an ibook)



4) the ATI card I believe is a NexusGA, because it
   matches specs on the ATI website.  But the chip
   on it says "ATI Rage 128 3D AGP".


Take what 'lspci' says (as root, or /sbin/lspci as a normal user).

5) the card is installed in the first PCI bus on 
   the PowerPC 7500


You shouldn't have to know about this, lspci tells you, but note that 
the lspci outputs the BusID in base 16, i.e. Hex, yet in X you need 
decimal, e.g. "00:10.0" becomes 'BusID"PCI:0:16:0"' in the config.



6) the Xserver is 4.0.1, using the "ati" driver for
   the card driver


I do not know if a newer Xfree86 might help.


I calculated these modelines -- following kernel
documentation -- from the file /etc/fb.modes found in
Debian, which according to its header says they were
derived from the ATI Mach64 documentation.  I have
also calculating modelines by hand using the howto. 
Most on the time, the image produced by these
Modelines either 
a) exceeds the signal the monitor can receive, 
b) produces a cross-hatch artifacted display,

   completely unreadable
c) or gives a strange overlapped-duplicated image of
   my desktop with no arrow (the most promising).


If you at least get a picture and the modelines are not completely off 
get an xterm and start "xvidtune", then move the picture untill it fits 
better, press "show" and put these corrected modelines into the config.


I also don't know if using 2 monitors by just switching them is possible 
with the same config, even though both have modelines (not xinerama I 
presume).


HTH

 -Thomas



Re: iBook internal speakers volume

2003-08-12 Thread Thomas Otto
	I have an iBook 900 Mhz on which I have recently installed Debian sid. I have 
a little trouble with the internal speakers : they do work, but the sound is 
extremely low. 
	Changing the volume in aumix has no effect. I have read that the speaker 
volume is mapped to the "Spkr" channel of aumix, so I checked and found out 
that the "Spkr" channel is at maximum and cannot be moved (I cannot lower its 
value, while all other channels can be tuned noramlly).

I use the ALSA modules on a 2.4.21-ben2 kernel

	Has anyone ran into this issue before, or has an idea of what might be the 
problem ?


Any mixer I tried didn't work here either, but if you install pbbuttonsd 
the keys from F3 to F5 (with the speaker symbol) will allow you to 
increase or decrease the volume, maybe it somehow circumvents the 
/dev/mixer device.


  -Thomas



Re: Cube as a firewall/router - Comments anyone?

2003-08-12 Thread Thomas Otto
With a FW port at my Mac and my x86 Audigy soundcard I could try this, 
yet FW cables quite expensive.


I don't know about your whereabouts, but in the Netherlands FireWire 
cables are expensive too.


A local shop here in germany wanted 15€ for a 3m calbe. I think i could 
by 30m of Ethernet cable for that :/


The silly thing is, it's just a couple of 
wires going through that cable, and fitting the cheap connectors 
isn't complicated either. I've seen local pricing range from 6 euros 
to a stunning 35 euros, for the same 6 ft by 6 pin cable. I guess 
it's the unwitting dv-editing general public that happily overpays 
for simple accessories, as they are used to in the photography and 
video market.


They are probably not mass produced and I guess will never. A 6/4 cable 
for the camera will mosty be included and think no admin will buy 
several meters of FW cable to set up iee1394 network :)



But..., damn, isn't using the Cube as a router kindof blasphemy? ;-)


Well, it leaves a lot of resources for a webserver, a mail server, 
and let's not forget Bayesian spam filtering, and you could of course 
add some media server, phone answering service and much more. You 
could still even play Shishen-Sho under KDE! *And* your Cube will fit 
into just about any niche or corner, and stops books from falling 
over on any everage shelf. :-)


Yes, all this might work, but it's still abuse. Let the cube spend the 
time until entropy finally breakes it more gracefully and sell it at 
ebay hoping the next owner shows more appreciation for it :)


   -Thomas



Re: lcd resolution scaling?

2003-08-16 Thread Thomas Otto
Do ibook kernels support scaling of other resolutions to a laptop's native 
res?  I understand the rage mobility can do this with little or no (in later 
revisions?) performance loss, and it would solve some issues nicely, such as 
mol support, hard-coded games, etc.


Try Ctrl Alt +/- which will switch to lower resolutions if your 
XF86Config-4 is set up for this. Here I have

  Modes"1024x768" "800x600" "640x480"
Which all work fine.

If you mean if some 300x200 pixel resolution which is below the LCD 
resolution can be scaled up by X - I don't know that.


On a related note, is there a simple way to make a 1024x768 console display 
80x25, such as loading a large font, or something?


Only from my experience from x86, I don't know if this also applies to 
PPC: The parameter "vga = " ('791' here) enables certain 
framebuffer modes, I guess google for possible values that use simple VGA.


Or you might indeed try to generate your own font :)

-Thomas



Re: Why is my ibook getting so hot ?

2003-08-18 Thread Thomas Otto



I'll test the laptop patch. But it's very big and most probably it
will not apply agains a recent ben-kernel.


Hehe, it already is in then latest 2.4.21-benh2 kernel ;-). You should 
have a /proc/sys/vm/laptop_mode file.


Read /Documentation/laptop-mode.txt (wc -l only 72!) for 
more info, the .sh is a working initscript.


   -Thomas



Re: dma_sound problems on 12" pbook

2003-08-22 Thread Thomas Otto

While it usually plays sound fine the first time I open the device I get
ENXIO or EBUSY back from /dev/dsp when trying to read or write from the
device afterwards. Kernel is 2.4.21-ben2. Any ideas?
Regards,


Thats a common Linux problem since the /dev/dsp (IIRC digital sound 
port) device can only be opened once, e.g. xmms playing music and xine 
playing a movie with sound at the same time won't work.

When the old process is still arround try finding and killing it via
'fuser /dev/dsp'
I have a better soundcard (or drivers? emu10k1 fyi) on my x86 which 
provides multiple dsp's so xine and xmms simultaneously does work.


I don't know if this will ever work (alsa?), KDE provides some 
abstraction with their arts deamon, yet this only allows multiple KDE 
Apps to playback sound.


-Thomas



Re: dma_sound problems on 12" pbook

2003-08-22 Thread Thomas Otto

When the old process is still arround try finding and killing it via
'fuser /dev/dsp'


No, that's not the problem. I double checked that, e.g.:
~$ fuser /dev/dsp
~$ cat /dev/dsp
cat: /dev/dsp: No such device or address


That is expected since dmasound doesn't support recording. You'll have 
to wait for 2.6 with alsa - see some older threat here.



~$ cat .bashrc > /dev/dsp
-bash: /dev/dsp: Device or resource busy


That should work and produce some noise :/. Never had this problem.

When I have soundproblems I just reload the modules via a 
skeleton-drived script: "/etc/init.d/sound restart".


-
# set -e #don't quite on the first error
[...]
  start)
echo -n "Loading $NAME"
modprobe dmasound_pmac
modprobe dmasound_core
modprobe soundcore
echo "."
;;
  stop)
echo -n "Unloading $NAME"
rmmod dmasound_pmac
rmmod dmasound_core
rmmod soundcore
echo "."
;;
  restart)
N=/etc/init.d/$NAME
eval $N stop
eval $N start
;;
[...]
-

 -Thomas



Re: dma_sound problems on 12" pbook

2003-08-23 Thread Thomas Otto
That is expected since dmasound doesn't support recording. You'll have 
to wait for 2.6 with alsa - see some older threat here.


You mean the sound input on Powerbooks G4 / iBooks will work?? :-

Cl!




digger vermont wrote:

On the alsa mailing list I've asked if the reason for no recording is
due a lack of specs for the sound chip or a lack of desire and time on
the developer end. I've yet to get a response. Does anyone here know?


The docs for the current Mac sound chips are publicly
available from Texas Instruments, and very readable.
Search their site for the specs to the TAS3001C and/or
TAS3004.

Have fun,

Segher



So there is no principal problem, someone just has to write the alsa 
drivers ;-)


  -Thomas



Re: Voice-over-IP solutions for woody?

2003-09-03 Thread Thomas Otto
I'm looking for a usable/stable (but I don't mind if it's simple, 
it's only for casual 1-to-1 talks with another debian person) net 
phone solution that I can run without having to upgrade to testing or 
unstable.


Has anyone already found this?

(I could probably also live with a gnome 2 installation *in parallel* 
with my standard woody gnome, if I really need it (hint: 
gnomemeeting) and this doesn't mean too much work for me to compile 
it or it's already compiled by a trustable person.)


Do I need ALSA? Does ALSA work on 2.4.22/ppc? I'm using standard 
dmasound_pmac (2.4.22+ben1) and I'm getting "could not open sound 
device /dev/dsp - check permissions or full duplex capability".


Before you find a recording program first dmasound needs to be replaced 
since it doesn't support recording (anymore?). Yet once 2.6 with ALSA is 
out it should be quite well possible since the specs are available:




digger vermont wrote:


On the alsa mailing list I've asked if the reason for no recording is
due a lack of specs for the sound chip or a lack of desire and time on
the developer end. I've yet to get a response. Does anyone here know?


The docs for the current Mac sound chips are publicly
available from Texas Instruments, and very readable.
Search their site for the specs to the TAS3001C and/or
TAS3004.

Have fun,

Segher




-Thomas



Re: "Setting Up General Console Font" DebianPPC error lockup

2003-09-06 Thread Thomas Otto



I have a great AmigaONE computer with DebianPPC Sid (unstable) version.
Today I have installed, with apt-get all latest updates, but, when the
computer reset and inizialize the system, it lockup at this point:


Setting Up General Console Font

How I can restore my system and correct this error?


 Depends what resources you've got. I'm not over-familiar with the way
the boot scripts are organised, but it sounds like it's running
something here that you need to comment out.


$ cd /etc/init.d
$ grep -i font *
[...]
console-screen.sh:  echo -n "Setting up general console font..."
[...]

That looks like the script you'll have to look into. Maybe it tries to 
set a font defined in /etc/console-tools/config that is not 
supported/available.

But first make backups of all the files you change.


 If you've got another linux installation on it, you could boot that,
mount the debian root filesystem, and edit the script (note this will
probably force an fsck on the next debian boot, because the system time
is not set correctly when the rootfs is mounted.  At a guess, rename the
symlink to the script to load the font, so that it is not found, e.g. by
adding '.bak' to the end of the name.

 If you haven't got another bootable linux system on it, you could use
another machine to download my bzip2'd rescue cd image and burn it to a
CD, then boot with that, mount the debian rootfs, and edit the script(s)
with vi - or use it to load backups from CD or via scp if you have them.
It's a 14MB download at http://homepage.ntlworld.com/zarniwhoop - get
versiion 005, not 003.

 Or, wait to see if somebody else here has an easier way.


;-)
I would say you just boot your current system with the parameter 
'init=/bin/bash', then do an fsck of the root fs, remount the root 
parition read-write and try to fix it.


 -Thomas



Re: "Setting Up General Console Font" DebianPPC error lockup

2003-09-06 Thread Thomas Otto

Or, wait to see if somebody else here has an easier way.


;-)
I would say you just boot your current system with the parameter
'init=/bin/bash', then do an fsck of the root fs, remount the root
parition read-write and try to fix it.


 Now that sounds a _lot_ easier : you'll need to repeat *all* of the
bootargs when you run `setenv', then do not run savenv, go straight to
`bootd'.

Thanks for the clarification, Thomas.


Erm - did I miss the  tag here ;-) ?

Are you using and oldworld mac who uses a more complicated boot 
mechanism like bootx? With my newworld G3 I just choose 'l' for linux at 
the primary yaboot bootprompt and then enter
"Linux init=/bin/bash" at the secondary promt (which is a bit tricky to 
to a non-US keyboard layout).
Then I get a bash promt without touching any initscript. To boot, i just 
to 'exec /sbin/init'


 -Thomas



Re: "Setting Up General Console Font" DebianPPC error lockup

2003-09-06 Thread Thomas Otto

Now that sounds a _lot_ easier : you'll need to repeat *all* of the
bootargs when you run `setenv', then do not run savenv, go straight to
`bootd'.

Thanks for the clarification, Thomas.


Erm - did I miss the  tag here ;-) ?


No sarcasm intended, the instruction was for the OP (could have made
that clearer).  We're talking AmigaOne here, otherwise I wouldn't have
jumped in at all.



I have a great AmigaONE computer

 
Sorry, my bad, overread ^that word of the OP all the time %) - if I 
hadn't I probably wouldn't have replied at all, assuming this is an 
AmigaONE specific problem - so thanks for clarifying ;-).



We haven't got a boot selector yet.  The environment can point to
exactly one partition for booting, and if I've read it right it will
load the first file on that - it has to be a PReP partition, and since
it doesn't have a filesystem I guess there's only ever one file.
Alternatively, you override it to boot from a different PReP disk
partition, or a CD.  It's fun, it just takes a bit of getting used to.


Wonder why they didn't use openfirmware like most PPCs - backwards 
compatibility to older AmigaOS - or is this firmware not as "open as in 
speech"?



 -Thomas



Re: share partition between macosx and debian

2003-10-14 Thread Thomas Otto

I have a friend who did it but he had to make a FAT partition to share a
partition because linux  does not write on usf.  Is this statement still
true? Can macosx r/o on ext2-3? 


MacOS can't read ext2/ext3. But Linux can read USF
UFS, I assume. Linux can read it, see 
/usr/src/linux/Documentation/filesystems/ufs.txt


You can even install OS X on UFS, yet I don't know if it is the plain 
UFS from FreeBSD which Linux can read/write or something Apple modified 
and/or screwed up somewhat.


Also MOL can't boot an OS X that is on a UFS partiion.


and read/write to HFS+
(YOU SHOULDN'T!), but you can if you want :)


Well, the new HFS+ patch from  seems 
to work real good also for write operations. It's in the benh tree by 
now so no need for manual patching.



 -Thomas



Re: cryptopatch for kernel 2.4.21 fails on ibook

2003-10-20 Thread Thomas Otto

I have a kernel (2.4.22 Benh) that works fine except for
decrypting.


Are you using the kernel sources from Debian, or Ben's tree itself?


well i suppose its debian sources, but havent downloaded it myself.
just mirrored the whole system from a friend with same hardware. as i
understood cryptopatch doesnt work with that version.


Well, the crypto patch doesn't work with 2.4.22 because it is already 
*in* this Kernel ;-).


Have a look in the .config file, at the end you will see several lines 
CONFIG_CRYPTO[...]. If they aren't there reconfigure your kernel with 
cryptographic support.


 -Thomas



Re: cryptopatch for kernel 2.4.21 fails on ibook

2003-10-20 Thread Thomas Otto

Well, the crypto patch doesn't work with 2.4.22 because it is
already *in* this Kernel ;-).

Have a look in the .config file, at the end you will see several
lines CONFIG_CRYPTO[...]. If they aren't there reconfigure your
kernel with cryptographic support.

-Thomas


well actually they are in the config, there is even
CONFIG_BLK_DEV_LOOP=y, but i can just find modules for the different
ciphers not for loop, if i try losetup i get LOOP_SET_STATUS: Invalid
argument. so what can i do?


Looks like you have to compile your losetup and mount yourself from the 
util-linux package, see the following bug :-/



Essentially the losetup doesn't use the file /proc/crypto that is 
provided by the 2.4.22 kernel, the strace call from the bugreport quite 
obviously shows this.


Also see further explainations in this thread 
, 
especially 


I guess you don't have the old gentoo arround anymore to recover your data.

-Thomas



Re: Sound partly broken until reboot

2003-10-31 Thread Thomas Otto

Any ideas, how to fix a situation like this without rebooting?


For soundproblems of this sort I have a little script which just rmmod's 
 and then again modprobe's the kernelmodules dmasound_pmac 
dmasound_core and soundcore in that order. After that usually everything 
works again.


  -Thomas



Re: 12" G4 iBook - AirPort Extreme support

2003-11-19 Thread Thomas Otto

 - AirPort Extreme support


IIRC this won't happen since Broadcom is refusing to release specs for 
it :/ (which is why I'll stick to my 700Mhz G3 iBook).


See 
http://lists.debian.org/debian-powerpc/2003/debian-powerpc-200308/msg00789.html


...maybe write a mail to Apple/Broadcom for some larting.


 -Thomas



Radeons and VGA-Out? (was: Re: m3mirror problem)

2003-11-28 Thread Thomas Otto

I don't use it myself (my ibook has an M6), but I've seen it work.


I have an iBook2 700Mhz with an 16MB M7 Radeon Mobility, is there 
anything I can do to make use of the VGA-Out, even if it is only X 
mirroring?


  -Thomas



Errors with sarge netinst CD

2006-02-15 Thread Otto Maddox
I'm having troubles getting Debian PowerPC onto my PowerBook G4 (TiBook
III).

I downloaded the debian-31r1a-powerpc-netinst.iso image from
cdimage.debian.org, and burned it with Disk Utility in Mac OS X (Tiger).

The problem is that when booting, the installer complains that the CD
cannot be read. This seems to be whilst trying read files from
pool/main/p/parted.

I thought the iso image was corrupted, so I tried burning another image,
downloaded from a mirror. Again, the same problem.

So then I tried the full (non-netinst) official testing
debian-testing-powerpc-binary-1.iso, from cdimage.debian.org. This time,
the installer fails with a different message:

"No kernel modules were found. This probably is due to a mismatch
between a
kernel used by this version of the installer and the kernel version
available in
the archive.

If you're installing from a mirror, you can work around this problem by
choosing
to install a different version of Debian. This install will probably
fail to
work if you continue without kernel modules.

Continue to install without loading kernel modules?"

What is the best thing to do? Can somebody confirm whether there is
something strange with the PowerPC netinst images? Is it just me?

-- 
http://www.fastmail.fm - Same, same, but different…



X protocol errors

2006-03-19 Thread Otto Maddox
Hi,

I am trying to run X applications remotely on a Debian Sarge PowerPC
server, and have them display locally on my Mac OS X (10.4.5)
workstation which has Apple X11.

Every single X application crashes with an error message like this:

X protocol error: BadWindow (invalid Window parameter) on protocol
request 38

Does anybody have an idea what's wrong?

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X protocol errors

2006-03-20 Thread Otto Maddox
On Mon, 20 Mar 2006 08:12:18 +0100, "Michel Dänzer" <[EMAIL PROTECTED]> said:

> On Sun, 2006-03-19 at 21:04 +, Otto Maddox wrote:

> > Every single X application crashes with an error message like this:
> > 
> > X protocol error: BadWindow (invalid Window parameter) on protocol
> > request 38

> If you're using ssh, try ssh -Y instead of ssh -X.

Thanks, Michel.  This works.

-- 
http://www.fastmail.fm - Same, same, but different…



Audio on PowerBook G4

2006-03-23 Thread Otto Maddox
Hi,

I have installed Debian testing on a PowerBook G4 667 MhZ (the one with DVI 
output and Radeon 7500).  So, I followed the instructions at 
http://www.cattlegrid.net/~christophe/titanium/ to get audio output working.  
In particular, I created /etc/modutils/sound with the following contents:

alias char-major-14 soundcore
alias sound-slot-0 dmasound_pmac
alias char-major-14-3 dmasound_pmac
alias /dev/dsp dmasound_pmac
alias sound-service-0-0 i2c-keywest
alias char-major-14-0 i2c-keywest
alias /dev/mixer i2c-keywest

and then I executed update-modules as root.

mpg321 tells me that my mp3 files are playing, but there is no sound coming out 
of the speakers.  Also, I notice that /dev/dsp doesn't exist.

Please, could somebody tell me what is going wrong, and how I might be able to 
fix it?

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Audio on PowerBook G4

2006-03-24 Thread Otto Maddox
On Fri, 24 Mar 2006 08:56:28 +0100 (CET), "Michael Schmitz" <[EMAIL PROTECTED]> 
said:

> Check that dmasound-pmac and i2c-keywest are actually being loaded - they
> should appear in the lsmod output.

Thanks, Michael, for your help.

It was due to a rather obscure reason that I have now resolved.

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mouseemu

2006-03-25 Thread Otto Maddox
I am using Debian testing on a PowerBook G4 667 MhZ (DVI).  So far, it's been 
going very nicely.

mouseemu 0.15-2 is installed, and I want to configure for the single-button 
touchpad similarly to Apple X11, so that alt/option + click is button 2, 
command + click is button 3, and to disable the scrollwheel.  I made the 
following /etc/defaults/mouseemu:

SCROLL="-scroll 0"  # disable?

MID_CLICK="-middle 56 272"  # alt/option+click
RIGHT_CLICK="-right 125 272"# command+click

#TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress

and then restarted the daemon.  This kind-of works, in that I am now getting 
button 2 and button 3 events sent, but the modifiers are getting sent too.  For 
example, xev tells me that Super_L is getting sent as well as button 3 (see 
below).

So "middle" and "right" clicks do the right thing for applications which ignore 
the modifiers.  But for applications which take notice of the modifiers, for 
example, xterm or emacs, things don't work right.  For example, "middle" 
clicking in xterm doesn't paste, because (I presume) it's seeing Alt_L + button 
2, instead of only button 2.  I want my applications to see button 2 and button 
3, without seeing the modifiers that were used to simulate them.

Does anybody have any ideas as to how I might be able to do this?

(Here's some sample output from xev:)


KeyPress event, serial 29, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 4072448, (165,172), root:(286,426),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

ButtonPress event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 4072714, (165,172), root:(286,426),
state 0x8, button 2, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 4072818, (165,172), root:(286,426),
state 0x208, button 2, same_screen YES

KeyRelease event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 4073487, (165,172), root:(286,426),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 




KeyPress event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 3316918, (56,96), root:(778,308),
state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

ButtonPress event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 3317119, (56,96), root:(778,308),
state 0x40, button 3, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 3317231, (56,96), root:(778,308),
state 0x440, button 3, same_screen YES

KeyRelease event, serial 32, synthetic NO, window 0x141,
root 0x4c, subw 0x0, time 3317518, (56,96), root:(778,308),
state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes: 

-- 
http://www.fastmail.fm - Access your email from home and the web


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mouseemu

2006-03-27 Thread Otto Maddox
Hi Michael,

On Sat, 25 Mar 2006 16:55:21 +0100 (CET), "Michael Schmitz" <[EMAIL PROTECTED]> 
said:

> > I am now getting button 2 and button 3 events sent, but the
> > modifiers are getting sent too.
> 
> That's per design, and was done to fix bug #304328. Maybe the fix
> broke your case, though.

After some consideration, I believe that that this new behaviour,
where the modifier is sent as well as the emulated mouse button, is
the cleanest and most "X-like" way of doing it.

> Remove the patch to pass though modifier events, then. Or at least
> block the modifer events that were used to generate the mouse events
> (see below).
> 
> You lose the option to generate mouse events with modifers (but
> then, you cannot distinguish between a mouse event with and without
> modifier anyway, if you chose to use a modifier with the mouse
> keycode).

I looked at the mouseemu source code, and spent some time reading
various X documentation.  Based on my limited understanding of X, it
seems there is no clean way of mulitplexing modifier keys to fulfil
both tasks (mouse button emulation, but normal modifier behviour for
other keypresses).  I imagine that these issues are already
well-known.

Later on today I will have at look at the behaviour of Apple X11, and
check out what events it is generating.

> First of all, don't use modifier keys tha you need to see in other
> apps with mouse emulation.
>
> Second, you can change the passthrough code to only pass a modifier
> event if it does not belong to a emulation key - this will get quite
> messy though. You'll need to delay the modifier for a short time to
> see if a mouse key follows (or send a modifier up, mouse button,
> modifier down sequence).

I think that out of all the workarounds, the suggestion to send a
modifier up, mouse button down sequence would be the best.  But still,
like you suggest, it will get quite messy.  I can imagine a few cases
in which this will lead to confusing and unintended behaviours.

Thank you, Michael, you for all your help and advice.

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mouseemu

2006-03-29 Thread Otto Maddox
On Mon, 27 Mar 2006 14:23:11 +0200 (CEST), "Michael Schmitz" <[EMAIL 
PROTECTED]> said:

> The state of the modifier key is kept by the X server, so you need
> to send the modifier before you send a regular key event
> (disregarding mouse events for a moment here). We could postpone the
> modifier event until we know what other event follows, but that's
> equally messy.

I kind-of worked out a state machine to do this sort of thing; the
result was horrible.

> > Later on today I will have at look at the behaviour of Apple X11, and
> > check out what events it is generating.
> 
> Right, they must have solved this some way already.

Yep, it just seems to send a modifier-up, button-click, modifier-down
when the mouse is clicked.

> Should not really happen, because mouseemu intercepts all input events
> hopefully, and hence can ensure they get sent in the correct order.
> Meaning you cannot sneak a key event in between the mod up, mouse down,
> mod down sequence. IIRC X doesn't mind if the modifier state changes
> while
> a button is kept down. Either way, there's limits to what extent you can
> emulate mouse buttons using modifier keys.
> 
> I'll cook up some experimental hack for you to test.

That would be really cool!

-- 
http://www.fastmail.fm - Does exactly what it says on the tin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: bootable CD for powerpc (fwd)

2001-09-06 Thread Otto Wyss
[...]
> then burn your CD and it should boot like any other macos cd (on
> newworld only).
> 
Thanks.

> the current potato debian CDs should already be bootable on all
> newworlds.
> 
I got Debian 2.2rev3 from a friend but it doesn't boot on my b&w G3. From the
blinking led during startup the CD is actually accessed but it falls back to
boot from the disk into MacOS. It works well with my friend. This problem might
be just on my machine.

O. Wyss



HFS+ (MacOS) in contrast to EXT2 (Linux-i386)

2001-09-13 Thread Otto Wyss
While reading the thread about "HFS Plus on Linux ?" I had a experience I want
to share with you. 

Within a an hour I had to hard reset both of my computers, first my Linux-i386
due to a complete lockup of the system while using el3diag, second my powermac
due to an not responding USB-keyboard/-mouse. Now while the Mac restarted
without any fuse I had to fix the ext2-fs manually for about 15min. Luckally it
seems I haven't lost anything on both system. 

I leave it up to you to draw any conclusion.

O. Wyss



Bootable offical Debian-CD

2001-11-28 Thread Otto Wyss
Well I don't have the time but I'd like to have this problem fixed
before Woody gets released.

I've now tried all version of the first Debian Potato rev1-4 CD plus the
GNU/Darwin-CD but none does boot on my b&w G3. Of course any MacOS CD
does boot correctly. 

When I try to boot with the CD pressing the C-key, the CD drive lights
starts flickerling and the display changes to white. But nothing happens
until after a long wait the harddisk starts and MacOS9 is booted. 

How can I check what's going on? It there any other way to boot from a
CD?

I've downloaded the CD images with rsync on a PC(Linux) and burnt it
with cdrecord. I'm fairly sure they are correct, under MacOS I can read
them without any problem. I downloaded GNU/Darwin on a PC(Windows) and
burnt it with nero.

O. Wyss

PS. Is there a Debian bootable ZIP (100MB)?



Re: Bootable offical Debian-CD

2001-11-29 Thread Otto Wyss
> Have you tried booting directly to OpenFirmware (hold Command-Option-O-F
>   before it bongs)? If not, try typing:
> 
Booting into OF shows:

Apple PowerMac1,1 1.1f4 BootROM built 04/09/99 13:57:32
...
OpenFirmware 3.1.1
...

>  boot cd:\\yaboot

boot cd:\\yaboot can't OPEN cd:\\yaboot

No success so far, now what else?

O. Wyss



Bootable Debian on Zip100

2002-02-26 Thread Otto Wyss
Does anybody know if there is anywhere a bootable Debian system on a
100MB Zip-Drive? Or is there any docs how to build such a a disk on
MacOS?

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)



PowerPC Debian CD's do not boot on my b&w G3 but Suse 7.0 does

2002-03-16 Thread Otto Wyss
Sorry for the cross post but I'm not quiet sure where to address this
subject. Please reply only in "debian-powerpc".

As I said before none of the powerpc Debian Potato CD's nor a recent
Debian network CD (I don't remember from where) and neither the woody CD
from "trasno.net" boots on my blue&white G3 PowerMac. This is strange
since there shouldn't be a problem. Finally I got a CD set of Suse 7.0
powerpc and it nicely boots, showing the yaboot prompt and else. What's
wrong with Debian CD's? Or what's the difference between Debian and
Suse?

When I want to start my Mac with a Debian CD (pressing the "C" key) the
LED of the cd-drive flickers a few times and after a while the display
is switched from a light gray to white. Nothing is ever written
(visible) on the display. After a while the MacOS starts from the
harddisk. There is never a yaboot prompt visible so I guess it isn't
found on the CD and started.

How could this problem be solved? What can I do to see what's going on?
Is there a way to start yaboot from an OF prompt? Or can I inspect the
CD from an OF prompt?

I've heard (without confirmation) that the early b&w G3 might have a
problem with booting from a CD but at least Suse has found a way.

O. Wyss

PS. I've twice checked if the CD's I use correctly boot on other
machines (i.e. on an Imac).

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)



Re: PowerPC Debian CD's do not boot on my b&w G3 but Suse 7.0 does

2002-03-17 Thread Otto Wyss
> I had no problems to install Debian on my newly acquired 
> blue&whit G3 PowerMac  AFTER  having upgraded the firmware.
> The firmware upgrade was on my MacOS 9.2 CD and was 
> required to upgrade vom MacOS 8.5 to MacOS 9.2.
> 
If you mean the "G3 Firmware Update 1.1" I've done this so long ago I
don't remember when.

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)



Re: PowerPC Debian CD's do not boot on my b&w G3 but Suse 7.0 does

2002-03-17 Thread Otto Wyss
> > CD from an OF prompt?
> 
> You can boot from the CD in OF with boot cd:,\\:tbxi .
> 
Booting into OF shows:

 OpenFirmware 3.1.1"

and your command produces:

 cd:,\\tbxi, unknown word

I also tried "hd:,\\tbxi" with the same answer "unknown word".

> > I've heard (without confirmation) that the early b&w G3 might have a
> > problem with booting from a CD but at least Suse has found a way.
> 
> Well, maybe they use proprietary software, which we can't nor want to.
> 
I don't think Suse distributes any proprietary part under the GPL.

> Anyway, I've asked Mr. Benson on IRC about this, and he advised to use
> at least 2.2r5 CDs as earlier versions are known to have boot issues.
> Furthermore he says to try and reset the PRAM (command option p r for 3
> reboots on cold boot) and then try to boot the CDs again.

PRAM reseting for 3 times doesn't change anything, still no Debian CD
boots.

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)



Re: PowerPC Debian CD's do not boot on my b&w G3 but Suse 7.0 does

2002-03-18 Thread Otto Wyss
> >  OpenFirmware 3.1.1"
> > 
> > and your command produces:
> > 
> >  cd:,\\tbxi, unknown word
>  insert : < -- there
>
Sorry, this is just a typo in the mail. I tried at least 10 different
writings and also "hd:,\\:tbxi" which I found in the environment. Each
replied with "unknown word".
 
> Do you know which Firmware update you applied? 4.1.something. Actually,
> on the MacOS side you can find it in the System Profiler under the apple
> menu.

The AppleSystemProfiler say under "ProduktInformationen" (ProductInfos):
 ROM Revision:  $77D.45F6
 Boot ROM Version:  1.1f4
 Mac OS ROM Version:8.7

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)



Booting Debian versus Suse

2002-04-12 Thread Otto Wyss
I'm still stuck with Debian CD's not booting on my b&w G3 while Suse
boots nicely. Is it possible to extract the difference between these
CD's? Could anybody help me to extract this infos?

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Partimage CD boots on my PowerMac while Debian don't

2002-05-19 Thread Otto Wyss
I've found another boot CD which boots on my b&w G3 while no Debian CD
does: It's "partimage-imac-0.7.0-rc1-bootcd-1.iso.bz2" from Partimage.

Could anyone who understands making boot CD's analyze what's the
difference between Partimage and Debian CD's? Since Partimage provides
sources it should be possible. I'd be rather nice if released Woody CD
would solve this problem.

If nobody wants to do it, could anybody give me hints where I have to
look for differences or tell me where I've to look for docs?

The problem on my Mac with Debian is most likely Yaboot is not found, so
no boot prompt is shown and after a while it boots from harddisk.

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Partimage CD boots on my PowerMac while Debian don't

2002-05-20 Thread Otto Wyss
> > A CD should be bootable on a NewWorld if it has a 'blessed'
> > folder. And in order for the blessing to work, the folder needs to
> > have a Mac-System- type file.
> 
>   I talked some weeks ago with Ethan on irc and he told me that
>   the current (at the time) mkisofs couldn't bless the root
>   directory of a CD (that is, a blessed directory would have to
>   be at least one level deep on the directory tree).
> 
>   I don't know if that still applies.
> 
> > If you mount the CD in MacOS, it should show the folder icon of the
> > blessed folder with a little Mac on it,
> 
While Partimage shows the blessed folder in the root Debian does it in
the /install folder (one level deeper). Since Partimage most likely uses
the same mkisofs as Debian the deeper level might be the reason.

How do I build a powerpc test image with the blessed folder in the root
on a Debian i386.

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Partimage CD boots on my PowerMac while Debian don't

2002-05-21 Thread Otto Wyss
> > How do I build a powerpc test image with the blessed folder in the root
> > on a Debian i386.
> 
> I think that could be the problem. You mean yaboot is within
> /install/powermac, right? Not just inside /install? I think that would
> definitely be a problem.  When I wanted to change systems in MacOS, I
> always used to de-bless a System Folder by moving its System inside
> Startup Items (the second level). If the system-type item isn't
> immediately within the top-level folder, the folder gets unblessed.
> 
On Debian, the blessed folder is "powermac" within "install"
("/install/powermac") and contains yaboot, etc. "ofboot.b" is marked as
system. I don't know where ybin is, probably within the invisible apple
boot partition.

On Partimage, the blessed folder is "boot" in the root ("/boot"), where
"yaboot" is marked system.

On Suse 7.0, the blessed folder is "suseboot" in the root ("/suseboot"),
where "yaboot" is marked system. It also contains a fake "finder" and a
"system".

> I'm changing cvs.debian.org/powerpc-specials/mini-iso.sh to put yaboot
> and the kernel into the /install folder rather than right at the root
> level. Should be fixed up in half an hour or so.

Thanks, I'm going to download a testing image as soon as it's available.

O. Wyss

-- 
Author of "Debian partial mirror synch script"
("http://dpartialmirror.sourceforge.net/";)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Poweron timer on iBook G3 (PPC_RTAS?)

2004-05-28 Thread Thomas Otto

Hi!

I just noticed OS X allows to set a time at which the laptop
automatically turns on, this seems to correlate to the kernel option
"Support for RTAS (RunTime Abstraction Services) in /proc (PPC_RTAS)
[N/y/?]" which says "[...] if you power off your machine at night but
want it running when you enter your office at 7:45 am, do a
# date -d 'tomorrow 7:30' +%s > /proc/rtas/poweron and shutdown."

(from arch/ppc/Kconfig +750 in the 2.6 kernelsource, complete entry
appended)

Yet after compiling this into the kernel I have neither /proc/rtas/ nor
a /proc/device-tree/rtas so I wonder if there is another way to access
this variable e.g. via nvsetenv?


Or is there a general interface to this "hardware-wakeup"? IIRC some x86 
bios also have a boottimer, yet i have never seen a userspace

interface to this...

Regards


-Thomas

-
config PPC_RTAS
 bool "Support for RTAS (RunTime Abstraction Services) in /proc"
 depends on PPC_OF && PROC_FS
 ---help---
   When you use this option, you will be able to use RTAS from
   userspace.

   RTAS stands for RunTime Abstraction Services and should
   provide a portable way to access and set system information. This
   is commonly used on RS/6000 (pSeries) computers.

   You can access RTAS via the special proc file system entry rtas.
   Don't confuse this rtas entry with the one in
   /proc/device-tree/rtas which is readonly.

   If you don't know if you can use RTAS look into
   /proc/device-tree/rtas. If there are some entries, it is very
   likely that you will be able to use RTAS.

   You can do cool things with rtas. To print out information about
   various sensors in the system, just do a

   $ cat /proc/rtas/sensors

   or if you power off your machine at night but want it running when
   you enter your office at 7:45 am, do a

   # date -d 'tomorrow 7:30' +%s > /proc/rtas/poweron

   and shutdown.

   If unsure, say Y.



Re: hfs+ fs with linux - only ro after some time error

2004-08-15 Thread Thomas Otto

[...] Oh, and after 32
rw mounts, you need to use the hfpmount on it, which will fail but will
allow the kernel to mount it.

I use 2.6.7.


I had a similar problem: with the early 2.6 testing
kernels I could write on the hfs+ volume just fine (also with 2.4 benh 
kernels after the new ardistech hfsplus code was merged iirc), yet 
suddenly it threw an error when I tried to mount it rw[1].


Running OS X fsck.hfsplus on it didnt change it yet your suggestion with 
 hpmount/hpumount (in the debian package hfsplus ftr) fixed it. That 
was rather unexpected and I didn't make a copy of the first few sectors 
where the relevant bit was flipped so maybe mount or the kernel misses 
something upon unmounting an hfsplus volume?


  -Thomas

--
[1]
# mount -t hfsplus /dev/hda2 /osx -o rw
# mount | grep osx
/dev/hda2 on /osx type hfsplus (rw)
# dmesg | tail -1
HFS+-fs warning: Filesystem was not cleanly unmounted, running
fsck.hfsplus is recommended.  mounting read-only.
# touch /osx/test
touch: cannot touch `/osx/test': Read-only file system



Re: hfs+ fs with linux - only ro after some time error

2004-08-15 Thread Thomas Otto

[...] Oh, and after 32
rw mounts, you need to use the hfpmount on it, which will fail but will
allow the kernel to mount it.

I use 2.6.7.


I had a similar problem: with the early 2.6 testing
kernels I could write on the hfs+ volume just fine (also with 2.4 benh 
kernels after the new ardistech hfsplus code was merged iirc), yet 
suddenly it threw an error when I tried to mount it rw[1].


Running OS X fsck.hfsplus on it didnt change it yet your suggestion with 
 hpmount/hpumount (in the debian package hfsplus ftr) fixed it. That 
was rather unexpected and I didn't make a copy of the first few sectors 
where the relevant bit was flipped so maybe mount or the kernel misses 
something upon unmounting an hfsplus volume?


  -Thomas

--
[1]
# mount -t hfsplus /dev/hda2 /osx -o rw
# mount | grep osx
/dev/hda2 on /osx type hfsplus (rw)
# dmesg | tail -1
HFS+-fs warning: Filesystem was not cleanly unmounted, running
fsck.hfsplus is recommended.  mounting read-only.
# touch /osx/test
touch: cannot touch `/osx/test': Read-only file system



Which scripts are run on suspend (iBook)?

2004-08-22 Thread Thomas Otto

Hi!

I want to lock my X display with xlock prior to suspending my iBook yet 
I couldn't find any scripts that are run just before the lid is closed 
or the powerbutton pressed.


/etc/power/{pwrctl-local,*} is only run when an AC adapter is attached 
or detached yet I couldn'd find anything which is run just before 
suspend (afterwards would have the feeling of a race condition). Do I 
have to mess with the pmud sources myself or are there other ways to 
achieve locking at that moment (preferably with a -forceLogout  
equivalent)?


Regards

   -Thomas



Re: Which scripts are run on suspend (iBook)?

2004-08-24 Thread Thomas Otto
I want to lock my X display with xlock prior to suspending my iBook yet 
I couldn't find any scripts that are run just before the lid is closed 
or the powerbutton pressed.


you probably want a current version of pbbuttonsd which conflicts with pmud
as it provides all the functionality of pmud and a lot more, one thing
being an init-scripts-like system to call stuff before suspend and after
resume in these directories:

/etc/power/scripts.d# scripts
/etc/power/suspend.d# symbolic links
/etc/power/resume.d   # symbolic links

The file /etc/power/README explains this in more detail.


Exactly what I was looking for, thanks - too bad I had pbbuttonsd on 
hold because some version after 0.5.3a didn't get sound/volume right and 
thus missed this innovation.


Now finally security-wise I have my iBook where I want it :)


-Thomas



Re: MOL Login

2004-12-07 Thread Thomas Otto

this happens every time i start up OS X in MOL and enter my
username/pass... a window pops up to say "unable to log you in at this
time", and then it logs me in! is there a way to stop the pop up window as
it is clearly in error...


Well... me too!

10.2 didn't do this, just 10.3 started showing this message box. Seems 
the MOL env is missing some part from the native OS X bootenvironment 
causing this error.

Apart from being annoying it seems to do no harm.

I think this message did not show up after I installed 10.3 purely into 
MOL i.e. when OS X never saw the real underlying hardware.



 -Thomas



Re: Questions about kernel crypto section

2003-12-30 Thread Thomas Otto

I have a question about the use of the crypto api in new 2.4 kernels.

My /home partition is on a cryptoloop made using a 2.4 kernel
pre-crypto (2.4.20), patches from kerneli for kernel and util-linux.

Now, with new kernel (2.4.23-ben1) I cannot access to this partition. I
think this is because new kernel does not have the crypto-loop support
but only the ciphers. Is this right?


The cryptosupport was merged in 2.4.23 and is also present in 2.6, see 
your .config in /usr/src/linux/, at the end it should have a 
CONFIG_SECURITY=y followed by CONFIG_CRYPTO=y lateron plus the different 
cyphers e.g. CONFIG_CRYPTO_AES=m. Then a "modprobe aes" should succeed.


Yet the API changed which confuses the losetup tool which tries to get 
the info from /proc/crypto/cipher/* whereas it is now just /proc/crypto.


For more info see bug #206396 .

HTH

-Thomas



Re: Does Airport extreme work with debian? - NO

2004-10-24 Thread Thomas Otto

  this is my first post on debian-powerpc list. i look up the archives
because i'm going to buy a new ibook 12", but i saw that the Airport
extreme wireless card doesn't work. is it true? is there a project to
make it work with debian?
searching with google seems that it's false: i found this
http://www.pl-berichte.de/t_hardware/airport.html. someone of you
speek german? ;)


Airport (which is in G3 iBooks) is NOT Airport Extreme. The former works 
perfectly (at least in my iBook), the latter not at all. An there is 
nothing Debian or Mandrake or YDL can do about since Broadcom who 
manufactures it doesn't publish specs (well they could make Broakcom to 
sell them commertial drivers maybe but that would be foolish). Nobody 
knows why they do it (or who makes them?), since their other NICs which 
are rather serverside have Linux drivers.


My 2 ¢: Get a decent x86 notebook and write Apple how _terribly_ sorry 
you are that you couldn't buy their nice hardware because of the driver 
issues (and ftr: Apple makes their main profit from hardware, not OS X 
etc. sales).


   -Thomas



Re: umounting cryptoloop before swsusp / suspend to ram

2004-10-24 Thread Thomas Otto

Can anyone share with me how to solve the following problem.
I keep some important data on an cryptoloop. But i have to umount it
before suspend to ram / swsusp. On i386 i had configured acpi so
when i pressed the power button the system umounted cryptoloop
and did swsusp. Is this possible on ppc ? Or maybe is there a way to
configure pmud so it would have umounted cryptoloop before suspend
to ram and tried to mount it before wake up.


You probably want a current version of pbbuttonsd which conflicts with 
pmud as it provides all the functionality of pmud and a *lot* more, one 
thing being an init-scripts-like system to call stuff before suspend and 
after resume in these directories:


/etc/power/scripts.d# scripts
/etc/power/suspend.d# symbolic links
/etc/power/resume.d # symbolic links

The file /etc/power/README explains this in more detail.

(Shameless rip of a reply from Johannes Mockehaupt to a similar question 
I asked some time ago :)


So basically you write a script which does the 
unmounting/initializing/mounting and then place/link it appropriately.
I use exactly this mechanism to lock my screen if I put my iBook to 
sleep, the swsuspend stuff might be somewhere different.



 -Thomas



mariadb-10.6: FTBFS on ppc64/ppc64el: htmxlintrin.h errors

2022-03-02 Thread Otto Kekäläinen
Hello!

A recent build regression on ppc64el is preventing a new MariaDB version
from migrating from unstable to testing.

Could any experts on this list help out?

Please use reply-to-all, I don't subscribe to the list.

Builds on both ppc64 and ppc64el fail due to misc errors related to
htmxlintrin:

htmxlintrin.h:25:3: error: #error "HTM instruction set not enabled"
htmxlintrin.h:58:25: error: ‘__builtin_tbegin’ was not declared in
this scope; did you mean ‘__builtin_tan’?
htmxlintrin.h:71:28: error: ‘__builtin_get_texasr’ was not declared in
this scope; did you mean ‘__builtin_gettext’?
htmxlintrin.h:108:3: error: ‘__builtin_tresume’ was not declared in
this scope; did you mean ‘__builtin_trunc’?
htmxlintrin.h:158:7: error: ‘__builtin_ttest’ was not declared in this
scope; did you mean ‘__builtin_strstr’?

Details at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006527


Re: [debian-mysql] Bug#1006527: mariadb-10.6: FTBFS on ppc64/ppc64el: htmxlintrin.h errors

2022-03-02 Thread Otto Kekäläinen
Control: forwarded -1 https://jira.mariadb.org/browse/MDEV-27936

This was actually already in progress upstream. Sorry for escalating
to list before noticing this.



Bug#1007216: mariadb-10.6: FTBFS on ppc64: unrecognized opcode tbegin/tabort/tend

2022-03-13 Thread Otto Kekäläinen
Source: mariadb-10.6
Version: 1:10.6.7-1
Tags: upstream, confirmed, help, ftbfs
User: debian-powerpc@lists.debian.org
Usertags: ppc64
X-Debbugs-CC: debian-powerpc@lists.debian.org

Builds on ppc64 failed with:

[ 48%] Building CXX object
extra/mariabackup/CMakeFiles/mbstream.dir/xbstream.cc.o
cd /<>/builddir/extra/mariabackup && /usr/bin/c++
-DBTR_CUR_ADAPT -DBTR_CUR_HASH_ADAPT -DCOMPILER_HINTS -DDBUG_TRACE
-DHAVE_CONFIG_H -DHAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE=1
-DHAVE_LIBNUMA=1 -DHAVE_LZ4=1 -DHAVE_LZ4_COMPRESS_DEFAULT=1
-DHAVE_OPENSSL -DHAVE_SCHED_GETCPU=1 -DHAVE_SNAPPY=1
-DHAVE_SYSTEM_REGEX -DHAVE_URING -DPCRE_STATIC=1
-DWITH_INNODB_DISALLOW_WRITES -D_FILE_OFFSET_BITS=64
-I/<>/wsrep-lib/include
-I/<>/wsrep-lib/wsrep-API/v26
-I/<>/builddir/include
-I/<>/storage/innobase/include
-I/<>/storage/innobase/handler
-I/<>/libbinlogevents/include -I/<>/tpool
-I/<>/include -I/<>/sql
-I/<>/extra/mariabackup/quicklz
-I/<>/extra/mariabackup -g -O2
-ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time
-D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector
--param=ssp-buffer-size=4 -Wconversion -Wno-sign-conversion -O2 -g
-static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-Wno-uninitialized -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2
-DDBUG_OFF -Wall -Wextra -Wformat-security -Wno-format-truncation
-Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter
-Woverloaded-virtual -Wnon-virtual-dtor -Wvla -Wwrite-strings
-Wdate-time -D_FORTIFY_SOURCE=2 -DUNIV_LINUX -D_GNU_SOURCE=1
-UMYSQL_SERVER -std=gnu++11 -MD -MT
extra/mariabackup/CMakeFiles/mbstream.dir/xbstream.cc.o -MF
CMakeFiles/mbstream.dir/xbstream.cc.o.d -o
CMakeFiles/mbstream.dir/xbstream.cc.o -c
/<>/extra/mariabackup/xbstream.cc
/tmp/ccwobTGg.s: Assembler messages:
/tmp/ccwobTGg.s:48: Error: unrecognized opcode: `tbegin.'
/tmp/ccwobTGg.s:106: Error: unrecognized opcode: `tabort.'
/tmp/ccwobTGg.s:151: Error: unrecognized opcode: `tend.'

Full log at 
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=ppc64&ver=1%3A10.6.7-3&stamp=1647018395&raw=0

Builds of powerpc and ppc64el work, this failure is only on ppc64.
This arch failed previously on Debian#1006527 but it was fixed on the
latest upload, and thus this second failure got uncovered.



Bug#1007218: mariadb-10.6: FTBFS on powerpc: test main.grant_kill: Result length mismatch

2022-03-13 Thread Otto Kekäläinen
Source: mariadb-10.6
Version: 1:10.6.7-3
Tags: upstream, confirmed, ftbfs
User: debian-powerpc@lists.debian.org
Usertags: powerpc
Forwarded: https://jira.mariadb.org/browse/MDEV-23915
X-Debbugs-CC: debian-powerpc@lists.debian.org

Filing this bug for tracking purposes. No help needed from Debian
porters, the root cause seems more or less evident and should be fixed
by upstream in a later version.

Latest mariadb-10.6 1:10.6.7-3 does build, but test suite fails with:

main.grant_kill  w10 [ fail ]
Test ended at 2022-03-11 17:19:58
CURRENT_TEST: main.grant_kill
--- /<>/mysql-test/main/grant_kill.result 2022-02-10
20:07:03.0 +
+++ /<>/mysql-test/main/grant_kill.reject 2022-03-11
17:19:58.158444112 +
@@ -20,7 +20,7 @@
 foo
 root
 KILL ID;
-ERROR HY000: You are not owner of thread ID
+ERROR HY000: You are not owner of thread 0
 disconnect foo;
 disconnect bar;
 connection default;
mysqltest: Result length mismatch

Full log:
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=powerpc&ver=1%3A10.6.7-3&stamp=1647019335&raw=0

Related:
https://github.com/MariaDB/server/pull/2028
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/d8b6f1399697c701ae769c8055c57d762f44e50a



Bug#1029372: mariadb: FTBFS on powerpc: Test main.index_merge_innodb runs 150 mins until terminated

2023-01-21 Thread Otto Kekäläinen
Source: mariadb
Version: 1:10.11.1-1
Tags: upstream, confirmed, help, ftbfs
User: debian-powerpc@lists.debian.org
Usertags: powerpc
X-Debbugs-CC: debian-powerpc@lists.debian.org

Builds on powerpc pass but the testsuite that validates that binary
works failed with:

...
main.subselect_sj2_jcl6 'innodb' w5 [ pass ]  19759
main.subselect_innodb 'innodb'   w15 [ pass ]  26462
main.stat_tables_disabled 'innodb'   w7 [ pass ]  29902
main.greedy_optimizer 'innodb'   w9 [ pass ]  45686
main.function_defaults_innodb 'innodb'   w12 [ pass ]  48457
main.parser_bug21114_innodb 'innodb' w13 [ pass ]  86834
worker[1] Test still running: main.index_merge_innodb
worker[1] Test still running: main.index_merge_innodb
worker[1] Test still running: main.index_merge_innodb
worker[1] Test still running: main.index_merge_innodb
worker[1] Test still running: main.index_merge_innodb
worker[1] Trying to dump core for [mysqltest - pid: 332221, winpid: 332221]
worker[1] Trying to dump core for [mysqld.1 - pid: 332187, winpid: 332187]
E: Build killed with signal TERM after 150 minutes of inactivity

Full log at 
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=powerpc&ver=1%3A10.11.1-1&stamp=1673865848&raw=0

In MariaDB 10.6 build the same test passed:
main.index_merge_innodb 'innodb' w27 [ pass ]  63461

(source: 
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=powerpc&ver=1%3A10.6.11-2&stamp=1672945100&raw=0=

Hence, this is a regression in MariaDB 10.11.



Bug#1029374: mariadb: FTBFS on ppc64: main.func_json_notembedded very long output and crash

2023-01-21 Thread Otto Kekäläinen
Source: mariadb
Version: 1:10.11.1-1
Tags: upstream, confirmed, help, ftbfs
User: debian-powerpc@lists.debian.org
Usertags: ppc64
X-Debbugs-CC: debian-powerpc@lists.debian.org

Builds on ppc64 pass but the testsuite that validates that binary
works failed with:


main.func_json_notembedded   w26 [ fail ]  timeout after
7200 seconds
Test ended at 2023-01-12 21:54:41
Test case timeout after 7200 seconds
== /<>/builddir/mysql-test/var/26/log/func_json_notembedded.log ==
1234567,
1234567,
...
2345678
]
select json_loose(@arr);
json_loose(@arr)
[1234567, 1234567, 1234567, 1234567, 1234567, 1234567, 1234567,
1234567, 1234567, 1234567, 1234567, 1234567, 1234567, 1234567,
1234567, 1234567, 1234567, 1234567, 1234567, 1234567, 1234567,
1234567, 1234567, 1234567, 1234567, 1234567, 1234567,
...
...
...
  2345678]
select json_merge_patch(@obj, @obj);
 == /<>/builddir/mysql-test/var/26/tmp/analyze-timeout-mysqld.1.err
==
mysqltest: Could not open connection 'default' after 500 attempts:
2002 Can't connect to local server through socket
'/<>/builddir/mysql-test/var/tm' (111)
 - found 'core' (0/5)
Core generated by '/<>/builddir/sql/mariadbd'
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
--
[New LWP 20086]
[New LWP 20119]
[New LWP 20101]
[New LWP 20100]
[New LWP 20099]
[New LWP 20111]
[New LWP 20108]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64-linux-gnu/libthread_db.so.1".
Core was generated by `/<>/builddir/sql/mariadbd
--defaults-group-su'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7fffa689da5c in ?? () from /lib/powerpc64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fffa792b2a0 (LWP 20086))]
#0  0x7fffa689da5c in ?? () from /lib/powerpc64-linux-gnu/libc.so.6
#1  0x000108f72718 in my_write_core (sig=) at
./mysys/stacktrace.c:424
#2  0x00010891d058 in handle_fatal_signal (sig=) at
./sql/signal_handler.cc:355
#3  
#4  0x7fffa692daf0 in .__poll () from /lib/powerpc64-linux-gnu/libc.so.6
#5  0x0001084ef3fc in poll (__timeout=-1, __nfds=140737482556448,
__fds=0x1002e8d9098) at
/usr/include/powerpc64-linux-gnu/bits/poll2.h:39
#6  handle_connections_sockets () at ./sql/mysqld.cc:6292
#7  0x0001084f0e44 in mysqld_main (argc=,
argv=) at ./sql/mysqld.cc:5997
#8  0x000108496618 in main (argc=, argv=) at ./sql/main.cc:34




This is similar as in MariaDB 10.6 in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007216 so it is not
a regression in 10.11.

For suggestions to fix, Merge Requests on Salsa are very welcome!
https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian



Bug#1053486: mariadb: FTBFS on ppc64: Post-build test suite fails on main.mysql_upgrade

2023-10-04 Thread Otto Kekäläinen
Source: mariadb
Version: 1:10.11.5-1
Tags: upstream, confirmed, help, ftbfs
X-Debbugs-CC: debian-powerpc@lists.debian.org
User: debian-powerpc@lists.debian.org
Usertags: ppc64

Builds on ppc64 repeatedly failed on test main.mysql_upgrade with error message:

main.mysql_upgrade 'innodb'  w8 [ fail ]
Test ended at 2023-10-04 05:48:24
CURRENT_TEST: main.mysql_upgrade
mariadb-dump: Couldn't execute 'show create table
`transaction_registry`': Unknown storage engine 'InnoDB' (1286)
mysqltest: In included file "./include/load_dump_and_upgrade.inc":
included from /<>/mysql-test/main/mysql_upgrade.test at line 507:
At line 15: exec of '/<>/builddir/client//mariadb-dump
--defaults-file=/<>/builddir/mysql-test/var/8/my.cnf
--defaults-group-suffix=.1 mysql >
/<>/builddir/mysql-test/var/tmp/8/mysql_database_backup'
failed, error: 512, status: 2, errno: 11
Output from before failure:
call mtr.add_suppression("Column count of mysql.proc is wrong.
Expected 21, found 20.");
The result from queries just before the failure was:
< snip >
Phase 8/8: Running 'FLUSH PRIVILEGES'
OK
SHOW CREATE USER mariadb_102;
CREATE USER for mariadb_102@%
CREATE USER `mariadb_102`@`%`
connect con1,localhost,mariadb_102;
select current_user();
current_user()
mariadb_102@%
disconnect con1;
connection default;
drop table mysql.global_priv;
rename table mysql.global_priv_bak to mysql.global_priv;
# End of 10.4 tests
#
# Check that mysql_upgrade can be run on mysqldump
# of mysql schema from previous versions
#
call mtr.add_suppression("innodb_(table|index)_stats has length
mismatch in the column name table_name");
call mtr.add_suppression("Column count of mysql.proc is wrong.
Expected 21, found 20.");

This seems to hint at some bug that the mariadb-upgrade perhaps didn't
run properly on this platform.

Full logs:
* 
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=ppc64&ver=1%3A10.11.5-1&stamp=1696398960&raw=0
* 
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=ppc64&ver=1%3A10.11.5-1&stamp=1696469091&raw=0

These logs also show failures in tests main.xa_prepared_binlog_off,
main.statistics_upgrade_not_done, main.greedy_optimizer with errors
hinting too disk issue / file corruption, but those failures were
sporadic.

The test main.mysql_upgrade was passing in the 10.11.4-1 builds on
Debian unstable, so this is clearly a regression in 10.11.5.



Re: [debian-mysql] Bug#915046: mariadb-10.3: Please build with -latomic where necessary

2018-12-16 Thread Otto Kekäläinen
> Attaching an updated version of the patch.
>
> Please note, without the patch, mariadb-10.3 will not build on mips32 and
> several other 32-bit platforms.

Thanks!

Can you please provide a link to where you upstreamed it?

We already have 21 patches and maintaining them year after year has
its price, so I am more strict nowadays on making sure all patches are
also on their way to upstream.



Re: [debian-mysql] Bug#915046: mariadb-10.3: Please build with -latomic where necessary

2018-12-16 Thread Otto Kekäläinen
su 16. jouluk. 2018 klo 22.10 John Paul Adrian Glaubitz
(glaub...@physik.fu-berlin.de) kirjoitti:
>
> On 12/16/18 9:04 PM, Otto Kekäläinen wrote:
> > Can you please provide a link to where you upstreamed it?
>
> It's in the "Forwarded" field of this bug report. It's pointing to:
>
> > https://github.com/MariaDB/server/pull/979

Right. I added it into the patch itself now so that it is easy to track.

> > We already have 21 patches and maintaining them year after year has
> > its price, so I am more strict nowadays on making sure all patches are
> > also on their way to upstream.
> Well, it's a trivial bug and it fixes an FTBFS on release architectures :).

It looks like the libmysqld/CMakeLists.txt section does not apply.
What did you rebase this on? How should this be corrected?

WIP at 
https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/c3bc7ec9634f8601a860602ccc6237630bda77ca



Re: [debian-mysql] Bug#915046: mariadb-10.3: Please build with -latomic where necessary

2018-12-21 Thread Otto Kekäläinen
Hello!

pe 21. jouluk. 2018 klo 19.20 John Paul Adrian Glaubitz
(glaub...@physik.fu-berlin.de) kirjoitti:
>
> Hello!
>
> On 12/16/18 10:37 PM, John Paul Adrian Glaubitz wrote:
> > That's odd. I rebased it against the latest mariadb-10.3 package in
> > experimental, i.e. version 1:10.3.11-1~exp1.
> >
> >> WIP at 
> >> https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/c3bc7ec9634f8601a860602ccc6237630bda77ca
> >
> > Ok, I'll open a pull request in salsa.
>
> I haven't had the time to rebase the patch yet, I have had a full week 
> schedule.

If you do it today/this weekend, it will be included in next upload.

> But I don't understand why mariadb-10.3 was uploaded to unstable now without
> the patch. It's not helpful when the up-to-date version of the package drifts
> apart across architectures.

We had another mips fixing patch submitted which should have fixed
some issues and the upload seemed sensible, though it did not fix
after all.
Now there is a new MR at
https://salsa.debian.org/mariadb-team/mariadb-10.3/merge_requests/2
for further MIPS fixes.

Any further input/comments/patches are welcome so we get a new version
uploaded and the mariadb-10.3 quality on par with what mariadb-10.1
was in terms of arch compatibility.



Re: [debian-mysql] Bug#915046: mariadb-10.3: Please build with -latomic where necessary

2018-12-22 Thread Otto Kekäläinen
Hello John!

Do you have any estimate when you could finalize the patch, so it can be
included in the next upload?


John Paul Adrian Glaubitz  kirjoitti pe 21.
joulukuuta 2018 klo 19.20:

> Hello!
>
> On 12/16/18 10:37 PM, John Paul Adrian Glaubitz wrote:
> > That's odd. I rebased it against the latest mariadb-10.3 package in
> > experimental, i.e. version 1:10.3.11-1~exp1.
> >
> >> WIP at
> https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/c3bc7ec9634f8601a860602ccc6237630bda77ca
> >
> > Ok, I'll open a pull request in salsa.
>
> I haven't had the time to rebase the patch yet, I have had a full week
> schedule.
>
> But I don't understand why mariadb-10.3 was uploaded to unstable now
> without
> the patch. It's not helpful when the up-to-date version of the package
> drifts
> apart across architectures.
>
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>