Re: where is xfree?

1999-09-24 Thread Stefan Berndtsson
Sven LUTHER <[EMAIL PROTECTED]> writes:

> On Wed, Sep 22, 1999 at 03:09:42PM -0400, John Whitley wrote:
> > Sergio Brandano writes:
> >  > My X still does not work. Then I checked for an update.
> >  > I checked all the tree in potato but I could not find
> >  > any file, exept the single file xfree86-common_3.3.5-1.
> >  > Where is XFree?
> > 
> > I noticed that the old xfree stuff vanished a coupled days ago when
> > the Debian XFree 3.3.5 packages were announced.  I note that the
> > source debs have hit the mirrors...
> 
> It is there now, i uploaded the binary packages yesterday.

I've tested this package on a PowerBook (Lombard series), and it gives
similar symptoms to the older version of the XF68_FBDev.

If I run without acceleration, everything works fine.

If I run with acceleration it works a while, but then the entire
server crashes.

If I run Xpmac (from the LinuxPPC RPM) it works fine with acceleration,
but it messes up my "font:VGA8x8" upon switching away from X.

If I run XF68_FBDev from ftp://devel.linuxppc.org/users/trini/XFree86-3.3.5/
it seems to work with acceleration (hasn't crashed yet).

Something isn't fully compatible with the debian patching and this machine.

3.3.5 _does_ work better than 3.3.3.1, because 3.3.3.1 _always_ crashed when
it reinitialised the accel code when switching back from console to X.

/Stefan



Re: where is xfree?

1999-09-24 Thread Stefan Berndtsson
Sven LUTHER <[EMAIL PROTECTED]> writes:

> On Fri, Sep 24, 1999 at 02:16:06PM +0200, Stefan Berndtsson wrote:
> > Sven LUTHER <[EMAIL PROTECTED]> writes:
> > 
> > > On Wed, Sep 22, 1999 at 03:09:42PM -0400, John Whitley wrote:
> > > > Sergio Brandano writes:
> > > >  > My X still does not work. Then I checked for an update.
> > > >  > I checked all the tree in potato but I could not find
> > > >  > any file, exept the single file xfree86-common_3.3.5-1.
> > > >  > Where is XFree?
> > > > 
> > > > I noticed that the old xfree stuff vanished a coupled days ago when
> > > > the Debian XFree 3.3.5 packages were announced.  I note that the
> > > > source debs have hit the mirrors...
> > > 
> > > It is there now, i uploaded the binary packages yesterday.
> > 
> > I've tested this package on a PowerBook (Lombard series), and it gives
> > similar symptoms to the older version of the XF68_FBDev.
> > 
> > If I run without acceleration, everything works fine.
> > 
> > If I run with acceleration it works a while, but then the entire
> > server crashes.
> > 
> > If I run Xpmac (from the LinuxPPC RPM) it works fine with acceleration,
> > but it messes up my "font:VGA8x8" upon switching away from X.
> > 
> > If I run XF68_FBDev from ftp://devel.linuxppc.org/users/trini/XFree86-3.3.5/
> > it seems to work with acceleration (hasn't crashed yet).
> > 
> > Something isn't fully compatible with the debian patching and this machine.
> > 
> > 3.3.5 _does_ work better than 3.3.3.1, because 3.3.3.1 _always_ crashed when
> > it reinitialised the accel code when switching back from console to X.
> > 
> 
> Are you saying that the previous 3.3.3.1-10 worked better for you than the
> recent 3.3.5-1.1 package i compiled yesterday ?

No, I'm saying the 3.3.5-1.1 works better than 3.3.3.1-10, however neither work
as well as the 3.3.5 from Tom Rini (just stole the binary from his .rpm).

> A no, i see you are speaking about Xpmac doing it better than XF68_FBDev, this
> simply mean that the linuxppc guys have worked more on this, and that there 
> was
> no change to the fbdev to fix this problem. Please forward your complaints to
> the linux-fbdev mailing list who know more about this.

Well.. the linuxppc have worked more on this I assume, but Xpmac isn't really
relevant here. I'm currently using the XF68_FBDev stolen from the .rpm mentioned
above.


Re: where is xfree?

1999-09-24 Thread Stefan Berndtsson
Tom Rini <[EMAIL PROTECTED]> writes:

> On Fri, 24 Sep 1999, Sven LUTHER wrote:
> 
> > On Fri, Sep 24, 1999 at 02:37:10PM +0200, Stefan Berndtsson wrote:
> > > Sven LUTHER <[EMAIL PROTECTED]> writes:
> > >
> > > > Are you saying that the previous 3.3.3.1-10 worked better for you than 
> > > > the
> > > > recent 3.3.5-1.1 package i compiled yesterday ?
> > > 
> > > No, I'm saying the 3.3.5-1.1 works better than 3.3.3.1-10, however 
> > > neither work
> > > as well as the 3.3.5 from Tom Rini (just stole the binary from his .rpm).
> > > 
> > 
> > Ok, that means Tom Rini has some patch we are not aware of, or that some 
> > of the  mach64 stuff in the debian patches messed things up for you.
> 
> Right now, I build X w/ the following patches (For FBDev):
> XFree86-3.3.3.1-fbdev_dc.patch (DC hack to fbdev/fbdev.c, colormap fix)
> XFree86-3.3.3.1-fbdev_dga.patch (Enable some DGA extentions, xawtv works)
> XFree86-3.3.5-fbdev_15.patch: This does a few things good and bad.  The
> depth line in XF86Config should now be the values of red, green and blue
> that the fb uses.  ie "Depth 16" is now 16 or 15, depending on what the
> values add up to, and "Depth 32" should always be 24  (8+8+8).  Kevin
> Hendricks is responsible for this one and can explain better.
> XFree86-3.3.5-fbdev_machutil.patch: I posted this one a while back, this
> adds in LinkSourceFile(mach64util.h...) to the mach64 dir, and #ifndef
> powerpc's regw/etc in mach64util.h
> 
> I think those are the only patches which would have any effect on accel
> stuff (which in the RPMs is not perfect, I've gotten a small glitch report
> on ati+blackbox).

I'm afraid I managed to fool most people here. Your (Tom's that is)
XF68_FBDev gives the same symptoms as the rest, now that I've managed
to force it to occur.

Forcing it is a simple 3 step method, involving netscape.

1. Start X
2. Start netscape
3. Switch to console _before_ netscape opens a window.

It will now crash the X server on my Lombard if acceleration
is active. I have no other machines capable of acceleration
to test this on, so I don't know if it happens to others too.

/Stefan


Re: Information about the Sound Card on an iBook2 700MHz.

2002-07-05 Thread Stefan Berndtsson
Jesus Climent <[EMAIL PROTECTED]> writes:

> I would like to provide some info to mplayer guys to get the mplayer
> output to be ok, since it works like jumping.
> 
> Maybe it is just a driver problem, but it makes y video experience
> useless with my iBook2.
> 
> Any ideas? Some improvements ahead? Maybe ALSA drivers?

Use -ao sdl instead of -ao oss. Works for me, on my ibook2.


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



Re: Information about the Sound Card on an iBook2 700MHz.

2002-07-05 Thread Stefan Berndtsson
Jesus Climent <[EMAIL PROTECTED]> writes:

> On Fri, Jul 05, 2002 at 01:43:20PM +0200, Stefan Berndtsson wrote:
> > 
> > Use -ao sdl instead of -ao oss. Works for me, on my ibook2.
> 
> What sdl libs you use?
> 
> I just installed libsdl1.2-dev
> 
> Anything else out there?

libsdl1.2-dev is what I use.
I still cannot play DVDs at full framerate, but vcd/svcd and most divx
films work fine with that. My machine is an older model (600MHz, 2001)
though.


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



Re: Upgrade Mac OS X 10.2.8 stops 2.4.21-ben2

2003-10-08 Thread Stefan Berndtsson
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> On Wed, 2003-10-08 at 10:17, Harald Welte wrote:
>> On Tue, Oct 07, 2003 at 08:41:10PM +0200, Benjamin Herrenschmidt wrote:
>> > the rsync mirror must have trouble, it's at 2.6.0-test6
>> > 
>> > (bk://ppc.bkbits.net/linuxppc-2.5-benh)
>> 
>> thanks, but I still refuse to use prorpietary tools for development.
>> 
>> Who is responsible for the rsync mirror?  Did you already inform him?
>
> No. I don't really know who takes care of those mirrors

Is it a known issue that the 2.6.0-test6 from the above source as of
yesterday evening (CET) cannot reload the audio modules (neither alsa
nor dmasound) once they've been unloaded? At least alsa also does not
survive a sleepmode session, which means sound is dead after a snooze.

$ sudo modprobe snd-powermac
FATAL: Error inserting snd_powermac 
(/lib/modules/2.6.0-test6/kernel/sound/ppc/snd-powermac.ko): No such device
$

dmesg at this point gives:

ALSA sound/ppc/pmac.c:1092: pmac: can't request resource 0!
no PMac soundchip found

The first time the modules are loaded after boot, everything works fine, 
and sound is fully functional.

It did work in a 2.6.0-test5 from rsync (source.mvista.com::linuxppc-2.5)
by unloading and reloading alsa, but there sleepmode didn't work, so it
wasn't very usable on an ibook.

Right.. it's my usual ibook2 (late 2001, dual usb, 600MHz, M3 graphics).

/Stefan Berndtsson



Re: Blank screen with latest Ben's 2.6 tree

2003-10-13 Thread Stefan Berndtsson
Michel Dänzer <[EMAIL PROTECTED]> writes:

> Oct 11 03:58:40 thor kernel: dmasound: can't request IO resource !
>
> and
>
> Oct 11 02:50:27 thor kernel: ALSA sound/ppc/pmac.c:1092: pmac: can't
> request resource 0!
>
> (seems to be related to OF)

This is something that's changed fairly recently at least. 2.6.0-test3 works,
but 2.6.0-test6 doesn't. My current benh-kernel is a few days old though, so
if it's been fixed after 2003-10-09 this whole mail is irrelevant. :)

/Stefan



Re: powerpc d-i daily builds reactivated, use 2.6.12 kernels

2005-10-09 Thread Stefan Berndtsson
Sven Luther <[EMAIL PROTECTED]> writes:

>> There are definitely oldworld models with IDE. For example, all
>> PowerBooks have used IDE hard drives since before the transition
>> to ppc. That means at least the 2400,3400, and early G3 PowerBooks
>> are all both oldworld and dependent on IDE support for internal
>> drives. I think there are a few desktop oldworld models with IDE
>> hard drives as well, but I'd have to search around to figure
>> out which ones.
>
> The question being, do they also use the pmac-ide driver or something else ? 

My Performa 6400:s has IDE drives, and uses "ide_pmac" according to dmesg.
They are definitely oldworld machines.

/Stefan Berndtsson


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



Re: chown()/lchown() war ...

1998-07-20 Thread Stefan Berndtsson
Hartmut Koptein <[EMAIL PROTECTED]> writes:

> > I tried to install slink iun a separate partition, but dpkg was not
> > happy at all.
> 
> Native dpkg for powerpc under glibc-2.1 makes trouble! We have a little
> workaround for this (thanks dan!).

which problem and workaround is this?

> > Am i having problems caused by this glibc/kernel/dpkg incompatibility in
> > what concerns chown/lchown ?
> 
> I've made the glibc. I've tested it with many kernel releases and i
> have no problems. Also tested it against redhat glibc-2.1 and vice versa
> with redhat bineries with slink packages. No problems of all!

I've tried the slink-libc, and it gives me problems with the chown whenever
I try to use tar (tried to recompile tar as well).

The same thing works fine with both the 980705-snap (which I've built a
deb from), and with the redhat glibc2.1.. 

I've also experienced problems with gzip (with dpkg -i on certain files),
where the redhat gzip works fine (as does the redhat patches for gzip pasted
on top of the debian-source (which some mods due to conflicts between diffs)).

/Stefan



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


Re: chown()/lchown() war ...

1998-07-20 Thread Stefan Berndtsson
Hartmut Koptein <[EMAIL PROTECTED]> writes:

> > I've tried the slink-libc, and it gives me problems with the chown whenever
> > I try to use tar (tried to recompile tar as well).
> > 
> > The same thing works fine with both the 980705-snap (which I've built a
> > deb from), and with the redhat glibc2.1.. 
> > 
> > I've also experienced problems with gzip (with dpkg -i on certain files),
> > where the redhat gzip works fine (as does the redhat patches for gzip pasted
> > on top of the debian-source (which some mods due to conflicts between 
> > diffs)).
> 
> 
> This is very ugly. H   you have a working 2.1 system? Then make an 
> upload
> of debian packages (not patched redhat sources) to master. Upload your
> glibc (980705-snap or newer), gzip and tar and we will see. 

I'm currently working on getting a proper source/diff patch, and better
compiled things (my deb's are done for testing at this point, so the method
of creation is rather ugly, but I'm hoping to fix that soon).
My first goal is to get all the packages in a base system done.. 
It takes about 5 hours for a build of glibc, so I want it working before I
do a proper debian package.. This snap isn't using redhat's source at all,
btw, although I plan on having a look at their patches to see if they've
done anything I had to do manually to get this compiling, or if they have
a better solution for doing it.

> Where are you all living? Europa? We have a developers meeting here in Germany
> in two months. This is for m68k but also for powerpc.

I'm located in Gothenburg, Sweden..

Yes, I'm aware of the meeting, however, my finances does not allow for me to
be there. (wish I could though).

/Stefan


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


Re: List of powerpc owners

1998-08-31 Thread Stefan Berndtsson
Hartmut Koptein <[EMAIL PROTECTED]> writes:

My system is an Apple Performa 6400, 180MHz 603e.

Which would've been running debian and glibc-2.1 by now, had I managed
to get the thing working.

If you have any ideas, they would be welcome.

Unpacked base-powerpc.tar.gz
Tried to boot on that partition.
The kernel loads, the root-partition is mounted read-only.
Now it stops printing a while, then gives me some errors regarding
netmask and routing, and also telling me eth0 is BNC, then it stops.
(the netmask, route and bnc is normal for the kernel I'm using).

going for another approach, I chroot from a libc-1.99 system onto the
base-partition. That works fine at first. However, when trying to install
anything, I get:

bash-2.01# dpkg -iGE adduser_3.8.deb 
tar: conffiles: Cannot chown to uid 0 gid 0: Function not implemented
tar: control: Cannot chown to uid 0 gid 0: Function not implemented
tar: .: Cannot chown to uid 0 gid 0: Function not implemented
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing adduser_3.8.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 adduser_3.8.deb
bash-2.01# 

I get this on every package I've tried it with so far.. 

The kernel is the same one I'm using with the libc-1.99, which unfortunately
still is a 2.1.24, because I haven't got 2.1.1xx to boot. Something I also
can't understand, since a friend has it running on a rather identical machine.
(diskspace and ram differ)

Any help would be appreciated.. 

/Stefan



Re: List of powerpc owners

1998-09-01 Thread Stefan Berndtsson
Alex Romosan <[EMAIL PROTECTED]> writes:

> >[problems with booting into debian]
> 
> you need to upgrade your kernel to a version greater than 2.1.102. try
> 2.1.115 from ftp.linuxppc.org. this is becoming a faq.

I wish it was that simple for me, but since 2.1.1xx (== any version) won't
boot for me, I can't do that. And since I don't understand the kernel code
enough to debug it properly, I can't really do much there either. (I've tried)

Guess I'll have to wait.. Thanks anyway :)

/Stefan


Re: video card support

2005-06-10 Thread Stefan Berndtsson
"F. Heitkamp" <[EMAIL PROTECTED]> writes:

> I have a Radeon 9000 in my G4 and it seems to work fine.  I was
> thinking about getting a 9800 so I can play with core image in OS X,
> but I wondered if the 9800 would work under Linux? I checked the r300
> page at Sourceforge and it looked like probably X might work minimally
> at least.  Is this true on the PPC as well?  Does anyone use a Radeon
> 9800 under Linux on the PPC? How well does it work?

X works (2D that is) with a normal Xfree4.3. 3D doesn't, and I have no idea
if it will with the r300 stuff from sourceforge.

/Stefan Berndtsson


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



Re: People with ATAPI problems: possible fix

2004-02-19 Thread Stefan Berndtsson
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> Hi !
>
> Recently, there have been lost of reports of ATAPI issues, typically
> with CD/DVD burners, where DMA would be disabled for no obvious reasons,
> with the driver spitting a message about a timeout waiting for dbdma
> command stop.
>
> The problem is that our driver doesn't deal with buffer underruns due
> to the drive not sending as many data as requested.
>
> This patch is an attempt at fixing this. Please let me know if it
> helps.

First impression is that it seems to work. It no longer claims to kill DMA
when running growisofs, and it is still active when writing is done.

Thanks.

/Stefan



Re: People with ATAPI problems: possible fix

2004-02-19 Thread Stefan Berndtsson
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

>> First impression is that it seems to work. It no longer claims to kill DMA
>> when running growisofs, and it is still active when writing is done.
>
> And the actual datas on the written media are ok ?

At least the parts of the movie I looked at worked in my dvd player,
so I'd say it is.

/Stefan