Re: [leaf-devel] compact flash ???

2003-02-20 Thread Matt Schalit


Michael D. Schleif wrote:

Certainly, after all this time some of you have been using this stuff
with LEAF, there must be a HOWTO?



It was posted here on 2/1/03.  The link is:  http://tinyurl.com/656v




[2] What types of media are actually working well?  Has anybody tried
the new XD?


IDE-CF adapter works like a charm.  I have to do nothing besides
unleash IDE Hard Disk AutoDetection in the mainboard BIOS and
choose the LBA choice as versus the far inferior normal, and
then treat it like any other IDE hard drive.




[3] What are the best media readers/adapters?  Are there brands and/or
models to be avoided?


My IDE-CF is from ACS in Sarasota FL.  There are others.
CF is made by many people.  SanDisk is highly regarded.




[4] What about this write protect issue?  Is it safe to assume that
_all_ units have this facility?  What is the nomenclature to communicate
this requirement to vendors?



Isn't the ADM DOM the only write protectable device, as
told by Mike Noyes?  My CF certainly isn't.

Matt



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-20 Thread Mike Noyes
On Thu, 2003-02-20 at 10:20, Matt Schalit wrote:
 Michael D. Schleif wrote:
  [4] What about this write protect issue?  Is it safe to assume that
  _all_ units have this facility?  What is the nomenclature to communicate
  this requirement to vendors?
 
 
 Isn't the ADM DOM the only write protectable device, as
 told by Mike Noyes?  My CF certainly isn't.

Matt,
The SST/Apacer ADM is the only one I'm aware of. I haven't done a search
lately though.

-- 
Mike Noyes mhnoyes @ users.sourceforge.net
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/  http://sitedocs.sf.net/  http://ffl.sf.net/




---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-20 Thread David Douthitt
On Wed, 19 Feb 2003 19:25:28 -0600
Michael D. Schleif [EMAIL PROTECTED] wrote:

 Are you booting off of this?  How?  Any special preparation to
 boot off of USB?

You could say I am.  It's a three-media startup: install CDROM,
boot off of that.  Put the floppy configuration disk in the
floppy drive, and the USB device on the USB chain.

Then tell the floppy to use the floppy configuration (in reality,
a shell script sourced off of floppy).  This floppy script then
runs a script on the USB device which does all of the work.


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-20 Thread Michael D. Schleif
Also sprach David Douthitt (Thu 20 Feb 02003 at 04:25:07PM -0600):
 On Wed, 19 Feb 2003 19:25:28 -0600
 Michael D. Schleif [EMAIL PROTECTED] wrote:
 
  Are you booting off of this?  How?  Any special preparation to
  boot off of USB?
 
 You could say I am.  It's a three-media startup: install CDROM,
 boot off of that.  Put the floppy configuration disk in the
 floppy drive, and the USB device on the USB chain.
 
 Then tell the floppy to use the floppy configuration (in reality,
 a shell script sourced off of floppy).  This floppy script then
 runs a script on the USB device which does all of the work.

I want to eliminate both floppy and cdrom.  So, we will need to boot
directly from the flash . . .

-- 
Best Regards,

mds
mds resource
888.250.3987
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-20 Thread Mike Noyes
On Thu, 2003-02-20 at 14:54, Michael D. Schleif wrote:
 I want to eliminate both floppy and cdrom.  So, we will need to boot
 directly from the flash . . .

Michael,
These two links may interest you.

Linux Mobile System
http://linuxmobile.sourceforge.net/main_eng.html

USB Flash Drives
http://www.pen-flash-drives.com/USB-Flash-Drives.html

-- 
Mike Noyes mhnoyes @ users.sourceforge.net
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/  http://sitedocs.sf.net/  http://ffl.sf.net/




---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-20 Thread Lynn Avants
On Thursday 20 February 2003 04:54 pm, Michael D. Schleif wrote:

 I want to eliminate both floppy and cdrom.  So, we will need to boot
 directly from the flash . . .

Then your not going to use USB unless the MB BIOS supports it (rare).
There's been one or two reports of working USB boot w/Bering, however
your going to have to put a 'sleep' command in 'initrd' so the USB device
has time to come up during init.

Copy of LONG post describing the experience:




Le Samedi 1 Février 2003 02:12, Ivica Samija a écrit :
 Hi,
 1. Thank you for great work on LEAF Bering distribution and documentation
 for it. 2. I'm sorry if this subject is old thing but I didn't manage to
 find it anywhere, so I tried to do it by my self. I'm trying to learn but
 still newbee so there is prop. better way to do this
 3. Sorry for my English :)

 So here we go:

 I have install Bering 2.4.18 stable and update it to 2.4.20 (1 FDD) and it
 works fine but I needed more space for packages but didn't want to make it
 CD (or 2 FDD, HDD) distribution and it is not easy for me to get DOM or
 DOC.
 I decided to try boot Bering from USB flash drive.

 USB flash drive  MS 64Mb
 Motherboard Matsonic MS7177CT BIOS 01/10/2002
 (not latest 05/06/2002 - doesn't have USB support).

 First I tryed to boot DOS from USB flash drive and after trying and trying
 found out that my motherboard will boot from it only if boot device in BIOS
 is setup for USB-ZIP and USB flash drive is formated with it's own utility.
 When I boot DOS from it I can acces USB flash drive as drive A.

 On USB flash drive formated with it's utility partition table on drive
 looks like this: Disk /dev/sda: 3 heads, 42 sectors, 1015 cylinders
 Units = sectors of 1 * 512 bytes

    Device Boot   Begin    Start      End   Blocks   Id  System
 /dev/sda1   *       42       32   127935    63952    6  DOS 16-bit =32M
 Partition 1 has different physical/logical beginnings (non-Linux?):
      phys=(0, 1, 1) logical=(0, 0, 33)
 Partition 1 has different physical/logical endings:
      phys=(974, 17, 32) logical=(1015, 1, 4)
 Partition 1 does not end on cylinder boundary:
      phys=(974, 17, 32) should be (974, 2, 42)

 -when I was shure that I can boot from USB I backuped my working Bering
 floppy -copyed needed modules in /boot/lib/modules/ (from
 http://leaf-project.org/devel/jnilo/bering/latest/modules/2.4.20/)
 -added needed modules for USB suport in /boot/etc/modules in this order
    usbcore
    usb-uhci
    scsi_mod
    usb-storage
    sd_mod
 -backuped initrd.lrp
 -rebooted (still on floppy boot) with USB flash drive pluged in

 It worked. After that I could mount /dev/sda1, so I:
 -created /usb directory and mounted /dev/sda1 on it
  (mounted it with '-t msdos' not with '-t vfat' like some people posted)
 -mounted Bering floppy on /mnt
 -copyed files from /mnt to /usb
 -changed boot=/dev/fd0u1680:msdos to boot=/dev/sda1:msdos, changed
  PKGPATH=/dev/fd0u1680 to PKGPATH=/dev/sda1 in /usb/syslinux.cfg
 -added fdisk.lrp (like in
 http://leaf-project.org/devel/jnilo/budiskonchip.html#AEN1275) -maked USB
 flash drive bootable with syslinux -s /dev/sda1
 -unmounted everything and reboted with (USB-ZIP boot in BIOS)

 Then disaster:) here is a part of messages:

 Jan 31 21:47:43 lrp kernel: Freeing unused kernel memory: 64k freed
 Jan 31 21:47:43 lrp kernel: usb.c: registered new driver usbdevfs
 Jan 31 21:47:43 lrp kernel: usb.c: registered new driver hub
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: $Revision: 1.275 $ time 12:12:08
 Dec 15 2002 Jan 31 21:47:43 lrp kernel: usb-uhci.c: High bandwidth mode
 enabled Jan 31 21:47:43 lrp kernel: PCI: Found IRQ 5 for device 00:07.2
 Jan 31 21:47:43 lrp kernel: PCI: Sharing IRQ 5 with 00:07.3
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: Detected 2 ports
 Jan 31 21:47:43 lrp kernel: usb.c: new USB bus registered, assigned bus
 number 1 Jan 31 21:47:43 lrp kernel: hub.c: USB hub found
 Jan 31 21:47:43 lrp kernel: hub.c: 2 ports detected
 Jan 31 21:47:43 lrp kernel: PCI: Found IRQ 5 for device 00:07.3
 Jan 31 21:47:43 lrp kernel: PCI: Sharing IRQ 5 with 00:07.2
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 5
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: Detected 2 ports
 Jan 31 21:47:43 lrp kernel: usb.c: new USB bus registered, assigned bus
 number 2 Jan 31 21:47:43 lrp kernel: hub.c: USB hub found
 Jan 31 21:47:43 lrp kernel: hub.c: 2 ports detected
 Jan 31 21:47:43 lrp kernel: usb-uhci.c: v1.275:USB Universal Host
 Controller Jan 31 21:47:43 lrp kernel: end_request: I/O error, dev 02:00
 (floppy), sector 0 Jan 31 21:47:43 lrp kernel: end_request: I/O error, dev
 02:00 (floppy), sector 0 Jan 31 21:47:43 lrp kernel: end_request: I/O
 error, dev 02:00 (floppy), sector 0 Jan 31 21:47:43 lrp kernel: LINUXRC:
 Could not mount the boot device. Can't install packages. Jan 31 21:47:43
 lrp kernel: Kernel panic: Attemped to kill init!

 I went back to 

[leaf-devel] compact flash ???

2003-02-19 Thread Michael D. Schleif

Certainly, after all this time some of you have been using this stuff
with LEAF, there must be a HOWTO?

Anyway, I am about to embark down that road and I'm hoping that we can
start a thread to consolidate the DO's and DONT's for using this type of
media with LEAF.

Some of the first questions that come to mind, for which I did not find
answers in the archives:

[1] Are we limited to IDE?  Does anybody have USB working?

[2] What types of media are actually working well?  Has anybody tried
the new XD?

[3] What are the best media readers/adapters?  Are there brands and/or
models to be avoided?

[4] What about this write protect issue?  Is it safe to assume that
_all_ units have this facility?  What is the nomenclature to communicate
this requirement to vendors?

I am sure that I will have more questions.  Perhaps, unless there
already is one that I've overlooked, perhaps, I can write a HOWTO in a
few months . . .

What do you think?

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [leaf-devel] compact flash ???

2003-02-19 Thread David Douthitt
On Wed, 19 Feb 2003 17:11:36 -0600
Michael D. Schleif [EMAIL PROTECTED] wrote:

 [1] Are we limited to IDE?  Does anybody have USB working?

I've been using USB quite a lot with Knoppix (a CDROM distro); it works
well.  However, it requires SCSI support.

 [2] What types of media are actually working well?  Has anybody
 tried the new XD?

I use the SanDisk Cruzer with SecureDigital cards.  Works well.

 [3] What are the best media readers/adapters?  Are there brands
 and/or models to be avoided?

Multi-format readers require a special kernel option to be set:
Scan for all luns on SCSI devices or something like that.
In most released distributions, this setting is off.

Other than that, just make sure that the USB device can be read
under Linux - most disk systems seem to be.


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

___
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel