I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / WebSurfer Areas / WebSurfer Technical Stuff
DiskOnChip Kernel Support (Compiling)
Getting the DOC to boot linux

New MessageDiskOnChip Kernel Support (Compiling) (modified 0 times) NEWBEE
I am having no luck installing M System's DiskOnChip (DOC) drivers into the kernel. Compiling fldrvlnx.c errors out using the 2.3.99pre5 kernel. Has anyone successfully been able to boot off the DOC with linux? If so, how did you do it? I am currently following M System's instructions but they are kernel 2.2.x kernel specific.
04-29-2000 20:04:10

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) Jopasm
Why are you using 2.3.99? Use a stable kernel (2.2.x). If you need USB for networking/whatever use the http://www.scyld.com backport.
04-29-2000 20:07:20

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) HATATC
why would that even be good to you anyway.
currently a HD will not boot with doc in the socket. what are you going to do boot the hd then drop the doc in???

Read the DOC users manual. it needs to be reformatted and assigned a drive letter before you can use it. you must use the DOC toolkit to do this

04-29-2000 20:17:59

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) froo
I've heard lots of people mention that they have to remove their DOC to boot off a hard drive, but I've been able to boot with the chip in, without a problem. I'm using a DTC Data Technology ISA EIDE controller that I bought at Fry's for $29.99 (ouch).

I also attempted today to build a 2.3.99-pre6 kernel today, but couldn't get it working with the DOC driver source. Apparently, the register_blkdev function in 2.3.99 requires different parameters than in 2.2, and since I'm not a kernel programmer, I didn't get any further than there.

The DOC Linux manual (which is excellent) mentions that you have to flash the firmware on the DOC to keep the DOC and lilo from conflicting, and then reflash it once you're ready to boot DOC-only, but I didn't have to do this.

I just got the Iopener LEM image booting successfully off of the DOC without hard drive. It required building a 2.2.14 kernel with the DOC driver and a DEVFS patch. Now, I'm back to the board looking for info to get X working...

04-29-2000 20:27:39

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) froo
What did you use to access the DOC from linux? From reading the Mtech documentation I got the impression that the DOC isn't exactly an IDE device (unlike the sandisk on the IO) - it's more of a general IO/Storage solution that can be fitted to different interfaces. Anyway - did you use their tools or something else? DOS or Linux? Thanks.
04-29-2000 21:04:01

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) mynnyme
froo - how did you get your DTC ISA supported? I got one from Fry's just now as well and no go. I get a box that is supposted to list IDE devices, but then it can't find my drive. What drive you got? Could it be that I'm using an Ultra DMA/66 which the ISA doesn;t support?
04-29-2000 21:29:44

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) froo
Huh, I must have an evil twin, because that second post wasn't from me.

Anyways, to get the DTC controller working, I disabled the primary controller in the bios, set both C: and D: to none, and (I forgot to mention this before) set the jumpers as described in the card's manual for "Setup of EIDE Ultima as Primary Controller".

Set jumper JP1 to position 1-2 (IRQ 14), Jumpers JP2 both to the right.

To answer the impostor froo, I accessed the DOC by building a kernel with the 2.2 drivers on the m-sys web site and followed the instructions in their .pdf manual. You end up creating /dev/fla and /dev/fla1 devices that you access just like a hard drive.

04-29-2000 21:40:49

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) Jopasm
Oops - sorry 'bout that - I was trying to type "froo - how did you..." and wasn't paying attention so the "froo" part ended up under nickname. I think I need to go to bed.
04-29-2000 22:17:23

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) NewBee
OK, I will try the 2.2 kernel and the USB drivers from /http://www.scyld.com

I will post results when available. My intent is to not have an internal IDE hard drive at all. I want X terminal functionality only. 16MB is more than enough to boot off of and get the X apps it needs from a remote source. I will be using the information provided by /http://www.ltsp.org

04-30-2000 08:33:49

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) NewBee
I am having zero success with the Linux USB Ethernet Support From Scyld http://www.scyld.com/usb/usb.html

When I try rpm --bb SPECS/usb-0.2.spec it errors out on compiling usb-boot.c. Below is the pertinent portion of the output. Anyone have any ideas?


Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24530
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd usb-0.2
+ CCFLAGS=
+ gcc -DMODULE -O6 -c usb-boot.c
usb-boot.c: In function `mouse_urb_done':
usb-boot.c:597: too few arguments to function `kill_fasync_R5e73d35d'
Bad exit status from /var/tmp/rpm-tmp.24530 (%build)

04-30-2000 20:05:57

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) Corporal Clegg
I'm also have 0% luck compiling *ANY* of the linux kernels with the various patches from m-sys's site. I've tried 2.2.14, 2.2.0, 2.0.38, and 2.0.35, and none of them permit a clean compile of the fldrvlnx.c module. I would think that at least kernel 2.0.35 should have worked, as they have a patch *specifically* for that kernel.

I've been spending hours upon hours on this, and I'm utterly frustrated. Has *ANYONE* out there managed to get the linux kernel working with the DoC driver? -and if so, could I get the fscking source tree from you somehow, as I'm SOL over here as of this moment.

05-01-2000 00:28:11

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) NewBee
I have compiled the 2.2.14 kernel with DOC support. I was unable to successfully compile with the 2.3.xx kernel.

I just did a mke2fs of the DOC this morning. I simply followed the instructions off of the PDF file at M-System's page. If anyone needs it, I will post my modified files for the 2.2.14 kernel.

05-01-2000 09:35:07

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) Enrico_Suave
I'd be interested in that NewBee...If you felt like posting it.

Enrico

05-01-2000 12:57:33

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) mynnyme
I'd also appreciate if you could post it.
05-01-2000 17:47:22

New MessageRE:DiskOnChip Kernel Support (Compiling) (modified 0 times) NewBee
Files can be found at http://web.tampabay.rr.com/sjohnson/ Select the linux resources. Be patient as I am adding stuff everyday. Within the next few days I hope to have a DiskOnChip image that can be downloaded and flashed.
05-01-2000 20:03:30

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3