Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

panic(9) [centos man page]

PANIC(9)							   Driver Basics							  PANIC(9)

NAME
panic - halt the system SYNOPSIS
void panic(const char * fmt, ...); ARGUMENTS
fmt The text string to print ... variable arguments DESCRIPTION
Display a message, then perform cleanups. This function never returns. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PANIC(9)

Check Out this Related Man Page

TRACE_PRINTK(9) 						   Driver Basics						   TRACE_PRINTK(9)

NAME
trace_printk - printf formatting in the ftrace buffer SYNOPSIS
trace_printk(fmt, ...); ARGUMENTS
fmt the printf format for printing ... variable arguments NOTE
__trace_printk is an internal function for trace_printk and the ip is passed in via the trace_printk macro. This function allows a kernel developer to debug fast path sections that printk is not appropriate for. By scattering in various printk like tracing in the code, a developer can quickly see where problems are occurring. This is intended as a debugging tool for the developer only. Please refrain from leaving trace_printks scattered around in your code. (Extra memory is used for special buffers that are allocated when trace_printk is used) A little optization trick is done here. If there's only one argument, there's no need to scan the string for printf formats. The trace_puts will suffice. But how can we take advantage of using trace_puts when trace_printk has only one argument? By stringifying the args and checking the size we can tell whether or not there are args. __stringify((__VA_ARGS__)) will turn into "()" with a size of 3 when there are no args, anything else will be bigger. All we need to do is define a string to this, and then take its size and compare to 3. If it's bigger, use do_trace_printk otherwise, optimize it to trace_puts. Then just let gcc optimize the rest. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 TRACE_PRINTK(9)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Stupid Question?

I have a SparcStation 10 and it came with an external CD Rom Drive. I am trying to install Solaris 2.6 Server on this machine from the Cd Rom. At the OK> prompt I type "boot cdrom - browser" and I get an error: scsi device not found:error = -1 or something to that effect. Does anyone have any... (9 Replies)
Discussion started by: jskillet
9 Replies

2. Linux

kernel panic: No init found

Hi linux pals, I am installing red hat linux 7.2 on my laptop which already has a windows XP installation on it. After successful installation when i boot to the linux system the system hangs showing the following error: Kernel panic: No init found. Try passing init= option to kernel I... (5 Replies)
Discussion started by: linuxpenguin
5 Replies

3. SCO

SCO 5.07 Panic / Core Dumps

Anyone know how you go about interrogating a panic / core dump with crash for SCO Unix (5 Replies)
Discussion started by: ccarcher
5 Replies

4. Solaris

What is system panic?

Hello experts.. What is system panic? If a system is in that state.. what will happen? Why is it goes to panic condition? Just give me information about Panic condition.. How can i resolve this issue..? If you know any links(URL) or Books...? replay me back.... Thanks in... (5 Replies)
Discussion started by: younus_syed
5 Replies

5. Solaris

Why didn't she panic? (Sol 10 + SVM + HDS)

Hi folks, the following incident occured today: by mistake one of our renowned administrators deleted the complete zoning for a 25K domain running solaris 10. Thus the system lost all of it's external disks. We've got oracle datafiles and oracle software residing on those lost... (6 Replies)
Discussion started by: MikaBaghinen
6 Replies

6. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

7. UNIX Desktop Questions & Answers

kernel panic-not syncing:fatal exception while booting

Hi ALL, I am getting error.. kernal panic-not syncing:fatal exception while booting. Please help me.. Thanks Jack (7 Replies)
Discussion started by: jack00423
7 Replies

8. Red Hat

Kernel panic after hard reboot and fsck

Could you please help with problem with megaraid controller and Dell PowerEdge 2850, all that I can see on thi screenshot: All drives successfuly passed verifing from LSI controllers (Ctrl+A at startup), also I tried to boot from rescue llive cd and mount all the morrored drives and check... (22 Replies)
Discussion started by: nikkadim
22 Replies

9. SCO

Kernal Panic questions

I am trying to restore Unixware 7.1 from a backup using RestoreEdge which is from Microline version 2. The restore is on another machine using the same RAID controller and TBU. We are retiring the other machine. Anyway, we get to disk #2 and it panics. Here is the Pic. Can anyone tell me... (13 Replies)
Discussion started by: ccd1977
13 Replies

10. Shell Programming and Scripting

BDF Panic script...

I have another script which I found also on the net. I keep getting an error:confused:: Here is the script for it: {/usr/bin/bdf -l |awk '$0 !~ /^F/' |awk '{print $5"\t" $6}'| sed 's/'%'//' >/tmp/b dflist} panic () {while read percent dir; do if ] then ... (16 Replies)
Discussion started by: zixzix01
16 Replies

11. Solaris

"PANIC CPU" ERROR MESSAGE

A server that I am working on (SUN FIRE V240 , SOLARIS 10) doesn't boot because of a corrupted files system. I tried to repair de file system, I also tried to to restore all the files systems with a backup of the server that I have but the message bellow appear panic/thread=30002fc2060:... (8 Replies)
Discussion started by: feg
8 Replies

12. Ubuntu

kenel panic not syncing

I installed a new kernel 3.0.22 on ubuntu server 11.04 32 bit. when I select the kenel from boot loader it stops when Code: loading initial ramdisk... I added all_generic_ide at the end of linux line and also added dev/sda1 to linux line: root=UUID=dev/sda1 now it says that ... (12 Replies)
Discussion started by: dr_mabuse
12 Replies

13. SCO

Warning and Panic errors

Ok my first post and its a good/bad one I'm sure I came into work and the server was locked up on the tape back up screen. My only option at that point was to restart the machine without shutting it down. I'm running an old server with unix and SCO openserver 5 I managed to find a 3.5 boot floppy... (8 Replies)
Discussion started by: Brian22
8 Replies

14. Debian

Debian install - kernel panic

Hello all, I would like to install Debian Jessie on my i386 When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output: I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies

15. AIX

Crash dump and Panic message : RSCT Dead Man Switch Timeout for HACMP; halting non-responsive node

Dear all i have two aix system -Model : P770 -OS version: AIX 6.1 -patch level : 6100-07-04-1216 -ha version : HACMP v 6.1.0.8 -host : A, B last Wednesday, my B system suddenly went down with crash dump. after 1 minute, A system went down with crash dump. I checked the dump of A-system... (6 Replies)
Discussion started by: tomato00
6 Replies