Re: Sleep GLX problems on iBook

2003-05-14 Thread Benjamin Herrenschmidt
On Wed, 2003-05-14 at 02:29, Ian Wienand wrote:

 was i doing the right thing to get a backtrace -- point the kernel at
 System.map with the sysmap parameter and then press the 't' key when i
 get the crash?  is the little prompt that comes up an oops or is it
 more like a machine check?

You did the right thing, but when going out of sleep, it crashed before
the ADB driver was fully up again, so you couldn't type.

It's a known problem with the Alsa drivers in 2.4, though I haven't looked
at it nor tried to fix it yet, as I really don't have time for that now
(I don't use Alsa in 2.4, I find it too messy)

Ben.



Re: Need to get data out of damaged iBook

2003-05-14 Thread Benjamin Herrenschmidt
On Tue, 2003-05-13 at 23:42, Jack Moffitt wrote:

 This sounds like the sleep patch bug that has cooked a few ibooks
 (including mine some time ago).  Your data should be fine.  I sent mine
 to apple support and paid the $50 (conditional if they need to replace
 the hd and can back it up successfully) to have the data saved.  It came
 back fine, and they ddn't charge me the $50 which I assume meant that
 the harddrive didn't need to be replaced.
 
 Does anyone know if this problem is fixed in newer benh kernels?  I've
 been absolutely paranoid of sleep since this happened.

As far as I know, there is no sleep patch bug.

There may be a HW defect on some series of iBooks causing them to
eventually fry on sleep, but afaik, this is not related to a sw bug,
and may happen with OSX as well...

Ben.



Re: Need to get data out of damaged iBook

2003-05-14 Thread Frank Gevaerts
On Tue, May 13, 2003 at 10:22:52PM -0400, David Zhou wrote:
 As far as I can tell, most of the posters agree that there's no 
 specific cause.  Some think it was just a bad batch of logicboards 
 that Apple got.  There may be a bad capacitor, or solder somewhere that 
 wears down with use and time.  That may be why the iBook works fine for 
 10 months, then wonks out.

I was told that the cables going to the LCD are (were?) badly protected,
and if the insulating plastic wears out, you get short circuits. This
sends some stray signals to the motherboard that cause the
hang/crash/...
What you could try is put the ibook on a stable surface, and backup over
ssh, _without touching it while it is running_, since any movement can
trigger the problem.

Frank



Re: Need to get data out of damaged iBook

2003-05-14 Thread Vincent Strubel
On Wednesday 14 May 2003 10:37, Benjamin Herrenschmidt wrote:

 As far as I know, there is no sleep patch bug.

 There may be a HW defect on some series of iBooks causing them to
 eventually fry on sleep, but afaik, this is not related to a sw bug,
 and may happen with OSX as well...

As a side note, I had the exact same issue on my powerbook 15 (1Ghz). It went 
down for good after a long sleep on a ben-9 kernel, but I had been noticing 
the first symptoms (like the display not coming up at all, or getting all 
messed up in yaboot or after) occasionally for a while before that, and it 
started well before I got your first sleep-patched ben-8 kernel on it. So it 
seems mostly unrelated to the sleep code in that case as well, and besides, 
there was a girl at the Apple Care Center who had the same tibook, the same 
issue, and only used OS X...

In case you hadn't had the info on powerbooks...
 
Vincent Strubel



Re: can not launch xfree86 on debian linux on ibook G3

2003-05-14 Thread T . Teulings
Hallo! 


  I just got the new ibook G3 which has the ATI Radeon
7500 32MB card (12.1 screen). I am trying install debian linux on it.
But I got the problem whem I try to make xfree86 work.
The saw the same problem on the mail list but I didn#65533;t find the solution
 
 this is the error that I get when I do startx:
 
(WW) ATI:  PCI/AGP Mach64 in slot 0:16:0 could not be detected!

(EE) No devices detected.
 
Fatal server error:

no screens found


You need to update your XServer. 

See for example: 

http://www.cattlegrid.net/~christophe/titanium/#XFREE 

for a description how to do it... 


--
Gruß...
 Tim. 



Re: Newbie problems

2003-05-14 Thread Jule Slootbeek
Hmm when i put in an audio CD and open KsCD it refuses to play, could it have 
anything to do with the fact hat i disabled artsd at startsup? since it gave 
me this error?

Error while initializing the sound driver:
SNDCTL_DSP_SETFMT failed - Invalid argument

i read somewhere that i can change the sound quality to 8 bits, and when i do 
that manually artsd -b 8 it doesn't give me this error, but KsCD still does 
not play the audio CD.

Jule

On Tuesday 13 May 2003 11:55 pm, you wrote:
 On Tue, May 13, 2003 at 07:26:18PM -0400, Jule Slootbeek wrote:
  I havn't gotten my CD player to be
  able to read Audio CD's it gives me this error:
 
  [EMAIL PROTECTED]:~$ mount /cdrom
  mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
 or too many mounted file systems

 You don't mount audio CDs. You mount data CDs... Make sure that works,
 and then audio CDs should work in an audio CD player.

-- 
Jule Slootbeek
[EMAIL PROTECTED]



Re: compiling benh kernel with pmu fails

2003-05-14 Thread Fabrice Medio
Martin Karger [EMAIL PROTECTED] writes:

 i got it when using bk-version as well as rsync.
 if needed i can post my current .config

 any ideas?

- Which gcc version are you using ? 
- Did you make clean before doing it ? 

Fabrice



Re: Newbie problems

2003-05-14 Thread Paul Hampson
On Wed, May 14, 2003 at 09:05:56AM -0400, Jule Slootbeek wrote:
 Hmm when i put in an audio CD and open KsCD it refuses to play, could it have 
 anything to do with the fact hat i disabled artsd at startsup? since it gave 
 me this error?
 
 Error while initializing the sound driver:
 SNDCTL_DSP_SETFMT failed - Invalid argument
 
 i read somewhere that i can change the sound quality to 8 bits, and when i do 
 that manually artsd -b 8 it doesn't give me this error, but KsCD still does 
 not play the audio CD.
 
 Jule

Hmm. Try cdcd, which plays the CD in analogue mode (ie through the jack on
the front of the CD drive, and through the analogue (4-wire) jack on the
back). If that works, then you can talk to your CD drive OK.

I dunno. Is artsd what KsCD's trying to use to play sound? What does
KsCD do when you try to play your CD with it? (Might be worth running
it from an xterm instead of the menu system so you can see all its
output)

-- 
---
Paul TBBle Hampson, MCSE
6th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

This email is licensed to the recipient for non-commercial
use, duplication and distribution.
---


pgpgccyM8K9hm.pgp
Description: PGP signature


Re: Need to get data out of damaged iBook

2003-05-14 Thread Jack Moffitt
 As far as I know, there is no sleep patch bug.
 
 There may be a HW defect on some series of iBooks causing them to
 eventually fry on sleep, but afaik, this is not related to a sw bug,
 and may happen with OSX as well...

It seems that way yes.  I apologize for jumping to conclusions but until
this recent discussion everyone I talked to (people here, and several
people on advogato) all had the same symptoms and all were using the new
benh.

Thanks for your (and others) hard work on the powerpc tree. It is much
appreciated.

jack.



Re: compiling benh kernel with pmu fails

2003-05-14 Thread Martin Karger

Fabrice Medio wrote:

Martin Karger [EMAIL PROTECTED] writes:



i got it when using bk-version as well as rsync.
if needed i can post my current .config

any ideas?



- Which gcc version are you using ? 

i am currently using gcc version 3.2.3

- Did you make clean before doing it ? 

yes, i did






Re: Newbie problems

2003-05-14 Thread David M. Cooke
On Wed, May 14, 2003 at 09:05:56AM -0400, Jule Slootbeek wrote:
 Hmm when i put in an audio CD and open KsCD it refuses to play, could it have 
 anything to do with the fact hat i disabled artsd at startsup? since it gave 
 me this error?

On the ibook2, there is no direct analog connection between the CDROM
and the sound hardware (on a PC, say, there is a four-wire cable running
from the CDROM to the sound card). You'll have to use something that
reads the CD digitially, such as xmms-cdread. AFAIK, that's the only
thing in Debian that will do this (unless you cobble something together
with cdda2wav).

-- 
||\/|
/--\
|David M. Cooke  http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]



Don't have /dev/cdrom

2003-05-14 Thread willy morin
Hi,
Many application ask me for /dev/cdrom but I don't have this 
entry. I have a powerbook G4 400 and I think my dvd appears 
in /dev/hdc. I have made a symlink from /dev/cdrom to 
/dev/hdc and now it work great but only root can eject 
cdrom via eject /dev/cdrom

Could you help me please ?
Have a nice day :)
-- 
Willy Morin
---
Uin : 68301029
Email : [EMAIL PROTECTED]



Re: Don't have /dev/cdrom

2003-05-14 Thread Scott Patterson

willy morin wrote:

Hi,
Many application ask me for /dev/cdrom but I don't have this 
entry. I have a powerbook G4 400 and I think my dvd appears 
in /dev/hdc. I have made a symlink from /dev/cdrom to 
/dev/hdc and now it work great but only root can eject 
cdrom via eject /dev/cdrom


Could you help me please ?
Have a nice day :)


adduser username cdrom

Log out completely, then try again.



Re: Don't have /dev/cdrom

2003-05-14 Thread vinai
Try this line in your /etc/fstab file and see if it helps:

/dev/cdrom  /mount/cdromautonoauto,ro,user  0   0

You'll want to change the second entry to whatever mount point you have
set for the cdrom device on your system.

cheers
vinai

To reply, replace 4 in my return address with for

On Wed, 14 May 2003, willy morin wrote:

 Many application ask me for /dev/cdrom but I don't have this
 entry. I have a powerbook G4 400 and I think my dvd appears
 in /dev/hdc. I have made a symlink from /dev/cdrom to
 /dev/hdc and now it work great but only root can eject
 cdrom via eject /dev/cdrom



Re: Don't have /dev/cdrom

2003-05-14 Thread Patrick Baltz
/dev/hdc is probaly setup with mode 660 (owner can read and write, group 
members can read and write, others have no access).  /dev/hdc is likely 
owned by the 'disk' group (run 'ls -l /dev/hdc' to find out for sure). 
You need to add all user accounts that you want to be able to eject 
/dev/hdc to the 'disk' group.


Regards,

Pat

willy morin wrote:

Hi,
Many application ask me for /dev/cdrom but I don't have this 
entry. I have a powerbook G4 400 and I think my dvd appears 
in /dev/hdc. I have made a symlink from /dev/cdrom to 
/dev/hdc and now it work great but only root can eject 
cdrom via eject /dev/cdrom


Could you help me please ?
Have a nice day :)




Re: Don't have /dev/cdrom

2003-05-14 Thread Jule Slootbeek
You can do chmod 666 /dev/cdrom which will allow all users to eject.

Jule

On Wednesday 14 May 2003 02:15 pm, willy morin wrote:
 Hi,
 Many application ask me for /dev/cdrom but I don't have this
 entry. I have a powerbook G4 400 and I think my dvd appears
 in /dev/hdc. I have made a symlink from /dev/cdrom to
 /dev/hdc and now it work great but only root can eject
 cdrom via eject /dev/cdrom

 Could you help me please ?
 Have a nice day :)
 --
 Willy Morin
 ---
 Uin : 68301029
 Email : [EMAIL PROTECTED]

-- 
Jule Slootbeek
[EMAIL PROTECTED]



Re: Newbie problems

2003-05-14 Thread Jule Slootbeek
I installed xmms-cdread but it still refuses to play. It wil say  unknown / 
audio cd in the read out but nothing will happen. I've tried every single 
option. but it's all the same.

On Wednesday 14 May 2003 01:37 pm, David M. Cooke wrote:
 On Wed, May 14, 2003 at 09:05:56AM -0400, Jule Slootbeek wrote:
  Hmm when i put in an audio CD and open KsCD it refuses to play, could it
  have anything to do with the fact hat i disabled artsd at startsup? since
  it gave me this error?

 On the ibook2, there is no direct analog connection between the CDROM
 and the sound hardware (on a PC, say, there is a four-wire cable running
 from the CDROM to the sound card). You'll have to use something that
 reads the CD digitially, such as xmms-cdread. AFAIK, that's the only
 thing in Debian that will do this (unless you cobble something together
 with cdda2wav).

 --

 ||\/|

 /--
\

 |David M. Cooke 
 | http://arbutus.physics.mcmaster.ca/dmc/ [EMAIL PROTECTED]

-- 
Jule Slootbeek
[EMAIL PROTECTED]



Re: Newbie problems

2003-05-14 Thread Jule Slootbeek
do i need to tell the system somewhere that i have an ide-scsi drive?
would that be in yaboot.conf? since i don't use lilo?

Jule

On Wednesday 14 May 2003 01:37 pm, David M. Cooke wrote:
 On Wed, May 14, 2003 at 09:05:56AM -0400, Jule Slootbeek wrote:
  Hmm when i put in an audio CD and open KsCD it refuses to play, could it
  have anything to do with the fact hat i disabled artsd at startsup? since
  it gave me this error?

 On the ibook2, there is no direct analog connection between the CDROM
 and the sound hardware (on a PC, say, there is a four-wire cable running
 from the CDROM to the sound card). You'll have to use something that
 reads the CD digitially, such as xmms-cdread. AFAIK, that's the only
 thing in Debian that will do this (unless you cobble something together
 with cdda2wav).

 --

 ||\/|

 /--
\

 |David M. Cooke 
 | http://arbutus.physics.mcmaster.ca/dmc/ [EMAIL PROTECTED]

-- 
Jule Slootbeek
[EMAIL PROTECTED]



Debian + Mac OS X and time problems ...

2003-05-14 Thread Tim Weippert

HI there, 

i have both Debian (SID) and Mac OS X on a Powerbook G4. I have read
that Mac OS X use UTC to save/set the hardware clock.

I thought i have to say my Debian installation, that the clock will be
set to GMT and then calc the right time depend on the timezone, but it
is strange, the time isn't correct, it's about 20 hours in the future.

I can't figure out what i have to do to have the right time wihtin Mac
OS X and Debian (CEST Timezone Europe/Berlin)?

Has anyone an idea?

thanks in advance, 

weiti

-- 
I watch television because you don't know what it will do if you leave it
in the room alone.

Tim Weippert [EMAIL PROTECTED]
GnuPG Key http://www.topf-sicret.org/kontakt.html



Re: Newbie problems

2003-05-14 Thread Paul Hampson
On Wed, May 14, 2003 at 11:21:09AM -0400, Jule Slootbeek wrote:
 cdcd says that there's no CD in the drive when i try to play the disk. I'm 

Hmm. As someone pointed out, you wouldn't hear anything from cdcd
anyway, although I do expect it to _see_ the CD in the drive

As someone else also suggested, try cdda2wav or cdparanoia and see
if you can get data from the drive that way.

I wouldn't expect ide-scsi to make a difference, unless for some
reason ide-scsi is broken for non-data commands...

 pretty sure i just put it in. xscd running from the command line does not 
 give any audio-specific error i'll print what it does say:

 [EMAIL PROTECTED]:~$ kscd
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
 [EMAIL PROTECTED]:~$ trackcount: Function not implemented

Bleh. That looks evil. I can't help with that at all.

 then the program just acts like there is no CD in the tray. Data CD's mount 
 fine, and i can play mp3's just fine using xmms. but when i try playing a 
 movie in xine (divx) i get more errors relating to oss not being able to load 
 16bit drivers and allso not being able to load. 

Sounds like there's a seperate problem with outputting sound there...
Trying a CD ripper like one of the above will remove that from the loop.

-- 
---
Paul TBBle Hampson, MCSE
6th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

This email is licensed to the recipient for non-commercial
use, duplication and distribution.
---


pgpiemMYux6li.pgp
Description: PGP signature


Xfree86 / Debian 3.0 / ibook2 problems

2003-05-14 Thread Gurujiwan Khalsa
Hello, 

I have an ibook2 and I've just installed Debian 3.0 on it.  I am having
trouble getting Xfree86 4.1 running.  I've tried a couple different drivers.
The first attachment is the XFree86 log using the ati driver. It dies with
no screens found. Second one is with fbdev driver. I've also tried several
different config files for the ibook2 that I've found on the net, when using
them X will die with the no screens found error.  4.1 is the version that
came with the CD. Also, here is the output of lspci, if that helps:

00:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0027
00:10.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6
LW
01:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0028
01:17.0 Class ff00: Apple Computer Inc.: Unknown device 0025
01:18.0 USB Controller: Apple Computer Inc.: Unknown device 0026
01:19.0 USB Controller: Apple Computer Inc.: Unknown device 0026
02:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0029
02:0e.0 Class : Apple Computer Inc.: Unknown device 0030 (rev ff)
02:0f.0 Ethernet controller: Apple Computer Inc.: Unknown device 0024

Any help would be appreciated...
Thanks,
Gurujiwan


---BeginMessage---

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.18-powerpc-smp ppc [ELF] 
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Wed May 14 00:58:56 2003
(==) Using config file: /etc/X11/XF86Config-4
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor screen
(**) |   |--Device ati
(**) |--Input Device Generic Keyboard
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel macintosh
(**) XKB: model: macintosh
(**) Option XkbLayout us
(**) XKB: layout: us
(**) Option XkbOptions enter:
(**) XKB: options: enter:
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Configured Mouse
(**) |--Input Device Generic Mouse
(WW) The directory /usr/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(**) FontPath set to
unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr
/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/S
peedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.4
XFree86 XInput driver : 0.2
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0027 card , rev 00 class 06,00,00 hdr
00
(II) PCI: 00:10:0: chip 1002,4c57 card 1002,4c57 rev 00 class 03,00,00 hdr
00
(II) PCI: 01:0b:0: chip 106b,0028 card , rev 00 class 06,00,00 hdr
00
(II) PCI: 01:17:0: chip 106b,0025 card , rev 00 class ff,00,00 hdr
00
(II) PCI: 01:18:0: chip 106b,0026 card , rev 00 class 0c,03,10 hdr
00
(II) PCI: 01:19:0: chip 106b,0026 card , rev 00 class 0c,03,10 hdr
00
(II) PCI: 02:0b:0: chip 106b,0029 card , rev 00 class 06,00,00 hdr
00
(II) PCI: 02:0f:0: chip 106b,0024 card , rev 00 class 02,00,00 hdr
00
(II) PCI: End of PCI scan
(II) LoadModule: scanpci
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) 

Re: gtk1 apps cause X to segfault

2003-05-14 Thread Michel Dänzer
On Die, 2003-05-13 at 02:47, Jack Moffitt wrote: 
 Lately (I'm not sure how long this has been going on), anytime I run a
 gtk1 app, X will segfault.  This only seems to happen on my powerpc
 machine and not on my x86 machine.

This is likely related to fonts. Do you use the same fonts, FontPaths
and font renderer modules on both machines?


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer