amd64/117186: [modules] kldload Unsupported file type on STABLE
amd64
Etienne Robillard
erob at gthcfoundation.org
Wed Mar 2 12:42:50 UTC 2011
On 02/03/11 06:00 AM, Agarwal, Mayank wrote:
> The following reply was made to PR amd64/117186; it has been noted by GNATS.
>
> From: "Agarwal, Mayank" <Mayank.Agarwal at netapp.com>
> To: <bug-followup at FreeBSD.org>, <sean at mcneil.com>
> Cc:
> Subject: Re: amd64/117186: [modules] kldload Unsupported file type on STABLE amd64
> Date: Wed, 2 Mar 2011 15:54:00 +0530
>
> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01CBD8C3.F2859328
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,=20
>
> =20
>
> I am running a FreeBSD 7.2 amd64 machine. While I am trying to load a=20
> kernel module I got following error:=20
>
> =20
>
> kldload: ./modules/base_kmod.ko: Unsupported file type=20
>
> After this error kernel panicked with following message:=20
>
> =20
>
> Fatal trap 12: page fault while in kernel mode=20
>
> cpuid =3D 0; apic id =3D 00=20
>
> fault virtual address =3D 0xfffffffe80556000=20
>
> fault code =3D supervisor read instruction, page not =
> present=20
>
> instruction pointer =3D 0x8:0xfffffffe80556000=20
>
> stack pointer =3D 0x10:0xfffffffe8a88c710=20
>
> frame pointer =3D 0x10:0xfffffffe8a88c760=20
>
> code segment =3D base 0x0, limit 0xfffff, type 0x1b=20
>
> =3D DPL 0, pres 1, long 1, def32 0, gran 1=20
>
> processor eflags =3D interrupt enabled, resume, IOPL =3D 0=20
>
> current process =3D 1009 (kldload)=20
>
> =20
>
> Machine information's are as follows:=20
>
> FreeBSD 7.2-RELEASE #0: Wed Feb 23 23:34:05 IST 2011 amd64=20
>
> =20
>
> =20
>
> -Mayank
>
>
> ------_=_NextPart_001_01CBD8C3.F2859328
> Content-Type: text/html;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
> xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
> xmlns=3D"http://www.w3.org/TR/REC-html40">
>
> <head>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Dus-ascii">
> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
> <style>
> <!--
> /* Font Definitions */
> @font-face
> {font-family:Calibri;
> panose-1:2 15 5 2 2 2 4 3 2 4;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {margin:0in;
> margin-bottom:.0001pt;
> font-size:11.0pt;
> font-family:"Calibri","sans-serif";}
> a:link, span.MsoHyperlink
> {mso-style-priority:99;
> color:blue;
> text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
> {mso-style-priority:99;
> color:purple;
> text-decoration:underline;}
> span.EmailStyle17
> {mso-style-type:personal-compose;
> font-family:"Calibri","sans-serif";
> color:windowtext;}
> .MsoChpDefault
> {mso-style-type:export-only;}
> @page Section1
> {size:8.5in 11.0in;
> margin:1.0in 1.0in 1.0in 1.0in;}
> div.Section1
> {page:Section1;}
> -->
> </style>
> <!--[if gte mso 9]><xml>
> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <o:shapelayout v:ext=3D"edit">
> <o:idmap v:ext=3D"edit" data=3D"1" />
> </o:shapelayout></xml><![endif]-->
> </head>
>
> <body lang=3DEN-US link=3Dblue vlink=3Dpurple>
>
> <div class=3DSection1>
>
> <p class=3DMsoNormal>Hi, <br>
> <br>
> <br>
> <br>
> I <b>am</b> running <b>a</b> FreeBSD 7.2 <b>amd64</b> machine. =
> <b>While</b> I <b>am</b>
> trying to load <b>a</b> <br>
> <b>kernel</b> <b>module</b> I got following error: <br>
> <br>
> <br>
> <br>
> kldload: ./<b>modules</b>/base_kmod.ko: Unsupported file type <br>
> <br>
> <b>After</b> this error <b>kernel</b> <b>panicked</b> with following =
> message: <br>
> <br>
> <br>
> <br>
> Fatal trap 12: page fault <b>while</b> in <b>kernel</b> mode <br>
> <br>
> cpuid =3D 0; <b>apic</b> id =3D 00 <br>
> <br>
> fault virtual <b>address</b> =3D 0xfffffffe80556000 <br>
> <br>
> fault code =3D =
> supervisor read
> instruction, page not present <br>
> <br>
> instruction pointer =3D 0x8:0xfffffffe80556000 <br>
> <br>
> stack pointer =3D =
> 0x10:0xfffffffe8a88c710 <br>
> <br>
> frame pointer =3D =
> 0x10:0xfffffffe8a88c760 <br>
> <br>
> code segment =3D base 0x0, =
> limit
> 0xfffff, type 0x1b <br>
> <br>
> =
>
> =3D DPL 0, pres 1, long 1, def32 0, gran 1 <br>
> <br>
> processor eflags =3D interrupt enabled, =
> resume, IOPL =3D
> 0 <br>
> <br>
> current process =3D 1009 (kldload) <br>
> <br>
> <br>
> <br>
> Machine information's <b>are</b> <b>as</b> follows: <br>
> <br>
> FreeBSD 7.2-RELEASE #0: Wed Feb 23 23:34:05 IST 2011 =
> <b>amd64</b>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> -Mayank<o:p></o:p></p>
>
> </div>
>
> </body>
>
> </html>
>
> ------_=_NextPart_001_01CBD8C3.F2859328--
> _______________________________________________
> freebsd-amd64 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
> X-UID: 11127
> Status:
> X-Keywords:
> Content-Length: 0
>
>
Hi Agarwal,
seems like your kernel is missing support to load this kind
of binaries. Is that a native ELF module or was it compiled with
on another machine?
also please send relevant tracebacks messages in plain as
opposed to html formatted messages!
Thanks,
--
Etienne Robillard
Company: Green Tea Hackers Club
Occupation: Software Developer (and CEO)
E-mail: erob at gthcfoundation.org
Work phone: 450-936-2123
Website (Company): https://gthc.org/
Website (Blog): https://gthc.org/blog/
PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086 DDEC
During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell
If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy
More information about the freebsd-stable
mailing list