RE: [iPAQ] This sounds incorrect to me

From: George France <france.a.t.crl.dec.com>
Date: Fri Aug 11 2000 - 18:23:02 EDT

Hello Russ;
> Woo hoo! It took many tries to get minicom and sx and bootldr to
> cooperate, but I've finally gotten 0.12 installed. I like it much
> better than 0.11, except that the following looks wrong to me:

I will tell you a minicom and sx trick. It seems that there is a timeout bug
in the boot loaders xmodem code. If you are getting a bunch of nak's, then
stop the download, wait unit you see least two dots, type Ctrl-C. Then
retype the down load command then Ctrl-a z s (select Xmodem from the menu)
<cr> <cr>. If you do this quick enough you do not get any NAK's.

>
> (none):/# find /initrd/home
> /initrd/home
> /initrd/home/guest
> /initrd/home/home
> /initrd/home/home/guest
> /initrd/home/home/ppp

The home/home part was a typo when setting up the init-ramdisk. It is Fixed.

>
> Also, this looks odd as well:
>
> (none):/# cat /proc/mounts
>
> /dev/root.old /initrd ext2 rw 0 0
>
> /dev/root / cramfs ro 0 0
>
> none /proc proc rw 0 0
>
> /dev/flash5 /usr cramfs ro 0 0
>
> none /initrd/dev/pts devpts rw 0 0
>
> none /proc proc rw 0 0
>
> (none):/# ls /dev/root*
>
> ls: /dev/root*: No such file or directory
>
>
> Why is proc mounted twice, and why is there no /dev/root*?

/proc gets mounted twice, the first time is when the init-ramdisk is mounted
as root. In the /linuxrc file there is a command that is supposed to umount
/proc before the cramfs is mounted as root and inittab is executed, (which
mounts all of the files in /etc/fstab) causing /proc to mounted for a second
time. You should know that only the /proc that was mounted after cramfs is
root is updated by the kernel.

I do not know why there is no /dev/root, but my i86 box, there is no
/dev/root but it is in the /proc/mounts file. This would be a good item to
research, if I get some time. Hopefully someone else will beat me too it?
(hint hint)

Best Regards,

--George

George France, france@crl.dec.com
Cambridge Research Laboratory, Compaq Computer Corporation
One Cambridgecenter MS: CRL
Cambridge, MA 02142 USA
50
 
Received on Fri Aug 11 15:20:06 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:40 EDT