From: Jeff D. <jd...@ka...> - 2002-10-31 01:47:48
|
ma...@by... said: > args << "ssl9=fd:#{fh.fileno},fd:#{fh.fileno}" What does this turn into, ultimately? 'cat /proc/cmdline' inside that UML would be instructive. Jeff |
From: Jeff D. <jd...@ka...> - 2002-10-31 13:40:59
|
ma...@by... said: > It turns into 4,4 for the most case, that's what the kernel prints > when it boots, and I assume is the correct file descriptor for the > file that I've opened. Sigh. I asked for the whole command line. Jeff |
From: Matthew B. <ma...@by...> - 2002-10-31 13:52:05
|
On Thursday 31 October 2002 13:44, Jeff Dike wrote: > ma...@by... said: > > It turns into 4,4 for the most case, that's what the kernel prints > > when it boots, and I assume is the correct file descriptor for the > > file that I've opened. > > Sigh. I asked for the whole command line. From dmesg: Kernel command line: devfs=mount ssl0=port:9130 ssl1=port:9131 ssl2=port:9132 ssl3=port:9133 ssl4=port:9134 ssl5=port:9135 ssl6=port:9136 mem=256M umid=blank uml_dir=/ ubd0=root_fs ssl9=fd:4,fd:4 ubd1=swap_file eth0=tuntap,tap_blank0 root=/dev/ubd0 -- Matthew Bloch Bytemark Computer Consulting Limited http://www.bytemark.co.uk/ tel. +44 (0) 8707 455026 |
From: Jeff D. <jd...@ka...> - 2002-11-04 20:13:30
|
ma...@by... said: > then inside the UML I was expecting this to yield the file contents: > # cat /dev/tts/9 > but I get this: > parse_chan couldn't parse "4" The major problem here is that there are only 8 available ssl devices. I set up con9 before realizing that and got a panic for my efforts. Setting up con7 to point at /etc/passwd produced roughly the right results ('cat /dev/vc/7' produced no output until there was a SIGIO from somewhere else, and trying to cat it again produced an error about registering the same IRQ twice). Those problems are due to normal files not delivering SIGIO, which is a problem for UML since its IO is entirely interrupt-driven. Jeff |
From: Matthew B. <ma...@by...> - 2002-10-31 08:04:25
|
On Thursday 31 October 2002 01:50, Jeff Dike wrote: > ma...@by... said: > > args << "ssl9=fd:#{fh.fileno},fd:#{fh.fileno}" > > What does this turn into, ultimately? > > 'cat /proc/cmdline' inside that UML would be instructive. It turns into 4,4 for the most case, that's what the kernel prints when it boots, and I assume is the correct file descriptor for the file that I've opened. -- Matthew Bloch Bytemark Computer Consulting Limited http://www.bytemark.co.uk/ tel. +44 (0) 8707 455026 |