Posts
158
Following
27
Followers
314

Steven Rostedt

For my day off, I decided to implement passing a stack trace from start event to end event (to show the backtrace of the longest blocked areas).

0
0
1

Steven Rostedt

I usually add this to my .bashrc file to all my work machines.

alias reboot='echo "Wrong window idiot!"'
alias halt='echo "Wrong window idiot!"'
alias shutdown='echo "Wrong window idiot!"'

But I just learned, that I never added it to my Google workstation 😛

0
2
5

Steven Rostedt

The blog on the responses from the Linux Plumbers survey is now published. https://lpc.events/blog/2022/index.php/2023/01/06/lpc-2022-attendee-survey-summary/

0
3
5

Steven Rostedt

Happy New Year to the new force of social media!
0
0
5

Steven Rostedt

Continuing my Rust Rants :-)

It’s unfortunate that move is a keyword. As I write my little programs, I found that that’s a common function name I use. Now I need to come up with something else. adjust ?

4
0
0

Steven Rostedt

There’s gotta be a better way…

use std::env;
use std::path::Path;

fn usage(arg: &String) {
    let path = Path::new(arg);

    println!("usage: {} a b", path.file_name().unwrap().to_str().unwrap());
}

fn main() {
    let args = env::args();

    if args.len() < 3 {
        usage(&args.collect::<Vec<String>>()[0]);
    }
}
0
0
1

Steven Rostedt

Using the holiday break to learn Rust, I'm getting frustrated with Cargo. I mean, with C, I have a bunch of small programs that I use. But it seems that with Rust, to do the same, I have to make each one into a separate project, which I find overkill. Is there a easy way to make 100 little programs without making a 100 little projects???
0
2
6

Steven Rostedt

That was fun. Added two more HDs to my workstation, but accidentally unplugged the power of one of the existing HDs. Thought the new HDs caused my existing md-raid1 to get screwy, and I had to re-add to the existing array as it was down a drive. I accidentally picked my external backup drive (blowing away all my backups). When I finally noticed, I shutdown the machine, plugging in the HD and on booting up, it picked the HD that was powered off as the main drive for the raid1! I spent a good half hour fixing all this. 😛
0
0
1

Steven Rostedt

With 256G of RAM, should I even bother with adding swap?

0
0
1

Steven Rostedt

I'm having way too much fun with my new server and having hot swap hard drives.
0
0
1

Steven Rostedt

I have to say, the people at TechSupplyDirect are really eager to help out. Just got a call about my new Dell Server asking me if there's anything they can do to help me out, and if I have any issues, feel free to call them.
0
0
0

Steven Rostedt

I was hoping to post this when we had had next year's venue locked down, but we are still not there yet. Anyway, Thanks for all the krill! https://lpc.events/blog/2022/index.php/2022/12/03/thats-a-wrap-thanks-everyone-for-linux-plumbers-2022/
0
8
12

Steven Rostedt

My new server just came in today. I need to transfer the data from the old server to the new. This is going to be fun. I need to remove one of my old RAID HDs install it in the new server, get it working. Shutdown my VMs, transfer them to the new machine, and try to get them working there.

And I really have no idea what I'm doing.
1
0
2

Steven Rostedt

Fun:
# echo 1 > /sys/kernel/tracing/options/func_stack_trace
# echo function > /sys/kernel/tracing/current_tracer
# time ./hackbench 5
(still waiting)
0
0
0

Steven Rostedt

Is it just me, or is it harder to find motherboards, CPUs, and memory that are all compatible. I started looking for parts to build a new server and ended up just buying a refurbished Dell that had basically everything I was looking for and $500 cheaper than if I built it from parts.
0
0
2

Steven Rostedt

Mastodon has made the NY Times.
https://nyti.ms/3hQbebV
0
1
1
Show older