From owner-freebsd-stable@FreeBSD.ORG Wed Mar 2 12:42:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A76E7106566B for ; Wed, 2 Mar 2011 12:42:50 +0000 (UTC) (envelope-from erob@gthcfoundation.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7F94C8FC28 for ; Wed, 2 Mar 2011 12:42:50 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from [192.168.0.100] ([184.162.50.38]) by VL-MR-MRZ22.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LHF000H1KNDU070@VL-MR-MRZ22.ip.videotron.ca> for freebsd-stable@freebsd.org; Wed, 02 Mar 2011 07:42:49 -0500 (EST) Message-id: <4D6E3B49.9040209@gthcfoundation.org> Date: Wed, 02 Mar 2011 07:42:49 -0500 From: Etienne Robillard Organization: Green Tea Hackers Club User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11 To: "Agarwal, Mayank" , freebsd-stable@freebsd.org References: <201103021100.p22B0M5C031918@freefall.freebsd.org> In-reply-to: <201103021100.p22B0M5C031918@freefall.freebsd.org> X-Enigmail-Version: 1.0.1 Cc: Subject: Re: amd64/117186: [modules] kldload Unsupported file type on STABLE amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erob@gthcfoundation.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 12:42:50 -0000 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" > To: , > 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 > > 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"> > > > charset=3Dus-ascii"> > > > > > > > >
> >

Hi,
>
>  
>
> I am running a FreeBSD 7.2 amd64 machine. = > While I am > trying to load a
> kernel module  I got following error:
>
>  
>
> kldload: ./modules/base_kmod.ko: Unsupported file type
>
> After this error kernel panicked with following = > message:
>
>  
>
> Fatal trap 12: page fault while in kernel mode
>
> cpuid =3D 0; apic id =3D 00
>
> fault virtual address   =3D 0xfffffffe80556000
>
> fault code              =3D = > supervisor read > instruction, page not present
>
> instruction pointer     =3D 0x8:0xfffffffe80556000
>
> stack pointer           =3D = > 0x10:0xfffffffe8a88c710
>
> frame pointer           =3D = > 0x10:0xfffffffe8a88c760
>
> code segment            =3D base 0x0, = > limit > 0xfffff, type 0x1b
>
>                     = >   >   =3D DPL 0, pres 1, long 1, def32 0, gran 1
>
> processor eflags        =3D interrupt enabled, = > resume, IOPL =3D > 0
>
> current process         =3D 1009 (kldload)
>
>  
>
> Machine information's are as follows:
>
> FreeBSD 7.2-RELEASE #0: Wed Feb 23 23:34:05 IST 2011     = > amd64 >
>
>  
>
>  
>
> -Mayank

> >
> > > > > > ------_=_NextPart_001_01CBD8C3.F2859328-- > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@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@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