New startup scripts and /dev/pts

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Arvo all,

Just dumped the SD image which ships with BSP2.0.0 on an SD card, booting off the new startup scripts, all is looking nice with the stock kernel. I've got a kernel cut down to pretty much nothing, putting that on the SD card I get

Quote:
* mounting virtual filesystems: /proc /sys [ FAILED ]
S01mountvirtfs this shows it cannot mount /dev/pts. Indeed
Quote:
# mount /dev/pts
mount: Mounting none on /dev/pts failed: No such device
but
Quote:
# ls /dev | grep pts
pts

Ideas? What am I missing if I leave this out, do I care? What needs to be enabled in the kernel to make it happen? I have virtual console support enabled along with anything else which looks promising. Full .config attached.

Even a diff of atstk1002_defconfig and .config yeilds nothing interesting.

Cheers,
-S.

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

weird... you need /dev/pts to get terminals IIRC. Try skipping that mount and see if your system still behaves as expected.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah, I've put that mount last in the script so at least /dev/shm, /config etc are mounted. I'm not using networking to test a terminal over telnet or SSH but everything seems OK on the serial terminal. Weird indeed.

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

squidgit wrote:
this shows it cannot mount /dev/pts.

Quote:
# CONFIG_UNIX98_PTYS is not set

You need to enable this one. It's under "Character devices", I think.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanx, that did it

-S.