More FreeBSD 6.1: open(/dev/lpt0, O_WRONLY) hangs up



More information about my /dev/lpt0 problem:

1. Enabling or disabling ACPI has no effect.
2. If I boot up in single user mode, I can cat a file to /dev/lpt0
and it prints on the printer.
3. Once I go to mutliuser mode, open("/dev/lpt0",O_WRONLY) hangs
forever whether I start lpd or not.
4. If I "shutdown now" to get back to single user mode and then
"cat datafile >/dev/lpt0", it hangs until I type control-C, at which
point the shell says: "cannot create /dev/lpt0: Interrupted system call"
(which really means, looking at the code in /usr/src/bin/sh/redir.c,
"cannot OPEN /dev/lpt0").

Help! -- George Mitchell

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: cannot get pass logon screen in C180 HP-UX
    ... You can boot in single user mode by interrupting the boot process ... :> should boot in single user mode... ... the command to change the password is passwd, ...
    (comp.sys.hp.hpux)
  • Re: how recover a root pass in SCO Unix, I need some help.
    ... commonly and typically the case that the root password is required to ... boot into single user mode - at least when booting from the "normal" ... console and/or physical access to the hardware. ...
    (comp.unix.shell)
  • Re[2]: cant exec getty(urgent)
    ... renaming some file and in some command ... MS> to boot into single user mode on the console. ... by refusing the right of anyone over her body; ...
    (freebsd-questions)
  • [HPADM] RE: RE: RE: Extending a logical volume
    ... The single user mode you want to use is one you boot into. ... (The mirroring was just a carry over -- All my boxes were mirrored.) ... By the way -- getting into single user mode that way is in the user manual. ... Use Ignite to either do a make_tape_recovery or a golden image. ...
    (HP-UX-Admin)
  • Re: cant exec getty(urgent)
    ... renaming some file and in some command ... > at last server never boot in below messages that freezing.. ... prompting you to type in the name of a shell or hit return. ... Now you've got the system into single user mode, ...
    (freebsd-questions)