Re: hwclock: NVRAM flat battery sets date to 1904
Hi, Mark. On May 16 2009, Mark Purcell wrote: + hwclock --set --date 2009-5-16 I have always done something like that with my system, since openbsd's nntpd doesn't seem to be able to update the time initially when it is too far from the current date. A more flexible solution (while still quick'n'dirty) would be to put the date of the last shutdown in a given file and, in the hwclock script, see if it such a file (like, say, the files in /etc/default/) is readable and update the clock from that, while, otherwise, falling back to a date like yours. Regards, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
About the computational power of g4 machines
Hi. I have the opportunity to buy an iBook G4 800MHz so that i can continue working with Debian + PowerPC. I have two questions, which I list below. On May 12 2009, drz wrote: Anybody tried this out on a powerbook g4 (1.33Ghz here): Is one machine of these able to play the videos listed below? http://images.apple.com/movies/us/hd_gallery/gl1800/480p/gilmour_480p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/720p/gilmour_720p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/gilmour_1080p.mov If anybody could test it under other clocks (say, using the different governors/frequency scaling), it would be very informative. Another question: is a Radeon 7500 mobility with 32MB of VRAM able to use compiz and similars? I depend on the questions above to get myself an used ppc box so that I can use it in, say, Debconf 9 (let me cross my fingers). Regards, Rogério. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: hwclock: NVRAM flat battery sets date to 1904
Mark Purcell m...@debian.org wrote: Hi, +if `/sbin/hwclock | /bin/grep -q 1904`; then It's not necessarily 1904. Can be 1903 or 1933 too. You're better off checking the year isn't 2000, for instance. JB. -- Julien BLACHE - Debian GNU/Linux Developer - jbla...@debian.org Public key available on http://www.jblache.org - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: About the computational power of g4 machines
A Saturday 16 May 2009 09:59:50, Rogério Brito escreveu: Anybody tried this out on a powerbook g4 (1.33Ghz here): The 480p almost works with an g...@400mhz... So it will work with your beast. I don't think the other ones will play well. Another question: is a Radeon 7500 mobility with 32MB of VRAM able to use compiz and similars? On x86 it works, so I guess it will work on PPC. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: hwclock: NVRAM flat battery sets date to 1904
Same thing that happens when one forget to compile in rtc? Done that a few times. On 16. mai. 2009, at 09.47, Rogério Brito rbr...@ime.usp.br wrote: Hi, Mark. On May 16 2009, Mark Purcell wrote: + hwclock --set --date 2009-5-16 I have always done something like that with my system, since openbsd's nntpd doesn't seem to be able to update the time initially when it is too far from the current date. A more flexible solution (while still quick'n'dirty) would be to put the date of the last shutdown in a given file and, in the hwclock script, see if it such a file (like, say, the files in /etc/default/) is readable and update the clock from that, while, otherwise, falling back to a date like yours. Regards, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAE B8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Wifi configuration Debian Lenny Ibook G3
Hi yet again, Gunther. On Apr 26 2009, Gunther Furtado wrote: domingo, 26 de abril de 2009, Rogério Brito rbr...@ime.usp.br escreveu: I would warmly be receptive of this card, if possible. There are two ifs. If you don't mind a little waiting No, I don't mind. or If the tests I wanto to run give me a positive response (the resurection of the iBook). I'm waiting for the results. If you have already tested said iBook, please let me know by private mail. Thanks, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: About the computational power of g4 machines
Am Samstag 16 Mai 2009 09:59:50 schrieb Rogério Brito: Hi. I have the opportunity to buy an iBook G4 800MHz so that i can continue working with Debian + PowerPC. I have two questions, which I list below. On May 12 2009, drz wrote: Anybody tried this out on a powerbook g4 (1.33Ghz here): Is one machine of these able to play the videos listed below? http://images.apple.com/movies/us/hd_gallery/gl1800/480p/gilmour_480p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/720p/gilmour_720p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/gilmour_1080p.mov 1080p is not viewable here (with compiz activated, didnt try without, graphics hardware see below) 720p is perfect. If anybody could test it under other clocks (say, using the different governors/frequency scaling), it would be very informative. Another question: is a Radeon 7500 mobility with 32MB of VRAM able to use compiz and similars? I guess this will be a little too less for compiz, but I dont really know. (my PB G4 has a radeon 9700, rv350 chip). But I have a Dell notebook with a 9000 mobility, rv250) and as I ran early versions of compiz it worked, but was a little laggy, so I had no real fun with it slowing down the system. If you can get your fingers on a 1,33 Ghz version, try that for more graphics power, its a perfect machine. ;) I youre not into gaming no normal user needs more. Used Powerbooks are unbelievable expensive, even my 5 year old PB (ebay: over 500 € still, you get a first class used PC notebook for that amount). The used Apple Notebooks seem to be a pretty good investment ;). greetz drz -- -- gpg fp: 5518 8F74 B2A0 E91A 6FAD 8AC8 C02C 6C6F C899 DC65 Public Key: http://rizzux.org/drz.asc -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kino on powerpc
Am Donnerstag 14 Mai 2009 15:27:23 schrieb drz: Am Mittwoch 13 Mai 2009 22:22:43 schrieb drz: Hi List Could anybody try to reproduce a crash in kino? Camcorder on firewire. I try to capture a video and when I press stop kino crashes. Come on guys, a simple: yes, I can capture with kino without a crash would do. greetz drz -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: About the computational power of g4 machines
On May 16 2009, drz wrote: Am Samstag 16 Mai 2009 09:59:50 schrieb Rogério Brito: http://images.apple.com/movies/us/hd_gallery/gl1800/480p/gilmour_480p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/720p/gilmour_720p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/gilmour_1080p.mov 1080p is not viewable here (with compiz activated, didnt try without, graphics hardware see below) Right. I thought it would be hard to see. But how much not viewable is it? Are you using mplayer? Do you have many frame drops? 720p is perfect. Can you test the 720p video with a lower clock? I'm interested to see how low can its clock go while still watching the video. If you can please use the following: * the userspace governor (so that you can change the frequencies as you please); * try using powerprefs, if possible. Another question: is a Radeon 7500 mobility with 32MB of VRAM able to use compiz and similars? I guess this will be a little too less for compiz, but I dont really know. I have something in the back of my memory of Michel Dänzer saying the memory consumption of DRI 1 a lng time ago. This excluded my 8MB Rage 128 M3, unless I used 16 bits per pixel (which, at the time, as a side effect enabled DMA for XV, which was my main purpose, as I was interested in playing DVDs with my iBook G3 600MHz). OTOH, not too long ago, I reported that my Matrox G400 16MB wouldn't run Ubuntu's compiz and the reply that I received back was that 16MB was too little memory. :-/ (my PB G4 has a radeon 9700, rv350 chip). The opportunity that I have is to purchase an iBook G4 800MHz. As I have never used a machine with Altivec before, I don't know how it would be useful for playing, say, DVDs with de-interlacing enabled or some MPEG-4 Part 2 or some H.264 videos. Playing such videos would be the most real time demanding applications that I would have. Others would be to compile things for Debian. If you can get your fingers on a 1,33 Ghz version, try that for more graphics power, its a perfect machine. ;) I youre not into gaming no normal user needs more. No, I don't play any games. I was just interested in knowing if the hardware could cope with some things like avant-window-navigator (which seems to need compositing). Also, how is Airport Extreme working with the binary blob and current kernels? Used Powerbooks are unbelievable expensive, even my 5 year old PB (ebay: over 500 € still, you get a first class used PC notebook for that amount). The used Apple Notebooks seem to be a pretty good investment ;). Unfortunately, my budget is limited. This is the reason why I would like to know better before I actually get a ppc notebook (the primary reason would be Debian development and getting Linux working on some ppc boxes). I'm also thinking of reviving gtkpbbuttons, pbbuttonsd etc, if I do get a good laptop. Regards, -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kino on powerpc
On May 16 2009, drz wrote: Come on guys, a simple: yes, I can capture with kino without a crash would do. Does it only happen when you're capturing video from a firewire camera? What if you get the video from your HD? Or does the crash happen in other circumstances too? I don't have a firewire cam, but if you have a reproducible setting where the bug can be controlled, I could try to test it on my iBook. Regards, -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: About the computational power of g4 machines
Hi Rogério, 2009/5/16 Rogério Brito rbr...@ime.usp.br: Am Samstag 16 Mai 2009 09:59:50 schrieb Rogério Brito: http://images.apple.com/movies/us/hd_gallery/gl1800/480p/gilmour_480p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/720p/gilmour_720p.mov http://images.apple.com/movies/us/hd_gallery/gl1800/1080p/gilmour_1080p.mov 1080p is not viewable here (with compiz activated, didnt try without, graphics hardware see below) Right. I thought it would be hard to see. But how much not viewable is it? Are you using mplayer? Do you have many frame drops? Another data point for you: on my mac mini with its g...@1.25 MHz, the 480p is viewable and the CPU is at 60-70%. The 720p is viewable but it skips a lot, CPU is maxed out. 1080p is not viewable. This with xine and mplayer, both gave similar results. The opportunity that I have is to purchase an iBook G4 800MHz. As I have never used a machine with Altivec before, I don't know how it would be useful for playing, say, DVDs with de-interlacing enabled or some MPEG-4 Part 2 or some H.264 videos. My old iMac g...@400 MHz could play DVDs, but I believe it used MacOSX-only hardware acceleration to do the trick. The mac mini can play them perfectly on Debian with no drops whatsoever. In fact it makes a wonderful media center. Cheers, Alex. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#528944: gcc-4.3: Regression: running make in kernel source gives internal compiler error: Illegal instruction
Package: gcc-4.3 Version: 4.3.3-10 Severity: importan Running make in kernel source (here 2.6.29.1, 2.6.30-rc(5|6) on ppc gives: HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c: In function 'is_defined_config': scripts/basic/fixdep.c:399: internal compiler error: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2 4.3.3-7 went fine. others not testet. Can't test amd64 yet, because there 4.3.3-9 is latest which runs fine -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-rc5-bilbo (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, lc_ctype=de...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages gcc-4.3 depends on: ii binutils 2.19.1-1 The GNU assembler, linker and bina ii cpp-4.3 4.3.3-10 The GNU C preprocessor ii gcc-4.3-base 4.3.3-10The GNU Compiler Collection (base ii libc6 2.9-12 GNU C Library: Shared libraries ii libgcc1 1:4.4.0-4 GCC support library Versions of packages gcc-4.3 recommends: ii libc6-dev 2.9-12 GNU C Library: Development Librari Versions of packages gcc-4.3 suggests: ii gcc-4.3-doc 4.3.2.nf1-1(no description available) pn gcc-4.3-locales none (no description available) ii gcc-4.3-multilib 4.3.3-10 The GNU C compiler (multilib files pn libgcc1-dbg none (no description available) pn libgomp1-dbg none (no description available) pn libmudflap0-4.3-dev none (no description available) pn libmudflap0-dbg none (no description available) -- no debconf information -- Alles was viel bedacht wird ist bedenklich!;-) Friedrich Nietzsche -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: About the computational power of g4 machines
A Saturday 16 May 2009 15:06:15, Alex Fernandez escreveu: My old iMac g...@400 MHz could play DVDs, but I believe it used MacOSX-only hardware acceleration to do the trick. Yes, it uses ATI's proprietary MPEG acceleration, which specs never were released. It was the same on x86, for the same class of machines. Only Intel gave an open source driver with used the same functions on his 810 hardware and NVidia brought that for Linux in a closed source way for his Geforce 4 series. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Want to install lenny on older Powerbook G4 mac
I am trying to install Debian Linux version 5 (lenny) on an old G4 Powerbook (Titanium, 1GB memory, 667Mhz cpu, Machine model version 2.1) that is running Mac OS X 10.2. Some of my constraints: 1) It is not possible at this time to upgrade to a more recent version of OS X. 2) I do not have a wired internet connection from this Mac. 3) The only WIFI access is to a WPA connection (no control over the router either). More Background: a) The mac software works just fine (just no internet access due to above). b) I do have internet access to the wireless router from two other machines: - Windows Vista notebook PC (but no Administrator access on this computer) - Windows 7 notebook PC (full access to this computer) What I have tried so far: 1) Downloaded Net Boot CD iso image (from debian.org) and burned a CD with it. The install went just fine, until it found several deb files that were 'corrupt'. So I downloaded fresh copies of them off the debian web site. I just don't know how to integrate them into the install process. 2) Downloaded the first CD iso image from [ http://cdimage.debian.org/debian-cd/5.0.1/powerpc/iso-cd/ ]. Then I burned this CD using the same computer and software as above (IsoBuster on a Windows XP machine that has no internet access). That CD would not boot on my Powerbook - it has a 'read error' when trying to load the kernel. I also have an available USB keychain drive (4Gbyes). What can I do to get Linux installed on my Powerbook? Thanks, Mark -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#528944: gcc-4.3: Regression: running make in kernel source gives internal compiler error: Illegal instruction
* Matthias Klose [090516 19:23 +0200] fixed in recent upload of gmp Yes, indeed ;) Thanks for cooperation. Elimar -- Planung: Ersatz des Zufalls durch den Irrtum. -unknown- -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Do my packages work?
Hello there, I've finally managed to get my RS/6000 Model 43 up and running unter Debian Lenny. If I find some time, I'll do a write-up of my experiences for my blog. After some long compile sessions (256MB RAM is not enough for linking C++ binaries...) I've built some powerpc-packages for my Debian repository. As this is my first time on an architecture other than x86 I don't know which problems could arise (e.g. from different subarchitectures). Could anybody with a Mac or some other non-antique PPC have a look at the packages and tell me if they work for him? The repository is here: http://www.cgarbs.de/stuff/deb-repository.html A quick test of hugin, libpano13 and enblend would be nice. Added bonus: hugin and libpano are newer versions than in Sid :-) Thanks in advance! Christian -- Christian.Garbs.http://www.cgarbs.de It seemed the world was divided into good and bad people. The good ones slept better... while the bad ones seemed to enjoy the waking hours much more. -- Woody Allen, Side Effects signature.asc Description: Digital signature
Re: Bug#520763: hwclock: NVRAM flat battery sets date to 1904
Hi, Mark Purcell hat am Sat 16. May, 14:57 (+1000) geschrieben: This is a common problem on powerpc ibook's once the NVRAM battery goes flat. Apparently this has been discussed with upstream: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/23426/comments/18 Mark This patch is a quick hack, but you get the idea: --- hwclockfirst.sh.orig2009-05-16 14:26:54.0 +1000 +++ hwclockfirst.sh 2009-05-16 14:23:11.0 +1000 @@ -38,6 +38,12 @@ . /lib/lsb/init-functions verbose_log_action_msg() { [ $VERBOSE = no ] || log_action_msg $@; } +if `/sbin/hwclock | /bin/grep -q 1904`; then + log_warning_msg NVRAM Battery Clock flat (date 1904) + log_action_msg Setting hwclock date to 2009-5-16 + hwclock --set --date 2009-5-16 +fi + I would much more prefer to get prompted for the correct time, because with a wrong time fsck fail due to the last fsck is in the future. But I don't know how to do prompting in init scripts correctly. And to guess if the hardware clock is wrong I think we can look at the installation time of the module directory of the kernel. /boot/vmlinux-$(uname -r) is possible, too. I propose this patch: --- /etc/init.d/hwclockfirst.sh 2009-04-18 01:03:46.0 +0200 +++ hwclockfirst.sh 2009-05-16 17:52:48.675695938 +0200 @@ -73,7 +73,17 @@ NOADJ= fi - if [ $FIRST != yes ]; then + if [ $FIRST = yes ]; then +date_of_mod_dir=$(stat --format=%X /lib/modules/$(uname -a)) +date_of_hwclock=$(date --date=$(hwclock --show $GMT \ + $HWCLOCKPARS $BADYEAR) +%s) +if [ $date_of_hwclock -lt $date_of_mod_dir ]; then +log_begin_msg 'Please provide the current time as mmdd hhmm: ' +read time \ + test -n $time \ + hwclock --set --date=$time $GMT $HWCLOCKPARS $NOADJ +fi +else # Uncomment the hwclock --adjust line below if you want # hwclock to try to correct systematic drift errors in the # Hardware Clock. Bye, Jörg. -- Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns Kontakt aufzunehmen. (Calvin und Hobbes) signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Re: Bug#520763: hwclock: NVRAM flat battery sets date to 1904
On Sunday 17 May 2009 03:18:10 Jörg Sommer wrote: I would much more prefer to get prompted for the correct time, because with a wrong time fsck fail due to the last fsck is in the future. But I don't know how to do prompting in init scripts correctly. I did think about this, but didn't go this way for a couple of reasons. . I just want to get the time/date into the correct year so that things like kdm/ gdm will startup. Otherwise the user is presented with a console login which doesn't pass the WAF. I have been asked a number of times by the other half over the phone what does she do when the screen is black and just says $ with a flashing cursor :-( . I have ntpdate set so when the network interface is brought up, we then sync to exact time. Much more precise than asking the user the time. . I don't think you are allowed to block for input with the init.d scripts. That said I can see merit in asking the user the time, especially if you aren't going to connect to the network soon.. And to guess if the hardware clock is wrong I think we can look at the installation time of the module directory of the kernel. /boot/vmlinux-$(uname -r) is possible, too. Yes, I'm surprised that a warning isn't set off if the time is set to the date before the kernel was complied. Mark signature.asc Description: This is a digitally signed message part.
Re: Do my packages work?
Hi, Christian. On May 16 2009, Christian Garbs wrote: Hello there, I've finally managed to get my RS/6000 Model 43 up and running unter Debian Lenny. If I find some time, I'll do a write-up of my experiences for my blog. It would be nice if we could collaboratively maintain installation tutorials for the various flavours of powerpc so that we can integrate them into the user manual. After some long compile sessions (256MB RAM is not enough for linking C++ binaries...) I've built some powerpc-packages for my Debian repository. Well, I have one powerpc that has only 64MB and it is fixed (no more, no less RAM). Compiling things on it is a bit hard, but it does its job well. As this is my first time on an architecture other than x86 I don't know which problems could arise (e.g. from different subarchitectures). I can guarantee you that working with non-x86 is a lot of fun, really. The repository is here: http://www.cgarbs.de/stuff/deb-repository.html Why are you packaging rtorrent? (http://www.cgarbs.de/stuff/deb-repository.html#rtorrent) Isn't the version in sid enough? I am the maintainer of both libtorrent and rtorrent. If anything of it doesn't work, it would be best to have Debian's (and upstream's) versions corrected. Please, do consider the fact that we have an active maintainer of these packages (actually, a team of 3 people maintaining it). Regards, -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Want to install lenny on older Powerbook G4 mac
On May 16 2009, Mark Hoff wrote: I am trying to install Debian Linux version 5 (lenny) on an old G4 Powerbook (Titanium, 1GB memory, 667Mhz cpu, Machine model version 2.1) that is running Mac OS X 10.2. This is great. I wish I had one of those. :-) Some of my constraints: 1) It is not possible at this time to upgrade to a more recent version of OS X. This is an excellent example of why Free Software doesn't let you down when you need to get things working, letting you run the latest and greatest software as you wish, in general. 2) I do not have a wired internet connection from this Mac. 3) The only WIFI access is to a WPA connection (no control over the router either). Right. More Background: a) The mac software works just fine (just no internet access due to above). Does the fact that you have Mac OS X working but no internet connection mean that you don't have wired connection *nor* wifi connection, despite having a router? The situation isn't clear here. b) I do have internet access to the wireless router from two other machines: - Windows Vista notebook PC (but no Administrator access on this computer) - Windows 7 notebook PC (full access to this computer) OK. What I have tried so far: 1) Downloaded Net Boot CD iso image (from debian.org) and burned a CD with it. The install went just fine, until it found several deb files that were 'corrupt'. So I downloaded fresh copies of them off the debian web site. I just don't know how to integrate them into the install process. You can try to merge them both with the jigdo-lite program. 2) Downloaded the first CD iso image from [ http://cdimage.debian.org/debian-cd/5.0.1/powerpc/iso-cd/ ]. Then I burned this CD using the same computer and software as above (IsoBuster on a Windows XP machine that has no internet access). That CD would not boot on my Powerbook - it has a 'read error' when trying to load the kernel. I sincerely have no idea how to use Windows and I can't help you here. :-( What can I do to get Linux installed on my Powerbook? The problem is that you don't have a network connection. Otherwise, you could do a medium-less installation of the distribution, as documented in, say, Branden Robinson's ibook installation page. :-/ I would guess that you could try again with burning another CD (this time, using MacOS X, if possible), so that you know that the powerbook can read it latter (test the burn, either way). And before installing, whatever is the situation (burning the CD on another computer or not), use Disk Utilities to see if you can read the whole CD as an ISO image and compare the md5sum against what is in the repositories. Hope this sheds a bit of light, Rogério. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bug#520763: hwclock: NVRAM flat battery sets date to 1904
Hi, Jörg. On May 16 2009, Jörg Sommer wrote: I would much more prefer to get prompted for the correct time, because with a wrong time fsck fail due to the last fsck is in the future. The basic idea is sound. But I don't know how to do prompting in init scripts correctly. But the problem here is that prompting in init scripts shouldn't be done. At least, a lot of users wouldn't like to have to attend the boot up process. Not without a timeout in the read, at least. Controlled by the system administrator. And, please, do remember that while we are discussing this on debian-powerpc, other arches suffer from the very same problem too (dead battery/lack of power leading to clock being set way before the current date). And to guess if the hardware clock is wrong I think we can look at the installation time of the module directory of the kernel. /boot/vmlinux-$(uname -r) is possible, too. I already suggested something that is slightly more general (even though I think that it is a hack): * save the date on every shutdown (say, somewhere under /var or a similar place that is guaranteed to be there when the system boots---we have to be sure that the place isn't mounted readonly when saving the date and that it will be available for reading); * upon boot, if any saved date is used, then use it. Otherwise, set a dummy date (taken, say, as the most recent from the kernel, the filesystem being mounted or some fixed date that is known to be valid---the date of the release of the package, perhaps). I do think that this is a dirty hack, but it is a bit more flexible than just asking the user. I propose this patch: And this doesn't mean that the possibility of asking the user is completely ignored. Just put a configuration variable there defaulting to allow unattended boots to proceed, while still providing the opportunity for the sysadmin to do what you proposed in your patch. Regards, -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Want to install lenny on older Powerbook G4 mac
Am Samstag 16 Mai 2009 18:11:11 schrieb Mark Hoff: More Background: a) The mac software works just fine (just no internet access due to above). b) I do have internet access to the wireless router from two other machines: - Windows Vista notebook PC (but no Administrator access on this computer) - Windows 7 notebook PC (full access to this computer) I dont really understand, but maybe this helps If you have access to the Windows notebook PC AND this notebook does have internet access, then you could enable internet connection sharing on that windows 7 notebook and connect via cable (crossed network cable?) from the powerbook to the windows 7 notebook. If Windows 7 doesnt allow this try knoppix (maybe in a virtual machine) :) what a workaround Then you would get an internet connection to the powerbook and use the network install cd. greetz drz -- -- gpg fp: 5518 8F74 B2A0 E91A 6FAD 8AC8 C02C 6C6F C899 DC65 Public Key: http://rizzux.org/drz.asc -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Want to install lenny on older Powerbook G4 mac
Thank you so much Rogerio for the response. Just to clarify about the router: - I have access to a wireless router, but not to the physical device, hence no wired internet access. - I have two Windows computers that can connect to the wireless router, which uses the WPA protocol. Machine A is a Windows Vista notebook computer, and I do not have administrator access to it. Machine B is a Windows 7 notebook computer, and I have full access to it. It would be really great if I could find out how to use the Window 7 computer's [Dell D510] wireless internet connection, along with that computer's wired ethernet connection (RJ-45) to share the internet connection to the Powerbook. I have found many sources that will tell me how to use a Powerbook as the primary internet connection, and then pass it the direction I don't need to, to the Dell. Every time I need to put software on the Powerbook I need to sneaker-net it across using a USB flash drive. If I installed Jingo-lite it would be using Mac OS X 10.2, so I am avoiding installation of any more Mac(compatible) software. I think I will download the Lenny DVD (should only take 8 hours or so), and see if that will boot. By the way, once I get lenny installed, will I be able to use the Powerbook's wireless connection with my wireless router (the WPA connection)? Thanks again for your help, Mark On Saturday, May 16, 2009, at 04:00PM, Rogério Brito rbr...@ime.usp.br wrote: On May 16 2009, Mark Hoff wrote: I am trying to install Debian Linux version 5 (lenny) on an old G4 Powerbook (Titanium, 1GB memory, 667Mhz cpu, Machine model version 2.1) that is running Mac OS X 10.2. This is great. I wish I had one of those. :-) Some of my constraints: 1) It is not possible at this time to upgrade to a more recent version of OS X. This is an excellent example of why Free Software doesn't let you down when you need to get things working, letting you run the latest and greatest software as you wish, in general. 2) I do not have a wired internet connection from this Mac. 3) The only WIFI access is to a WPA connection (no control over the router either). Right. More Background: a) The mac software works just fine (just no internet access due to above). Does the fact that you have Mac OS X working but no internet connection mean that you don't have wired connection *nor* wifi connection, despite having a router? The situation isn't clear here. b) I do have internet access to the wireless router from two other machines: - Windows Vista notebook PC (but no Administrator access on this computer) - Windows 7 notebook PC (full access to this computer) OK. What I have tried so far: 1) Downloaded Net Boot CD iso image (from debian.org) and burned a CD with it. The install went just fine, until it found several deb files that were 'corrupt'. So I downloaded fresh copies of them off the debian web site. I just don't know how to integrate them into the install process. You can try to merge them both with the jigdo-lite program. 2) Downloaded the first CD iso image from [ http://cdimage.debian.org/debian-cd/5.0.1/powerpc/iso-cd/ ]. Then I burned this CD using the same computer and software as above (IsoBuster on a Windows XP machine that has no internet access). That CD would not boot on my Powerbook - it has a 'read error' when trying to load the kernel. I sincerely have no idea how to use Windows and I can't help you here. :-( What can I do to get Linux installed on my Powerbook? The problem is that you don't have a network connection. Otherwise, you could do a medium-less installation of the distribution, as documented in, say, Branden Robinson's ibook installation page. :-/ I would guess that you could try again with burning another CD (this time, using MacOS X, if possible), so that you know that the powerbook can read it latter (test the burn, either way). And before installing, whatever is the situation (burning the CD on another computer or not), use Disk Utilities to see if you can read the whole CD as an ISO image and compare the md5sum against what is in the repositories. Hope this sheds a bit of light, Rogério. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org