DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern src/sys/vfs/nfs src/sys/vfs/ufs


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Thu, 07 Oct 2004 08:16:05 -0700

walt wrote:

xf86OpenSyscons: Cannot open /dev/ttyvc (No such file or directory)

I'm assuming that X starts at ttyv8, can't get it, and keeps trying
larger numbers until it falls off the end?  Dunno.

My assumption was wrong. Here's what happens with today's kernel:


  2198 Xorg     NAMI  "/dev/tty"
  2198 Xorg     RET   open 5
  2198 Xorg     CALL  ioctl(0x5,TIOCNOTTY,0)
  2198 Xorg     RET   ioctl 0
  2198 Xorg     CALL  close(0x5)
  2198 Xorg     RET   close 0
  2198 Xorg     CALL  open(0x817c8f8,0x6,0)
  2198 Xorg     NAMI  "/dev/ttyv0"
  2198 Xorg     RET   open 5
  2198 Xorg     CALL  ioctl(0x5,VGAPCVTID,0xbfbffa6c)
  2198 Xorg     RET   ioctl -1 errno 25 Inappropriate ioctl for device
  2198 Xorg     CALL  close(0x5)
  2198 Xorg     RET   close 0
  2198 Xorg     CALL  open(0x817c8f8,0x6,0)
  2198 Xorg     NAMI  "/dev/ttyv0"
  2198 Xorg     RET   open 5
  2198 Xorg     CALL  ioctl(0x5,VT_GETMODE,0xbfbffa7c)
  2198 Xorg     RET   ioctl 0
  2198 Xorg     CALL  ioctl(0x5,CONS_GETVERS,0xbfbffa78)
  2198 Xorg     RET   ioctl 0
  2198 Xorg     CALL  ioctl(0x5,VT_GETACTIVE,0x8197880)
  2198 Xorg     RET   ioctl 0
  2198 Xorg     CALL  ioctl(0x5,VT_OPENQRY,0x8195674)
  2198 Xorg     RET   ioctl 0
  2198 Xorg     CALL  close(0x5)
  2198 Xorg     RET   close 0
  2198 Xorg     CALL  open(0xbfbffae4,0x6,0)
  2198 Xorg     NAMI  "/dev/ttyvc"
  2198 Xorg     RET   open -1 errno 2 No such file or directory

The same events with yesterday's kernel:

   754 Xorg     NAMI  "/dev/tty"
   754 Xorg     RET   open 8
   754 Xorg     CALL  ioctl(0x8,TIOCNOTTY,0)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  close(0x8)
   754 Xorg     RET   close -1 errno 5 Input/output error
   754 Xorg     CALL  open(0x817c8f8,0x6,0)
   754 Xorg     NAMI  "/dev/ttyv0"
   754 Xorg     RET   open 8
   754 Xorg     CALL  ioctl(0x8,VGAPCVTID,0xbfbff9fc)
   754 Xorg     RET   ioctl -1 errno 25 Inappropriate ioctl for device
   754 Xorg     CALL  close(0x8)
   754 Xorg     RET   close 0
   754 Xorg     CALL  open(0x817c8f8,0x6,0)
   754 Xorg     NAMI  "/dev/ttyv0"
   754 Xorg     RET   open 8
   754 Xorg     CALL  ioctl(0x8,VT_GETMODE,0xbfbffa0c)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  ioctl(0x8,CONS_GETVERS,0xbfbffa08)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  ioctl(0x8,VT_GETACTIVE,0x8197880)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  ioctl(0x8,VT_OPENQRY,0x8195674)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  close(0x8)
   754 Xorg     RET   close 0
   754 Xorg     CALL  open(0xbfbffa74,0x6,0)
   754 Xorg     NAMI  "/dev/ttyv8"
   754 Xorg     RET   open 8
   754 Xorg     CALL  ioctl(0x8,VT_GETMODE,0xbfbffa0c)
   754 Xorg     RET   ioctl 0
   754 Xorg     CALL  write(0,0x81a88c0,0x28)
   754 Xorg     GIO   fd 0 wrote 40 bytes
       "(--) Using syscons driver with X support"



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]