Etch install on A1200. Floating point exception

View: New views
14 Messages — Rating Filter:   Alert me  

Etch install on A1200. Floating point exception

by Nigel-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I thought I'd give Debian a go on my Amiga A1200 (with 68030 CPU/MMU,
68882 FPU & 32MB RAM).

I downloaded a kernel (kernels/vmlinuz-2.6.24-1-amiga) and initrd
(hd-media/initrd.gz) from
http://people.debian.org/~smarenka/d-i/images-m68k/daily/

Transferred (the decompressed) kernel and initrd to my A1200 and booted
with:

amiboot -d -k vmlinuz-2.6.24-1-amiga -r initrd.gz root=/dev/ram video=pal

And my A1200 booted into the installer. (I am impressed!)

The installer proceeds in low memory mode, I select region then country
and reach the  "Detecting hardware to find drives" screen.  Once the
progress bar completes I get a blank blue screen, and after a minute or
so the message "Floating point exception" is displayed
/sbin/debian-installer exits, init restarts it and the "Detecting
hardware to find drives" is repeated.  This loops around and around and
blocks the install.


I suspect my problem is caused by my choice of kernel and initrd coming
from a "daily" directory.  So my question is:

Q) Am I using the correct kernel+initrd / install procedure to install
Etch on my A1200?


Regards,

Nigel


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Stephen R Marenka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 04, 2008 at 12:14:13AM +0100, Nigel wrote:

> Hello,
>
> I thought I'd give Debian a go on my Amiga A1200 (with 68030 CPU/MMU,  
> 68882 FPU & 32MB RAM).
>
> I downloaded a kernel (kernels/vmlinuz-2.6.24-1-amiga) and initrd  
> (hd-media/initrd.gz) from  
> http://people.debian.org/~smarenka/d-i/images-m68k/daily/
>
> Transferred (the decompressed) kernel and initrd to my A1200 and booted  
> with:
>
> amiboot -d -k vmlinuz-2.6.24-1-amiga -r initrd.gz root=/dev/ram video=pal
Interesting, I thought fb=false was also required for amiga. I suppose
that got fixed.

> And my A1200 booted into the installer. (I am impressed!)
>
> The installer proceeds in low memory mode, I select region then country  
> and reach the  "Detecting hardware to find drives" screen.  Once the  
> progress bar completes I get a blank blue screen, and after a minute or  
> so the message "Floating point exception" is displayed  
> /sbin/debian-installer exits, init restarts it and the "Detecting  
> hardware to find drives" is repeated.  This loops around and around and  
> blocks the install.

I guess we're going to need to figure out that FPE.

> I suspect my problem is caused by my choice of kernel and initrd coming  
> from a "daily" directory.  So my question is:
>
> Q) Am I using the correct kernel+initrd / install procedure to install  
> Etch on my A1200?

I would say yes. The etch release media wasn't tested (by me) after the
etch-m68k release (where the distribution name got changed). The daily
installer with suite etch-m68k is the best tested combination of d-i
since before etch released. (I just haven't done it lately.)

You need to add suite=etch-m68k and modules=etch-support on the kernel
command line to get etch, see also
<http://wiki.debian.org/DebianInstaller/M68k#issues>.
(Okay, I haven't verified that modules=etch-support is the correct
solution yet, but it sounds right.)

Unfortunately, none of this gets your past the FPE.

I haven't figured out what package generates the "Detecting hardware to
find drives" screen. I'd like to see what it's doing when the FPE gets
called.

Thanks,

Stephen

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


signature.asc (196 bytes) Download Attachment

Re: Etch install on A1200. Floating point exception

by Nigel-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stephen R Marenka wrote:

> On Wed, Jun 04, 2008 at 12:14:13AM +0100, Nigel wrote:
>> Hello,
>>
>> I thought I'd give Debian a go on my Amiga A1200 (with 68030 CPU/MMU,  
>> 68882 FPU & 32MB RAM).
>>
>> I downloaded a kernel (kernels/vmlinuz-2.6.24-1-amiga) and initrd  
>> (hd-media/initrd.gz) from  
>> http://people.debian.org/~smarenka/d-i/images-m68k/daily/
>>
>> Transferred (the decompressed) kernel and initrd to my A1200 and booted  
>> with:
>>
>> amiboot -d -k vmlinuz-2.6.24-1-amiga -r initrd.gz root=/dev/ram video=pal
>
> Interesting, I thought fb=false was also required for amiga. I suppose
> that got fixed.
>
>> And my A1200 booted into the installer. (I am impressed!)
>>
>> The installer proceeds in low memory mode, I select region then country  
>> and reach the  "Detecting hardware to find drives" screen.  Once the  
>> progress bar completes I get a blank blue screen, and after a minute or  
>> so the message "Floating point exception" is displayed  
>> /sbin/debian-installer exits, init restarts it and the "Detecting  
>> hardware to find drives" is repeated.  This loops around and around and  
>> blocks the install.
>
> I guess we're going to need to figure out that FPE.
>> I suspect my problem is caused by my choice of kernel and initrd coming  
>> from a "daily" directory.  So my question is:
>>
>> Q) Am I using the correct kernel+initrd / install procedure to install  
>> Etch on my A1200?
>
> I would say yes. The etch release media wasn't tested (by me) after the
> etch-m68k release (where the distribution name got changed). The daily
> installer with suite etch-m68k is the best tested combination of d-i
> since before etch released. (I just haven't done it lately.)
>
> You need to add suite=etch-m68k and modules=etch-support on the kernel
> command line to get etch, see also
> <http://wiki.debian.org/DebianInstaller/M68k#issues>.
> (Okay, I haven't verified that modules=etch-support is the correct
> solution yet, but it sounds right.)
>
> Unfortunately, none of this gets your past the FPE.
>
> I haven't figured out what package generates the "Detecting hardware to
> find drives" screen. I'd like to see what it's doing when the FPE gets
> called.

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
2 - vmlinuz-2.6.24-1-amiga does not see my A1200's IDE hard disk

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.


Hope this information helps.

Regards,

Nigel



--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Stephen R Marenka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>


signature.asc (196 bytes) Download Attachment

Re: Etch install on A1200. Floating point exception

by Ingo Juergensmann-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 04, 2008 at 03:11:44PM -0500, Stephen R Marenka wrote:

> > 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. :)

Uh? hd-media? You mean downloading lots of files and then scan the Amiga
Filesystem to install the packages from there? IIRC I did that back then
with debian 2.0 or so...

> > 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?)

Crest, Elgar and Vivaldi are having IDE controllers where at least Elgar is
booting from IDE and is using kernel 2.6.24-1-amiga as well.

> > 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.

As said: at least Elgar is booting off an IDE disk with 2.6.24-1-amiga.

--
Ciao...                //        Fon: 0381-2744150
      Ingo           \X/         SIP: 2744150@...

gpg pubkey: http://www.juergensmann.de/ij_public_key.asc


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Gayle Lee Fairless :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 4 Jun 2008, Stephen R Marenka wrote:

> 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.

        GAYLE is indeed a chip on the Amiga computer.  I don't recall what
it handles.

                Sincerely,
                (Mr.) Gayle Lee Fairless
                not a part of the Amiga although I own a few!




>
> 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.
>
>


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Nigel-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ingo Juergensmann wrote:

> On Wed, Jun 04, 2008 at 03:11:44PM -0500, Stephen R Marenka wrote:
>
>>> 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. :)
>
> Uh? hd-media? You mean downloading lots of files and then scan the Amiga
> Filesystem to install the packages from there? IIRC I did that back then
> with debian 2.0 or so...

hd-media mounts every partition it can find looking for the debian iso
file in the top level.  If it can find the iso it mounts it (via loop)
and gets the install files from there.  So you don't have to download
lots of files, just one big iso file (containing lots of files :) )

I'm trying a network install now using the nativehd inird.  Although I'm
a bit stuck with this as the nativehd initrd is missing a couple of
modules I need for my pcmcia network card.  The modules I need for
vmlinuz-2.6.24-1-amiga are

  - kernel/drivers/net/mii.ko
  - kernel/drivers/net/8139too.ko

but I haven't been able to find them.  Does anyone know where I can
download these modules (or the package they're in) from?

Once I get these modules I will add them to the initrd and see if I can
get my network card working to proceed with the install.


>>> 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?)
>
> Crest, Elgar and Vivaldi are having IDE controllers where at least Elgar is
> booting from IDE and is using kernel 2.6.24-1-amiga as well.
>
>>> 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.
>
> As said: at least Elgar is booting off an IDE disk with 2.6.24-1-amiga.
>

Er, I'm not sure if Elgar is a person or a host?

Assuming Elgar is a host...  Could someone with access to Elgar have a
look and see if there are any special kernel boot arguments?


Thanks,

Nigel


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Stephen R Marenka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 04, 2008 at 11:29:24PM +0200, Ingo Juergensmann wrote:

> On Wed, Jun 04, 2008 at 03:11:44PM -0500, Stephen R Marenka wrote:
>
> > > 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. :)
>
> Uh? hd-media? You mean downloading lots of files and then scan the Amiga
> Filesystem to install the packages from there? IIRC I did that back then
> with debian 2.0 or so...
hd-media loads an iso image of an install cdrom instead of using a cdrom
directly. Download iso, use that instead of burning cdrom. It does,
however, require that the installer know how to read the file system of
the media with the iso on it. This was designed for carrying iso's on usb
drives, but I used it for macos cdrom testing. I can't recall whether
I've used it with aranym. I've never tested it on an amiga (not having
one).

Peace,

Stephen

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


signature.asc (196 bytes) Download Attachment

Re: Etch install on A1200. Floating point exception

by Stephen R Marenka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 05, 2008 at 02:05:11AM +0100, Nigel wrote:

> I'm trying a network install now using the nativehd inird.  Although I'm  
> a bit stuck with this as the nativehd initrd is missing a couple of  
> modules I need for my pcmcia network card.  The modules I need for  
> vmlinuz-2.6.24-1-amiga are
>
>  - kernel/drivers/net/mii.ko
>  - kernel/drivers/net/8139too.ko
>
> but I haven't been able to find them.  Does anyone know where I can  
> download these modules (or the package they're in) from?
It doesn't look like 8139TOO is built on amiga in the debian stock
kernel. :\

You may have to try a custom-built kernel with whatever you want
built-in.

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


signature.asc (196 bytes) Download Attachment

Re: Etch install on A1200. Floating point exception

by Geert Uytterhoeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 5 Jun 2008, Nigel wrote:
> I'm trying a network install now using the nativehd inird.  Although I'm a bit
> stuck with this as the nativehd initrd is missing a couple of modules I need
> for my pcmcia network card.  The modules I need for vmlinuz-2.6.24-1-amiga are
>
>  - kernel/drivers/net/mii.ko
>  - kernel/drivers/net/8139too.ko
>
> but I haven't been able to find them.  Does anyone know where I can download
> these modules (or the package they're in) from?

Are you sure about this?

According to drivers/net/Kconfig, this driver is for PCI only?

| config 8139TOO
|     tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
|     depends on NET_PCI && PCI

Does your PCMCIA network card work under AmigaOS?

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Nigel-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geert Uytterhoeven wrote:

> On Thu, 5 Jun 2008, Nigel wrote:
>> I'm trying a network install now using the nativehd inird.  Although I'm a bit
>> stuck with this as the nativehd initrd is missing a couple of modules I need
>> for my pcmcia network card.  The modules I need for vmlinuz-2.6.24-1-amiga are
>>
>>  - kernel/drivers/net/mii.ko
>>  - kernel/drivers/net/8139too.ko
>>
>> but I haven't been able to find them.  Does anyone know where I can download
>> these modules (or the package they're in) from?
>
> Are you sure about this?

No I'm not sure at all.  8139too and mii are the 2 modules the card uses
when I insert it into the PCMCIA slot of an x86 Debian box.  I am just
assuming it would be the same 2 modules on m68k-amiga?

(Although my driving instructor always used to say, "Never assume anything")

I'm currently cross compiling gcc on my x86 box for m68k target.  If the
cross compile works I'm hoping I'll be able to build the Amiga kernel
and try a few different options / modules out.

> According to drivers/net/Kconfig, this driver is for PCI only?
>
> | config 8139TOO
> |     tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
> |     depends on NET_PCI && PCI
>
> Does your PCMCIA network card work under AmigaOS?

I don't know, or even how to tell as I am very unfamiliar with AmigaOS.
  Running amiboot is about the extent of my AmigaOS knowledge :)

I do know that the card works under Debian on an x86 host.


Nigel


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Geert Uytterhoeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 5 Jun 2008, Nigel wrote:

> Geert Uytterhoeven wrote:
> > On Thu, 5 Jun 2008, Nigel wrote:
> > > I'm trying a network install now using the nativehd inird.  Although I'm a
> > > bit
> > > stuck with this as the nativehd initrd is missing a couple of modules I
> > > need
> > > for my pcmcia network card.  The modules I need for vmlinuz-2.6.24-1-amiga
> > > are
> > >
> > >  - kernel/drivers/net/mii.ko
> > >  - kernel/drivers/net/8139too.ko
> > >
> > > but I haven't been able to find them.  Does anyone know where I can
> > > download
> > > these modules (or the package they're in) from?
> >
> > Are you sure about this?
>
> No I'm not sure at all.  8139too and mii are the 2 modules the card uses when
> I insert it into the PCMCIA slot of an x86 Debian box.  I am just assuming it

IC.

> would be the same 2 modules on m68k-amiga?
>
> (Although my driving instructor always used to say, "Never assume anything")
>
> I'm currently cross compiling gcc on my x86 box for m68k target.  If the cross
> compile works I'm hoping I'll be able to build the Amiga kernel and try a few
> different options / modules out.

That won't help for now, as we don't support PCI/CardBus yet on Amiga.

> > According to drivers/net/Kconfig, this driver is for PCI only?
> >
> > | config 8139TOO
> > |     tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter
> > support"
> > |     depends on NET_PCI && PCI

So your PCMCIA Ethernet Adapter must be a CardBus (PCI PC Card) adapter.

I don't think the Amiga 1200 PCMIA slot hardware actually supports CardBus.
Ah, according to http://en.wikipedia.org/wiki/Cardbus, the different notch
prevents you from inserting CardBus cards into 16-bit slots?
Can you actually insert the card in your Amiga (withour forcing :-)?

> > Does your PCMCIA network card work under AmigaOS?
>
> I don't know, or even how to tell as I am very unfamiliar with AmigaOS.
> Running amiboot is about the extent of my AmigaOS knowledge :)

OK. If it's not an Amiga-branded card or a generic PCMCIA NE2000 card,
I'm afraid there won't be an AmigaOS driver anyway.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Nigel-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geert Uytterhoeven wrote:

> On Thu, 5 Jun 2008, Nigel wrote:
>> Geert Uytterhoeven wrote:
>>> On Thu, 5 Jun 2008, Nigel wrote:
>>>> I'm trying a network install now using the nativehd inird.  Although I'm a
>>>> bit
>>>> stuck with this as the nativehd initrd is missing a couple of modules I
>>>> need
>>>> for my pcmcia network card.  The modules I need for vmlinuz-2.6.24-1-amiga
>>>> are
>>>>
>>>>  - kernel/drivers/net/mii.ko
>>>>  - kernel/drivers/net/8139too.ko
>>>>
>>>> but I haven't been able to find them.  Does anyone know where I can
>>>> download
>>>> these modules (or the package they're in) from?
>>> Are you sure about this?
>> No I'm not sure at all.  8139too and mii are the 2 modules the card uses when
>> I insert it into the PCMCIA slot of an x86 Debian box.  I am just assuming it
>
> IC.
>
>> would be the same 2 modules on m68k-amiga?
>>
>> (Although my driving instructor always used to say, "Never assume anything")
>>
>> I'm currently cross compiling gcc on my x86 box for m68k target.  If the cross
>> compile works I'm hoping I'll be able to build the Amiga kernel and try a few
>> different options / modules out.
>
> That won't help for now, as we don't support PCI/CardBus yet on Amiga.
>
>>> According to drivers/net/Kconfig, this driver is for PCI only?
>>>
>>> | config 8139TOO
>>> |     tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter
>>> support"
>>> |     depends on NET_PCI && PCI
>
> So your PCMCIA Ethernet Adapter must be a CardBus (PCI PC Card) adapter.
>
> I don't think the Amiga 1200 PCMIA slot hardware actually supports CardBus.
> Ah, according to http://en.wikipedia.org/wiki/Cardbus, the different notch
> prevents you from inserting CardBus cards into 16-bit slots?
> Can you actually insert the card in your Amiga (withour forcing :-)?

Geert,

You are quite right, and very amusingly my card is quite wrong.

The card is definitely 100% a CardBus adapter.  It says so on the box,
and in /var/log/messages on my x86 laptop ("CardBus card inserted" when
I plug it in).  However, the card itself physically has the notch cut
out to indicate a non CardBus PCMCIA card (like the lower card in the
photo on Wikipedia).  Hence it fits my A1200 and tricked me into
believing it may work under Linux on my Amiga :-)

Thank you for the information.  I'm now going to get myself a supported
network card and try again.


Nigel


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Etch install on A1200. Floating point exception

by Rolf Anders :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 05, 2008 at 10:00:25AM +0100, Nigel wrote:
> Geert Uytterhoeven wrote:
> >On Thu, 5 Jun 2008, Nigel wrote:

[...]

> >>No I'm not sure at all.  8139too and mii are the 2 modules the card uses
> >>when
> >>I insert it into the PCMCIA slot of an x86 Debian box.  I am just
> >>assuming it

[...]

> Thank you for the information.  I'm now going to get myself a supported
> network card and try again.

AFAIK all PCMCIA network cards on Amiga are handled by apne.ko which
supports most NE2000-compatible cards. 3com cards are not supported and
some 100Mbps NE2000-cards require a patch. A list of known working cards
is on http://www.g-mb.de/pcmcia_e.html .

Greetings,

Rolf

--
gpg public key: http://www-2.physik.uni-augsburg.de/~andersro/gpg-key.txt


attachment0 (190 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price