Poster | Thread |
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 30-Mar-2013 21:34:13
| | [ #401 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @scabit
Quote:
scabit wrote: @Geri
Quote:
Unfortunately I didn't have the time yet to compile it and do a test run. Thus I don't even know, if it is working on the AmigaOne. |
Hmmm...sounds painful. Okay, since I have the delightful ability to boot into Lenny using (I think) kernel 2.6.18, can't I run MOL from that partition? If so, will I need to rebuild anything at all, or just install it and see what it does? |
Yes, you can run it from this partition. But didn't you try it out already and it didn't work under the 2.6.18 kernel? If so, I would (still) have to recompile the kernel modules._________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
scabit
| |
Re: First Debian Etch Installer CD release!! Posted on 30-Mar-2013 21:59:09
| | [ #402 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @Geri
Quote:
But didn't you try it out already and it didn't work under the 2.6.18 kernel? If so, I would (still) have to recompile the kernel modules. |
Yes, just tried it again. It says it needs to recompile ther kernel modules. I try to run ./autoconf and of course it doesn't exist. So I go and try to dowload autoconf and I get missing dependencies. So I run apt-get -f install and it brings up a window telling me "configuring linux image 2.6.26-2-powerpc ... do you wish to continue (and lots of stuff about setting up an initrd image RAM disk). Do I want to do this?
Okay, for laughs I tried it. Compiling the kernel for MOL gets a lot further. However, now I get this error:
Compiling blk_dmg.o In file included from ./include/blk_dmg.h:37, from blk_dmg.c:30: /usr/include/zlib.h:1366: error: expected =, ,, ;, asm or __attribute__ before gzseek64 /usr/include/zlib.h:1367: error: expected =, ,, ;, asm or __attribute__ before gztell64 /usr/include/zlib.h:1368: error: expected declaration specifiers or ... before off64_t /usr/include/zlib.h:1369: error: expected declaration specifiers or ... before off64_t make[4]: *** [../../../obj-ppc/build/src/drivers/disk/blk_dmg.o] Error 1 make[3]: *** [sub-disk-all] Error 2 make[2]: *** [sub-drivers-all] Error 2 make[1]: *** [sub-src-all] Error 2 make: *** [auto-bootstrap] Error 2
Had to comment out the include for stdio.h in the blk_dmg.c file to continue. Then had to install libx11-dev and libxtst-dev to continue. Now I get an error:
--- The kernel source directory '/usr/src/linux' does not exist. --- Set the KERNEL_SOURCE environment variable to the appropriate directory.
I'm guessing I need to install the kernel source files in /usr/src/linux yes? Do I have the kernel source files for the AmigaOne?
Hmmmm
Scott
Last edited by scabit on 30-Mar-2013 at 11:33 PM. Last edited by scabit on 30-Mar-2013 at 11:32 PM. Last edited by scabit on 30-Mar-2013 at 10:26 PM.
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
Hypex
| |
Re: First Debian Etch Installer CD release!! Posted on 31-Mar-2013 17:18:03
| | [ #403 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @scabit/Geri
Hi guys. I'm just updating my installer. Long overdue, made changes last month. Will upload then sort through posts. |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 1-Apr-2013 13:39:04
| | [ #404 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @scabit
Quote:
scabit wrote: @Geri
Quote:
But didn't you try it out already and it didn't work under the 2.6.18 kernel? If so, I would (still) have to recompile the kernel modules. |
Yes, just tried it again. It says it needs to recompile ther kernel modules. I try to run ./autoconf and of course it doesn't exist. So I go and try to dowload autoconf and I get missing dependencies. So I run apt-get -f install and it brings up a window telling me "configuring linux image 2.6.26-2-powerpc ... do you wish to continue (and lots of stuff about setting up an initrd image RAM disk). Do I want to do this?
Okay, for laughs I tried it. Compiling the kernel for MOL gets a lot further. However, now I get this error:
...
I'm guessing I need to install the kernel source files in /usr/src/linux yes? Do I have the kernel source files for the AmigaOne? |
Yes, the kernel source is available here and needs to go to /usr/src/linux (usually there is a softlink to the correct linux source directory).
But if I remember correctly I had to compile MoL under Debian Etch for some reason (I think it was a problem with some shared library under Debian Lenny). And last but not least it was also an older version (0.9.72 ), as the newest one had a broken build script or something like this.
I can try to setup a Etch chroot environment to build MoL in the evening. Maybe I can come up with a working build..._________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 1-Apr-2013 13:43:17
| | [ #405 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| |
Status: Offline |
|
|
damned
| |
Re: First Debian Etch Installer CD release!! Posted on 1-Apr-2013 22:52:36
| | [ #406 ] |
|
|
|
Member |
Joined: 9-Jun-2004 Posts: 86
From: Italy | | |
|
| |
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 2-Apr-2013 6:55:30
| | [ #407 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @damned
Quote:
Thanks for the picture!
Sorry, I mixed up the entry addresses of the 2.6.32 and 3.2 kernels before. Thus your image needs to be regenerated with the correct entry address. See here for an adequate mkimage command line._________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Hypex
| |
Re: First Debian Etch Installer CD release!! Posted on 2-Apr-2013 7:45:01
| | [ #408 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @Geri
Doh! Actually it's a bug fix to the script you found. With extra options for controlling drive dma wirh libata.
That said I didn't test the iso. But it should be fine. Same link as last time. Last edited by Hypex on 04-Apr-2013 at 11:14 AM.
|
|
Status: Offline |
|
|
scabit
| |
Re: First Debian Etch Installer CD release!! Posted on 3-Apr-2013 19:22:21
| | [ #409 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @Geri
Quote:
I can try to setup a Etch chroot environment to build MoL in the evening. Maybe I can come up with a working build... |
Did you ever get a chance to try that? Just wondering if you came up with a working version I can run in Lenny.....
Thanks!
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 3-Apr-2013 20:58:30
| | [ #410 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @scabit
Quote:
scabit wrote: @Geri
Quote:
I can try to setup a Etch chroot environment to build MoL in the evening. Maybe I can come up with a working build... |
Did you ever get a chance to try that? Just wondering if you came up with a working version I can run in Lenny..... |
Sorry for the silence! I was sidetracked with other topics the last two days.
I tried it out, but ran into a problem with the kernel source while compiling the MoL kernel module, because I cross-compiled the 2.6.18 kernel on a x86 machine. Thus I may have to recompile the kernel on my A1SE. I hope I can get this fixed until the weekend._________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 3-Apr-2013 21:01:45
| | [ #411 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @Hypex
Quote:
Hypex wrote: @Geri
Doh! Actually it's a bug fix to the script you found. With extra options for controlling drive dma wirh libata.
That said I didn't test the iso. But it should be fine. Same link as last time. |
Thanks! I'll give it a try on my A1SE ASAP._________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Hypex
| |
Re: First Debian Etch Installer CD release!! Posted on 4-Apr-2013 11:22:27
| | [ #412 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @Geri
No problkem. BTW I tested it and found a bug.
I almost forgot what I added in. After pressing C for Controller 1 and 2 it becomes All controllers. But it's cut iff to an A. On the A[ll] setting it will allow to disable DMA on all controllers with libata option.
RE MoL I recall recompiling it for 2.6.31 I'm sure. I will download to my Linux and have ago. |
|
Status: Offline |
|
|
scabit
| |
Re: First Debian Etch Installer CD release!! Posted on 4-Apr-2013 13:38:42
| | [ #413 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @Hypex
Quote:
RE MoL I recall recompiling it for 2.6.31 I'm sure. I will download to my Linux and have ago. |
That would be great! Thank you!
Scott_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 5-Apr-2013 22:22:56
| | [ #414 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| |
Status: Offline |
|
|
scabit
| |
Re: First Debian Etch Installer CD release!! Posted on 6-Apr-2013 15:21:10
| | [ #415 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @Geri
Quote:
Did I patch the 2.6.31 kernel to run MoL!? |
If you did, is that the same kernel version 2.6.31 that I have, or is it different?
Scott_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
damned
| |
Re: First Debian Etch Installer CD release!! Posted on 6-Apr-2013 17:49:50
| | [ #416 ] |
|
|
|
Member |
Joined: 9-Jun-2004 Posts: 86
From: Italy | | |
|
| |
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 6-Apr-2013 21:47:00
| | [ #417 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @scabit
Quote:
scabit wrote: @Geri
Quote:
Did I patch the 2.6.31 kernel to run MoL!? |
If you did, is that the same kernel version 2.6.31 that I have, or is it different? |
Good question! I can answer it, when I have found the kernel source I used to compile the 2.6.31 kernel package.
edit: At least there is nothing MoL specific in the patch file for the 2.6.31 kernel. So I guess MoL will not run on this kernel.
@damned
Quote:
Mysterious! What version of the U-Boot firmware are you using?Last edited by Geri on 06-Apr-2013 at 09:53 PM. Last edited by Geri on 06-Apr-2013 at 09:49 PM.
_________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Hypex
| |
Re: First Debian Etch Installer CD release!! Posted on 7-Apr-2013 8:25:27
| | [ #418 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @Geri
I don't know if you updated the kernel for MoL. But remember that SyncRead error I had where I ended up recompiling MoL, trying to run it and got all these module errors?
It's here if you want to read the story again. BTW the SATA/USB/FW card looks available.
http://wap.amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=30839&forum=34&start=0&viewmode=flat&order=0
Well now it's all coming back. Looks like we never got to 2.6.31 or I'm not aware we did. I've had to locate all these depends such as curses. I got the same ZLib problem which is broken. My iostd.h is broken as sprintf() wants __snprintf_chk() which doesn't exist. And I don't have kernel headers for 2.6.31!
I did a search and didn't see any for download. Only references to packages. Do you have any headers lying around or a download link to some?
BTW I am using my Ubuntu Linux to compile it as I have my development tools setup there. This could cause a problem. Perhaps I should try my Debian to do it. But I have Ubuntu setup in menu to boot different kernels. Last edited by Hypex on 07-Apr-2013 at 08:27 AM.
|
|
Status: Offline |
|
|
Hypex
| |
Re: First Debian Etch Installer CD release!! Posted on 7-Apr-2013 8:29:20
| | [ #419 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @damned
Good alternate to a serial cable! By the looks of it the code is crashing at the entry point. I wonder what the first instruction is? Something is wrong there. |
|
Status: Offline |
|
|
Geri
| |
Re: First Debian Etch Installer CD release!! Posted on 7-Apr-2013 14:38:26
| | [ #420 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| |
Status: Offline |
|
|