Re: How to format with stride/stripe_width options during install
> > Installing Debian 11 with netinst CD on a server with hardware raid. > Installer has no custom format parameters option for ext4, like stride > and stripe_width. How does one format the raid partitions with these > options during OS installation? > With full DVD installer in "Advanced Options -> Expert install" after "Load installer components" you can open the second console (ALT+F2) and run ``mkfs`` manually with any option you like Not sure if it works with netinst.
Re: Internet diagnosing
On Sun, Sep 05, 2021 at 04:57:44PM +0200, Julius Hamilton wrote: > I was wondering if anyone knew a similar user email group like this one for > questions related to internet connectivity. Maybe there is a widely used open > source network software tool where people discuss network questions. I too have been wondering about this. There used to be some usenet news groups. I did manage to find the old comp.networks group but it's not well attended. https://groups.google.com/g/comp.networks When I have networking questions, I try to narrow them down to a specific area. For example, if it's about Ubiquiti routers, I'll post on the Ubiquiti forum. If it's an OpenVPN issue, I end up posting on that forum. If it seems like a networking issue in Debian, here is very appropriate and there's lots of experienced folks here. But where to post some general networking issue that's not specific and you are completely in the dark as to where to start, yah I sure, start here if you're using Debian on at least one thing you can't get to the network. I wouldn't ask an Android or windows question here but if say your problem occurs on Debian and not on Android, yah very appropriate to ask here. In relation to your question which seems like it's Android related, I'd see if it also happens if you access thoses sites in Debian. If yes, then it's a general problem. If no, then I'd probably post on a forum like the Andronix Forum. If both, then this is possibly something with the internet connection or wifi router. Many router manufacturers and ISPs have help forums. Thing is, these days, there's so much networking stuff out there that if there is an active general networking help list (which there may be and I haven't found it), it'd probably have so much chatter on it that it may not be useful. One needs to narrow down the scope at least a bit to find some forum which might help, even if someone points you to another forum which ultimately helps you. Without more info, I'd say you may have some DNS resolution problem. Is there some firewall blocking access to some sites? Are you using anything like Pi-hole, VPN, or some browser extension which might be trying to do some weird VPN like stuff? What happens when you try with something running Debian? Can you narrow it down to a sitiation where it always works and one where it always fails? Michael Grant signature.asc Description: PGP signature
Re: How to format with stride/stripe_width options during install
On Thu, Sep 09, 2021 at 10:27:54AM +0300, IL Ka wrote: > > > > Installing Debian 11 with netinst CD on a server with hardware raid. > > Installer has no custom format parameters option for ext4, like stride > > and stripe_width. How does one format the raid partitions with these > > options during OS installation? > > > > With full DVD installer in "Advanced Options -> Expert install" after "Load > installer components" you can open the second console (ALT+F2) and run > ``mkfs`` manually with any option you like > Not sure if it works with netinst. It should work exactly the same way. The only difference between a "netinst" image and a "DVD-1" image is the number of optional packages that are on the physical medium.
Re: How to format with stride/stripe_width options during install
Greg Wooledge wrote: > It should work exactly the same way. The only difference between a > "netinst" image and a "DVD-1" image is the number of optional packages > that are on the physical medium. One other difference: the DVD-1 install will leave you with an entry in /etc/apt/sources.list pointing to the DVD as a source of packages. Not relevant here. -dsr-
shim_init error for debian-live-11.0.0-amd64-kde.iso
Hi, I do not know to which mailing list I should send this request/bug report since it is not obviously related to a particular package. I'd be grateful for your help. I use a Fujitsu Lifebook A3510 which only has uefi boot as an option (no more legacy boot available). Secure boot is disabled. The BIOS is Insyde H20 v. 1.10 (04/23/2021). On this machine, I have installed openSUSE Leap 15.3. I want to use the debian live system (in fact, I want to use GParted which is based on debian). Thus, I downloaded the debian-live-11.0.0-amd64-kde.iso (checksum OK) and copied to a USB-Stick. This stick boots the live system OK on another Fujitsu Lifebook (E756) which still has the legacy boot process, so I guess it is a valid bootable medium. Now, on the A3510 with uefi boot, the boot process stops quickly with the following error message: set_second_stage() failed: Invalid Parameter Something has gone seriously wrong: shim_init() failed: Invalid Parameter As a result, the live system of course is not available. In fact, the very same error occured with the original openSUSE Leap 15.3 installation medium, when I first set up the machine. This problem was resolved by substituting the file bootx64.efi in EFI/BOOT by an updated version (see the discussion in https://bugzilla.opensuse.org/show_bug.cgi?id=1187280) provided in an updated shim package shim-15.4-11.31.x86_64.rpm. Unfortunately, my knowledge of the details of the boot process is limited and not sufficient to analyze whatever has been updated in this package. I do not know if such a package exists in the debian distribution, but of course, the file bootx64.efi also exists on the debian live system USB-key as generated above. Is there any way to create a debian compatible bootx64.efi that would solve the boot problem? I am prepared to send you any additional information needed, if you guide me to find it (I have no previous debian experience ...). Regards -- === Bernd Speiser Institut für Organische Chemie Auf der Morgenstelle 18 D-72076 Tübingen Germany ===
Re: How to format with stride/stripe_width options during install
On 9/8/21 11:07 PM, Robert Arkiletian wrote: Installing Debian 11 with netinst CD on a server with hardware raid. Installer has no custom format parameters option for ext4, like stride and stripe_width. How does one format the raid partitions with these options during OS installation? What is the make and model of your server, or motherboard? Technical documentation URL? What is the make and model of your RAID expansion card(s)? Technical documentation URL? David
Re: How to format with stride/stripe_width options during install
On Wed, Sep 08, 2021 at 11:07:06PM -0700, Robert Arkiletian wrote: Installing Debian 11 with netinst CD on a server with hardware raid. Installer has no custom format parameters option for ext4, like stride and stripe_width. How does one format the raid partitions with these options during OS installation? In general they aren't necessary these days, as the parameters can be obtained from the hardware automatically. If the hardware doesn't support that, it probably isn't a situation where setting it manually will matter.
Re: shim_init error for debian-live-11.0.0-amd64-kde.iso
Hi, Bernd Speiser wrote: > I do not know to which mailing list I should send this request/bug report > since it is not obviously related to a particular package. > [...] > I downloaded the debian-live-11.0.0-amd64-kde.iso > [...] > set_second_stage() failed: Invalid Parameter > Something has gone seriously wrong: shim_init() failed: Invalid Parameter shim is a package against which you can file bugs. If you prefer mailing list conversation https://tracker.debian.org/pkg/shim-signed points to https://qa.debian.org/developer.php?email=debian-efi%40lists.debian.org which mentions debian-...@lists.debian.org https://lists.debian.org/debian-efi/ Then there is debian-l...@lists.debian.org https://lists.debian.org/debian-live/ which is about production of the debian-live ISOs and should be interested in learning about boot failures. > https://bugzilla.opensuse.org/show_bug.cgi?id=1187280 The time when this was discussed would match https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1937115 but the error messages are different. Nevertheless if you are bored enough you could test whether their Live ISOs boot for you after their shim repair: http://cdimage.ubuntu.com/daily-live/current/ If so, then this might be a clue for the Debian developers. Have a nice day :) Thomas
Debian Wiki down
Hello alltogether, the Debian Wiki seems to be down, and I do not know where and how to send a bug report to. If I go to any side below https://wiki.debian.org/, I only get the following message: Forbidden You are not allowed to access this! Greetings Sven
Re: shim_init error for debian-live-11.0.0-amd64-kde.iso
On Thu, Sep 09, 2021 at 03:24:47PM +0200, Bernd Speiser wrote: > Hi, > > I do not know to which mailing list I should send this request/bug report > since it is not obviously related to a particular package. I'd be grateful > for your help. > > I use a Fujitsu Lifebook A3510 which only has uefi boot as an option (no > more legacy boot available). Secure boot is disabled. The BIOS is Insyde H20 > v. 1.10 (04/23/2021). On this machine, I have installed openSUSE Leap 15.3. > > I want to use the debian live system (in fact, I want to use GParted which > is based on debian). Thus, I downloaded the debian-live-11.0.0-amd64-kde.iso > (checksum OK) and copied to a USB-Stick. > https://gparted.org/liveusb.php - Download gparted directly and try with their image. You might want to try to boot the Debian live image you have with secure boot enabled and see if that will actually boot successfully. Recent media does support secure boot well. > This stick boots the live system OK on another Fujitsu Lifebook (E756) which > still has the legacy boot process, so I guess it is a valid bootable medium. > > Now, on the A3510 with uefi boot, the boot process stops quickly with the > following error message: > > set_second_stage() failed: Invalid Parameter > Something has gone seriously wrong: shim_init() failed: Invalid Parameter > > As a result, the live system of course is not available. > > > Is there any way to create a debian compatible bootx64.efi that would solve > the boot problem? > As above, you should not need to do this. > I am prepared to send you any additional information needed, if you guide me > to find it (I have no previous debian experience ...). > > Regards > > -- > === > Bernd Speiser > Institut für Organische Chemie > Auf der Morgenstelle 18 > D-72076 Tübingen > Germany > === > With every good wish as ever, Andy Cater
Re: Debian Wiki down
On Thu, Sep 09, 2021 at 09:54:48PM +0200, s...@hardwarepunk.de wrote: > Hello alltogether, > > the Debian Wiki seems to be down, and I do not know where and how to > send a bug report to. If I go to any side below > https://wiki.debian.org/, I only get the following message: > > Forbidden > > You are not allowed to access this! > > Greetings > > Sven > It is possible that your IP block / your ISP may have been blocked in the past because of problems: sometimes, this is also true if you're trying to access the wiki via a VPN. https://wiki.debian.org/DebianWiki/Contact#visitors suggests: Mail w...@debian.org with your IP address and a request for access. All the very best, as ever, Andy Cater
Interesting News.
I thought this was interesting: https://prod-physicsworld-iop.content.pugpig.com/blog/2021/08/28/standing-on-the-shoulders-of-programmers/pugpig_index.html Cheers! Harry. -- Sent with Tutanota, the secure & ad-free mailbox.
How to improve my question in stackoverflow?
Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio [closed] I trying compile an example of a book. The program use three classes: Book, Customer and Library. *Book.cpp* #include #include #include #include #include #include using namespace std; #include "book.h" #include "customer.h" #include "library.h" // default constructor Book::Book(){ // Empty } Book::Book(const string& author, const string& title) :m_author(author), m_title(title){ // empty } // methods // They only read and write the author and title of the book void Book::read(ifstream& inStream){ getline(inStream,m_author); getline(inStream,m_title); } void Book::write(ofstream& outStream) const{ outStream << m_author << endl; outStream << m_title << endl; } /* When a customer reserves a book, the pointer to the customer * Object is added to the reservation pointer list of the book */ int Book::reserveBook(Customer* borrowerPtr){ m_reservationPtrList.push_back(borrowerPtr); return m_reservationPtrList.size(); } /* When a customer returns a book, we simply set m_borrowerPtr to nullptr*/ void Book::returnBook(){ m_borrowerPtr = nullptr; } /* the removeReservation method simply removes the customer * pointer from the reservation list*/ void Book::removeReservation(Customer* customerPtr){ m_reservationPtrList.remove(customerPtr); } /* the output stream operator writes the title and author, the customer that has borrowed the book, and the customers that have reserved the book */ ostream& operator << (ostream& outStream, const Book& book){ outStream << """ << book.m_title << "" by " << book.m_author; if(book.m_borrowed){ outStream << endl << " Borrowed by: " << Library::s_customerMap[book.m_customerId].name() << "."; } if(!book.m_reservationList.empty()){ outStream << endl << " Reserved by: "; bool first = true; for(int customerId : book.m_reservationList){ outStream << (first ? "" : ",") << Library::s_customerMap[customerId].name(); first = false; } outStream << "."; } return outStream; } *book.h* class Customer; class Book { public: Book(); Book(const string& author,const string& title); const string& author() const{return m_author;} const string& title() const{return m_title;} void read(ifstream& inStream); void write(ofstream& outStream) const; int reserveBook(Customer* customerPtr); void removeReservation(Customer* customerPtr); void returnBook(); /*borrowedPtr method returns the address of the customer who has borrowed the book*/ Customer*& borrowerPtr() {return m_borrowerPtr;} const Customer* borrowerPtr() const {return m_borrowerPtr;} /* reservationPtrList returns a list of customer pointers instead of integer values*/ list& reservationPtrList(){ return m_reservationPtrList; } const list reservationPtrList() const{ return m_reservationPtrList; } friend ostream& operator<<(ostream& outStream, const Book& book); private: string m_author, m_title; Customer* m_borrowerPtr = nullptr; /* holds a list of pointers to the customers that have reserved the book*/ list m_reservationPtrList; } When i compile the example with the following command: g++ -g -Wall Book.cpp book.h -o book The result expected is bad. Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio #include ^ compilation terminated. This example was tested from another compiler. The library is not recognized. *The book is C++17 By Example, published by Packt.* -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
[OT] C++ Book Question (Was: Re: How to improve my question in stackoverflow?)
William Torrez Corea writes: Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio [closed] I trying compile an example of a book. The program use three classes: Book, Customer and Library. The question is offtopic for debian-user, how did it get here? Also, how are subject and content related? When giving the source code, give it in entirety, i.e. including the missing "customer.h", "library.h" and others. Also, for such long source codes, it seems preferrable to provide them as an attachment rather than inline. Book.cpp #include [...] When i compile the example with the following command: g++ -g -Wall Book.cpp book.h -o book The result expected is bad. Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio #include ^ compilation terminated. [...] The book is C++17 By Example, published by Packt. [...] The immediate problem is with the case "Set" vs. "set". In your source code above you correctly have `#include `, but the error message suggests that the `Book.cpp` you are trying to compile still has `#include ` as displayed by the compiler. In fact, this seems to be a known erratum for the book sample codes: https://github.com/PacktPublishing/CPP17-By-Example/issues/1 Clone the repository to get the entire sample source code. I could get to compile the `Chapter04` example by making changes as attached in `patchbook.patch`. Apply it with patch --strip 1 < patchbook.patch from inside the repository. HTH Linux-Fan öö diff --git a/Chapter04/LibraryPointer/Book.cpp b/Chapter04/LibraryPointer/Book.cpp index ae86fd2..62f60f5 100644 --- a/Chapter04/LibraryPointer/Book.cpp +++ b/Chapter04/LibraryPointer/Book.cpp @@ -1,9 +1,9 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include using namespace std; #include "Book.h" @@ -84,4 +84,4 @@ ostream& operator<<(ostream& outStream, const Book& book) { } return outStream; -} \ No newline at end of file +} diff --git a/Chapter04/LibraryPointer/Customer.cpp b/Chapter04/LibraryPointer/Customer.cpp index ac17964..31ffe1d 100644 --- a/Chapter04/LibraryPointer/Customer.cpp +++ b/Chapter04/LibraryPointer/Customer.cpp @@ -1,8 +1,8 @@ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include using namespace std; #include "Book.h" @@ -87,4 +87,4 @@ ostream& operator<<(ostream& outStream, const Customer& customer){ } return outStream; -} \ No newline at end of file +} diff --git a/Chapter04/LibraryPointer/Library.cpp b/Chapter04/LibraryPointer/Library.cpp index 10b4ac4..2c6f1a7 100644 --- a/Chapter04/LibraryPointer/Library.cpp +++ b/Chapter04/LibraryPointer/Library.cpp @@ -1,10 +1,10 @@ -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include using namespace std; #include "Book.h" @@ -611,4 +611,4 @@ Library::~Library() { for (const Customer* customerPtr : m_customerPtrList) { delete customerPtr; } -} \ No newline at end of file +} diff --git a/Chapter04/LibraryPointer/Main.cpp b/Chapter04/LibraryPointer/Main.cpp index 18d1637..586b47e 100644 --- a/Chapter04/LibraryPointer/Main.cpp +++ b/Chapter04/LibraryPointer/Main.cpp @@ -1,15 +1,16 @@ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include using namespace std; #include "Book.h" #include "Customer.h" #include "Library.h" -void main() { +int main() { Library(); -} \ No newline at end of file + return 0; +} pgpUlyJNnqpAw.pgp Description: PGP signature
Re: How to improve my question in stackoverflow?
On Thu, 2021-09-09 at 16:27 -0600, William Torrez Corea wrote: > Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio > [closed] First, most folks on tech mailinglists despise HTML email. Second, let me help you help yourself. Go to https://www.debian.org/distrib/packages and near the bottom of the page you can "Search the contents of packages". Select for "packages that contain files named like this" and enter "set.h". You will see a results page with a list of packages that contain that file. Now, if you tell us which version of Debian you are running than someone here can tell you which version of libstdc++ you will need for set.h. hth, -Jim P.
Re: How to improve my question in stackoverflow?
On Thu, Sep 09, 2021 at 04:27:01PM -0600, William Torrez Corea wrote: > Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio > [closed] > > I trying compile an example of a book. William, [DISCLAIMER: I'm not a C++ expert by any measure. I do passably well with C. For example, I don't know whether the C++ #include directive has some extensions wrt the C one. Please, consult a C++ expert] this is not a C++ mailing list. You might be luckier elsewhere. That said... > The program use three classes: Book, Customer and Library. ... your problem doesn't seem to come from "classes" > *Book.cpp* > > #include #include #include #include #include > #include using namespace std; The line above looks very strange. Usually there is one #include directive per line. Something seems broken with your "book". Moreover, the included things are files, and by convention they have a suffix ".h", for "header". I'd expect the above to look rather like #include #include #include #include #include #include (NOTE: they start at the very beginning of the line: indentation here is for readability). Or something similar. Plus, you'd have to adapt your compiler options for it to actually find those files: quoting them between "<...>" will direct it to look into /usr/include. A "/usr/include/string.h" does exist (most of the time ;-), but typically no "/usr/include/set.h", so you'll have to adapt the compiler call (via the -I option). If your book doesn't explain this, it is very broken indeed. I'd look for another book :-) Likewise, I'd expect that last thing: using namespace std; to appear in a line of itself. [...] > g++ -g -Wall Book.cpp book.h -o book > > The result expected is bad. > > Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio Another suggestion: when posting on international mailing lists, set your locale to something with English error messages (for example, do "export LANG=C"). Most people won't be able to understand Spanish error messages. When asking for help, it helps helping others to help you :) > #include > ^ > compilation terminated. What this is telling you is that the compiler has looked into all what it considers to be system directories and hasn't found a file named like this. Probably not surprising. The code you showed looks suspicious anyway, as stated above. > This example was tested from another compiler. The library is not > recognized. > > *The book is C++17 By Example, published by Packt.* If your book doesn't tell you (at least roughly) how to talk to your C++ compiler, I'd suggest looking for another book :) To direct your compiler to look at some other include directories, you use the -I option, as stated above. To see where your compiler is searching for includes, you can do `gcc -xc++ -E -v -' (note: if it is plain C you are interested in, it would be `gcc -xc -E -v -'). Cheers - t signature.asc Description: Digital signature
Re: How to format with stride/stripe_width options during install
On Thu, Sep 9, 2021 at 12:28 AM IL Ka wrote: >> ... > > With full DVD installer in "Advanced Options -> Expert install" after "Load > installer components" you can open the second console (ALT+F2) and run > ``mkfs`` manually with any option you like > Not sure if it works with netinst. > Thank you, I tested in a VM and I was successful with the netinst cd. Was able to partition and format manually in a second console after "Load installer components" but importantly before "Detect disks", then when one gets to "Partitioning" you have the option to NOT format the partitions, but one can still set mount points, etc.. which is what I wanted.
HTML mail [was: How to improve my question in stackoverflow?]
On Thu, Sep 09, 2021 at 07:45:43PM -0400, Jim Popovitch wrote: [...] > First, most folks on tech mailinglists despise HTML email. The original mail was a passable MIME multipart/alternative with a plain text part. I /think/ that is OK, what do others think? Perhaps you can teach you mailer to pick the text part for you :-) (I'm just asking, because I've seen this complaint a couple of times for a well-formed multipart message: personally, I'd be OK with it, but I'd like to know how the consensus is). Cheers - t signature.asc Description: Digital signature
Re: How to format with stride/stripe_width options during install
On Thu, Sep 9, 2021 at 11:14 AM David Christensen wrote: > > On 9/8/21 11:07 PM, Robert Arkiletian wrote: > > Installing Debian 11 with netinst CD on a server with hardware raid. > > Installer has no custom format parameters option for ext4, like stride > > and stripe_width. How does one format the raid partitions with these > > options during OS installation? > > > What is the make and model of your server, or motherboard? Technical > documentation URL? https://www.supermicro.com/products/motherboard/QPI/5500/X8DTi-LN4F.cfm > > > What is the make and model of your RAID expansion card(s)? Technical > documentation URL? Areca arc-1220 https://www.areca.com.tw/chinaweb/products/pcie.htm
Re: How to format with stride/stripe_width options during install
On Thu, Sep 9, 2021 at 11:24 AM Michael Stone wrote: > > On Wed, Sep 08, 2021 at 11:07:06PM -0700, Robert Arkiletian wrote: > >Installing Debian 11 with netinst CD on a server with hardware raid. > >Installer has no custom format parameters option for ext4, like stride > >and stripe_width. How does one format the raid partitions with these > >options during OS installation? > > In general they aren't necessary these days, as the parameters can be > obtained from the hardware automatically. If the hardware doesn't > support that, it probably isn't a situation where setting it manually > will matter. > The hardware is very old so I don't think the OS knows that I'm using raid 10 with 6 spinning sata disks.