On Sat, 2006-07-01 at 20:55 +0300, Yousef Raffah wrote:
> Hello..
> 
> It's kinda strange though but I am getting a permission denied when I
> try to read from the /dev/ttyd0 device although I have:
> 
> crw-------  1 root  wheel    0,  75 Jul  1 20:49 /dev/ttyd0
> crw-------  1 root  wheel    0,  76 Jul  1 20:45 /dev/ttyd0.init
> crw-------  1 root  wheel    0,  77 Jul  1 20:45 /dev/ttyd0.lock
> 
I really can't understand what is causing this, anyone?
I just thought of adding my dmesg output in case it makes a difference:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 6.1-RELEASE-p1 #0: Sat Jul  1 19:30:56 AST 2006
    [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAPTOP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.86GHz (1862.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8

Features=0xafe9f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,
  
MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 536735744 (511 MB)
avail memory = 515883008 (491 MB)
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 12 Entries> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCIBIOS PCI-PCI bridge> irq 11 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCIBIOS PCI-PCI bridge> irq 10 at device 28.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <network, ethernet> at device 0.0 (no driver attached)
pcib3: <PCIBIOS PCI-PCI bridge> irq 11 at device 28.1 on pci0
pci3: <PCI bus> on pcib3
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port
0x1200-0x121f irq 11 at device 29.  
0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port
0x1220-0x123f irq 11 at device 29.  
1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port
0x1240-0x125f irq 11 at device 29.  
2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port
0x1260-0x127f irq 11 at device 29.  
3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem
0xf4000000-0xf40003ff irq 11 at device 29.7 on   
pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib4: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci6: <PCI bus> on pcib4
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb000b000-0xb000bfff irq 11 at
device 4.0 on pci6
iwi0: Ethernet address: 00:12:f0:63:ae:ca
cbb0: <PCI-CardBus Bridge> mem 0x13000000-0x13000fff at device 6.0 on
pci6
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem
0xb0000000-0xb00007ff,0xb0004000-0xb0007fff irq 1  
1 at device 6.2 on pci6
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:08:0d:a0:d1:bf:aa:e1
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci0: phy int
pci6: <mass storage> at device 6.3 (no driver attached)
pci6: <base peripheral> at device 6.4 (no driver attached)
pcm0: <Intel ICH6 (82801FB)> port 0xe000-0xe0ff,0xe100-0xe13f mem
0xd0000000-0xd00001ff,0xd0000200-0  
xd00002ff irq 10 at device 30.2 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 30.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 SATA150 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1100-0x110f at d  
evice 31.2 on pci0
atapci0: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcffff,0xe0000-0xe1fff,0xe5000-0xe5fff,0xeb000-0xeffff on   
isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <SMCf010> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 76319MB <FUJITSU MHT2080AT 0022> at ata0-master UDMA100
acd0: DVDR <MATSHITADVD-RAM UJ-831S/1.40> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-831S 1.40> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [1790992 x 2048 byte records]
Trying to mount root from ufs:/dev/ad0s2a

> Any idea what could be the reason?
> 
> Using FreeBSD 6.1-RELEASE-p1
> 
> Below is my kernel configuration file:
> 
> machine         i386
> cpu             I686_CPU
> ident           LAPTOP
> 
> 
> makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug
> symbols
> 
> options         SCHED_4BSD              # 4BSD scheduler
> options         PREEMPTION              # Enable kernel thread
> preemption
> options         INET                    # InterNETworking
> options         FFS                     # Berkeley Fast Filesystem
> options         SOFTUPDATES             # Enable FFS soft updates
> support
> options         UFS_ACL                 # Support for access control
> lists
> options         UFS_DIRHASH             # Improve performance on big
> directories
> options         MD_ROOT                 # MD is a potential root device
> options         NFSCLIENT               # Network Filesystem Client
> options         NFSSERVER               # Network Filesystem Server
> options         NFS_ROOT                # NFS usable as /, requires
> NFSCLIENT
> options         MSDOSFS                 # MSDOS Filesystem
> options         CD9660                  # ISO 9660 Filesystem
> options         PROCFS                  # Process filesystem (requires
> PSEUDOFS)
> options         PSEUDOFS                # Pseudo-filesystem framework
> options         GEOM_GPT                # GUID Partition Tables.
> options         COMPAT_43               # Compatible with BSD 4.3 [KEEP
> THIS!]
> options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
> options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
> options         SCSI_DELAY=5000         # Delay (in ms) before probing
> SCSI
> options         KTRACE                  # ktrace(1) support
> options         SYSVSHM                 # SYSV-style shared memory
> options         SYSVMSG                 # SYSV-style message queues
> options         SYSVSEM                 # SYSV-style semaphores
> options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
> extensions
> options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
> options         AHC_REG_PRETTY_PRINT    # Print register bitfields in
> debug
>                                         # output.  Adds ~128k to driver.
> options         AHD_REG_PRETTY_PRINT    # Print register bitfields in
> debug
>                                         # output.  Adds ~215k to driver.
> options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
> 
> device          apic                    # I/O APIC
> 
> device          eisa
> device          pci
> 
> device          ata
> device          atadisk         # ATA disk drives
> device          atapicd         # ATAPI CDROM drives
> options         ATA_STATIC_ID   # Static device numbering
> 
> 
> 
> device          scbus           # SCSI bus (required for SCSI)
> device          ch              # SCSI media changers
> device          da              # Direct Access (disks)
> device          cd              # CD
> device          pass            # Passthrough device (direct SCSI
> access)
> device          ses             # SCSI Environmental Services (and
> SAF-TE)
> 
> device          atkbdc          # AT keyboard controller
> device          atkbd           # AT keyboard
> device          psm             # PS/2 mouse
> 
> device          kbdmux          # keyboard multiplexer
> 
> device          vga             # VGA video card driver
> 
> device          splash          # Splash screen and screen saver support
> 
> device          sc
> device          agp             # support several AGP chipsets
> 
> device          apm
> device          pmtimer
> 
> device          cbb             # cardbus (yenta) bridge
> device          pccard          # PC Card (16-bit) bus
> device          cardbus         # CardBus (32-bit) bus
> 
> device          ppc
> device          ppbus           # Parallel port bus (required)
> device          lpt             # Printer
> device          ppi             # Parallel port interface device
> 
> 
> device          miibus          # MII bus support
> 
> device          wlan            # 802.11 support
> device          wi              # WaveLAN/Intersil/Symbol 802.11
> wireless NICs.
> 
> device          loop            # Network loopback
> device          random          # Entropy device
> device          ether           # Ethernet support
> device          ppp             # Kernel PPP
> device          tun             # Packet tunnel.
> device          pty             # Pseudo-ttys (telnet etc)
> device          md              # Memory "disks"
> 
> device          bpf             # Berkeley packet filter
> 
> device          uhci            # UHCI PCI->USB interface
> device          ohci            # OHCI PCI->USB interface
> device          ehci            # EHCI PCI->USB interface (USB 2.0)
> device          usb             # USB Bus (required)
> device          ugen            # Generic
> device          uhid            # "Human Interface Devices"
> device          ukbd            # Keyboard
> device          ulpt            # Printer
> device          umass           # Disks/Mass storage - Requires scbus
> and da
> device          ums             # Mouse
> 
> device          firewire        # FireWire bus code
> device          sbp             # SCSI over FireWire (Requires scbus and
> da)
> 
> device          sio             # Added for serial ports
> device          atapicam        # Added to burn dvds with cdrecord
> 


--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to