[LinuxPPS] pps0/1 have same major/minor as device mapper
Folkert van Heusden
folkert at vanheusden.com
Sun Jan 13 21:11:55 CET 2008
Just finished installing a 2.6.23 kernel with the
ntp-pps-2.6.23-quater.diff patch. Now the /dev/pps0 device gets created!
There's one unfortunate thing:
belle:/sys/class/pps/pps0# ls -l /dev/* | grep 254
brw-rw---- 1 root disk 254, 0 2008-01-13 21:54 /dev/dm-0
brw-rw---- 1 root disk 254, 1 2008-01-13 21:54 /dev/dm-1
...
crw-rw-r-- 1 root dialout 254, 0 2008-01-13 20:54 /dev/pps0
crw-rw-r-- 1 root dialout 254, 1 2008-01-13 20:54 /dev/pps1
Does that matter?
After 12 minutes of running still no change in ntp:
remote refid st t when poll reach delay offset jitter
==============================================================================
PPS(0) .PPS. 0 l - 16 0 0.000 0.000 0.001
GENERIC(0) .HBG. 0 l - 64 0 0.000 0.000 0.001
-muur.intranet.v .DCFa. 1 u 55 64 356 0.129 -4.565 0.238
Yes, I ran setserial hardpps en ppsctl enable for the serial device
behind it (/dev/ttyS1).
Linux version 2.6.23pps-nodeb.pps-nodeb (root at belle) (gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)) #1 SMP Sun Jan 13 20:25:06 CET 2008
LinuxPPS API ver. 1 registered
new PPS source serial1 at ID 0
new PPS source parport0 at ID 1
parport_pc 00:07: PPS source #1 "/dev/lp0" added
parport_serial 0000:05:02.0: PPS support disabled because port "/dev/lp1" is in polling mode
/sys/class/pps/pps0:
total 0
-r--r--r-- 1 root root 4096 2008-01-13 20:56 assert
-r--r--r-- 1 root root 4096 2008-01-13 20:56 clear
-r--r--r-- 1 root root 4096 2008-01-13 20:56 dev
lrwxrwxrwx 1 root root 0 2008-01-13 20:54 device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:05:02.0
-r--r--r-- 1 root root 4096 2008-01-13 20:56 echo
-r--r--r-- 1 root root 4096 2008-01-13 20:56 mode
-r--r--r-- 1 root root 4096 2008-01-13 20:56 name
-r--r--r-- 1 root root 4096 2008-01-13 20:56 path
drwxr-xr-x 2 root root 0 2008-01-13 20:56 power
lrwxrwxrwx 1 root root 0 2008-01-13 20:55 subsystem -> ../../../class/pps
-rw-r--r-- 1 root root 4096 2008-01-13 20:55 uevent
05:02.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 1P2S
Flags: medium devsel, IRQ 18
I/O ports at 8400 [size=8]
I/O ports at 8800 [size=8]
I/O ports at 8c00 [size=8]
I/O ports at 9000 [size=8]
I/O ports at 9400 [size=8]
I/O ports at 9800 [size=16]
Folkert van Heusden
--
www.ishetweekend.nl
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the LinuxPPS
mailing list