LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2021, 11:07 PM   #1
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Rep: Reputation: 66
Stray break in rescan-scsi-bus


I happened to notice that line 444 of /sbin/rescan-scsi-bus inside the installer initrd says "break" even though there's no for/while/until loop in sight. This gives an error visible on Alt+F4.

Maybe dolunscan used to be inlined inside the various for loops.
 
Old 02-22-2021, 09:47 AM   #2
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
New developments, also things I didn't think to check up front. Here we go:

This script isn't just an installer thing but is also present in the sysvinit-scripts package.

Now the script is also present in sg3_utils and removed from sysvinit-scripts.

The script isn't Patrick's work but rather comes from Kurt Garloff <kurt@garloff.de>.

The latest update to sg3_utils fixes the problem.

So, we're all done here!

Well, that is, assuming the installer initrd gets rebuilt with these updated packages.

Last edited by andygoth; 02-22-2021 at 11:09 AM. Reason: rebulid installer initrd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI - Remove/Rescan vs. Rescan khhyle Linux - Kernel 1 04-28-2017 08:51 AM
PCI - Remove/Rescan vs. Rescan khhyle Linux - Hardware 1 04-27-2017 03:50 PM
Rescan SCSI bus in RHEL 5.8 RHCE_ran Linux - Enterprise 6 04-07-2015 09:43 AM
rescan-scsi-bus -l davimint Linux - Hardware 1 04-23-2007 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration