조회 수 640 추천 수 0 댓글 0

단축키

Prev이전 문서

Next다음 문서

단축키

Prev이전 문서

Next다음 문서

Extra Form

 

리눅스 6.4을 부팅하면 1000번마다 한 번 꼴로 멈추는 버그가 있습니다. 이를 확인하기 위해 21시간 동안 292,612번 부팅을 했다네요.

 

재밌게도 이 버그는 인텔 시스템에서 덜 발생합니다. 

 

I booted Linux 292,612 times
And it only took 21 hours.

Linux 6.4 has a bug where it hangs on boot, but probably only 1 in 1000 boots (and rarer if using Intel hardware for some reason). It’s surprising to me that no one has noticed this, but I certainly did because our nbdkit tests which use libguestfs were randomly hanging, always at the same place early in booting the libguestfs qemu appliance:

[    0.070120] Freeing SMP alternatives memory: 48K
So to bisect this I had to run guestfish in a loop until it either hangs or doesn’t. How many times? I chose 10,000 boots as a good threshold. To make this easier I wrote a test harness which uses up to 8 threads and parses the output to detect the hang.

After a painful bisection between v6.0 and v6.4-rc6 which took many days I found the culprit, a regression in the printk time feature: https://lkml.org/lkml/2023/6/13/733

To prove it I booted Linux 292,612 times before the faulty commit (successfully), and then after (failed after under 1,000 boots).

 

https://rwmj.wordpress.com/2023/06/14/i-booted-linux-292612-times/


0 0 0 0 0 0 0 1 2 0
List of Articles
번호 분류 제목 날짜 조회 수
공지 안내 🚨(뉴비필독) 전체공지 & 포인트안내 6 file 2024.11.04 25954
공지 System URL만 붙여넣으면 끝! 임베드 기능 2025.01.21 20459
377885 일반 Synology의 4 베이 NAS 장비 "DiskStation DS416j" 2016.02.08 1462
377884 일반 태블릿 PC의 충전을하면서 주변 기기를 사용할 수있는 OTG 지원 USB 허브 2016.02.08 1445
377883 일반 카페베네 상장 난항에 투자자 눈물 2016.02.15 783
377882 일반 주식, 욕심은 화를 부르고. 그 화는 고스란히 가족들에게 짜증을 부릴겁니다 2016.02.22 797
377881 일반 원익IPS 추천합니다 2016.02.22 681
377880 일반 장이 너무 안좋네요 ㅜㅜ 2016.02.22 714
377879 일반 주식투자와 관련된 주식명언 2016.02.22 1006
377878 일반 i5-6600 i5-6500 비교 1 2016.02.22 1441
377877 일반 ssd좀봐주세요 2 2016.02.27 913
377876 일반 크라운제과 어떻게 보시나요? 2016.02.28 462
Board Pagination Prev 1 2 3 4 5 ... 37789 Next
/ 37789