strange message -- kernel trap 19

2006-03-04 Thread alicornio
Hi all 

I have some problems with my machine. After the problem of my hd(many 
badblocks and consequently bugs in filesystem) a new problem arise. Some 
time after the login on FBSD is promped this messages: 

Jan 23 17:16:31 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:35 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:45 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:16:45 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:16:47 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:54 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:58 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:04 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:04 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:06 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:06 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:07 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:07 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:12 Machina kernel: kernel trap 19 with interrupts disabled 

And finally the reboot of system. 
In my Windows simply arise the blue screen. 

I'm using the same problematic hd. Could it be the problem? 

I'm waiting for feedbacks 

thanks 

Thiago 


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

Re: Problems on start of my system

2005-11-05 Thread alicornio
Hi Alex 

I try every combination of fsck and fsck_ffs, somes: 

#mkdir /teste 
#mount -f /dev/ad0s1 /teste 
#fsck -t ffs -Fy /teste 
fstab: /etc/fstab:0: No such file or directory 
fstab: /etc/fstab:0: No such file or directory 
** /dev/ad0s1 (NO WRITE) 
** Last Mounted on /teste 
** Phase 1 - Check Blocks and Sizes 
** Phase 2 - Check Pathnames 
** Phase 3 - Check Connentivity 
** Phase 4 - Check Reference Counts 
** Phase 5 - Check Cyl groups 
1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 0.4% 
fragmentation) 

#fsck -t ffs -p /teste 
/dev/ad0s1: NO WRITE ACCESS 
/dev/ad0s1: UNEXPECTED ICONSISTENCY; RUN fsck MANUALLY 

(i done chmod 777 /teste) 

My /etc/fstab is OK. 

Could be some badblock on my disk? 

thanks 

Thiago 


Em (11:42:20), [EMAIL PROTECTED] escreveu: 


On Sat, Nov 05, 2005 at 02:02:49AM -0200, alicornio wrote: 
 I have a problem on start of my system, appear this mesage: 
 
 Staring file system checks: 
 /dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 
blocks, 
 0.4% fragmentation) 
 /dev/ad0s1g: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1f: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS 
 /dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) 
 WARNING: /home was not properly dismounted 
 ad0: FAILURE - READ-DMA status=51 ERROR=40 
 LBA=2398527 
 mount: /dev/ad0s1: input/output error 
 WARNING: /usr was not properly dismounted 
 WARNING: /var was not properly dismounted 
 mounting /etc/fstab filesystems failed, start up aborted 
 ad0: FAILURE - READ-DMA status=51 ERROR=40 
 LBA=2191743 
 boot interruped 
 enter full pathname of shell or return for /bin/sh: 
 
 I type something and the system reboot after this mesages: 
 
 panic: vrele: negative refe cnt 
 cannot dump: no dump device defined 
 
 Someone can help me whith this problem? what?s happenig? how i can solve 
 this? 
 
It seems your system is not able to mount certain filesystems as stated 
in fstabs. You could try /sbin/fsck -y (say yes to everything) afther 
you enter the shell. Also check /etc/fstabs to see if it contains 
errors. 
 
-- 
Alex 
 
Please copy the original recipients, otherwise I may not read your reply. 
 
Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG 
http://www.kruijff.org/alex/FreeBSD/ 
 
___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
To unsubscribe, send any mail to 
[EMAIL PROTECTED] 
 
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problems on start of my system

2005-11-05 Thread alicornio
Hi guy 

I try every combination of fsck and fsck_ffs but i can´t resolve this. 

There is some way to correct it? 

thanks 

Thiago 


Em (15:49:33), =?utf-8?q?Micha=C5=82_Mas=C5=82owski?= escreveu: 


 ad0: FAILURE - READ-DMA status=51 ERROR=40 
 LBA=2398527 
[...] 
 panic: vrele: negative refe cnt 
 cannot dump: no dump device defined 
 
It is caused by unmounting file systems with i/o errors. If your disk 
cannot 
remap faulty sectors, you should buy new disk. Usually `fsck -y` should 
help. 
___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
To unsubscribe, send any mail to 
[EMAIL PROTECTED] 
 
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Problems on start of my system

2005-11-04 Thread alicornio
Hi all 

I have a problem on start of my system, appear this mesage: 

Staring file system checks: 
/dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 
0.4% fragmentation) 
/dev/ad0s1g: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1f: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1d: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS 
/dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) 
WARNING: /home was not properly dismounted 
ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
LBA=2398527 
mount: /dev/ad0s1: input/output error 
WARNING: /usr was not properly dismounted 
WARNING: /var was not properly dismounted 
mounting /etc/fstab filesystems failed, start up aborted 
ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
LBA=2191743 
boot interruped 
enter full pathname of shell or return for /bin/sh: 

I type something and the system reboot after this mesages: 

panic: vrele: negative refe cnt 
cannot dump: no dump device defined 

Someone can help me whith this problem? what´s happenig? how i can solve 
this? 

Sorry for my bad english.. :) 

grateful 

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

about ip.h

2005-09-07 Thread alicornio
hello all 

i have a problem when i try to compile a code. this is the error: 

in file included from packetCreate.c:5: 
/usr/include/netinet/ip.h:160: error: systax error before n_long 
/usr/include/netinet/ip.h:163: error: systax error before n_long 

then searching in the ip.h i change n_long to u_long and the code was 
compiled well. 

my questions are: why i need to modify this ? i search for n_long in 
types.h but i can't find it, where is n_long? seaching on the 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip.h i saw which all 
versions of ip.h have n_long, then n_long (not u_long) is the correct 
form, right? 

sorry for my bad english :-) 

thanks all 

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

Re: about ip.h

2005-09-07 Thread alicornio
 Thanks Giorgos 

 work very well  :-) 

thiago_cabeludo 

On 2005-09-07 13:50, alicornio wrote: 
Content-Description: Mail message body 
 hello all 
 
 i have a problem when i try to compile a code. this is the error: 
 
 in file included from packetCreate.c:5: 
 /usr/include/netinet/ip.h:160: error: systax error before n_long 
 /usr/include/netinet/ip.h:163: error: systax error before n_long 
 
 then searching in the ip.h i change n_long to u_long and the code was 
 compiled well. 
 
 #include 
 #include 
 
should work 
 
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]