Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
24 crawler(s) on-line.
 117 guest(s) on-line.
 1 member(s) on-line.


 amigasociety

You are an anonymous user.
Register Now!
 amigasociety:  4 mins ago
 agami:  6 mins ago
 matthey:  50 mins ago
 RobertB:  1 hr 6 mins ago
 Rob:  1 hr 31 mins ago
 number6:  2 hrs 36 mins ago
 Karlos:  3 hrs 12 mins ago
 kolla:  3 hrs 40 mins ago
 OneTimer1:  4 hrs 9 mins ago
 OlafS25:  4 hrs 42 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  First Debian Etch Installer CD release!!
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 Next Page )
PosterThread
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 28-Jan-2013 2:35:30
#261 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri

Okay, tried what you suggested...booted in rescue mode, opened a shell in the installer environment, used mount --bind to set up /dev, /proc, /sys. Did chroot and then a dpkg --configure --pending.
That all went well. Then i tried the $ tasksel install --new-install and got loads of errors - perl: warning: Setting locale failed.
Please check locale settings:
LANGUAGE = "en"
LC_ALL = (unset)
LANG = "C.UTF-8"

Things just go downhill from there...repeats of these errors dozens of times.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 28-Jan-2013 3:31:37
#262 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Hypex

okay, I booted using rescue mode and entered a shell for the installer, set up /target as my hde10 (squeeze) partition, and ran /amigaone/postinstall.sh
It seemed to run okay.
It made no difference. That is, I believe that it had already been run at some previous time, likely when I went into rescue mode and ran the line that said "complete the installation".
I made sure to have my a1boot.conf file in /boot on hde10 (my squeeze partition) and went into uboot and changed my boot drive from psii ro ide (internal ide). Then I saved the environment file in uboot and rebooted. The Amiga did NOT see the a1boot.conf file on my hde10 partition and presented no linux menu items. The drive does have an AmigaOne SLB2 loader on it, and boots into OS4.1.
Question - is this because what was hde10 is now hda10 since I changed which drive to boot from in uboot? Hmmm..I need to think about that.
No, I am not using labels for my partitions...never did figure out how to get that working.

So...no luck on any of these suggestions.

More ideas?

Thanks

Last edited by scabit on 28-Jan-2013 at 03:46 AM.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 28-Jan-2013 3:44:10
#263 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Hypex

Quote:
Does this work okay in DMA mode? From any OS?


DMA mode for the internal IDE drives works fine in AmigaOS4.1. I have been able to set my drive to I think UDMA3 and have it work just fine.

Quote:
Yes you should have formatted it! Did it give you a warning about an unclean target?


Yes, sure did. I wouldhave gone back and tried to reintall on a newly formatted target but I didn't realize that Squeeze was going to go and download something like 1.2 GIG of files before it was all over. Yikes!

Quote:
Okay for what controllers was it disabled? For hde that would appear on controller 2 and primary bus.

Hmmm... when I disabled dma, where exactly would it tell me which controller and bus was disabled? I simply selected whatever button from the installer menu it shows to disable dma and it toggled from off to on.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 28-Jan-2013 19:40:32
#264 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@scabit

Geez...thats bad when I start talking to myself! Anyway, I discovered that the controller and bus are in the same menu as the enable dma option...just different letters used to select them. I have now selected DMA off for both bus 1 and bus 2, and for both controllers.
I am booting into rescue mode...no USB devices connected. Set up to open a shell into my hde10 squeeze partition.
Run gdm .... the fancy screen comes up to log into Debian....the cursor continues to flash (it always has), but no keyboard or mouse response. Plugged in my USB mouse and keyboard...still no input working.

Is this still the locale problems or what? Is this like the problems people are having with the SAM460 linux distros where you need to hook up an external keyboard to the serial port or whatever is going on?

Here's another interesting thing worthy of note - although you guys probably all already know this... if you set uboot to use a particular controller which has an SLB2 and have a secondary controller that also has a drive with a valid SLB2, uboot will boot up with the information from the drive the uboot variable boot1 is set to BUT will boot from the partition off the other controller if the bootpri is higher than that of any boot partitions on the booting drive.
So...if you want to boot from a particular controller and drive when you have two drives on two different controllers which both have valid SLB2s, you need to not only ensure that the uboot variable boot1 is set to the right controller, but also that the you have a partition on the drive on that controller that has the highest bootpri value of any partition on any of your drives. Otherwise uboot will boot you into - for example, OS4.1 update 5 but you will load all the files and startup for OS4.1 update 6.



Scott

Last edited by scabit on 28-Jan-2013 at 07:57 PM.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 28-Jan-2013 20:23:52
#265 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri

Here is the /var/log/Xorg.0.log .... well, some of it. The middle 16 pages or so are all Radeon entries....

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-powerpc64 ppc Debian
Current Operating System: Linux debian 2.6.31-1-powerpc #5 Wed Oct 14 22:51:32 CEST 2009 ppc
Kernel command line: ramdisk_size=65536 root=/dev/ram l2cr=0x80000000 console=tty0 video=radeonfb:1024x768 rescue/enable=true
Build Date: 30 October 2011 11:03:30PM
xorg-server 2:1.7.7-14 (Julien Cristau )
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 21 16:35:42 2013
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x101e8fc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:1:0:0) 1002:5159:1002:5159 ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] rev 0, Mem @ 0x80000000/134217728, 0x88000000/65536, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched ati as autoconfigured driver 0
(==) Matched fbdev as autoconfigured driver 1
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "ati"
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 6.13.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "radeon"
(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 6.13.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.7.6.901, module version = 0.4.2
ABI class: X.Org Video Driver, version 6.0
(II) RADEON: Driver for ATI Radeon chipsets:

... Radeon stuff here......

restore common
restore crtc1
restore pll1
finished PLL1
set RMX
set primary dac
enable primary dac
disable TV
(II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) RADEON(0): Setting screen physical size to 338 x 270


_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
damned 
Re: First Debian Etch Installer CD release!!
Posted on 29-Jan-2013 22:53:36
#266 ]
Member
Joined: 9-Jun-2004
Posts: 86
From: Italy

@Hypex

md5sum Desktop/DebianInstaller.lha 084410a168098ab36a380c76877476a5

md5 tested..it's correct

_________________
--------------------------------------
Search and Destroy
---------------------------------------

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 30-Jan-2013 23:44:09
#267 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@hypex

Well, I have tried about 25 different ways to attempt to fix the locale error with no success. Interestingly there is an official bug report for Debian Squeeze that indicates that the English UTF8 locale fails due to software issues (to paraphrase) but even though others have found ways to fix this, no method I have found fixes it...and I have spent hours on this.
I even tried copying my Lenny locale and localedef files onto the Squeeze partition with no success. Yes, I've gotten desperate enough to just start hacking and deleting files to see what happens. 8-o

Keep in mind that what I am doing is booting from your install CD in recovery mode and opening a root shell into my Squeeze partition. I can download and add stuff using apt-get install all day long....and I installed gdm and a few other things. But during almost every install I get numerous locale errors.

When I run gdm, the Debian startup screen appears with the login prompt and the blinking cursor...but the mouse does not move the little round pointer, nor does the keyboard respond at all. Not with a standard keyboard and mouse nor with a USB keyboard and mouse.

Lets have some ideas on getting gdm to come up please! Why is the mouse and keyboard having no effect?

Thanks!

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Hypex 
Re: First Debian Etch Installer CD release!!
Posted on 2-Feb-2013 16:16:03
#268 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@scabit

I'm sorry but I don't know why it is doing this. Infact it is catchy as my own Squeeze install is now doing the same thing!

I don't know if it is related but when I got Ubuntu 9 installed a while back I had a problem with the keyboard corrupting. Turned out it used a Debian console-setup script that thought it was on an Amiga because the machine name AmigaOne contained Amiga! Now this only affected the installer but I wonder if this problem extends into a ful Debian install?

I also had some problem when I installed it last as it was incomplete. Can't recall exactly but it may have been installed without a network. And since Linux can't live without the internet may have messed it up.

I take you have done "apt-get update" also? Not saure it it helps but try also "apt-get install gnome" or other gnome related and depandant packages you can locate. Such as gnome-desktop. I'm not sure how to cure the locale problem which isn't helping.

 Status: Offline
Profile     Report this post  
Hypex 
Re: First Debian Etch Installer CD release!!
Posted on 2-Feb-2013 16:20:08
#269 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@damned

Okay well that passes the test. I recall you setup a menu entry for the installer for your HD? Well perhaps try with the following boot args:

l2cr=0x00000000 ramdisk_size=65536 root=/dev/ram console=tty0 libata.dma=0

This will disable CPU cache and drive DMA.

 Status: Offline
Profile     Report this post  
Geri 
Re: First Debian Etch Installer CD release!!
Posted on 3-Feb-2013 11:36:28
#270 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@Hypex, scabit

Quote:
Hypex wrote:
@scabit

Quote:
Any more ideas?


Perhaps try removing the locales package and reinstalling it? That may conflict with dependants.

It may be better to do this in one step using "apt-get --reinstall install locales".

Quote:
Hypex wrote:

Quote:
scabit wrote:

When I install and run gdm, I get the fancy new Debian login screen...but my mouse and keyboard do NOT work.


Damn it that happens to me also! I wonder if it is a PS/2 issue. Got a USB KB/mouse to test?

Are the xserver-xorg-input-evdev, xserver-xorg-input-kbd and xserver-xorg-input-mouse packages installed?

Quote:
damned wrote:
@Hypex

Happen the same with ps2 or usb mouse or keyboard.

Thanks for the info!

Quote:
scabit wrote:
@Geri

I'll try your suggestions from post #251 and see what happens.
Besides the problems i had with the Squeeze install, and the locale problems, what I am attempting to do is rather unorthodox..to say the least. Specifically, I am trying to boot from a Squeeze partition that is NOT on my boot hard drive, that is, it is on the internal IDE drive of my micro A1 when I am booting from the SIL0680 160Gig drive.

That's not unorthodox. A lot of my Linux installations on the A1 boot the same way.

Quote:
As such, I am not and apparently will not see an entry in my startup in UBOOT for my Squeeze root for the reasons you listed.
What I may try to do is just set up my internal drive as my boot drive in UBOOT and see what I get from there. I alread made an a1boot.conf file with the correct parameters to use Hypex's boot image file from Squeeze.

All you should have to do, is to add an entry for your Linux installation on the internal drive to the a1boot.conf file on the drive's first Linux partition, which is connected to the Sii0680 controller (if this is the drive, from which OS4 boots) and to copy the boot image to the /boot directory on this partition.

Quote:
And yes, the /boot directory already had the kernel files and image file for Squeeze in it. I think when I went through the install (booting from Hypex's install CD) and continued the install, when it failed at the software portion I skipped to the next step and had it complete the installation.
So theoretically, the files should be there for me to boot from Squeeze if I make the squeeze drive my main partition.

Yes, the files should be there, but please try it the recommended way first.

Quote:
No, I have NOT reinstalled everything. I have tried to reinstall, and it skips through the downloading part since everything is already on the hard rive in the apt archive, but it has always failed at the part I mentioned in my previous post. So the system installs completely, it is just the software packages that do not complete. I opened a shell and seperately downloaded and installed gdm, but that failed with the LOCALE problems.

IIRC a missing locale never lead to a failed install on my systems. But please try to reinstall the locales package as I suggested above.

Quote:
This LOCALE problem seems to be a nuisance to many in the Debian Squeeze community. From what I can read, there is a problem with Squeeze using US-EN locale with UTF-8 for some reason. Many people have used many ways to fix this...so far none of them have worked for me.

Just a guess, but you could try to force the locale using this command (after you reinstalled the package):

Quote:
$ update-locale LC_CTYPE=en_US.UTF-8


Quote:
I'll try what you suggested and see if I can finish the install...but again, the system install completed perfectly...only the software packages failed to finish installing.
I'll let you know what happens...

You could do a "dpkg --audit" run to make sure there are no halfway installed packages anymore.

Quote:
scabit wrote:
@Geri

Okay, tried what you suggested...booted in rescue mode, opened a shell in the installer environment, used mount --bind to set up /dev, /proc, /sys. Did chroot and then a dpkg --configure --pending.
That all went well. Then i tried the $ tasksel install --new-install and got loads of errors - perl: warning: Setting locale failed.
Please check locale settings:
LANGUAGE = "en"
LC_ALL = (unset)
LANG = "C.UTF-8"

Things just go downhill from there...repeats of these errors dozens of times.

Okay, but at least the installation of unconfigured packages should be finished now.

Quote:
scabit wrote:
@Hypex

okay, I booted using rescue mode and entered a shell for the installer, set up /target as my hde10 (squeeze) partition, and ran /amigaone/postinstall.sh
It seemed to run okay.
It made no difference. That is, I believe that it had already been run at some previous time, likely when I went into rescue mode and ran the line that said "complete the installation".


@Hypex: adding an entry to an existing a1boot.conf file on another Linux paritions doesn't work yet, right?

Quote:
scabit wrote:

No, I am not using labels for my partitions...never did figure out how to get that working.

In the end it will make everything easier, because you don't have to think about partition numbers when you swap controllers and or drives. The label will always be the same.

Quote:
scabit wrote:

So...if you want to boot from a particular controller and drive when you have two drives on two different controllers which both have valid SLB2s, you need to not only ensure that the uboot variable boot1 is set to the right controller, but also that the you have a partition on the drive on that controller that has the highest bootpri value of any partition on any of your drives. Otherwise uboot will boot you into - for example, OS4.1 update 5 but you will load all the files and startup for OS4.1 update 6.

Another reason to use only one boot drive.

Quote:
scabit wrote:
@Geri

Here is the /var/log/Xorg.0.log .... well, some of it. The middle 16 pages or so are all Radeon entries....

...
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.

Interesting! I'll have to check, what my Squeeze installation says about this.

Quote:
Hypex wrote:
@scabit

I'm sorry but I don't know why it is doing this. Infact it is catchy as my own Squeeze install is now doing the same thing!

@Hypex: Does your Squeeze installation report the same line in Xorg.0.log?

Quote:
Hypex wrote:
@damned

l2cr=0x00000000 ramdisk_size=65536 root=/dev/ram console=tty0 libata.dma=0

This will disable CPU cache and drive DMA.

l2cr=0x00000000 isn't necessary for the 2.6.31 kernel, as it doesn't activate the L2 cache automatically like the 2.6.18 kernel. But it doesn't hurt on the other hand...

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 4-Feb-2013 13:15:22
#271 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri

Quote:
It may be better to do this in one step using "apt-get --reinstall install locales".


Yes, I've tried that and many other variations several times. It just continually fails.

Unfortunately, at one point, I told locales to generate "all" so now, no matter what I do, it goes and tries to rebuild and install EVERY locale language in the file. Even when I went and edited the file by hand and deleted every line other than en_US.UTF-8, any time I run apt-get install (or --reinstall) locales it tries to generate all 100+ languages.

I have also repeatedly tried apt-get remove locales

This removes only locales, it does not remove whatever variables were set that told it what languages to use, so when I go and try to do an apt-get install locales it not only fails (as it did originally) but also tries to generate all 100+ language packages because I told it to once. There is no way to run the dpkg-install for locales because it fails and exits so I cannot unset whatever variable got set that tells it to generate ALL languages.
It is interesting hat this Locales problem was introduced in Lenny and many people who upgrade to Squeeze experience it...but nobody knows why it happens...only a few dozen ways to try to repair it. Even though there are problem reports for this issue, there doesn't seem to be anything that says, "oh yes, that problem was caused when this variable was set to so and so...or when this file was set as write protected" or whatever.
I have tried every way I can find via google search to fix the locales problem and none of them work for me.
I did try as you suggested update-locale LC_CTYPE=en_US.UTF-8, that also fails.
I wish I could capture the outputs of these errors for you...but redirection doesn't work...perhaps it is defined by the locale settings?

Technically, if the mouse and keyboard worked when I ran gdm, then I could select my locale on the lower left from the menu that is there. But we still do not know why the mouse and keyboard do not work when you try to log into Squeeze. This is the real issue.

As for copying the kernel image file to the Lenny partition in /boot and adding a line to my Lenny a1boot.conf file to allow me to boot from Squeeze, that does not work. It comes up and shows that it loaded the kernel, then the screen goes black and I see a penguin in the upper left corner....no text of any sort...then about 1 minute of heavy hard disk churning (on my internal drive - hopefully hde10 partition), then the disk access light goes out and nothing else happens. No blinking cursor or anything. Just the penguin of doom up in the top left corner of the screen.

Anyone gotten the keyboard/mouse issue figured out yet?

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Geri 
Re: First Debian Etch Installer CD release!!
Posted on 4-Feb-2013 14:46:50
#272 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@scabit

Quote:
scabit wrote:
@Geri

Quote:
It may be better to do this in one step using "apt-get --reinstall install locales".


Yes, I've tried that and many other variations several times. It just continually fails.

Okay.

Quote:
Unfortunately, at one point, I told locales to generate "all" so now, no matter what I do, it goes and tries to rebuild and install EVERY locale language in the file. Even when I went and edited the file by hand and deleted every line other than en_US.UTF-8, any time I run apt-get install (or --reinstall) locales it tries to generate all 100+ languages.

And you can't revert this behavior by reconfiguring it with "dpkg-reconfigure locales"?

Quote:
I have also repeatedly tried apt-get remove locales
This removes only locales, it does not remove whatever variables were set that told it what languages to use, so when I go and try to do an apt-get install locales it not only fails (as it did originally) but also tries to generate all 100+ language packages because I told it to once. There is no way to run the dpkg-install for locales because it fails and exits so I cannot unset whatever variable got set that tells it to generate ALL languages.

Better try to purge (can't remember, if "apt-get purge locales" works), which really removes everything. "remove" still leaves the config files behind.

Quote:
It is interesting hat this Locales problem was introduced in Lenny and many people who upgrade to Squeeze experience it...but nobody knows why it happens...only a few dozen ways to try to repair it. Even though there are problem reports for this issue, there doesn't seem to be anything that says, "oh yes, that problem was caused when this variable was set to so and so...or when this file was set as write protected" or whatever.
I have tried every way I can find via google search to fix the locales problem and none of them work for me.
I did try as you suggested update-locale LC_CTYPE=en_US.UTF-8, that also fails.

I'm also running out of ideas at the moment.

Quote:
I wish I could capture the outputs of these errors for you...but redirection doesn't work...perhaps it is defined by the locale settings?

As a last resort you could install gpm, which gives you a mouse pointer on the virtual console and thus should allow you to copy and paste the output into an editor ("nano" for example).

Quote:
Technically, if the mouse and keyboard worked when I ran gdm, then I could select my locale on the lower left from the menu that is there. But we still do not know why the mouse and keyboard do not work when you try to log into Squeeze. This is the real issue.

Did you check, if the packages I mentioned above are installed?

Quote:
As for copying the kernel image file to the Lenny partition in /boot and adding a line to my Lenny a1boot.conf file to allow me to boot from Squeeze, that does not work. It comes up and shows that it loaded the kernel, then the screen goes black and I see a penguin in the upper left corner....no text of any sort...then about 1 minute of heavy hard disk churning (on my internal drive - hopefully hde10 partition), then the disk access light goes out and nothing else happens. No blinking cursor or anything. Just the penguin of doom up in the top left corner of the screen.

Sounds like the kernel doesn't use the right console for output. Please check that you added "console=tty0" to the boot arguments!

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
damned 
Re: First Debian Etch Installer CD release!!
Posted on 4-Feb-2013 23:08:43
#273 ]
Member
Joined: 9-Jun-2004
Posts: 86
From: Italy

@Hypex

no luck, still hang on the same way...

_________________
--------------------------------------
Search and Destroy
---------------------------------------

 Status: Offline
Profile     Report this post  
Geri 
Re: First Debian Etch Installer CD release!!
Posted on 5-Feb-2013 6:43:33
#274 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@damned

Can you remind me what machine your using (SE/XE/uA1, CPU, controller, etc.)? How far does the kernel get during the boot process?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 5-Feb-2013 21:49:21
#275 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri

Okay, here is some more insight into these odd behaviors.

1) When I try to boot my Squeeze kernel from my Lenny partition by adding an entry in a1boot.conf that tells the machine to boot from /dev/hde10 and add the console=tty0, I see what is happening..... the IDE bus is ALWAYS reversed, that is, the drive I expect to be hde10 is hda10, and my Lenny partition hda2 is being seen as hde2.
I tried removing the ide=reverse in my a1boot.conf line, and it STILL reverses the bus!

How can that be?

So I decided to trick it and changed the line to boot from hda10 instead of hde10.

So now it boots...eventually, onto my Squeeze partition....sort of.

It found several errors on "hda10" and mounted it as read only. After running a drive check is told me it could not resolve all the errors and to run the fsck myself....ah...no thanks.

Now...here is the other odd thing. When I boot the kernel image the date for the file named img-2.6.31-1-powerpc (or whatever it is called) comes up 2009-11-11.... AND shows as Debian 5.0. What? That CANNOT be the kernel I am telling it to load!
However, after it boots and I do a uname -r it shows 2.6.31-1-powerpc
I did a depmod just for fun, it seemed to do nothing or run okay - no errors at least.

When I ran gdm it came up with an error saying that the Xserver was not running, but then would not accept any keyboard input to exit.

If I try to use the cuImage raw 2.6.31-1-powerpc kernel image file, all I get when I boot is an error saying "Bad Magic Number". That's just scary.


By booting from the Squeeze install CD in rescue mode, I verified the xserver-xorg-input-evdev was up to date, the -kbd fetched another 31k and installed, and the -mouse grabbed another 56k and installed. kbd is now version 1:1.4.0-2 and mouse is version 1:1.5.0-2 ... whatever that means.

2) Locales - still no success. Your apt-get -purge helped me to recover from the install every type of locale insanity - thank you! But I purged and removed and then did an apt-get install locales and got the same errors, namely;

locale: Cannot set LC_CTYPE to default locale. No such file or directory.
locale: Cannot set LC_MESSAGES to default locale. No such file or directory.
locale: Cannot set LC_COLLATE to default locale. No such file or directory.

I tried update-locale LC_CTYPE=en_US.UTF-8 and it gives me an error saying:

Error: invalid locale setting: LC_CTYPE=en_US.UTF-8

Same thing when I tried just en_US.

Oh, dpkg --audit showed nothing, no errors, no activity...nothing

Also, during the installs of the kbd and mouse files I got errors about the locales, but also an error saying "openpty() failed - (/devs/pts not mounted?)

Not sure what that's about.

When I run dpkg-reconfigure locales it brings up the menu allowing me to set the locales I want - I tried a few different ones. It always fails with hundreds of errors flying by such as:

/usr/share/i18n/locales/iso14651_t1_common 7911: LC_COLLATE: symbol 'MM_Man' not known
or same line with 'MM_RightPali' or 'MM_Rice' or many other interesting names.

The /usr/share/i18n/locales/iso14651_t1 file and _common file is there. No idea how it works really.

So whats next?

Thanks!

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
damned 
Re: First Debian Etch Installer CD release!!
Posted on 5-Feb-2013 23:14:36
#276 ]
Member
Joined: 9-Jun-2004
Posts: 86
From: Italy

@Geri

after succesful loading the kernel my amigaone xe stucks on
"loading ramkdisk to .., end to ... OK"
sil3112, sata ssd, ide cdrom, G4 800, 1Gb

ps
with this kernel i would have the trim support?

_________________
--------------------------------------
Search and Destroy
---------------------------------------

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 6-Feb-2013 3:04:26
#277 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Geri
@hypex


Okay....got it!

Now typing from Debian 6.0.6!

I booted into LENNY - ran fsck on hde10 it found lots of errors
I fixed all errors

Rebooted into the LENNY partition with the Squeeze configuration and kernel image
It logged me into a squeeze shell
I logged in, ran gdm....
Here I am!

Hope it works again tomorrow!

Thanks,

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Hypex 
Re: First Debian Etch Installer CD release!!
Posted on 6-Feb-2013 13:14:49
#278 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@scabit

That's great news. Now all you need is to boot into a Squeeze volume and get it working.

BTW, how was the menu entry the installer added? Did it work at all?

Oh and that Debian 5.0.thing is normal as the kernel used in the installer was compiled when Debian 5.0 was current.

 Status: Offline
Profile     Report this post  
scabit 
Re: First Debian Etch Installer CD release!!
Posted on 6-Feb-2013 17:33:50
#279 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Hypex

Interesting oddness. Here is what happens. If I boot my entry shown as Squeeze_SIL_SATA_hda then my busses always swap, that is, my SIL controller Squeeze partition shows up as hde10, while my internal ide controller Lenny partition shows up as hda2. This prevents the system from booting.
I remove the ide=reverse - try again. Makes NO difference. It still does NOT swap the drives.

When I select the Squeeze_SIL_SATA_hde entry, the drives are ALWAYS Swapped!!! That is, my Squeeze partition is always shown as hda10 while my Lenny partition is always hda2....so I cannot boot into Squeeze!!! AH!

I have removed the ide=reverse in both lines, it makes no difference.

How do I get it to boot into Squeeze?

This is painful...really.
When the system locks up during the boot process showing "Waiting for root filesystem...." and never finding it because it is on the other partition, if I press CTRL-ALT-DEL to reboot, and go back to my uboot selection menu and select either the hde or hda entry, and press enter...NOTHING HAPPENS! The enter key does not work in uboot anymore...even though the arrow keys work. INSANITY!
BUT...if I keep pressing the ENTER key, after about 2 or 3 minutes ONE of the keystrokes goes through and then I boot into Squeeze (off of the Lenny partition).
Then I get a bunch of "Starting system message bus: dbus"
"Warning: Fake start-stop-daemon called, doing nothing"

For rsyslog, dbus, cron, gpm and ssh.

I am presented with a login prompt. I log in. enter su and password. Okay.
I type gdm and my windowed gnome environment starts and I can log in like normal.

I am in Squeeze, having booted from the kernel image files I copied from my squeeze partition to my Lenny partition boot directory, using this a1boot.conf:

Lenny_IDE_SATA /boot/uImage-2.6.18 root=/dev/hda2 l2cr=0x80000000

Lenny_SIL_SATA /boot/uImage-2.6.18 root=/dev/hda2 ide=reverse hde=noprobe hdf=noprobe l2cr=0x80000000

Lenny_SIL_SATA_NODMA /boot/uImage-2.6.18 root=/dev/hda2 ide=reverse ide=nodma l2cr=0x80000000

Squeeze_SIL_SATA_hda /boot/boot.img.amigaone-2.6.31-1-powerpc ide=reverse root=/dev/hda10 console=tty0

Squeeze_SIL_SATA_hde /boot/boot.img.amigaone-2.6.31-1-powerpc ide=reverse root=/dev/hde10 console=tty0

Squeeze_SIL_SATA_UUID /boot/boot.img.amigaone-2.6.31-1-powerpc root=UUID=c22ab024-28a7-42c4-9fb1-c07e3ff5e170 console=tty0


Wow - got the UUID syntax right - now I can boot mostly into Squeeze! When I select the SIL_SATA_UUID entry, I boot into Squeeze and it comes up okay - still does not automatically run gdm, but opens tty1 with a login prompt. I log in, set su, cd / and type gdm and into the Gnome desktop I go! Great!

Oh, I did an apt-get install for dbus, cron, gpm and ssh --reinstall can't find the name for rsyslogd. Yes, that does fix the errors I was getting with start-stop-daemon called, doing nothing.

I also got the locale problem fixed by doing an an apt-get install locale-all - it installs everything known to mankind, but now I don't get any locale errors!

Whoohoo!

Hey, why is typing this so jittery anyway? I type and 10 seconds later my words appear in IceWeasel...whats up with that?

SCott

Last edited by scabit on 06-Feb-2013 at 07:53 PM.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Geri 
Re: First Debian Etch Installer CD release!!
Posted on 6-Feb-2013 22:06:56
#280 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@scabit

Quote:
scabit wrote:
@Geri

Okay, here is some more insight into these odd behaviors.

1) When I try to boot my Squeeze kernel from my Lenny partition by adding an entry in a1boot.conf that tells the machine to boot from /dev/hde10 and add the console=tty0, I see what is happening..... the IDE bus is ALWAYS reversed, that is, the drive I expect to be hde10 is hda10, and my Lenny partition hda2 is being seen as hde2.
I tried removing the ide=reverse in my a1boot.conf line, and it STILL reverses the bus!

How can that be?

The ide=reverse option is not supported anymore by the IDE system since kernel version 2.6.30 or so.

Quote:
So I decided to trick it and changed the line to boot from hda10 instead of hde10.

Partition labels would help here.

Quote:
So now it boots...eventually, onto my Squeeze partition....sort of.

Good to hear!

Quote:
It found several errors on "hda10" and mounted it as read only. After running a drive check is told me it could not resolve all the errors and to run the fsck myself....ah...no thanks.

Where the errors already present, when you tried to fix the installation?

Quote:
Now...here is the other odd thing. When I boot the kernel image the date for the file named img-2.6.31-1-powerpc (or whatever it is called) comes up 2009-11-11.... AND shows as Debian 5.0. What? That CANNOT be the kernel I am telling it to load!
However, after it boots and I do a uname -r it shows 2.6.31-1-powerpc
I did a depmod just for fun, it seemed to do nothing or run okay - no errors at least.

As Hypex already explained, the kernel and the boot image were compiled on/for a Lenny system. But that's something that should change for the final installer (IMHO). On the other side "Debian ... 5.0" is just a name that we choose for the boot image.

Quote:
When I ran gdm it came up with an error saying that the Xserver was not running, but then would not accept any keyboard input to exit.

gdm or gdm3? I just ask, because gdm3 is not automatically installed, if you do a dist-upgrade from Lenny to Squeeze.

Quote:
If I try to use the cuImage raw 2.6.31-1-powerpc kernel image file, all I get when I boot is an error saying "Bad Magic Number". That's just scary.

That's just a raw image, which contains a simple boot wrapper, a device tree blob (which describes the hardware) and the kernel image. However it misses the U-Boot image header, which is parsed by U-Boot's bootm command, when it boots an image. It should be used to generate a multi file image, which contains the kernel (in the form of this raw image) and an initramfs image.

Note that the v2.6.31 (and all the following kernel releases) differs from the 2.6.18 kernel in that almost all drivers are compiled as modules. Thus the kernel needs an initramfs image, which contains the most important drivers to actually boot the system from a harddisk.

Quote:
By booting from the Squeeze install CD in rescue mode, I verified the xserver-xorg-input-evdev was up to date, the -kbd fetched another 31k and installed, and the -mouse grabbed another 56k and installed. kbd is now version 1:1.4.0-2 and mouse is version 1:1.5.0-2 ... whatever that means.

Okay!

Quote:
2) Locales - still no success. Your apt-get -purge helped me to recover from the install every type of locale insanity - thank you! But I purged and removed and then did an apt-get install locales and got the same errors, namely;

locale: Cannot set LC_CTYPE to default locale. No such file or directory.
locale: Cannot set LC_MESSAGES to default locale. No such file or directory.
locale: Cannot set LC_COLLATE to default locale. No such file or directory.

I tried update-locale LC_CTYPE=en_US.UTF-8 and it gives me an error saying:

Error: invalid locale setting: LC_CTYPE=en_US.UTF-8

Same thing when I tried just en_US.

You could try to install the precompiled locales available in the locales-all package and then try it again with update-locale.

Quote:
Oh, dpkg --audit showed nothing, no errors, no activity...nothing

Okay, so at least there's nothing else damaged.

Quote:
Also, during the installs of the kbd and mouse files I got errors about the locales, but also an error saying "openpty() failed - (/devs/pts not mounted?)

Not sure what that's about.

Are there any files in /dev after the system booted?

Quote:
When I run dpkg-reconfigure locales it brings up the menu allowing me to set the locales I want - I tried a few different ones. It always fails with hundreds of errors flying by such as:

/usr/share/i18n/locales/iso14651_t1_common 7911: LC_COLLATE: symbol 'MM_Man' not known
or same line with 'MM_RightPali' or 'MM_Rice' or many other interesting names.

The /usr/share/i18n/locales/iso14651_t1 file and _common file is there. No idea how it works really.

So whats next?

Try it with the locales-all package for now. At the moment I'm running out of ideas.

edit: Oops, you already fixed it with the locales-all package. Looks like we had the same idea at the same time.

Last edited by Geri on 06-Feb-2013 at 10:28 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
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle