[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch install on A1200. Floating point exception



On Wed, Jun 04, 2008 at 07:58:20PM +0100, Nigel wrote:

> I've discovered the FPE is coming from db_progress.
>
> The line
>   db_progress START 0 $DEV_COUNT iso/scan/progress_title
> as invoked from the script /var/lib/dpkg/info/iso-scan.postinst causes  
> the FPE.
>
> And on my A1200 DEV_COUNT=0 (a divide by zero)?
>
> So it seems there are 2 problems here
>
> 1 - iso-scan.postinst and db_progress do not handle the situation of no  
> devices found

Which brings to mind the question of whether hd-media has *ever* been
tested on amiga. :)

> 2 - vmlinuz-2.6.24-1-amiga does not see my A1200's IDE hard disk

Odd. I'm rather sure some of our amiga's are using IDE. (amiga guys?)

> Regarding the second issue, when booting with the vmlinuz-2.6.24-1-amiga  
> kernel the boot messages relating to the ide interface are as follows:
>
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> ide0: Gayle IDE interface (A1200 style)
> Driver 'sd' needs updating - please use bus_type methods
> mice: PS/2 mouse device common for all mice
>
> As you can see no hda is detected by 2.6.24 kernel, which I suspect  
> accounts for the zero causing the FPE later on.
>
> Interestingly booting an older vmlinuz-2.6.18-4-amiga kernel does  
> discover hda.
>
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> ide0: Gayle IDE interface (A1200 style)
> hda: ST9235AG, ATA DISK drive
> ide0 at 0x80da0000 on irq 2
> hda: max request size: 128KiB
> hda: 409760 sectors (209 MB) w/64KiB Cache, CHS=985/13/32
>  <snip>
>  RDSK (512) hda1 (DOS^A)(res 2 spb 1) hda2 (DOS^A)(res 2 spb 1) hda3  
> (DOS^A)(res 2 spb 1) hda4 (DOS^A)(res 2 spb 1) hda5 (DOS^A)(res 2 spb 1)  
> hda6 (DOS^A)(res 2 spb 1) hda7 (DOS^A)(res 2 spb 1)
> mice: PS/2 mouse device common for all mice
>
> However I'm unable to mount initrd using vmlinuz-2.6.18-4-amiga so using  
> this older kernel for installation is not an option.

Make me wonder if your controller isn't enabled or is a module in
2.6.24, while being built-in in 2.6.18. Although from looking at the
2.6.25 configs, it looks like GAYLE is builtin. 

Hopefully one of our amiga guys can help out here.

You might also try the nativehd (gotta get a better name) initrd. It
installs from the net instead of an iso.

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: