English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 02 February 2013, 23:45   #1
mark_k
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
For the A4000 config, part of the log output with MMU-related lines omitted:
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]
I have uploaded a bootable HDF which contains only the kernel and initrd. Use that in conjunction with the Debian ISO image and the attached configs. http://www..com/file/DQOyXx8k..._HDbintar.html
Attached Thumbnails
Click image for larger version

Name:	Debian_CD_install_problem.png
Views:	338
Size:	3.0 KB
ID:	34133  
Attached Files
File Type: 7z Debian_install_configs.7z (2.6 KB, 180 views)
mark_k is offline  
Old 03 February 2013, 10:26   #2
Toni Wilen
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.
Toni Wilen is offline  
Old 03 February 2013, 15:36   #3
mark_k
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.
Attached Thumbnails
Click image for larger version

Name:	Debian_install_A3000_2600b6_error.png
Views:	305
Size:	3.0 KB
ID:	34139   Click image for larger version

Name:	Debian_install_A4000_2600b6_partitioning_1.png
Views:	280
Size:	4.7 KB
ID:	34140   Click image for larger version

Name:	Debian_install_A4000_2600b6_partitioning_2.png
Views:	265
Size:	3.6 KB
ID:	34142   Click image for larger version

Name:	Debian_install_A4000_2600b6_partitioning_3.png
Views:	269
Size:	2.8 KB
ID:	34143  
mark_k is offline  
Old 03 February 2013, 16:04   #4
Toni Wilen
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.
Toni Wilen is offline  
Old 03 February 2013, 16:24   #5
mark_k
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.
mark_k is offline  
Old 03 February 2013, 16:33   #6
Toni Wilen
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.
Toni Wilen is offline  
Old 03 February 2013, 16:55   #7
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
Thanks.

See here. In that posting I attached a couple of screenshots of the X desktop. The one made with WinUAE 2.3.3 looks good, the one with latest WinUAE has the right edge cut off.
mark_k is offline  
Old 03 February 2013, 17:37   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Yes, but getting to X takes longer than installer
Toni Wilen is offline  
Old 03 February 2013, 19:06   #9
mark_k
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
Attached Thumbnails
Click image for larger version

Name:	Installer_screen_WinUAE_233.png
Views:	250
Size:	3.5 KB
ID:	34148   Click image for larger version

Name:	Installer_screen_WinUAE_2600b6.png
Views:	261
Size:	3.4 KB
ID:	34149   Click image for larger version

Name:	Text_screen_WinUAE_233.png
Views:	283
Size:	6.2 KB
ID:	34151   Click image for larger version

Name:	Text_screen_WinUAE_2600b6.png
Views:	252
Size:	5.7 KB
ID:	34152  

Last edited by mark_k; 03 February 2013 at 19:13.
mark_k is offline  
Old 04 February 2013, 17:46   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Unfortunately there was nothing interesting in the logs.
Toni Wilen is offline  
Old 04 February 2013, 21:10   #11
mark_k
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.
mark_k is offline  
Old 04 February 2013, 21:23   #12
Toni Wilen
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.
Toni Wilen is offline  
Old 06 February 2013, 18:59   #13
mark_k
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.
Attached Thumbnails
Click image for larger version

Name:	Debian_HD_install_A3000_040_1.png
Views:	248
Size:	3.4 KB
ID:	34205   Click image for larger version

Name:	Debian_HD_install_A3000_040_2.png
Views:	239
Size:	2.4 KB
ID:	34206   Click image for larger version

Name:	Debian_HD_install_A4000_040.png
Views:	244
Size:	2.4 KB
ID:	34207   Click image for larger version

Name:	Debian_HD_install_no_enet.png
Views:	240
Size:	3.3 KB
ID:	34208  

Last edited by mark_k; 06 February 2013 at 19:47.
mark_k is offline  
Old 08 February 2013, 16:41   #14
Toni Wilen
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
Toni Wilen is offline  
Old 08 February 2013, 20:12   #15
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
It isn't very quick at all, but...
  • Boot the large HDF I uploaded (A3000/040/A2065 config attached).
  • Type Install-HD-manual, press return three times.
  • At the menu select Load installer components from an installer ISO
  • At the menu press Tab to highlight Continue and press return. The "Loading components of the Debian installer" stage takes a while. Once the main menu appears you can select Detect network hardware, notice that A2065 doesn't seem to be detected.
  • Select Partition disks
  • Select Use the largest continuous free space
  • Select All files in one partition (recommended for new users)
  • Select Finish partitioning and when asked Write the changes to disks? select Yes
  • At that point with A3000 config I get a message:
    Code:
    	Warning!
    	The kernel was unable to re-read the partition table on
    	/dev/scsi/host0/bus0/target6/lun0/disc (Device or resource busy).
    	This means Linux won't know anything nothing about the modifications
    	you made until you reboot.  You should reboot your computer before
    	doing anything with /dev/scsi/host0/bus0/target6/lun0/disc.
  • Select Continue. "Creating ext3 file system for / in partition #2 of SCSI1 (0,6,0) (sda)...". Get error message:
    Code:
    	Failed to create a file system
    	The ext3 file system creation in partition #2 of SCSI1 (0,6,0) (sda)
    	failed.
  • Select Continue and the partitioner starts again. You can retry with the same result.
Attached Files
File Type: 7z Debian_install_A3000_040_noCD_A2065.uae.7z (2.3 KB, 137 views)
mark_k is offline  
Old 08 February 2013, 21:45   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Quote:
Originally Posted by mark_k View Post
A2065 doesn't seem to be detected.
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.
Toni Wilen is offline  
Old 09 February 2013, 10:46   #17
Toni Wilen
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.
Toni Wilen is offline  
Old 09 February 2013, 11:37   #18
mark_k
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.
mark_k is offline  
Old 09 February 2013, 13:21   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Quote:
Originally Posted by mark_k View Post
Hmm, not the most user-friendly OS installer is it? (Still better than early NetBSD though... )
I think this is normal

Quote:
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.
I tried few mirrors and stupid jigdo just keeps continously outputting file not found errors without any way to switch to another mirror if selected mirror does not have any m68k files..
Toni Wilen is offline  
Old 09 February 2013, 19:13   #20
mark_k
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.
mark_k is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11362 seconds with 14 queries