Re: panic: page fault - 6.0-RELEASE-p7 (now 6.1-RC2)

2006-05-09 Thread Nick Wood
, tf_eflags = 514, 
tf_esp = 1606413180, tf_ss = 59})

at /usr/src/sys/i386/i386/trap.c:981
#13 0x6083895f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#14 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) q
---


---
mail-da-5# dmesg
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-RC2 #0: Fri May  5 07:27:28 MDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbff
  Features2=0x4400>
  Logical CPUs per core: 2
real memory  = 2146959360 (2047 MB)
avail memory = 2093965312 (1996 MB)
MPTable: <  Kings Canyon>
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
kbd1 at kbdmux0
rr232x: RocketRAID 232x controller driver v1.02 (May  5 2006 07:26:59)
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pci1:  at device 28.0 (no 
driver attached)

pcib2:  at device 29.0 on pci1
pci2:  on pcib2
em0:  port 
0x3000-0x303f mem 0xf820-0xf821 irq 54 at device 3.0 on pci2

em0: Ethernet address: 00:30:48:28:78:fe
em1:  port 
0x3040-0x307f mem 0xf822-0xf823 irq 55 at device 3.1 on pci2

em1: Ethernet address: 00:30:48:28:78:ff
pci1:  at device 30.0 (no 
driver attached)

pcib3:  at device 31.0 on pci1
pci3:  on pcib3
asr0:  mem 
0xf830-0xf83f,0xfb00-0xfbff,0xfc00-0xfdff irq 
30 at device 3.0 on pci3

asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2015S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O
uhci0:  port 
0x2000-0x201f irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0:  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:  port 
0x2020-0x203f irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1:  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:  port 
0x2040-0x205f irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2:  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
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
pci4:  at device 1.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on pci0

ata0:  on atapci0
ata1:  on atapci0
pci0:  at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcefff,0xe-0xe3fff on isa0

atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 
drq 2 on isa0

fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
sc0:  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, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 2399330476 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
disabled, default to deny, logging limited to 10 packets/entry by default

rr232x: no controller detected.
acd0: CDROM  at ata1-master UDMA33
ses0 at asr0 bus 0 target 6 lun 0
ses0:  Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
da0 at asr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-4 device
da0: Tagged Queueing Enabled
da0: 34687MB (71041007 512 byte sectors: 255H 63S/T 4422C)
da1 at asr0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-2 device
da1: Tagged Queueing Enabled
da1: 140014MB (286748672 512 byte sectors: 255H 63S/T 17849C)
Trying to mount root from ufs:/dev/da0s1a
---

Any help will be greatly appreciated.

Nick Wood 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


panic: page fault - 6.0-RELEASE-p7

2006-05-05 Thread Nick Wood
 tf_edi = 
1606413432, tf_esi = 3, tf_ebp = 1606413224, tf_isp = -1672905372, 
tf_ebx = 0, tf_edx = 2, tf_ecx = 134545464, tf_eax = 105, tf_trapno = 
12, tf_err = 2, tf_eip = 671862739, tf_cs = 51, tf_eflags = 514, 
tf_esp = 1606413180, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:976

#13 0x607fe6ff in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#14 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
--

--
Copyright (c) 1992-2005 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.0-RELEASE-p7 #0: Wed May  3 22:45:52 MDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL
MPTable: <  Kings Canyon>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbff
  Features2=0x4400>
  Hyperthreading: 2 logical CPUs
real memory  = 2146959360 (2047 MB)
avail memory = 2094030848 (1997 MB)
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pci1:  at device 28.0 (no 
driver attached)

pcib2:  at device 29.0 on pci1
pci2:  on pcib2
em0:  port 
0x3000-0x303f mem 0xf820-0xf821 irq 54 at device 3.0 on pci2

em0: Ethernet address: 00:30:48:27:61:76
em0:  Speed:N/A  Duplex:N/A
em1:  port 
0x3040-0x307f mem 0xf822-0xf823 irq 55 at device 3.1 on pci2

em1: Ethernet address: 00:30:48:27:61:77
em1:  Speed:N/A  Duplex:N/A
pci1:  at device 30.0 (no 
driver attached)

pcib3:  at device 31.0 on pci1
pci3:  on pcib3
asr0:  mem 
0xf830-0xf83f,0xfb00-0xfbff,0xfc00-0xfdff irq 
30 at device 3.0 on pci3

asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2015S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O
uhci0:  port 
0x2000-0x201f irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0:  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:  port 
0x2020-0x203f irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1:  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:  port 
0x2040-0x205f irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2:  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
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
pci4:  at device 1.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on pci0

ata0:  on atapci0
ata1:  on atapci0
pci0:  at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcefff,0xdc000-0xd,0xe-0xe3fff 
on isa0

atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 
drq 2 on isa0

fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
sc0:  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, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 2399331312 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
disabled, default to deny, logging limited to 10 packets/entry by default

acd0: CDROM  at ata1-master UDMA33
ses0 at asr0 bus 0 target 6 lun 0
ses0:  Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
da0 at asr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: Tagged Queueing Enabled
da0: 34732MB (71132942 512 byte sectors: 255H 63S/T 4427C)
da1 at asr0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-2 device
da1: Tagged Queueing Enabled
da1: 140014MB (286748672 512 byte sectors: 255H 63S/T 17849C)

More driver errors

2003-02-11 Thread Nick Wood
I'm hoping this is just info being trapped by developers to help write new 
drivers? :)  Not too optimistic though...

System info is at bottom.  Its running 2 hyperthreaded 2.4Ghz processors.

This started happening when we mounted and started using da2:
Feb 10 10:14:19 mail-da-1 /kernel: da2:  Fixed 
Direct Access SCSI-3 device
Feb 10 10:14:19 mail-da-1 /kernel: da2: 320.000MB/s transfers (160.000MHz, 
offset 63, 16bit), Tagged Queueing Enabled
Feb 10 10:14:19 mail-da-1 /kernel: da2: 140014MB (286749488 512 byte 
sectors: 255H 63S/T 17849C)

There have been no panics, or anything else noticeable, other than these logs.


Feb 11 10:20:25 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x70 0x9f 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x86 0xbf 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x86 0xbf 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8a 0x63 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8a 0x63 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8b 0x8f 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8f 0x4b 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8f 0x4b 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:24:05 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x9 0x5d 0x8f 0x4b 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:25:52 mailserver /kernel: Copied 18 bytes of sense data offset 
12: 0x70 0x0 0x0 0x0 0x0 0x0 0x4f 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 11 10:26:55 mailserver /kernel: (da2:ahd0:0:2:0): SCB 0x31 - timed out
Feb 11 10:27:11 mailserver /kernel: >> Dump Card State 
Begins <
Feb 11 10:27:11 mailserver /kernel: ahd0: Dumping Card State at program 
address 0xd Mode 0x33
Feb 11 10:27:11 mailserver /kernel: Card was paused
Feb 11 10:27:11 mailserver /kernel: SCSISEQ0[0x0] 
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
Feb 11 10:27:11 mailserver /kernel: SEQINTCTL[0x0] 
SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0]
Feb 11 10:27:11 mailserver /kernel: SCSIBUS[0x0] 
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
Feb 11 10:27:11 mailserver /kernel: 
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SEQ_FLAGS2[0x0]
Feb 11 10:27:11 mailserver /kernel: SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) 
SSTAT2[0x0] SSTAT3[0x0]
Feb 11 10:27:11 mailserver /kernel: PERRDIAG[0x0] 
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
Feb 11 10:27:11 mailserver /kernel: LQISTAT0[0x0] LQISTAT1[0x0] 
LQISTAT2[0x0] LQOSTAT0[0x0]
Feb 11 10:27:11 mailserver /kernel: LQOSTAT1[0x0] LQOSTAT2[0x0]
Feb 11 10:27:11 mailserver /kernel:
Feb 11 10:27:11 mailserver /kernel: SCB Count = 208 LASTSCB 0xb4 CURRSCB 
0xb4 NEXTSCB 0xff00
Feb 11 10:27:11 mailserver /kernel: qinstart = 57452 qinfifonext = 57452
Feb 11 10:27:11 mailserver /kernel: QINFIFO:
Feb 11 10:27:11 mailserver /kernel: WAITING_TID_QUEUES:
Feb 11 10:27:11 mailserver /kernel: Pending list:
Feb 11 10:27:11 mailserver /kernel: 49 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) 
SCB_SCSIID[0x27] SCB_TAG[0x31]
Feb 11 10:27:11 mailserver /kernel: Kernel Free SCB list: 180 75 16 8 1 78 
2 37 74 30 23 79 50 40 38 11 46 44 17 43 53 27 25 21 52 58 57 45 29 15 54 
12 18 179 3 19 60 132 61 62 26 41 32 14 31 5 39 51 6 4 10 47 20 0 76 77 9 
63 34 28 59 42 48 22 155 156 157 158 159 128 129 130 131 55 148 149 150 151 
152 153 154 147 146 145 144 175 174 173 172 171 170 169 168 167 166 165 164 
163 162 13 161 160 191 190 189 188 187 186 185 184 183 182 181 178 177 176 
207 73 35 133 134 135 136 137 138 139 140 141 142 24 143 112 113 114 115 
116 117 118 119 120 121 122 123 124 125 7 126 127 96 97 98 99 100 101 102 
103 104 105 106 107 108 109 110 33 111 80 81 82 83 84 85 86 87 88 89 90 91 
92 93 94 95 64 65 66 67 68 69 70 71 72 56 36 206 205 204 203 202 201 200 
199 198 197 196 195 194 193 192
Feb 11 10:27:11 mailserver /kernel: Sequencer Complete DMA-inprog list:
Feb 11 10:27:11 mailserver /kernel: Sequencer Complete list:
Feb 11 10:27:11 mailserver /kernel: Sequencer DMA-Up and Complete list:
Feb 11 10:27:11 mailserver /kernel:
Feb 11 10:27:11 mailserver /kernel: ahd0: FIFO0 Free, LONGJMP == 0x80ff, 
SCB 0xb4, LJSCB 0xff00
Feb 11 10:27:11 mailserver /kernel: 
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 

Feb 11 10:27:11 mailserver /kernel: SEQINTSRC[0x0] DFCNTRL[0x0] 
DFSTATUS[0x89]:(FIFOE

SUIDDIR - security

2003-01-01 Thread Nick Wood
I'm thinking of enabling SUIDDIR on a web server that offers CGI -possibly 
even shell access if there's a difference.

This is mentioned in several man pages: "It provides security holes for 
shell users and as such should not be used on shell machines, especially on 
home directories."

With regards to creating files/etc, it mentions:  "Execute bits are removed 
from the file, and it will not be given to root."

With that in mind, can anyone give me a specific example on how this can 
pose a security risk?

	Nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message