Date: Wed, 5 Jan 2022 19:04:16 +0300 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Stefan Blachmann <sblachmann@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, Joseph Mingrone <jrm@freebsd.org>, =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>, Michael Schuster <michaelsprivate@gmail.com>, Kyle Evans <kevans@freebsd.org>, Karel Gardas <gardask@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Call for Foundation-supported Project Ideas Message-ID: <CAOgwaMvOkKcWv6ej%2BsoHAQOV8uc8VYwZU4xW6jHDG-75L%2BjexQ@mail.gmail.com> In-Reply-To: <CACc-My0NLTpH6Ttogcx6-XD1svsbVpg5kJaH5v8r=CiQ%2BXvMkg@mail.gmail.com> References: <861r36xzpe.fsf@phe.ftfl.ca> <61100a28-40ae-4458-d7d5-3bc9b13ba219@gmail.com> <CADqw_gKkii%2BBHk7_jPE0DV5ZdF86ydEq956WDtZOP1N9GBjAPw@mail.gmail.com> <CACNAnaH4GH_n8GVYN44op-VO7VZ5_GLP8SBj0SfoC5KoBSFDQw@mail.gmail.com> <CADqw_gJuU6_Wt-GEJduz_Tm0oQg4dDv-5XDz1bsgWqtCmp1R2w@mail.gmail.com> <CAAcX-AHCom%2B5Zf2ENf%2BcFxPDrCWY=e_EaXfRamd%2BwnynBn1-VQ@mail.gmail.com> <864k6qj6x6.fsf@phe.ftfl.ca> <86zgoihs64.fsf@phe.ftfl.ca> <CACc-My26b1GZ7_s93Jx-DgeA=8%2BdS_2MYSoCv_D6uzRihyNHNQ@mail.gmail.com> <CANCZdfq7s2ODPbrZRztXQ7q1aMeDtK-bsoEoW%2BZKDkiyktKUSQ@mail.gmail.com> <CACc-My1WHdgxidCiYDW2RrWxM4sKao7o_Tw-pZuuE_Y0WXC4JQ@mail.gmail.com> <CANCZdfpb=Oq1hgLRYk59duCRgVjVtu5bd4VAKR8wbgJdoi9vDg@mail.gmail.com> <CACc-My0NLTpH6Ttogcx6-XD1svsbVpg5kJaH5v8r=CiQ%2BXvMkg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000738b405d4d7ea97 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am not a part of this discussion , and the problem is not affecting me . But ... Such situations really are causing significant pain in my soul . Why ? ( I am a graduate of Mathematics , In our work every claim requires a PROOF , not words of a BIG one , whether she/he is me or any other one . ) I graduated in 1974 and started as a "System Analyst and Designer" job in Hacettepe University ( Ankara , Turkey ) . In our school , the computer was IBM System 360 with 64 KILO bytes . In Hacettepe Data Processing Center , the computer was a Burroughs B3500 with 128 KILO bytes ( called in that system as 256 KILO digits ) . https://en.wikipedia.org/wiki/Burroughs_Medium_Systems Burroughs Medium Systems https://en.wikipedia.org/wiki/Burroughs_MCP Burroughs MCP I front of its console ( Commands may be differently written ) : --- stop n <---- Number of multi-tasked job --- . --- . --- . --- start n <---- Number of multi-tasked job --- . --- . --- . --- set priority n as m ... A company of Hacettepe University was using the computer during nights . When they were starting around 18:00 : --- load / into tape in { cluster unit of } n ( 1 , 2 , 3 ,or 4 ) --- remove / <----- All of the contents ( written as / ) of the 100 MEGA bytes Hard disk larger than a caravan type automobile . --- load tape from { cluster unit of } n ( 1 , 2 , 3 ,or 4 ) A short time later , ALL of the MCP ( Master Control Program ) and data was loaded into the hard disk and ALL of the possible work began . Around 1979 , a new mainframe arrived to Beytepe campus of Hacettepe : Burroughs B6700 with 2 ( TWO ) MEGA bytes memory . https://en.wikipedia.org/wiki/Category:Burroughs_mainframe_computers Category:Burroughs mainframe computers https://en.wikipedia.org/wiki/Category:High-level_language_computer_archite= cture Category:High-level language computer architecture https://en.wikipedia.org/wiki/Burroughs_large_systems Burroughs large systems Around 1980 years , one engineer working for a large USA company made a remark , approximately , : "... Optimization of a very large Fortran program such as 2000 lines is a very difficult task . ... " Some of my mathematical analysis programs much larger than 2000 lines were developed and executed on this computer . It is not easy to develop such a large program without possible run time error(s) . Burroughs B6700 computer ( multi-tasked ) was using "print spooling" . In output of program , after banner about user name and some other information about the job , was listing a stack trace ( approximately in the following structure , the listing is not the exact reproduction ) : Run time error : n has occurred in line : m in routine : name called by routine : name from line : k called by routine : name from line : k . . . called by main : name from line : k Now the year is 2022 . You know what is the level of maturity or usability or other features of existing systems . The cpu speed is around 3 GIGA Herz . The memory sizes are { 4 or 8 or 16 or 32 or 64 or 128 or 256 ... ) GIGA Bytes ... The job done is ... : I do not know anything except fancy or fantastic screen paints or other useless things excluding facilities like the examples given above ... Please NEVER think that I am blaming our very valuable contributors . Contrary to such a disgusting behavior I am very indebted to them for their efforts ( means using their a part of very holy life time for the benefit of humanity ) . I know the difficulty of working in such a time : When it is understood that a pandemic has started , my official medical doctor called me to say : "Never go outside ! It is very dangerous for you ... " . Since at the beginning of 2020 February I am in isolation . The other people are not better than me with respect to their jobs , dangers for their families and themselves . At that , we need ways to maximize productivity of our contributors and users of FreeBSD by minimizing waste of their time ( ... ) and resources . How ? This is a different story outside of this thread . I am very sorry to waste your time . With my best wishes for your future and your work . Mehmet Erol Sanliturk On Wed, Jan 5, 2022 at 3:17 PM Stefan Blachmann <sblachmann@gmail.com> wrote: > On 1/4/22, Warner Losh <imp@bsdimp.com> wrote: > > 15 or 20 years [...] > > main reason laptops stopped suspending in the early 2000s... [...] > > And the INT xx interface is unavailable on amd64 after we > > enter long mode > > First, you mentioned a hacking session in the "early 2000s". > This makes me wonder whether you might mistake some other thing from > the distance of time, as UEFI was no real thing until ~2010, and was > never a thing on platforms other than amd64 also. Suspend/resume on > FreeBSD only appeared much later, too. > > Second, there is kernel functionality to call real mode interrupt > handlers from long mode, which manage switching to real mode and back. > Just an example, these are being used by vt (via vesa.ko) to switch vesa > modes. > > So I do not see why this real mode access infrastructure could not > also be used to make a call to C000:(PCI PROM Programming interface > code offset), or the respective segment address where the actual VGA > BIOS is, to have it initialize the int 10h interface handler, if a > hybrid/dual graphics card BIOS is present. > I think a single function "InitializeVGABIOSifpresent" to enable > access to VGA/VESA BIOS functionality might actually be fairly easy to > implement. > Furthermore, there is no need at all to access hardware specific stuff > like you mentioned, as the necessary functionality is completely > covered by the int 10h interface. > > Imho it could be worth to allocate a small part of the sponsoring > budget to put a bounty to motivate people (including possibly me) to > implement these improvements regarding suspend/resume and enhanced sc > and vt usability. > > > > On 1/4/22, Warner Losh <imp@bsdimp.com> wrote: > > On Tue, Jan 4, 2022 at 12:14 AM Stefan Blachmann <sblachmann@gmail.com> > > wrote: > > > >> On 1/4/22, Warner Losh <imp@bsdimp.com> wrote: > >> > Not without loading the xorg graphics stuff... graphics chips from t= he > >> last > >> > 15 or 20 years have lots of chip specific state that only the graphi= cs > >> > stuff knows about... IIRC, it only knows about it because it put the > >> > graphics into a known state... it's the main reason laptops stopped > >> > suspending in the early 2000s... it looks to be a lot of work for a > >> > relatively rare use case... > >> > >> UEFI GOP seems to have the necessary functionalities > >> (https://wiki.osdev.org/GOP#Get_the_Current_Mode) so I guess the work > >> required would be limited (restore mode and redraw screen from > >> buffer). > >> > > > > UEFI GOP isn't available after we start the kernel, so this is a > > non-starter. > > It works great in the boot loader, but not so good after we boot. It > could > > work > > for S3 sleep to disk where we actually reboot to restore the machine > state, > > but we don't have sleep to disk today :( > > > > > >> With non-UEFI or old UGA UEFI implementations possibly one could use > >> the dual BIOS=C2=B4 CSM part. Just call the CSM BIOS init to set up GP= U and > >> the int 10h interface, and then set previously used mode+redraw. > >> BTW, doing that also could both enable vt(4) to change > >> modes/resolutions and using sc on UEFI computers. > >> > > > > Ah, if only things were really that simple... I tried variations on th= at > > hack years ago when suspending broke due to video. And it > > works for some machines, but not others, was the quick assessment > > I made. And the INT xx interface is unavailable on amd64 after we > > enter long mode (I tried this out on my then-current FreeBSD laptop > > which was 32 bit only, so 15 years ago?). > > > > Warner > > > > > >> But I think you are right, there are probably not too many users who > >> would make use of that. > >> > >> > >> On 1/4/22, Warner Losh <imp@bsdimp.com> wrote: > >> > On Mon, Jan 3, 2022, 11:03 PM Stefan Blachmann <sblachmann@gmail.com= > > >> > wrote: > >> > > >> >> Implementing S3 suspend/resume was a sponsored project itself. > >> >> However, it still does only work when at xorg graphics mode, which > >> >> already was topic in this thread. > >> >> When using it from console, no matter sc or vt, it still hangs with > >> >> dark screen and unresponsive keyboard. > >> >> Could finishing the suspend/resume work be sponsored, so that it al= so > >> >> works on console-only computers? > >> >> > >> > > >> > Not without loading the xorg graphics stuff... graphics chips from t= he > >> last > >> > 15 or 20 years have lots of chip specific state that only the graphi= cs > >> > stuff knows about... IIRC, it only knows about it because it put the > >> > graphics into a known state... it's the main reason laptops stopped > >> > suspending in the early 2000s... it looks to be a lot of work for a > >> > relatively rare use case... > >> > > >> > Warner > >> > > >> > > >> >> On 12/30/21, Joseph Mingrone <jrm@freebsd.org> wrote: > >> >> > On Thu, 2021-12-30 at 14:15, Joseph Mingrone <jrm@FreeBSD.org> > >> >> > wrote: > >> >> > > >> >> >> On Thu, 2021-12-30 at 08:05, =C3=96zkan KIRIK <ozkan.kirik@gmail= .com> > >> >> >> wrote: > >> >> >>> I've ideas about enhancing the routing architecture. Is it > >> >> >>> possible > >> >> >>> to > >> >> >>> add to wiki? > >> >> > > >> >> >> Certainly. Please do. > >> >> > > >> >> > The link again is https://wiki.freebsd.org/2021FoundationCFI > >> >> > > >> >> > >> >> > >> > > >> > > > > --0000000000000738b405d4d7ea97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"= font-family:tahoma,sans-serif;font-size:large">I am not a part of this disc= ussion , and the problem is not affecting me .</div><div class=3D"gmail_def= ault" style=3D"font-family:tahoma,sans-serif;font-size:large">But ... Such = situations really are causing significant=C2=A0 pain in my soul .</div><div= class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:l= arge"><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sa= ns-serif;font-size:large">Why ?</div><div class=3D"gmail_default" style=3D"= font-family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmai= l_default" style=3D"font-family:tahoma,sans-serif;font-size:large">( I am a= graduate of Mathematics , In our work every claim requires a PROOF , not</= div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fon= t-size:large">words of a BIG one , whether she/he is me or any other one . = )</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;= font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-famil= y:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default"= style=3D"font-family:tahoma,sans-serif;font-size:large">I graduated in 197= 4 and started as a "System Analyst and Designer" job in <br></div= ><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-s= ize:large">Hacettepe University ( Ankara , Turkey ) . In our school , the c= omputer was <br></div><div class=3D"gmail_default" style=3D"font-family:tah= oma,sans-serif;font-size:large">IBM System 360 with 64 KILO bytes . In Hace= ttepe Data Processing Center , the computer</div><div class=3D"gmail_defaul= t" style=3D"font-family:tahoma,sans-serif;font-size:large">was a Burroughs = B3500 with=C2=A0 128 KILO bytes ( called in that system as 256 KILO digits = ) .</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-seri= f;font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-fam= ily:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_defaul= t" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div c= lass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:lar= ge"><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans= -serif;font-size:large"><a href=3D"https://en.wikipedia.org/wiki/Burroughs_= Medium_Systems">https://en.wikipedia.org/wiki/Burroughs_Medium_Systems</a><= /div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fo= nt-size:large">Burroughs Medium Systems<br></div><div class=3D"gmail_defaul= t" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div c= lass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:lar= ge"><a href=3D"https://en.wikipedia.org/wiki/Burroughs_MCP">https://en.wiki= pedia.org/wiki/Burroughs_MCP</a></div><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:large">Burroughs MCP</div><div cla= ss=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large= "><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-s= erif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-= family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_def= ault" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><di= v class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:= large">I front of its console ( Commands may be differently written ) :</di= v><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-= size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:tah= oma,sans-serif;font-size:large">--- stop=C2=A0 n=C2=A0 <---- Number of m= ulti-tasked job</div><div class=3D"gmail_default" style=3D"font-family:taho= ma,sans-serif;font-size:large">--- .</div><div class=3D"gmail_default" styl= e=3D"font-family:tahoma,sans-serif;font-size:large"><div class=3D"gmail_def= ault" style=3D"font-family:tahoma,sans-serif;font-size:large">--- .</div><d= iv class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size= :large"><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif= ;font-size:large">--- .</div><div class=3D"gmail_default" style=3D"font-fam= ily:tahoma,sans-serif;font-size:large"><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large">--- start=C2=A0 n=C2=A0 = <---- Number of multi-tasked job</div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large"><div class=3D"gmail_defa= ult" style=3D"font-family:tahoma,sans-serif;font-size:large">--- .</div><di= v class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:= large"><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;= font-size:large">--- .</div><div class=3D"gmail_default" style=3D"font-fami= ly:tahoma,sans-serif;font-size:large"><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:large">--- .</div></div></div>--- = set priority n as=C2=A0 m<br></div><div class=3D"gmail_default" style=3D"fo= nt-family:tahoma,sans-serif;font-size:large">=C2=A0...</div><div class=3D"g= mail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br><= /div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fo= nt-size:large">A company of Hacettepe University was using the computer dur= ing nights .</div><div class=3D"gmail_default" style=3D"font-family:tahoma,= sans-serif;font-size:large">When they were starting around=C2=A0 18:00 :</d= iv><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font= -size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:ta= homa,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" sty= le=3D"font-family:tahoma,sans-serif;font-size:large">--- load=C2=A0 /=C2=A0= into tape in { cluster unit of }=C2=A0 n=C2=A0=C2=A0 ( 1 , 2 , 3 ,or 4 )<d= iv class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size= :large"><br><br></div></div><div class=3D"gmail_default" style=3D"font-fami= ly:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default= " style=3D"font-family:tahoma,sans-serif;font-size:large">--- remove=C2=A0 = /=C2=A0=C2=A0=C2=A0 <----- All of the contents ( written as=C2=A0 /=C2= =A0 ) of the=C2=A0 100 MEGA bytes <br></div><div class=3D"gmail_default" st= yle=3D"font-family:tahoma,sans-serif;font-size:large">=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Hard disk larger than a caravan type automobile .<br></div>= <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-si= ze:large"><br></div><div class=3D"gmail_default" style=3D"font-family:tahom= a,sans-serif;font-size:large">--- load tape from { cluster unit of }=C2=A0 = n=C2=A0=C2=A0 ( 1 , 2 , 3 ,or 4 )</div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"= gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">=C2= =A0=C2=A0=C2=A0 A short time later , ALL of the MCP ( Master Control Progra= m ) and data</div><div class=3D"gmail_default" style=3D"font-family:tahoma,= sans-serif;font-size:large">=C2=A0=C2=A0=C2=A0 was loaded into the hard dis= k and ALL of the possible work began .</div><div class=3D"gmail_default" st= yle=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div class= =3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">= Around=C2=A0 1979 , a new mainframe arrived to Beytepe campus of Hacettepe = :</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;= font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-famil= y:tahoma,sans-serif;font-size:large">Burroughs B6700=C2=A0 with 2 ( TWO )= =C2=A0 MEGA bytes memory .</div><div class=3D"gmail_default" style=3D"font-= family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_def= ault" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><di= v class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:= large"><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"= font-family:tahoma,sans-serif;font-size:large"><a href=3D"https://en.wikipe= dia.org/wiki/Category:Burroughs_mainframe_computers">https://en.wikipedia.o= rg/wiki/Category:Burroughs_mainframe_computers</a></div>Category:Burroughs = mainframe computers<br><br><br></div><a href=3D"https://en.wikipedia.org/wi= ki/Category:High-level_language_computer_architecture">https://en.wikipedia= .org/wiki/Category:High-level_language_computer_architecture</a><br>Categor= y:High-level language computer architecture<br></div></div><div class=3D"gm= ail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"> <br><= /div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fo= nt-size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:= tahoma,sans-serif;font-size:large"><a href=3D"https://en.wikipedia.org/wiki= /Burroughs_large_systems">https://en.wikipedia.org/wiki/Burroughs_large_sys= tems</a></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans= -serif;font-size:large">Burroughs large systems<br></div><div class=3D"gmai= l_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></di= v><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-= size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:tah= oma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" styl= e=3D"font-family:tahoma,sans-serif;font-size:large">Around=C2=A0 1980 years= , one engineer working for a large USA company made a <br></div><div class= =3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">= remark , approximately , :=C2=A0 "... Optimization of a very large For= tran program such as</div><div class=3D"gmail_default" style=3D"font-family= :tahoma,sans-serif;font-size:large">2000 lines is a very difficult task . .= .. "<br></div><div class=3D"gmail_default" style=3D"font-family:tahoma= ,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large">Some of my mathematical = analysis programs much larger than 2000 lines were developed</div><div clas= s=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"= >and executed on this computer .</div><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gma= il_default" style=3D"font-family:tahoma,sans-serif;font-size:large">It is n= ot easy to develop such a large program=C2=A0 without possible run time err= or(s) .</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-= serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"font= -family:tahoma,sans-serif;font-size:large">Burroughs B6700 computer ( multi= -tasked ) was using "print spooling" .</div><div class=3D"gmail_d= efault" style=3D"font-family:tahoma,sans-serif;font-size:large">In output o= f program , after banner about user name and some other information <br></d= iv><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font= -size:large">about the job , was listing a stack trace ( approximately in t= he following structure ,</div><div class=3D"gmail_default" style=3D"font-fa= mily:tahoma,sans-serif;font-size:large">the listing is not the exact reprod= uction ) :</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sa= ns-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"f= ont-family:tahoma,sans-serif;font-size:large">Run time error : n</div><div = class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:la= rge">has occurred in line : m=C2=A0 in routine :=C2=A0 name <br></div><div = class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:la= rge"><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,san= s-serif;font-size:large">called by routine :=C2=A0=C2=A0 name =C2=A0 =C2=A0= from line :=C2=A0=C2=A0 k</div><div class=3D"gmail_default" style=3D"font-= family:tahoma,sans-serif;font-size:large"><div class=3D"gmail_default" styl= e=3D"font-family:tahoma,sans-serif;font-size:large">called by routine :=C2= =A0=C2=A0 name =C2=A0 =C2=A0 from line :=C2=A0=C2=A0 k</div><div class=3D"g= mail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br>= =C2=A0 .</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans= -serif;font-size:large">=C2=A0 .</div><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:large">=C2=A0 .</div><div class=3D= "gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br= ></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;= font-size:large"><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:large">called by main :=C2=A0=C2=A0 name =C2=A0 from li= ne :=C2=A0=C2=A0 k</div><div class=3D"gmail_default" style=3D"font-family:t= ahoma,sans-serif;font-size:large"><br><br></div></div></div><div class=3D"g= mail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">Now t= he year is 2022 . You know what is the level of maturity or usability or <b= r></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif= ;font-size:large">other features of existing systems . The cpu speed is aro= und 3 GIGA Herz .</div><div class=3D"gmail_default" style=3D"font-family:ta= homa,sans-serif;font-size:large">The memory sizes are {=C2=A0 4 or 8 or 16 = or 32 or 64 or 128 or 256 ... ) GIGA Bytes ...<br></div><div class=3D"gmail= _default" style=3D"font-family:tahoma,sans-serif;font-size:large">The job d= one is ... : I do not know anything except=C2=A0 fancy or fantastic screen = paints or other useless things excluding facilities like the examples given= above ...<br></div><div class=3D"gmail_default" style=3D"font-family:tahom= a,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"= gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br>= </div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;f= ont-size:large">Please=C2=A0 NEVER think that I am blaming our very valuabl= e contributors . Contrary to</div><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:large">such a disgusting behavior=C2= =A0 I=C2=A0 am very indebted to them for their efforts ( means <br></div><d= iv class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size= :large">using their a part of very holy life time for the benefit of humani= ty ) .</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-s= erif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-= family:tahoma,sans-serif;font-size:large">I know the difficulty of working = in such a time : When it is understood that a pandemic</div><div class=3D"g= mail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">has s= tarted , my official medical doctor called me to say :</div><div class=3D"g= mail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br><= /div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fo= nt-size:large">"Never go outside !=C2=A0=C2=A0 It is very dangerous fo= r you ... " . <br></div><div class=3D"gmail_default" style=3D"font-fam= ily:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_defaul= t" style=3D"font-family:tahoma,sans-serif;font-size:large">Since at the beg= inning of 2020 February I am in isolation . <br></div><div class=3D"gmail_d= efault" style=3D"font-family:tahoma,sans-serif;font-size:large">The other p= eople are not better than me with respect to their jobs , <br></div><div cl= ass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:larg= e">dangers for their families and themselves .<br></div><div class=3D"gmail= _default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div= ><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-s= ize:large"><br></div><div class=3D"gmail_default" style=3D"font-family:taho= ma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large">At that , we need ways= =C2=A0 to maximize=C2=A0 productivity of our contributors and users</div><d= iv class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size= :large">of FreeBSD=C2=A0 by minimizing=C2=A0 waste of their time ( ... ) an= d resources .</div><div class=3D"gmail_default" style=3D"font-family:tahoma= ,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large">How ?</div><div class=3D= "gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large"><br= ></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;= font-size:large">This is a different story outside of this thread .<br></di= v><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-= size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:tah= oma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" styl= e=3D"font-family:tahoma,sans-serif;font-size:large">I am very sorry to wast= e your time .</div><div class=3D"gmail_default" style=3D"font-family:tahoma= ,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style= =3D"font-family:tahoma,sans-serif;font-size:large">With my best wishes for = your future and your work .</div><div class=3D"gmail_default" style=3D"font= -family:tahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_de= fault" style=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><d= iv class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size= :large"><br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,= sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:large">Mehmet Erol Sanliturk<br></= div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fon= t-size:large"><br></div><div class=3D"gmail_default" style=3D"font-family:t= ahoma,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" st= yle=3D"font-family:tahoma,sans-serif;font-size:large"><br></div><div class= =3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:large">= <br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm= ail_attr">On Wed, Jan 5, 2022 at 3:17 PM Stefan Blachmann <<a href=3D"ma= ilto:sblachmann@gmail.com">sblachmann@gmail.com</a>> wrote:<br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex">On 1/4/22, Warner Losh <<= a href=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdimp.com</a>> w= rote:<br> > 15 or 20 years [...]<br> > main reason laptops stopped suspending in the early 2000s... [...]<br> > And the INT xx interface is unavailable on amd64 after we<br> > enter long mode<br> <br> First, you mentioned a hacking session in the "early 2000s".<br> This makes me wonder whether you might mistake some other thing from<br> the distance of time, as UEFI was no real thing until ~2010, and was<br> never a thing on platforms other than amd64 also. Suspend/resume on<br> FreeBSD only appeared much later, too.<br> <br> Second, there is kernel functionality to call real mode interrupt<br> handlers from long mode, which manage switching to real mode and back.<br> Just an example, these are being used by vt (via vesa.ko) to switch vesa mo= des.<br> <br> So I do not see why this real mode access infrastructure could not<br> also be used to make a call to C000:(PCI PROM Programming interface<br> code offset), or the respective segment address where the actual VGA<br> BIOS is, to have it initialize the int 10h interface handler, if a<br> hybrid/dual graphics card BIOS is present.<br> I think a single function "InitializeVGABIOSifpresent" to enable<= br> access to VGA/VESA BIOS functionality might actually be fairly easy to<br> implement.<br> Furthermore, there is no need at all to access hardware specific stuff<br> like you mentioned, as the necessary functionality is completely<br> covered by the int 10h interface.<br> <br> Imho it could be worth to allocate a small part of the sponsoring<br> budget to put a bounty to motivate people (including possibly me) to<br> implement these improvements regarding suspend/resume and enhanced sc<br> and vt usability.<br> <br> <br> <br> On 1/4/22, Warner Losh <<a href=3D"mailto:imp@bsdimp.com" target=3D"_bla= nk">imp@bsdimp.com</a>> wrote:<br> > On Tue, Jan 4, 2022 at 12:14 AM Stefan Blachmann <<a href=3D"mailto= :sblachmann@gmail.com" target=3D"_blank">sblachmann@gmail.com</a>><br> > wrote:<br> ><br> >> On 1/4/22, Warner Losh <<a href=3D"mailto:imp@bsdimp.com" targe= t=3D"_blank">imp@bsdimp.com</a>> wrote:<br> >> > Not without loading the xorg graphics stuff... graphics chips= from the<br> >> last<br> >> > 15 or 20 years have lots of chip specific state that only the= graphics<br> >> > stuff knows about... IIRC, it only knows about it because it = put the<br> >> > graphics into a known state... it's the main reason lapto= ps stopped<br> >> > suspending in the early 2000s... it looks to be a lot of work= for a<br> >> > relatively rare use case...<br> >><br> >> UEFI GOP seems to have the necessary functionalities<br> >> (<a href=3D"https://wiki.osdev.org/GOP#Get_the_Current_Mode" rel= =3D"noreferrer" target=3D"_blank">https://wiki.osdev.org/GOP#Get_the_Curren= t_Mode</a>) so I guess the work<br> >> required would be limited (restore mode and redraw screen from<br> >> buffer).<br> >><br> ><br> > UEFI GOP isn't available after we start the kernel, so this is a<b= r> > non-starter.<br> > It works great in the boot loader, but not so good after we boot. It c= ould<br> > work<br> > for S3 sleep to disk where we actually reboot to restore the machine s= tate,<br> > but we don't have sleep to disk today :(<br> ><br> ><br> >> With non-UEFI or old UGA UEFI implementations possibly one could u= se<br> >> the dual BIOS=C2=B4 CSM part. Just call the CSM BIOS init to set u= p GPU and<br> >> the int 10h interface, and then set previously used mode+redraw.<b= r> >> BTW, doing that also could both enable vt(4) to change<br> >> modes/resolutions and using sc on UEFI computers.<br> >><br> ><br> > Ah, if only things were really that simple...=C2=A0 I tried variations= on that<br> > hack years ago when suspending broke due to video. And it<br> > works for some machines, but not others, was the quick assessment<br> > I made. And the INT xx interface is unavailable on amd64 after we<br> > enter long mode (I tried this out on my then-current FreeBSD laptop<br= > > which was 32 bit only, so 15 years ago?).<br> ><br> > Warner<br> ><br> ><br> >> But I think you are right, there are probably not too many users w= ho<br> >> would make use of that.<br> >><br> >><br> >> On 1/4/22, Warner Losh <<a href=3D"mailto:imp@bsdimp.com" targe= t=3D"_blank">imp@bsdimp.com</a>> wrote:<br> >> > On Mon, Jan 3, 2022, 11:03 PM Stefan Blachmann <<a href=3D= "mailto:sblachmann@gmail.com" target=3D"_blank">sblachmann@gmail.com</a>>= ;<br> >> > wrote:<br> >> ><br> >> >> Implementing S3 suspend/resume was a sponsored project it= self.<br> >> >> However, it still does only work when at xorg graphics mo= de, which<br> >> >> already was topic in this thread.<br> >> >> When using it from console, no matter sc or vt, it still = hangs with<br> >> >> dark screen and unresponsive keyboard.<br> >> >> Could finishing the suspend/resume work be sponsored, so = that it also<br> >> >> works on console-only computers?<br> >> >><br> >> ><br> >> > Not without loading the xorg graphics stuff... graphics chips= from the<br> >> last<br> >> > 15 or 20 years have lots of chip specific state that only the= graphics<br> >> > stuff knows about... IIRC, it only knows about it because it = put the<br> >> > graphics into a known state... it's the main reason lapto= ps stopped<br> >> > suspending in the early 2000s... it looks to be a lot of work= for a<br> >> > relatively rare use case...<br> >> ><br> >> > Warner<br> >> ><br> >> ><br> >> >> On 12/30/21, Joseph Mingrone <<a href=3D"mailto:jrm@fr= eebsd.org" target=3D"_blank">jrm@freebsd.org</a>> wrote:<br> >> >> > On Thu, 2021-12-30 at 14:15, Joseph Mingrone <jrm= @FreeBSD.org><br> >> >> > wrote:<br> >> >> ><br> >> >> >> On Thu, 2021-12-30 at 08:05, =C3=96zkan KIRIK &l= t;<a href=3D"mailto:ozkan.kirik@gmail.com" target=3D"_blank">ozkan.kirik@gm= ail.com</a>><br> >> >> >> wrote:<br> >> >> >>> I've ideas about enhancing the routing a= rchitecture. Is it<br> >> >> >>> possible<br> >> >> >>> to<br> >> >> >>> add to wiki?<br> >> >> ><br> >> >> >> Certainly.=C2=A0 Please do.<br> >> >> ><br> >> >> > The link again is <a href=3D"https://wiki.freebsd.or= g/2021FoundationCFI" rel=3D"noreferrer" target=3D"_blank">https://wiki.free= bsd.org/2021FoundationCFI</a><br> >> >> ><br> >> >><br> >> >><br> >> ><br> >><br> ><br> <br> </blockquote></div> --0000000000000738b405d4d7ea97--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMvOkKcWv6ej%2BsoHAQOV8uc8VYwZU4xW6jHDG-75L%2BjexQ>