Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 14:02:46 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        des@FreeBSD.org (Dag-Erling Smorgrav)
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys tty.h src/sys/kern tty.c
Message-ID:  <200205281202.g4SC2kd84056@zibbi.icomtek.csir.co.za>
In-Reply-To: <200205280540.g4S5erb17283@freefall.freebsd.org> from Dag-Erling Smorgrav at "May 27, 2002 10:40:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> des         2002/05/27 22:40:53 PDT
> 
>   Modified files:
>     sys/sys              tty.h 
>     sys/kern             tty.c 
>   Log:
>   Introduce struct xtty, used when exporting tty information to userland.
>   Make kern.ttys export a struct xtty rather than struct tty.  Since struct
>   tty is no longer exposed to userland, remove the dev_t / udev_t hack.
>   
>   Sponsored by:   DARPA, NAI Labs
>   
>   Revision  Changes    Path
>   1.178     +30 -5     src/sys/kern/tty.c
>   1.66      +29 -6     src/sys/sys/tty.h

This causes a kernel panic when booting.

#####################################
da2 at ahc0 bus 0 target 4 lun 0
da2: <SEAGATE ST32155N 0594> Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da2: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C)
aountSiMnPg:  rAoPo tC PfUr o#m1  uLfasu:n/cdheevd/!d
 0s1a
kernel dumps on /dev/da0s1b
Entropy harvesting: interrupts ethernet point_to_point.


Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 01000000
fault virtual address   = 0x1c
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0193930
stack pointer           = 0x10:0xc99abb14
frame pointer           = 0x10:0xc99abb14
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 45 (sysctl)
kernel: type 12 trap, code=0
Stopped at      dev2udev+0x10:  movl    0x1c(%edx),%eax
db> trace
dev2udev(0,88,88,88,0) at dev2udev+0x10
sysctl_kern_ttys(c0323ba0,0,0,c99abc0c,c99abc0c) at sysctl_kern_ttys+0x69
sysctl_root(0,c99abca8,2,c99abc0c,c9972414) at sysctl_root+0x13c
userland_sysctl(c9972414,c99abca8,2,0,bfbff41c) at userland_sysctl+0x148
__sysctl(c9972414,c99abd10,c0307149,3f9,6) at __sysctl+0xb0
syscall(bfbf002f,bfbf002f,bfbf002f,bfbff430,0) at syscall+0x268
syscall_with_err_pushed() at syscall_with_err_pushed+0x1b
--- syscall (202, FreeBSD ELF, __sysctl), eip = 0x8058243, esp = 0xbfbff39c, ebp = 0xbfbff3c8 ---
db>
#####################################

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205281202.g4SC2kd84056>