Subject: Re: X Problem
To: None <firstname.lastname@example.org>
From: Jiang <email@example.com>
Date: 06/09/2004 16:28:00
So sorry to ask this question again and again, but it really bothers me
Now I debugged into hpcInit.c and open(devcie) returned successfully,
where the device is /dev/ttyE0
But the call to OpenFrameBuffer() failed. It failed at
int mode = WSDISPLAYIO_MODE_MAPPED;
ioctl(fd, WSDISPLAYIO_SMODE, &mode) returned -1;
I think this call had not stepped into my LCD driver because my lcd_ioctl
only returns EPASSTHROUGH(-4) instead of -1.
It looks like the wsdisplay driver was not conigured correctly. Anybody
can tell me the possible reason that will result in ioctl calling failed? Or
need to change my kernel configuration?
> Before hpcSetDisplayMode, open(device) returned -1 ! That's the problem.
> The device is /dev/ttyE0. Why I can't open it? I have already chmod 666
> on it.
> I am using a NFS file system , while /dev seems to be a mfs file system.
> Does this matter? With df command, I can see the file system as following:
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> pc.local:/*** 4906270 2957880 1703076 63% /
> mfs:10 44 39 2 95% /dev
> Also, when OS boots up, it shows following lines:
> ?init: Creating mfs /dev?(****, 896 nodes)
> Then when I try "startx", it says
> /dev: write failed, file system is full
> So what's the problem?
> thanks very much!