02 February 2013, 23:45 | #1 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Debian installer CD problems
I'm tried to install Debian 3.1r8 from the official ISO image. At about 4.6GB it's actually a DVD image, but the ~37MB business card CD image shows the same problem. There are problems with two setups:
- A3000/040, HD at SCSI ID 6, CD drive at SCSI ID 2 - A4000/040, IDE HD and IDE/ATAPI CD drive With the A3000 config, the installer boots and runs but can't seem to detect the CD drive. It stays at a blue screen with flashing cursor for a very long time, then reports: An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Load installer components from CD If you press return and select the exit to a shell option, you can type ls /cdrom to show that the CD is actually mounted. With the A4000 config it gets a bit further. The installer shows steps: Detecting hardware to find CD-ROM drives, Scanning CD-ROM, Loading components of the Debian installer. But the process hangs at the 36% point, "Retrieving lvm2-udeb". For the A3000 config, there is some SCSI-related log output (2013-02-02 winuae.exe) which might be relevant: Code:
SCSIEMU 0: 28.00.00.00.00.DB.00.00.01.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=2048 ST=0 SENSELEN=0 SCSIEMU 0: 28.00.00.00.00.DE.00.00.01.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=2048 ST=0 SENSELEN=0 SCSIEMU 0: 28.00.00.00.00.DF.00.00.01.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=2048 ST=0 SENSELEN=0 ... [some MMU-related lines] ... SCSIEMU 0: 28.00.00.00.3A.3F.00.00.08.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=16384 ST=0 SENSELEN=0 MMU: page fault (logical addr=EFFFE000 SSW=0301 read=0 size=4 fc=1 pc=0001a310 ob=00000000 ins=0E99) MMU: page fault (logical addr=8002B130 SSW=5062 read=1 size=2 fc=2 pc=8002b130 ob=00000080 ins=FFFF) SCSIEMU 0: 28.00.00.00.3A.47.00.00.0E.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=28672 ST=0 SENSELEN=0 SCSIEMU 0: 28.00.00.00.3A.55.00.00.1A.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=53248 ST=0 SENSELEN=0 SCSIEMU 0: 28.00.00.00.3A.6F.00.00.0C.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=24576 ST=0 SENSELEN=0 SCSIEMU 0: 28.00.00.00.3A.7B.00.00.02.00.00.00 CMDLEN=10 DATA=39A96C48 LEN=10 -> DATAOUT=4096 ST=0 SENSELEN=0 Code:
ATAPI data transfer 12/12 bytes SCSI command 2B, no direction specified! SCSIEMU 0: 2B.00.00.00.3E.F2.00.00.00.00.00.00 CMDLEN=10 DATA=36DBD968 LEN=65536 CDEMU: unsupported scsi command 0x2B -> DATAOUT=-1 ST=2 SENSELEN=18 ATAPI data transfer 12/12 bytes SCSIEMU 0: 28.00.00.00.3E.F2.00.00.08.00.00.00 CMDLEN=10 DATA=36DBD968 LEN=65536 -> DATAOUT=16384 ST=0 SENSELEN=0 ATAPI data transfer 16384/16384 bytes ATAPI data transfer 12/12 bytes SCSIEMU 0: 28.00.00.00.3E.FA.00.00.0E.00.00.00 CMDLEN=10 DATA=36DBD968 LEN=65536 -> DATAOUT=28672 ST=0 SENSELEN=0 ATAPI data transfer 28672/28672 bytes ATAPI data transfer 12/12 bytes SCSIEMU 0: 28.00.00.00.3F.08.00.00.1A.00.00.00 CMDLEN=10 DATA=36DBD968 LEN=65536 -> DATAOUT=53248 ST=0 SENSELEN=0 ATAPI data transfer 32768/53248 bytes ATAPI data transfer 20480/20480 bytes ATAPI data transfer 12/12 bytes SCSIEMU 0: 28.00.00.00.3F.22.00.00.24.00.00.00 CMDLEN=10 DATA=36DBD968 LEN=65536 -> DATAOUT=73728 ST=0 SENSELEN=0 ATAPI data transfer -1967852132/-818686905 bytes IDE-1016012054: unknown ATAPI command 0xe1 ATAPI data transfer 12/12 bytes IDE-1016012054: unknown ATAPI command 0xe1 ATAPI data transfer 12/12 bytes [previous two lines repeated several times] |
03 February 2013, 10:26 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Thanks. Both fixed.
ATAPI internal data buffer was too small. SCSI WD33C93 emulation didn't handle scatter/gather DMA when using Select-And-Transfer command. |
03 February 2013, 15:36 | #3 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
In both cases the installer gets much further now. But there is a problem with the partitioning stage on A4000/040 and an error loading installer components on A3000/040. I don't blame you for not spending hours waiting for the installer to finish though!
[By the way, with A4000/040 config the 31kHz display mode used by the installer has the right edge cut off. That's probably the same regression as I mentioned here, assuming the Aminet Debian HDF X display mode is the same as used by the installer.] With A4000/040 config, you get to the partitioning stage. I chose the default layout and selected Finish partitioning and write changes to disk. After a while there was this error message: The attempt to mount a file system with type swap in IDE1 master, partition #3 (hda3) at none failed. With A3000/040 config, there is an earlier error in Loading installer components from CD (dhcp-client-udeb): There was a problem reading data from the CDROM. Please make sure it is in the drive. If retrying does not work, you should check the integrity of your CD-ROM. |
03 February 2013, 16:04 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Not going to even attempt to test this, takes too long.
EDIT: I can create full ide and scsi debug version if you are interested in getting logs.. (My guess is that some rarely used mandatory command is not emulated) Last edited by Toni Wilen; 03 February 2013 at 16:20. |
03 February 2013, 16:24 | #5 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Yes if you can upload a logging-enabled version I'll give it a try.
|
03 February 2013, 16:33 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
winuae.zip updated, ide/scsi debugging enabled.
btw, where do you see cut right edge? Text needs to be obviously cut, for example some non-centered box does not mean anything. |
03 February 2013, 17:37 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Yes, but getting to X takes longer than installer
|
03 February 2013, 19:06 | #9 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Here are some screenshots from the installer, taken with WinUAE 2.3.3 and 2.6.0b6. Even in the 2.3.3 screenshot there may still be a couple of pixels which are missing from the right edge (notice the / symbols at the right are cut off slightly).
I have uploaded logs for running the Debian installer with A3000/040 and A4000/040 configs using the winuae.exe you uploaded earlier. http://www..com/archive/yoS7G...3_Debian_.html Last edited by mark_k; 03 February 2013 at 19:13. |
04 February 2013, 17:46 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Unfortunately there was nothing interesting in the logs.
|
04 February 2013, 21:10 | #11 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Oh dear.
I thought the problems might be due to some MMU bug, but they happen in the same place with A3000/030 and A4000/030 configs too. The different MMU code for 030 vs 040 probably means the cause is elsewhere. |
04 February 2013, 21:23 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Tried increasing RAM? I noticed installer fails after some files have been unpacked with only 16M RAM, error is generic "something went wrong", it does not mention anything about RAM.
Does it work if install source is not CD? Unfortunately savestates can't be used because unix-like operating systems really like harddrive writes and usually have big caches. |
06 February 2013, 18:59 | #13 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
It wasn't a RAM problem since I had 64MB configured.
I have created an HDF which has the Debian CD 1 ISO image file in the FFS partition. You can use it to install from an actual CD/DVD, or have the installer use the ISO image. http://www..com/file/pIBBdHcF...ithISO_af.html, ~586MB. Boot it and type one of Install-CD, Install-CD-manual, Install-HD, Install-HD-manual. The -manual versions allow you to manually run each installation step instead of automatically running them all. Install-CD requires an actual (emulated) CD drive. Install-HD installs from the ISO image. I tried installing from HD with an A3000/040 config and it failed when partitioning the HD, see pics. Maybe some SCSI-related problem? Though with an A4000/040 config (IDE HD) it seemed to fail in a similar way. Also, I noticed that the installer doesn't automatically detect an A2065 ethernet card (see pic). When testing, the HDF may be left in an unbootable state after partitioning/formatting fails, so you'll need to unpack the HDF from the archive before trying again. Last edited by mark_k; 06 February 2013 at 19:47. |
08 February 2013, 16:41 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
How do I get to the (non-working) partitioning config screen? Quickest way, of course
|
08 February 2013, 20:12 | #15 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
It isn't very quick at all, but...
|
08 February 2013, 21:45 | #16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
There are no accesses whatsoever to A2065 address space during detection. I don't think this is WinUAE problem because manual selection works and it finds the card automatically (as in not asking any addresses) = autodetection should also work unless it isn't fully implemented. Sources probably tell the whole truth..
I'll debug partitioning problem tomorrow. |
09 February 2013, 10:46 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Solved. Partitioning problem is not a bug.
After partitioning Linux needs to re-read the partition table but because same drive is also used as a install package source/ADOS boot partition, it can't succeed (all mounts must be unmounted first) = "was unable blahblah". Without reboot, real data on drive vs data that Linux thinks is on drive conflicts = formatting error. Formatting after reboot seems to work normally. Use early boot menu to select ADOS partition or KS attempts to boot from new Linux partition. |
09 February 2013, 11:37 | #18 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Hmm, not the most user-friendly OS installer is it? (Still better than early NetBSD though... )
I tested the 2013-02-07 16:48 winuae.exe with an A3000/040 config, trying to install Debian from CD-ROM. Interestingly, it shows a similar problem as I originally reported with an A4000 IDE config; error reading from CD at the "Retrieving dhcp-client-udeb" stage. Update to add: I only see that problem when using the ~4.6GB DVD ISO image, not the businesscard, netinst or full CD#1 ISOs. Maybe some problem with >4GB ISO image handling??? The DVD ISOs are not available for direct download. Instead you need to download the .template and .jigdo files from http://cdimage.debian.org/cdimage/ar...68k/jigdo-dvd/ and use jidgo-lite which downloads/builds the ISO image for you. Last edited by mark_k; 09 February 2013 at 12:21. |
09 February 2013, 13:21 | #19 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Quote:
Quote:
|
||
09 February 2013, 19:13 | #20 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
There should be a way to manually specify which mirror to use. I used http://archive.debian.org/debian/ successfully.
I just tested using an A4000/040 config (IDE HD and CD) with the Debian DVD ISO, and that doesn't show the error the A3000 config had. Last edited by mark_k; 09 February 2013 at 22:11. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does Debian work on PPC boards? | wXR | Amiga scene | 2 | 16 February 2013 02:35 |
Debian Linux boot regression | mark_k | support.WinUAE | 15 | 28 January 2013 18:07 |
Guru when starting Debian 3.1 for Amiga | The Rom Alien | support.WinUAE | 7 | 08 June 2005 17:11 |
MechForce & UAE (Debian) problems | l8gravely | support.Games | 0 | 01 May 2005 05:40 |
Looking for Miggy emu to run under debian on A1 | Severin | New to Emulation or Amiga scene | 17 | 14 July 2003 13:42 |
|
|