Re: using apt to install system to another partition

2002-09-02 Thread Jesus Climent
On Sun, Sep 01, 2002 at 03:49:41PM -0400, Fred Heitkamp wrote:
> 
> I want to make a backup debian installation on another disk or partition.
> 
> Is it possible to use apt or dpkg from a running system to install a
> completely independent debian install on this other disk?  I do not
> want the installing system to be affected in any way.
> 
> It looks like the dpkg --root= might work.
> 
> Using apt would probably be more convienient though I didn't see
> a "--root" option in the man page.

You might want to take a look at pbuilder. At least the part where you
create the jail.

You then have to remove the destry part, but that will do for most of
it.

$ apt-cache show pbuilder
Description: personal package builder for Debian packages
 pbuilder constructs a chroot system, and builds a package inside the
 chroot.

J

-- 
Jesus Climent | Unix System Admin | Helsinki, Finland.
http://www.HispaLinux.es/~data/  |  data.pandacrew.org
--
Please, encrypt mail address to me: GnuPG ID: 86946D69
FP: BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
--
Registered Linux user #66350 Debian 3.0 & Linux 2.4.19

Where are you going, Starfish and Friends?
--Chad (Charlie's Angels)


pgpIJZ2t34Vds.pgp
Description: PGP signature


Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Vincent Bernat
OoO En cette fin de nuit blanche du lundi 02 septembre 2002, vers
05:15, Rogério Brito <[EMAIL PROTECTED]> disait:

>   The only problem that I see is that the tar.gz file that I
>   downloaded has an md5sum that doesn't match the one advertised
>   in the site (despite having the appriate size). I have not
>   tried it yet (I'm not with the computer right now).

>   Has anybody had any problems similar to this one?

I have just downloaded it and the checksum matches. I haven't tried to
install it, though.
-- 
Avoid multiple exits from loops.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Edd Dumbill
On Mon, 2002-09-02 at 08:46, Vincent Bernat wrote:
> OoO En cette fin de nuit blanche du lundi 02 septembre 2002, vers
> 05:15, Rogério Brito <[EMAIL PROTECTED]> disait:
> > Has anybody had any problems similar to this one?
> 
> I have just downloaded it and the checksum matches. I haven't tried to
> install it, though.

I have it working on my iBook2, though I've not tried dialling anywhere
with it yet, but it's responding to AT commands:

ATI4
Conexant HCF Cadmus2 56K Faxmodem USB
OK

One caveat, there's a bug in unstable's gawk 3.1.1 which prevents the
install program working.  Apply the below diff to scripts/hcfusbconfig
to get round this.

Also, if you're not running devfs it looks like you need to run
'modprobe hcfusbserial'.

-- Edd

404c404
<   if ! ${AWK} 'BEGIN {print strtonum("1234") lshift(1,1)};' 
/dev/null 2>&1; then
---
>   if ! ${AWK} 'BEGIN {print strtonum(1234) lshift(1,1)};' 
> /dev/null 2>&1; then
1492c1492
<   if ${AWK} 'BEGIN {print strtonum("1234")};' /dev/null
2>&1; then
---
>   if ${AWK} 'BEGIN {print strtonum(1234)};' /dev/null
2>&1; then



signature.asc
Description: This is a digitally signed message part


Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Benjamin Herrenschmidt
>I have it working on my iBook2, though I've not tried dialling anywhere
>with it yet, but it's responding to AT commands:
>
>ATI4
>Conexant HCF Cadmus2 56K Faxmodem USB
>OK
>
>One caveat, there's a bug in unstable's gawk 3.1.1 which prevents the
>install program working.  Apply the below diff to scripts/hcfusbconfig
>to get round this.
>
>Also, if you're not running devfs it looks like you need to run
>'modprobe hcfusbserial'.

Please, post the diff as a unified diff (diff -u) or it's perfectly
unreadable ;)

I've been able to live with the gawk bug though without too much
problems.

You should send your fix to Marc anyway.

Ben.




Mach64 DRI packages

2002-09-02 Thread Michel Dänzer

deb http://penguinppc.org/~daenzer/debian/dri-mach64/   ./

These are built off the mach64 development branch in DRI CVS. According
to some reports, there are problems with some apps, but at least some
important ones like bzflag work. :)


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



Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Edd Dumbill
On Mon, 2002-09-02 at 09:42, Benjamin Herrenschmidt wrote:
> Please, post the diff as a unified diff (diff -u) or it's perfectly
> unreadable ;)

Apologies, I was being lazy.

> I've been able to live with the gawk bug though without too much
> problems.
> 
> You should send your fix to Marc anyway.

Sent in a mail to the hcflinux list.

Unfortunately, I didn't get further than AT commands.  I got NO DIALTONE
when I tried to dial out.  I described my problems in 
http://www.mbsi.ca/pipermail/hcflinux/2002q3/000404.html

-- Edd


signature.asc
Description: This is a digitally signed message part


Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Benjamin Herrenschmidt
>On Mon, 2002-09-02 at 09:42, Benjamin Herrenschmidt wrote:
>> Please, post the diff as a unified diff (diff -u) or it's perfectly
>> unreadable ;)
>
>Apologies, I was being lazy.
>
>> I've been able to live with the gawk bug though without too much
>> problems.
>> 
>> You should send your fix to Marc anyway.
>
>Sent in a mail to the hcflinux list.
>
>Unfortunately, I didn't get further than AT commands.  I got NO DIALTONE
>when I tried to dial out.  I described my problems in 
>http://www.mbsi.ca/pipermail/hcflinux/2002q3/000404.html

It's a known problem, there seem to be something wrong with dialtone
detection. That is easily worked aruond by using ATX1DT  instead
of ATDT as a dial command though.

Ben.




Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Edd Dumbill
On Mon, 2002-09-02 at 11:23, Benjamin Herrenschmidt wrote:
> It's a known problem, there seem to be something wrong with dialtone
> detection. That is easily worked aruond by using ATX1DT  instead
> of ATDT as a dial command though.

Tried, unfortunately got NO CARRIER.

-- Edd


signature.asc
Description: This is a digitally signed message part


making a bootable floppy

2002-09-02 Thread Vinai Kopp
Hi,

I'm still busy trying to get my selfbuilt (make-kpkg) kernel to boot off a
floppy.
So far I wasn't successfull, neither the default kernel 2.2.20-pmac
nor one built from 2.4.18 deb (with patches), nor with a
benh tree kernel (without patches) worked.

I guess my problem is how to specify the root device numbers in the
System file.

My root is /dev/sda2:

host:~# ls -l /dev/sda2
brw-rw1 root disk   8,   2 Mar 14 10:10 /dev/sda2

So as I understand it the major number is 8, the minor number is 2.
I copied the System file from the boot-floppy-hfs.img and opend
it with emacs in hexl-mode. I guess the relevant part looks like this:

00012d00: dada dada  0065 726f 6f74 3d30 3230  ...eroot=020
00012d10: 3020 6c6f 6164 5f72 616d 6469 736b 3d31  0 load_ramdisk=1
00012d20: 2070 726f 6d70 745f 7261 6d64 6973 6b3d   prompt_ramdisk=
00012d30: 3120 6164 625f 6275 7474 6f6e 733d 3130  1 adb_buttons=10
00012d40: 332c 3131 3120 7669 6465 6f3d 6f66 6f6e  3,111 video=ofon
00012d50: 6c79 2020 2020 2020 2020 2020 2020 2020  ly
00012d60: 2020 2020 2020 2020 2020 2000   .

Now, I tried root=0802 and root=8200, both didn't work.

Could someone please kick me in the right direction?
Thanks!

-- 
Vinai
Registered Linux User #280755, Debian GNU/Linux  http://counter.li.org/
Secure eMail with gnupg  http://www.gnupg.org/


pgp8XEugYEs6p.pgp
Description: PGP signature


Signal 11

2002-09-02 Thread Marvin Germain
 I have had Woody installed for a couple of days now on my powerbase 180, 
which contains a powerlogix G4 upgrade card.  I am running the 2.4.18 kernel 
that came on the debian CD.  I have been having a lot of problems with programs 
dying with a signal 11.  This has happened frequently to the X server.  I have 
also had occassional difficulty getting the system to shut down properly.  Then 
it takes forever to get through fsck because fsck dies with signal 11 or signal 
4 on practically every inode.  Incidently, fsck frequently wanted to change a 
normal looking inode size to some crazy 20-digit number.  I had to say "n" to a 
lot of its suggestions.  I have also had vi and ps fail with segmentation 
faults.  I decided to build my own kernel, which also took for ever because gcc 
died after every few sources with a signal 11.  I finally got through it.  
BootX would not recognize the vmlinux file, but I was able to boot off the 
miboot.image file, which seems to be intended for a rescue floppy.  At any 
rate, there was no change in the system behavior.  I am contemplating wiping 
the disk and starting all over.  This is only a last resort, however, mainly 
because I had to run dselect about 20 times to get everything to install.  I'm 
not looking forward to doing that again.  Can anyone offer me a better idea?  
Thanks.
Marvin Germain





Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Benjamin Herrenschmidt
>> It's a known problem, there seem to be something wrong with dialtone
>> detection. That is easily worked aruond by using ATX1DT  instead
>> of ATDT as a dial command though.
>
>Tried, unfortunately got NO CARRIER.

Hrm... I did work for me, I could connect to my ISP without
problem. Well, you may want to check with Marc or try with
a different country setting (though I would expect US to work
almost everywhere)

Ben.




Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Benjamin Herrenschmidt
>Sent in a mail to the hcflinux list.
>
>Unfortunately, I didn't get further than AT commands.  I got NO DIALTONE
>when I tried to dial out.  I described my problems in 
>http://www.mbsi.ca/pipermail/hcflinux/2002q3/000404.html

About your unload problem, I'd suggest updating your kernel, a bug was
recently fixed in usb-ohci driver that caused problems like this (along
with hangs with usb-audio and possibly other kind of troubles).

My current rsync should be ok.

Ben.




ibook 2 : several question

2002-09-02 Thread Pierre Gambarotto
I just bought an ibook 700Mhz/14" LCD.

So far, I succeeded in installing debian in dual boot with Mac OS X, and
it runs pretty well :-)

Several remaining problems anyway :
_ I read pmud's manual : is it right that sleep mode for ibook 700Mhz
is not supported ? It's not clear in the manual, but the /etc/power/pwrctl
script say so. Can anybody confirm ?
_ DRI : the dri module is loaded (thanks to src from 
http://www.penguinppc.org/~daenzer/).
Glxinfo reports dri is ok :
...
direct rendering: Yes
...

But any GL app freezes X (I use Xfree4.2 from 
http://people.debian.org/~branden/)
Someone with more luck than me ?

_ I has a problem of kernel compil : (benh-ibook-2.4.20-pre4-ben0)
A non existent symbol in the compil of sunrpc. Is this problem already reported 
?

unresolved symbol local_flush_tlb_page

A grep on the kernel src tree shows the definition of this symbol in 
include/asm-ppc/pgtable.h,
if it can help ...


_ Very disturbing problem of clock syncronising between OS X and Linux, already 
reported
in the mailing list. But I have not seen a solution. Help ?

If you have any information on the previous problems, thank you in advance.
If not, thank you for you reading :-)

Pierre



Re: ibook 2 : several question

2002-09-02 Thread Benjamin Herrenschmidt
>I just bought an ibook 700Mhz/14" LCD.
>
>So far, I succeeded in installing debian in dual boot with Mac OS X, and
>it runs pretty well :-)
>
>Several remaining problems anyway :
>_ I read pmud's manual : is it right that sleep mode for ibook 700Mhz
>is not supported ? It's not clear in the manual, but the /etc/power/pwrctl
>script say so. Can anybody confirm ?

Well, pmud isn't clear. Actually, it should work, though I had reports
of some users of this machine telling me it tends to lockup on wakeup,
I'm investigating.

>_ DRI : the dri module is loaded (thanks to src from http://
>www.penguinppc.org/~daenzer/).
>Glxinfo reports dri is ok :
>...
>direct rendering: Yes
>...
>
>But any GL app freezes X (I use Xfree4.2 from http://people.debian.org/
>~branden/)
>Someone with more luck than me ?

No. You have a Radeon M6 chip, the same chip I have in my rev. 2 tipb,
and currently, the DRI trunk driver doesn't work on it. (I have the
exact same symptoms here). Hopefully, Michel will have that fixed
soon...

>_ I has a problem of kernel compil : (benh-ibook-2.4.20-pre4-ben0)
>A non existent symbol in the compil of sunrpc. Is this problem already
>reported ?
>
>unresolved symbol local_flush_tlb_page
>
>A grep on the kernel src tree shows the definition of this symbol in
>include/asm-ppc/pgtable.h,
>if it can help ...

Didn't have that problem, weird. I'd suggest rsync'ing again, and
making sure you do a complete fresh build (save your .config,
make distclean, restore your .config, make oldconfig, then make
dep, make and make modules)
>
>_ Very disturbing problem of clock syncronising between OS X and Linux,
>already reported
>in the mailing list. But I have not seen a solution. Help ?

Yah, OS X is nasty, I'm not sure what's up exacty with it. We used to
have no problem with OS 9 as OS 9 stored the date as local time in the
RTC. It seems OS X is behaving differently though we didn't yet figure
out how exactly yet.

>If you have any information on the previous problems, thank you in advance.
>If not, thank you for you reading :-)





ibook 2 : several question

2002-09-02 Thread Pierre Gambarotto
I just bought an ibook 700Mhz/14" LCD.

So far, I succeeded in installing debian in dual boot with Mac OS X, and
it runs pretty well :-)

Several remaining problems anyway :
_ I read pmud's manual : is it right that sleep mode for ibook 700Mhz
is not supported ? It's not clear in the manual, but the /etc/power/pwrctl
script say so. Can anybody confirm ?
_ DRI : the dri module is loaded (thanks to src from 
http://www.penguinppc.org/~daenzer/).
Glxinfo reports dri is ok :
...
direct rendering: Yes
...

But any GL app freezes X (I use Xfree4.2 from 
http://people.debian.org/~branden/)
Someone with more luck than me ?

_ I has a problem of kernel compil : (benh-ibook-2.4.20-pre4-ben0)
A non existent symbol in the compil of sunrpc. Is this problem already reported 
?

unresolved symbol local_flush_tlb_page

A grep on the kernel src tree shows the definition of this symbol in 
include/asm-ppc/pgtable.h,
if it can help ...


_ Very disturbing problem of clock syncronising between OS X and Linux, already 
reported
in the mailing list. But I have not seen a solution. Help ?

If you have any information on the previous problems, thank you in advance.
If not, thank you for you reading :-)

Pierre

P.S : sorry for the wrong post on debian-ports :-( Bad finger !




libstlport4.5gcc3.2 wherefore are thou??

2002-09-02 Thread Jason E. Stewart
Hey All,

I tried upgrading my OpenOffice.org installation, and it complained
that it couldn't install libstlport4.5gcc3.2, and sure enough only
libstlport4.5gcc3.1 seems to be available?

Jan, is the libstlport deb available someplace else besides the
openoffice mirrors? The debian-openoffice WWW page says that 1.0.1-5
has been available since Aug 20, what happened to stlport?

Cheers,
jas.



Re: Binary driver for conexant modems ("applemodems")

2002-09-02 Thread Rogério Brito
On Sep 02 2002, Vincent Bernat wrote:
> OoO En cette fin de nuit blanche du lundi 02 septembre 2002, vers
> 05:15, Rogério Brito <[EMAIL PROTECTED]> disait:
> > The only problem that I see is that the tar.gz file that I
> > downloaded has an md5sum that doesn't match the one advertised
> > in the site (despite having the appriate size). I have not
> > tried it yet (I'm not with the computer right now).
>
> I have just downloaded it and the checksum matches. I haven't tried to
> install it, though.

Ah, but now they fixed the homepage! :-)


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: ibook 2 : several question

2002-09-02 Thread David M. Cooke
On Mon, Sep 02, 2002 at 06:02:42PM +0200, Pierre Gambarotto wrote:
> I just bought an ibook 700Mhz/14" LCD.
>
> So far, I succeeded in installing debian in dual boot with Mac OS X, and
> it runs pretty well :-)
>
> Several remaining problems anyway :
> _ I read pmud's manual : is it right that sleep mode for ibook 700Mhz
> is not supported ? It's not clear in the manual, but the /etc/power/pwrctl
> script say so. Can anybody confirm ?

I haven't had problems. (I have the same, but with the 12" screen.)

Occasionally, I'll compile a kernel that won't sleep properly, but
that's probably my fault for fiddling with the kernel config too much :-)

> _ DRI : the dri module is loaded (thanks to src from 
> http://www.penguinppc.org/~daenzer/).
> Glxinfo reports dri is ok :
> ...
> direct rendering: Yes
> ...
> 
> But any GL app freezes X (I use Xfree4.2 from 
> http://people.debian.org/~branden/)
> Someone with more luck than me ?

Nope :-)

Since I don't really need OpenGL stuff at the moment, I've set
LIBGL_ALWAYS_INDIRECT in my .xsession so that direct rendering isn't
used. Then GL apps won't freeze X (but will run slower :0)

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



Re: ibook 2 : several question

2002-09-02 Thread Francis J. Lacoste
On lun, 2002-09-02 at 13:03, David M. Cooke wrote:
> On Mon, Sep 02, 2002 at 06:02:42PM +0200, Pierre Gambarotto wrote:
> > I just bought an ibook 700Mhz/14" LCD.
> >
> > So far, I succeeded in installing debian in dual boot with Mac OS X, and
> > it runs pretty well :-)
> >
> > Several remaining problems anyway :
> > _ I read pmud's manual : is it right that sleep mode for ibook 700Mhz
> > is not supported ? It's not clear in the manual, but the /etc/power/pwrctl
> > script say so. Can anybody confirm ?
> 
> I haven't had problems. (I have the same, but with the 12" screen.)
> 
> Occasionally, I'll compile a kernel that won't sleep properly, but
> that's probably my fault for fiddling with the kernel config too much :-)
> 

I have a iBook2 700Mhz (12" screen) with the Radeon M6 and sleeping is 
not working properly. Well, sleeping works but it never wakes up. I have
ran several kernels and it never work. 

I'm now running 2.4.20-pre5-benh and it's still not working. My kernel
is configured with 

CONFIG_ADB_PMU=y
CONFIG_PMAC_PBOOK=y
CONFIG_PMAC_APM_EMU=m
CONFIG_PMAC_BACKLIGHT=y

Here is what is printed to the kernel log on boot:
Sep  2 13:47:47 Bourdieu kernel: PMU driver 2 initialized for Core99, firmware: 
0c

And here is the log from pmud.

Sep  2 13:47:52 Bourdieu pmud[354]: pmud [treshold = 420, margin = 15] started
Sep  2 13:47:52 Bourdieu pmud[354]: PMU version 12: iBook/G3 Pismo/G4 Titanium
Sep  2 13:47:52 Bourdieu pmud[354]: daemon stopped (parent exiting [note PID])
Sep  2 13:47:52 Bourdieu pmud[355]: running /etc/power/pwrctl maximum ac
Sep  2 13:51:03 Bourdieu pmud[355]: initiating user requested sleep

And nothing after this when I try to wake it up. (I'm hitting the mouse
button and several keys, but it don't want to sleep).

PMUD was installed using the Debian package pmud-0.10-1.

I'd be interested in knowing what can make it work.

-- 
Francis J. Lacoste
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: ibook 2 : several question

2002-09-02 Thread Jesus Climent
On Mon, Sep 02, 2002 at 02:07:05PM -0400, Francis J. Lacoste wrote:
> On lun, 2002-09-02 at 13:03, David M. Cooke wrote:
> 
> I have a iBook2 700Mhz (12" screen) with the Radeon M6 and sleeping is 
> not working properly. Well, sleeping works but it never wakes up. I have
> ran several kernels and it never work. 

Here it was working until I rebuilt the kernel without ide-cdrom (since
the ide-scsi parameter on boot did not work: it was rejected by the
kernel saying that it was not an existing kernel parameter, and it
happened between rc4-benh0 to 2.4.19-benh0 final).

After that it never wakes up, so I maight have to decide wetween
sleep/wake up or cd recording.

J

-- 
Jesus Climent | Unix System Admin | Helsinki, Finland.
http://www.HispaLinux.es/~data/  |  data.pandacrew.org
--
Please, encrypt mail address to me: GnuPG ID: 86946D69
FP: BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
--
Registered Linux user #66350 Debian 3.0 & Linux 2.4.19

I say you are Lord, and I should know. I've followed a few.
--Arthur (Life of Brian)


pgpKnthCcoii1.pgp
Description: PGP signature


Re: libstlport4.5gcc3.2 wherefore are thou??

2002-09-02 Thread Jan-Hendrik Palic
Hi .. 

On Mon, Sep 02, 2002 at 10:05:29AM -0600, Jason E. Stewart wrote:
>I tried upgrading my OpenOffice.org installation, and it complained
>that it couldn't install libstlport4.5gcc3.2, and sure enough only
>libstlport4.5gcc3.1 seems to be available?
>
>Jan, is the libstlport deb available someplace else besides the
>openoffice mirrors? The debian-openoffice WWW page says that 1.0.1-5
>has been available since Aug 20, what happened to stlport?

I build them and uploaded them and I think, they will be available here:
http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/

tomorrow or maybe tonight!

Regards
Jan

-- 
  .''`.Jan-Hendrik Palic |
 : :' : ** Debian GNU/ Linux **  |   ** OpenOffice.org **   ,.. ,..
 `. `'   http://www.debian.org   | http://www.openoffice.org  ,: ..`   `
   `-  [EMAIL PROTECTED] |   '  `  `


pgpqhmnfLn3u6.pgp
Description: PGP signature


Re: ibook 2 : several question

2002-09-02 Thread Francis J. Lacoste
On lun, 2002-09-02 at 14:10, Jesus Climent wrote:
> On Mon, Sep 02, 2002 at 02:07:05PM -0400, Francis J. Lacoste wrote:
> > On lun, 2002-09-02 at 13:03, David M. Cooke wrote:
> > 
> > I have a iBook2 700Mhz (12" screen) with the Radeon M6 and sleeping is 
> > not working properly. Well, sleeping works but it never wakes up. I have
> > ran several kernels and it never work. 
> 
> Here it was working until I rebuilt the kernel without ide-cdrom (since
> the ide-scsi parameter on boot did not work: it was rejected by the
> kernel saying that it was not an existing kernel parameter, and it
> happened between rc4-benh0 to 2.4.19-benh0 final).
> 
> After that it never wakes up, so I maight have to decide wetween
> sleep/wake up or cd recording.
> 

My kernel was compiled with IDE CDROM support. (SCSI emulation is
compiled as a module and is not working either.)

CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDESCSI=m

On boot, I have the following messages:

Kernel command line: root=/dev/hda10 ro hdb=scsi
ide_setup: hdb=scsi -- BAD OPTION

The SCSI emulation was working fine with the installer kernel
(2.4.18-newpmac) and stopped working once I upgraded to 2.4.19-benh0.

So, there is a problem with my IDE/SCSI setup, but I don't think its
related to the wakeup not working anymore.

-- 
Francis J. Lacoste
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: ibook 2 : several question

2002-09-02 Thread David M. Cooke
On Mon, Sep 02, 2002 at 02:24:24PM -0400, Francis J. Lacoste wrote:
> On lun, 2002-09-02 at 14:10, Jesus Climent wrote:
> > On Mon, Sep 02, 2002 at 02:07:05PM -0400, Francis J. Lacoste wrote:
> > > I have a iBook2 700Mhz (12" screen) with the Radeon M6 and sleeping is 
> > > not working properly. Well, sleeping works but it never wakes up. I have
> > > ran several kernels and it never work. 
> > 
> > Here it was working until I rebuilt the kernel without ide-cdrom (since
> > the ide-scsi parameter on boot did not work: it was rejected by the
> > kernel saying that it was not an existing kernel parameter, and it
> > happened between rc4-benh0 to 2.4.19-benh0 final).
> > 
> > After that it never wakes up, so I maight have to decide wetween
> > sleep/wake up or cd recording.
> > 
> 
> My kernel was compiled with IDE CDROM support. (SCSI emulation is
> compiled as a module and is not working either.)
> 
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_BLK_DEV_IDESCSI=m
> 
> On boot, I have the following messages:
> 
> Kernel command line: root=/dev/hda10 ro hdb=scsi
> ide_setup: hdb=scsi -- BAD OPTION

I had similiar problems, but it's working now. I had to disable IDE
CDROM support, and compile SCSI emulation in.

Since several people seem to have problems, I've put the deb for my
kernel (2.4.20-pre5-ben0), along with the kernel config file and a deb
for daenzer's drm-trunk-module at

http://arbutus.physics.mcmaster.ca/cookedm/ibook/

Currently, CDROM support with SCSI emulation, sleeping/waking up, and
sound work. I haven't tested the CD-RW, but cdrecord -scanbus works.

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



2.4.20-pre5-ben0 still no sound [was Re: 2.4.19 -- no sound]

2002-09-02 Thread Paul Talacko
On Wed, Aug 28, 2002 at 06:49:12PM -0300, Rog?rio Brito wrote:
> On Aug 28 2002, Paul Talacko wrote:
> > As I posted in a previous thread, I've upgraded to 2.4.19 which has
> > got my RTL8029 working, but now I have no sound.
> 
>   Are you using the kernel from benh's tree or are you using a
>   stock kernel? You can get benh's kernel via rsync from
>   rsync.penguinppc.org.

Thanks.  I did that this morning and got 2.4.20-pre5-ben0.  I still have
no sound no beeps, no nothing.  If anyone has any idea about a fix that would be
great.

Cheers,

Paul

> 
> 
>   Hope this helps, Roger...
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Rogrio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 


Paul Talacko



Re: reassigning X server keybounce to kernel per XFree86 upstream

2002-09-02 Thread Branden Robinson
[debian-powerpc: perhaps some of you folks would be willing to research
this issue on Mr. Xu's behalf, as he has indicated his unwillingness to
do deal with it further]

On Mon, Sep 02, 2002 at 10:34:50PM +1000, Herbert Xu wrote:
> All 3 people involved seem to be using PS2 keyboards.

As usual, you haven't even bothered to read the bug reports before
concluding this problem is not your responsibility.

From #156563:

Section "Monitor"
Identifier  "Apple PowerBook G4"
HorizSync   30-100
VertRefresh 50-160
Option  "DPMS"
Modeline"1152x768" 64.995 1152 1213 1349 1472  768 771 777 806 
-HSync -VSync
EndSection

Kernel Version: Linux ay 2.4.18-newpmac #1 Thu Mar 14 22:44:49 EST 2002 ppc 
unknown unknown GNU/Linux

They don't make PS/2 keyboards for PowerMacs.

Furthermore, see:

http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00379.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00380.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00383.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00386.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00389.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00407.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00409.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00484.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00485.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00588.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00592.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00593.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00604.html
http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200208/msg00597.html

for several independent reports of this bug, none of which, amazingly
enough, are from PS/2 keyboard users.

> I've examined the driver in 2.4.19 and am fairly confident that it is
> not responsible for inserting unexpected release events.

Perhaps; but then you are always confident that you're right and that
your packages are correct and you always resolve ambiguity in your own
favor.  This is a poor attitude that does not promote cooperation in the
Project, and probably explains why so many developers and users find you
so difficult to work with.

You'll note from the ages of these bug reports that I have not been
hasty in concluding that this was a kernel problem.  As opposed to say,
a package maintainer who doesn't read the reports before reassigning
them, and concludes they're not his problem within hours of receiving
them (within seconds, for all I know -- or perhaps seeing the control
message from "Branden Robinson" reassigning bugs to you was all you
really required to make your decision).

> This means that if they're are seeing unexpected release events, then
> it must be coming from the hardware.

You haven't established this at all.

> Now X is reading the keyboard in raw mode, that means the kernel passes
> whatever it gets from the hardware to X.  It is up to X to deal with
> any weirdness that's coming from the hardware, in particular those
> release events which are unexpected should be dealt with correctly.

First we need to rule out the possibility that the kernel isn't
synthesizing bogus events due to a bug, and that hasn't been done.

In any event, whether XFree86 should work around hardware or kernel bugs
is orthogonal to whether those bugs actually exist or not.

Even assuming you are correct in all details (which is already
demonstrably untrue), a proper bug report against XFree86 would be
"please apply patch to ignore weirdness from keyboard hardware" and
severity wishlist.

I am reassigning these bugs back to the kernel.  Do not reassign these
bugs back to me; this is either a kernel or a hardware issue.  By your
own theory, any application that reads from the keyboard in raw mode
will reveal the behavior in question.  The XFree86 X server merely
happens to be one commonly-used application with that characteristic.

If you refuse to countenance the possibility that the kernel is at
fault, then I suggest you close the bugs with an appropriate
explanation.  Before doing so, however, I recommend that you actually
lend some weight to the testimony of the many users who have reported
this problem -- both in bug reports and in the mail messages referenced
above.  For a start, you can do this by actually reading the reports
that have been written, instead of telling NewWorld PowerMac users that
their PS/2 keyboards are flaky.

I look forward to you handling these reports in a thoughtful and mature
manner, and not with the knee-jerk it's-not-my-problem response that you
typically exhibit, presumably because you feel that reducing the number
of bugs assi

Re: ibook 2 : several question

2002-09-02 Thread Jesus Climent
On Mon, Sep 02, 2002 at 02:24:24PM -0400, Francis J. Lacoste wrote:
> On lun, 2002-09-02 at 14:10, Jesus Climent wrote:
> > 
> > Here it was working until I rebuilt the kernel without ide-cdrom (since
> > the ide-scsi parameter on boot did not work: it was rejected by the
> > kernel saying that it was not an existing kernel parameter, and it
> > happened between rc4-benh0 to 2.4.19-benh0 final).
> > 
> > After that it never wakes up, so I maight have to decide wetween
> > sleep/wake up or cd recording.
> > 
> 
> My kernel was compiled with IDE CDROM support. (SCSI emulation is
> compiled as a module and is not working either.)
> 
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_BLK_DEV_IDESCSI=m
> 
> On boot, I have the following messages:
> 
> Kernel command line: root=/dev/hda10 ro hdb=scsi
> ide_setup: hdb=scsi -- BAD OPTION

Same here. I had idecd and idescsi, and passed the "hdb=ide-scsi" option
to the kernel. After upgrading to final 2.4.19-benh0 i get the BAD
OPTION error from the kernel.

> So, there is a problem with my IDE/SCSI setup, but I don't think its
> related to the wakeup not working anymore.

I did not say it was related. I just say it happened at the same time.

J

-- 
Jesus Climent | Unix System Admin | Helsinki, Finland.
http://www.HispaLinux.es/~data/  |  data.pandacrew.org
--
Please, encrypt mail address to me: GnuPG ID: 86946D69
FP: BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
--
Registered Linux user #66350 Debian 3.0 & Linux 2.4.19

Where are you going, Starfish and Friends?
--Chad (Charlie's Angels)


pgp16PQARZM9e.pgp
Description: PGP signature


Re: ibook 2 : several question

2002-09-02 Thread Vincent Bernat
OoO Pendant le journal télévisé du lundi 02 septembre 2002, vers
20:53, [EMAIL PROTECTED] (David M. Cooke) disait:

> Since several people seem to have problems, I've put the deb for my
> kernel (2.4.20-pre5-ben0), along with the kernel config file and a deb
> for daenzer's drm-trunk-module at

> http://arbutus.physics.mcmaster.ca/cookedm/ibook/

What kind of iBook do you have to use the drm-trunk stuff ?
-- 
Write first in an easy-to-understand pseudo-language; then translate into
whatever language you have to use.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: ibook 2 : several question

2002-09-02 Thread David M. Cooke
On Mon, Sep 02, 2002 at 10:06:27PM +0200, Vincent Bernat wrote:
> OoO Pendant le journal télévisé du lundi 02 septembre 2002, vers
> 20:53, [EMAIL PROTECTED] (David M. Cooke) disait:
> 
> > Since several people seem to have problems, I've put the deb for my
> > kernel (2.4.20-pre5-ben0), along with the kernel config file and a deb
> > for daenzer's drm-trunk-module at
> 
> > http://arbutus.physics.mcmaster.ca/cookedm/ibook/
> 
> What kind of iBook do you have to use the drm-trunk stuff ?

They're compiled from
http://penguinppc.org/~daenzer/debian/dri-trunk/

They should work with any iBook, but the kernel is likely iBook2 only

Direct rendering in OpenGL with the Radeon M6 on mine still doesn't
work.

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



Re: Signal 11

2002-09-02 Thread Michel Lanners
On   2 Sep, this message from Marvin Germain echoed through cyberspace:
>  I have had Woody installed for a couple of days now on my powerbase 180, 
> which contains a powerlogix G4 upgrade card.  I am running the 2.4.18 kernel 
> that came on the debian CD.  I have been having a lot of problems with 
> programs dying with a signal 11.  This has happened frequently to the X 
> server.  I have also had occassional difficulty getting the system to shut 
> down properly.  Then it takes forever to get through fsck because fsck dies 
> with signal 11 or signal 4 on practically every inode.  Incidently, fsck 
> frequently wanted to change a normal looking inode size to some crazy 
> 20-digit number.  I had to say "n" to a lot of its suggestions.  I have also 
> had vi and ps fail with segmentation faults.  I decided to build my own 
> kernel, which also took for ever because gcc died after every few sources 
> with a signal 11.  I finally got through it.  BootX would not recognize the 
> vmlinux file, but I was able to boot off the miboot.image file, which seems 
> to be intended for a r!
escue floppy.  At any rate, there was no change in the system behavior.  I am 
contemplating wiping the disk and starting all over.  This is only a last 
resort, however, mainly because I had to run dselect about 20 times to get 
everything to install.  I'm not looking forward to doing that again.  Can 
anyone offer me a better idea?  Thanks.

Please set your mailer to do linebreaks at a sane line lenght.

Re. your problems, that looks suspiciously like a hardware problem, most
probably with faulty RAM.

Cheers

Michel

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



Re: ibook 2 : several question

2002-09-02 Thread Vincent Bernat
OoO En cette soirée bien amorcée du lundi 02 septembre 2002, vers
22:18, [EMAIL PROTECTED] (David M. Cooke) disait:

> They should work with any iBook, but the kernel is likely iBook2 only

> Direct rendering in OpenGL with the Radeon M6 on mine still doesn't
> work.

Does DRM is still useful without using OpenGL ?
-- 
panic("mother...");
2.2.16 /usr/src/linux/drivers/block/cpqarray.c



Re: ibook 2 : several question

2002-09-02 Thread David M. Cooke
On Mon, Sep 02, 2002 at 10:24:29PM +0200, Vincent Bernat wrote:
> OoO En cette soirée bien amorcée du lundi 02 septembre 2002, vers
> 22:18, [EMAIL PROTECTED] (David M. Cooke) disait:
> 
> > They should work with any iBook, but the kernel is likely iBook2 only
> 
> > Direct rendering in OpenGL with the Radeon M6 on mine still doesn't
> > work.
> 
> Does DRM is still useful without using OpenGL ?

Good question. I think so :-)
Actually, I believe stuff like video overlays use it.

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



Announcing cudamgr (was: Re: Automatic power-on)

2002-09-02 Thread Michel Lanners
Hey all,

On  31 Aug, this message from Eric C. Cooper echoed through cyberspace:
> On Sun, Sep 01, 2002 at 02:23:27AM +0100, Bastien Nocera wrote:
>> On Sat, 2002-07-27 at 22:03, Jonas Oberg wrote:
>> > A few months back there was a discussion around the (proposed?)
>> > pmac-utils utility pack. One of the features that someone wanted to
>> > put in there was a way to put the Mac in "server mode".
[snip]
> 
> On CUDA-based PowerMacs, this will set it to "file server mode" (i.e.,
> automatically reboot upon restoration of power):
> echo -ne '\001\023\001' > /dev/adb

Based on the above discussion, pmacpow, and the Apple technotes I could
find related to cuda, I came up with a little utility that manages all
interesting features of cuda. You can find it here:

http://www.cpu.lu/~mlan/ftp/cudamgr-1.0.tar.gz

It sets alarm clock power-up (from pmacpow), server mode (aka automatic
powerup after AC power failure), wake-on-ring (serial port GPi pin), and
queries the last power failure time (doesn't work on my 7600).

I suppose with wake-on-ring and a bit of wire soldering you could even
make old Macs wake-on-lan :-)

Enjoy!

Michel

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



Re: ibook 2 : several question

2002-09-02 Thread Michel Dänzer
On Mon, 2002-09-02 at 21:26, Jesus Climent wrote:
> On Mon, Sep 02, 2002 at 02:24:24PM -0400, Francis J. Lacoste wrote:
> > On lun, 2002-09-02 at 14:10, Jesus Climent wrote:
> > 
> > My kernel was compiled with IDE CDROM support. (SCSI emulation is
> > compiled as a module and is not working either.)
> > 
> > CONFIG_BLK_DEV_IDECD=y
> > CONFIG_BLK_DEV_IDESCSI=m

Both as modules here, and it works fine AFAICT.

> > On boot, I have the following messages:
> > 
> > Kernel command line: root=/dev/hda10 ro hdb=scsi
> > ide_setup: hdb=scsi -- BAD OPTION
> 
> Same here. I had idecd and idescsi, and passed the "hdb=ide-scsi" option
> to the kernel. After upgrading to final 2.4.19-benh0 i get the BAD
> OPTION error from the kernel.

That option isn't needed anymore. As Tom Rini pointed out when you (or
someone else, don't remember exactly) brought this up earlier, all you
need is

alias scsi_hostadapter ide-scsi

in a file in /etc/modutils/ and then run update-modules.


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



Re: 2.4.20-pre5-ben0 still no sound [was Re: 2.4.19 -- no sound]

2002-09-02 Thread Toby Sargeant
On Mon, Sep 02, 2002 at 08:00:48PM +0100, Paul Talacko wrote:

> Thanks.  I did that this morning and got 2.4.20-pre5-ben0.  I still
> have no sound no beeps, no nothing.  If anyone has any idea about a
> fix that would be great.
> 

Would it be possible to provide a bit more information, please? It would
be helpful to know what sound chipset you have. This information should
get logged by the kernel when the driver is loaded. You're looking for
something along the lines of:

Sep  2 14:38:52 phalaris kernel: PowerMac Snapper  DMA sound driver rev 016 
installed

Additionally, if you could grep for lines containing 'dmasound_pmac:',
that would be useful.

Finally, are you using a sound manager like arts or esd, and if not,
which applications are not producing sound?

Thanks,

Toby.



Re: 2.4.20-pre5-ben0 still no sound [was Re: 2.4.19 -- no sound]

2002-09-02 Thread Toby Sargeant
On Tue, Sep 03, 2002 at 10:49:23AM +1000, Toby Sargeant wrote:
> On Mon, Sep 02, 2002 at 08:00:48PM +0100, Paul Talacko wrote:
> Would it be possible to provide a bit more information, please? It would
> be helpful to know what sound chipset you have. This information should
> get logged by the kernel when the driver is loaded. You're looking for
> something along the lines of:
> 
> Sep  2 14:38:52 phalaris kernel: PowerMac Snapper  DMA sound driver rev 016 
> installed

My apologies, I just checked, and you've provided this information. If
there is any other information along the lines of my previous email,
that would also be useful.

Unfortunately, I don't have access to a mac with an awacs chipset in it.
The current driver is working (mostly) just fine with Tumbler and
Snapper based macs.

Toby.



Re: making a bootable floppy

2002-09-02 Thread Chris Tillman
On Mon, Sep 02, 2002 at 03:28:15PM +0200, Vinai Kopp wrote:
> Hi,
> 
> I'm still busy trying to get my selfbuilt (make-kpkg) kernel to boot off a
> floppy.
> So far I wasn't successfull, neither the default kernel 2.2.20-pmac
> nor one built from 2.4.18 deb (with patches), nor with a
> benh tree kernel (without patches) worked.
> 
> I guess my problem is how to specify the root device numbers in the
> System file.
> 
> My root is /dev/sda2:
> 
> host:~# ls -l /dev/sda2
> brw-rw1 root disk   8,   2 Mar 14 10:10 /dev/sda2
> 
> So as I understand it the major number is 8, the minor number is 2.
> I copied the System file from the boot-floppy-hfs.img and opend
> it with emacs in hexl-mode. I guess the relevant part looks like this:
> 
> 00012d00: dada dada  0065 726f 6f74 3d30 3230  ...eroot=020
> 00012d10: 3020 6c6f 6164 5f72 616d 6469 736b 3d31  0 load_ramdisk=1
> 00012d20: 2070 726f 6d70 745f 7261 6d64 6973 6b3d   prompt_ramdisk=
> 00012d30: 3120 6164 625f 6275 7474 6f6e 733d 3130  1 adb_buttons=10
> 00012d40: 332c 3131 3120 7669 6465 6f3d 6f66 6f6e  3,111 video=ofon
> 00012d50: 6c79 2020 2020 2020 2020 2020 2020 2020  ly
> 00012d60: 2020 2020 2020 2020 2020 2000   .
> 
> Now, I tried root=0802 and root=8200, both didn't work.

Nice guesswork. But I think 0200 is an address on the floppy disk, not
a code.

To point the floppy to root=/dev/sda2, just substitute that boot argument
for the root=0200 argument. You will also want to remove the load_ramdisk
and prompt_ramdisk arguments.

btw, There's a script for this at 

cvs.debian.org/powerpc-specials/miBoot/patch-floppy.pl

-- 
*--v- Installing Debian GNU/Linux 3.0 v--*
|   |
|debian-imac:    |
|Chris Tillman[EMAIL PROTECTED]  |
|  To Have, Give All to All (ACIM)   |
**



Re: Signal 11

2002-09-02 Thread Chris Tillman
On Mon, Sep 02, 2002 at 02:51:05PM -0700, Marvin Germain wrote:
>  I have had Woody installed for a couple of days now on my powerbase 180, 
> which contains a powerlogix G4 upgrade card.  I am running the 2.4.18 kernel 
> that came on the debian CD.  I have been having a lot of problems with 
> programs dying with a signal 11.  This has happened frequently to the X 
> server.  I have also had occassional difficulty getting the system to shut 
> down properly.  Then it takes forever to get through fsck because fsck dies 
> with signal 11 or signal 4 on practically every inode.  Incidently, fsck 
> frequently wanted to change a normal looking inode size to some crazy 
> 20-digit number.  I had to say "n" to a lot of its suggestions.  I have also 
> had vi and ps fail with segmentation faults.  I decided to build my own 
> kernel, which also took for ever because gcc died after every few sources 
> with a signal 11.  I finally got through it.  BootX would not recognize the 
> vmlinux file, but I was able to boot off the miboot.image file, which seems 
> to be intended for a rescue floppy.  At any rate, there was no change in the 
> system behavior.  I am contemplating wiping the disk and starting all over.  
> This is only a last resort, however, mainly because I had to run dselect 
> about 20 times to get everything to install.  I'm not looking forward to 
> doing that again.  Can anyone offer me a better idea?  Thanks.
> Marvin Germain

I hope Michel's diagnosis is correct, and that a few RAM sticks will
fix this.

If you do reinstall, to avoid the hassle of dselecting again, use

dpkg --get-selections > save_file

Then, when you get your system reset, 

dpkg --set-selections < save_file

-- 
*--v- Installing Debian GNU/Linux 3.0 v--*
|   |
|debian-imac:    |
|Chris Tillman[EMAIL PROTECTED]  |
|  To Have, Give All to All (ACIM)   |
**