Tag Info

Hot answers tagged

20

The language abstracts away access to CPU registers, and an OS when handling events has to save context, so it needs access to the registers at the point of the event, thus breaking the C spec.


17

C is an abstraction from the machine code that runs on the machine (although much closer than most other languages). For those things machine code statements that cannot be expressed in C, and maybe for the extra optimization not provided by the C compiler assembly is used, mostly in the form of inline assembler. In the kernel source code tree this is ...


3

You cannot do this in C :) lgdt[xxxx] mov eax, cr0 or al, 0x01 mov cr0, eax Am trying to get into x86 protected mode. Obviously I can still do this in C by "emitting" raw machine codes, but still in case I require to access precise offets - i am out of luck mostly. The second example is BootLoader. On x86 systems, it is required that the traditional boot ...


3

You need CONFIG_USB_USBNET together with whatever CONFIG_USB_NET_* module you need for your USB device. The only thing I can find in my config that could match your EEM is CONFIG_USB_NET_CDC_EEM but I don't have that enabled, that is another USB device that I don't own.


2

Yes. The init process, which always had process ID 1, exited. UNIX operating systems panic by design when this happens, because essentally, without init, the system cannot continue to do much of anything useful. (That's not technically quite true, some things can continue, but it's not supposed to happen and it considered bad enough to justify restarting the ...


2

Received a similar message to this a while ago. Discovered it was a hardware issue with how interrupts were passed from the PCI controller to PCI-Express controller (Intel PCI6466 chipset). Check deeper into the logs, look for: irq 43: nobody cared (try booting with the "irqpoll" option) There are several things that can cause this including incorrect ...


1

I think problem there df -H One of your disks is fully loaded. All you need is lsof | grep deleted | less This help you to understand what files were deleted and "keeps in memory" by processes. For solve your problem you should restart process that holds deleted files.


1

Since you have already cron'ed the ntp time updates via ntpupdate why not also just add the hardware sync to that cron (or make a second one)? I have used this same method on some of my company's really really old RHEL 3 & 4 boxes to keep their clocks in sync. 0 */4 * * * ntpdate mytimeserver.com && ( hwclock --adjust; hwclock -w ) This cron ...


1

It's normal, depending on how the Initramfs was set up by your distribution. An Initramfs can be customized; so it could ask for the passphrase more often / indefinitely, or show a different message / force a reboot instead of just exiting init followed by the kernel panic. It actually already shows a message (the message is Wrong password, as opposed to ...


1

Consider using SystemTap. It is a DTrace clone but for Linux - it compiles kernel module that dynamically patches kernel and has full access to its data (so lsof may not be needed in that case). However, the more information you ask, more tricky and kernel-version-specific script will become. For example, simple stat-like utility for sockets will look ...



Only top voted, non community-wiki answers of a minimum length are eligible