Re: [leaf-user] copy Bering floppy to CF card (Progress)

2005-12-23 Thread Chera Bekker
Follow up on this problem. I have progress of a sort. I attached my 
cardreader to yet another computer. The cardreader was attached as 
secondary master. This computer had a more modern BIOS which allowed 
booting from a LS/ZIP drive. And YES,YES,YES I saw the Bering logo. The 
kernel booted but then the IDE driver started to muck things up again.


It did find the card reader at hdc but then it decided that it was a 
floppy.


hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive

The two harddisks present in the computer were both attached to a 
ide-diskdriver.  Next I got messages like:


VFS: Can't find a valid FAT filesystem on dev 03:01

which is understandable because there is no /dev/hdc1.

Then the kernel went into panic mode.

The next step was to boot the computer with slackware 10.1 (its normal 
OS). To my suprise the 2.4.26 kernel gave the same "assuming floppy 
drive" message but then attached the ide-floppy driver. This driver did 
give an I/O error (Can't get flexible disk page parameters) but this 
doesn't seem to be fatal. The subsequent partition check gives hdc: hdc1 
and I can mount /dev/hdc1 and read the contents without problems.


So my conclusion is that the initrd_ide_cd also needs the ide-floppy 
driver to get this to work. Question is, how do I do that?


Regards

Chera Bekker


Chera Bekker wrote:

Hi Ron, thanks for your reply. My problem is that I am booting from 
bering floppy with the initrd-ide-cd and I am trying to follow the 
instructions for creating a CF card. I am using an old CF card and I 
have no Idea what it contains. I am trying to use fdisk to create a 
partition and a MBR on the CF card but if the system thinks it's a 
floppy I cannot  access it through hda. I tried fd1 but that gives all 
kind of strange errors in dmesg.


I tried booting the system without a CF card in the reader but then 
the reader is not found at all.


I need to find a way to tell ide-detect that the device is not a 
floppy but a (removable) harddisk


regards

Chera Bekker


Ron Senykoff wrote:


To follow on on my attempts to run Bering from a CF card. I have bought
an IDE card reader and connected it as slave to the primary IDE 
channel.

When I boot with Bering uclibc  2.2.3 with the initrd replaced by the
initrd-ide-cd I cannot access it as a harddrive.

dmesg gives

hdb: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY 
drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

So I guess the card reader is seen as a floppy. How can I force the IDE
driver to recognize it as a harddisk?
  



How did you create the CF card? You need to use syslinux to make it
bootable (directions in the guide) and then simply copy the files over
from your floppy. I'm saying this thinking that you may have written
the floppy image to the CF card which boot-sector wise may cause
confusion.

-Ron
 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] copy Bering floppy to CF card (Progress)

2005-12-23 Thread Timothy J. Massey

[EMAIL PROTECTED] wrote on 12/23/2005 10:18:03 AM:

> Follow up on this problem. I have progress of a sort. I attached my
> cardreader to yet another computer. The cardreader was attached as
> secondary master. This computer had a more modern BIOS which allowed
> booting from a LS/ZIP drive. And YES,YES,YES I saw the Bering logo. The
> kernel booted but then the IDE driver started to muck things up again.

That means you're past the BIOS stage...

> It did find the card reader at hdc but then it decided that it was a
> floppy.
>
> hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive

Interesting.

This won't help much for your current situation, but here's what I'd 
recommend to everyone trying this:


http://www.globalamericaninc.com/other/dom.php

The term you're looking for is Disk on Module.  I buy 32MB DOM's (which are 
30MB bigger than they need to be) for $35.  It's far cheaper than buying a 
piece of CF and a separate IDE adapter.  They make just about any size you 
want.  And they work perfectly:  the computer sees a 32MB hard drive.


I use those in concert with a VIA EDEN MiniITX motherboard.  Zero moving 
parts:  no CPU fan, not PS fan, no rotating storage.  It's like a (somewhat 
expensive) Linksys, but much more powerful:  expandable to GB's of flash 
and 512MB of RAM.  I use it for a number of applications, most of them 
LEAF-based.


Tim Massey


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] copy Bering floppy to CF card (Progress)

2005-12-23 Thread Jaap Eldering
On Fri, Dec 23, 2005 at 04:18:03PM +0100, Chera Bekker wrote:
> 
> It did find the card reader at hdc but then it decided that it was a 
> floppy.
> 
> hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive

> So my conclusion is that the initrd_ide_cd also needs the ide-floppy 
> driver to get this to work. Question is, how do I do that?

Chera,

The initrd.lrp package is a gzipped minix filesystem image. If you
rename it to initrd.gz, unzip it and loop mount it (using 'mount -o
loop  '), you can access its contents. Then
add the ide-floppy module (from the modules tarball) in
boot/lib/modules and add a line to boot/etc/modules, unmount, gzip and
place it again on your CF disk.

Seems you have bad luck with your CF adaptor though: about 3 weeks ago
I upgraded from 2 floppy setup to CF disk/adaptor setup and it was
immediately detected as HD device and booted from the CF straight
away. Got my CF adaptor here: http://www.cf-ide.de/produkte/cfdisk5.html

Regards,
Jaap


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] copy Bering floppy to CF card (Progress)

2005-12-23 Thread Chera Bekker

Hi Tim,

I wish I had known about the DOM's one week earlier. It sounds perfect 
for what I am trying to do.


Thanks for the tip.

Chera

Timothy J. Massey wrote:


[EMAIL PROTECTED] wrote on 12/23/2005 10:18:03 AM:

> Follow up on this problem. I have progress of a sort. I attached my
> cardreader to yet another computer. The cardreader was attached as
> secondary master. This computer had a more modern BIOS which allowed
> booting from a LS/ZIP drive. And YES,YES,YES I saw the Bering logo. The
> kernel booted but then the IDE driver started to muck things up again.

That means you're past the BIOS stage...

> It did find the card reader at hdc but then it decided that it was a
> floppy.
>
> hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY 
drive


Interesting.

This won't help much for your current situation, but here's what I'd 
recommend to everyone trying this:


http://www.globalamericaninc.com/other/dom.php

The term you're looking for is Disk on Module.  I buy 32MB DOM's 
(which are 30MB bigger than they need to be) for $35.  It's far 
cheaper than buying a piece of CF and a separate IDE adapter.  They 
make just about any size you want.  And they work perfectly:  the 
computer sees a 32MB hard drive.


I use those in concert with a VIA EDEN MiniITX motherboard.  Zero 
moving parts:  no CPU fan, not PS fan, no rotating storage.  It's like 
a (somewhat expensive) Linksys, but much more powerful:  expandable to 
GB's of flash and 512MB of RAM.  I use it for a number of 
applications, most of them LEAF-based.


Tim Massey


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/