From owner-freebsd-current Sun Dec 30 1:10:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by hub.freebsd.org (Postfix) with SMTP id 9456D37B41E for ; Sun, 30 Dec 2001 01:10:40 -0800 (PST) Received: from pcd263096.netvigator.com (HELO joannaraman) (203.218.53.96) by smtp.mail.vip.sc5.yahoo.com with SMTP; 30 Dec 2001 09:10:39 -0000 Message-ID: <001701c19111$da92cd50$6035dacb@joannaraman> Reply-To: "Raman Ng" From: "Raman Ng" To: "Doug White" Cc: "Jon Parise" , References: Subject: Re: Logitech iFeel Optical USB Mouse cannot be attached. Date: Sun, 30 Dec 2001 17:10:37 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C19154.E74F0340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C19154.E74F0340 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit > > The following is the output of usbdevs -v > > > > # usbdevs -v > > Controller /dev/usb0: > > addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev > > 0x0100 > > port 1 powered > > port 2 powered > > This is with the "mouse" attached? > > If it doesn't even show up, that would point towards faulty hardware... > The mouse has already attached when execute usbdevs and I can use this mouse in both Windows and Linux without any problem. With reference with the dmesg output attached, I guess the mouse is attached in usb1 but I cannot confirm if it is true since I am only a newbie. However, the usbdevs only list /dev/usb0 but no usb1. I found there is no device usb1 in /dev so I tried to create the device node usb1 but usbdevs still only list /dev/usb0 but no usb1. Regards, Raman ------=_NextPart_000_0014_01C19154.E74F0340 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2001 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD 4.5-PRERELEASE #0: Sun Dec 23 01:55:47 HKT 2001=0A= root@:/usr/obj/usr/src/sys/STABLE_DEBUG=0A= Timecounter "i8254" frequency 1193182 Hz=0A= CPU: AMD Athlon(tm) Processor (1109.89-MHz 686-class CPU)=0A= Origin =3D "AuthenticAMD" Id =3D 0x642 Stepping =3D 2=0A= = Features=3D0x183f9ff=0A= AMD Features=3D0xc0440000<,AMIE,DSP,3DNow!>=0A= real memory =3D 536788992 (524208K bytes)=0A= avail memory =3D 518246400 (506100K bytes)=0A= Preloaded elf kernel "kernel" at 0xc0389000.=0A= Pentium Pro MTRR support enabled=0A= md0: Malloc disk=0A= Using $PIR table, 9 entries at 0xc00f1750=0A= npx0: on motherboard=0A= npx0: INT 16 interface=0A= pcib0: on motherboard=0A= pci0: on pcib0=0A= pcib1: at device 1.0 on = pci0=0A= pci1: on pcib1=0A= pci1: at 0.0 irq 11=0A= isab0: at device 4.0 on pci0=0A= isa0: on isab0=0A= atapci0: port 0xd800-0xd80f at device 4.1 = on pci0=0A= ata0: at 0x1f0 irq 14 on atapci0=0A= ata1: at 0x170 irq 15 on atapci0=0A= uhci0: port 0xd400-0xd41f irq 9 at device = 4.2 on pci0=0A= uhci0: LegSup =3D 0x0000003b=0A= uhci_run: setting run=3D0=0A= uhci_run: done cmd=3D0x80 sts=3D0x20=0A= uhci_run: setting run=3D1=0A= uhci_run: done cmd=3D0x81 sts=3D0x0=0A= usb0: on uhci0=0A= usb0: USB revision 1.0=0A= uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A= uhub0: 2 ports with 2 removable, self powered=0A= uhci1: port 0xd000-0xd01f irq 9 at device = 4.3 on pci0=0A= uhci1: LegSup =3D 0x00000010=0A= uhci_run: setting run=3D0=0A= uhci_run: done cmd=3D0x80 sts=3D0x20=0A= uhci_run: setting run=3D1=0A= uhci_run: done cmd=3D0x81 sts=3D0x0=0A= usb1: on uhci1=0A= usb1: USB revision 1.0=0A= uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A= uhub1: 2 ports with 2 removable, self powered=0A= uhci_device_request: not done, ii=3D0xc104f680=0A= uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2=0A= uhub2: 4 ports with 4 removable, self powered=0A= uhci_device_intr_transfer: not done, ii=3D0xc104f620=0A= uhci_waitintr: timeout=0A= uhci_idone: error, addr=3D3, endpt=3D0x00, status = 0x500000=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<1=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<1=0A= ums0: Logitech, Inc. iFeel Mouse, rev 1.00/1.01, addr 3, iclass 3/1=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<74=0A= device_probe_and_attach: ums0 attach returned 6=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<1=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<1=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<4=0A= uhci_waitintr: timeout=0A= usbd_transfer_cb: short transfer 0<4=0A= chip1: at device 4.4 on pci0=0A= rl0: port 0xa400-0xa4ff mem = 0xd5800000-0xd58000ff irq 9 at device 9.0 on pci0=0A= rl0: Ethernet address: 00:50:ff:60:0b:b8=0A= miibus0: on rl0=0A= rlphy0: on miibus0=0A= rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A= pcm0: port 0xa000-0xa01f irq 5 at device 10.0 on pci0=0A= pci0: (vendor=3D0x104c, dev=3D0x8020) at 13.0 irq 9=0A= atapci1: port = 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 = mem 0xd4000000-0xd401ffff irq 10 at device 17.0 on pci0=0A= ata2: at 0x9400 on atapci1=0A= ata3: at 0x8800 on atapci1=0A= orm0:



To get off this list click here To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 30 21:24:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from ionet.net (mail.ionet.net [206.41.128.16]) by hub.freebsd.org (Postfix) with ESMTP id 2C62037B41F for ; Sun, 30 Dec 2001 21:24:46 -0800 (PST) Received: from 2Cust8.tnt16.dfw3.da.uu.net (2Cust8.tnt16.dfw3.da.uu.net [67.192.216.8]) by ionet.net (8.9.1a/8.9.1) with SMTP id XAA12504 for ; Sun, 30 Dec 2001 23:26:38 -0600 (CST) Message-Id: <4.3.2.7.0.20011230210541.03ad3770@mail.ionet.net> X-Sender: zcaf@mail.ionet.net X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sun, 30 Dec 2001 21:06:42 -0600 To: current@freebsd.org From: BlacPro Subject: Win a CD/Cassette Home Stereo Player. Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_18322493==_.ALT" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=====================_18322493==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Total Care Laboratories offers a line of personal care products for men who want to maintain a natural, healthy and professional look. If your hair looks dry, dull or your having shaving problems then you need to visit www.blacpro.com Also register to win a CD/Cassette player. If you would like for us to remove you from this list type "REMOVE" in the subject line. (Not in The Body) and reply back to us. You will then be promptly and permanently removed from our list. Sincerely, William Franks CEO --=====================_18322493==_.ALT Content-Type: text/html; charset="us-ascii" Total Care Laboratories offers a line of personal care products for men who want to maintain a natural, healthy and professional look.

If your hair looks dry, dull or your having shaving problems then you need to visit www.blacpro.com

Also register to win a CD/Cassette player.

If you would like for us to remove you from this list type "REMOVE" in the subject line. (Not in The Body) and reply back to us.

You will then be promptly and permanently removed from
our list.

Sincerely,
William Franks
CEO
--=====================_18322493==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 30 21:32:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 1A1E937B421 for ; Sun, 30 Dec 2001 21:32:22 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fBV5WHD01214; Mon, 31 Dec 2001 00:32:17 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 31 Dec 2001 00:32:17 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Glenn Gombert Cc: current@freebsd.org Subject: Re: P4 Access For Latest KSE Change(s) In-Reply-To: <3.0.6.32.20011230170341.00d97b48@imatowns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For anyone who cares, you can also check out various other in-progress projects including: TrustedBSD mandatory access control: p4-cvs-trustedbsd-mac Trustedbsd POSIX.1e capabilities: p4-cvs-trustedbsd-cap Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sun, 30 Dec 2001, Glenn Gombert wrote: > > Here is an e-mail from Peter describing how to pull down the latest changes > from cvsup10 if anyone is interested :) > > > >>>>>>>> > > OK, what you want then is: > > collection=p4-cvs-kse > release=cvs > (tag=. if you're using checkout mode) > > That will pull down src/sys and a few other things. You can build that > standalone or symlink it into a complete tree etc. You're only really > intersted in src/sys at this point.. the libkvm, gdb etc stuff hasn't been > updated there, but will be later. > > Cheers, > Peter > > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; > peter@netplex.com.au"All of this is for nothing if we don't go to the > stars" - JMS/B5 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Dec 30 21:59:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 0517D37B41B; Sun, 30 Dec 2001 21:59:26 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id fBV5xO704247; Mon, 31 Dec 2001 06:59:24 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fBV5t5tx026569; Mon, 31 Dec 2001 06:55:05 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fBV5t4W09116; Mon, 31 Dec 2001 06:55:04 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.6/8.11.6) id fBV5t3e94688; Mon, 31 Dec 2001 06:55:03 +0100 (CET) (envelope-from ticso) Date: Mon, 31 Dec 2001 06:55:00 +0100 From: Bernd Walter To: Robert Watson , peter@FreeBSD.ORG Cc: Glenn Gombert , current@FreeBSD.ORG Subject: Re: P4 Access For Latest KSE Change(s) Message-ID: <20011231065500.A93231@cicely8.cicely.de> References: <3.0.6.32.20011230170341.00d97b48@imatowns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 31, 2001 at 12:32:17AM -0500, Robert Watson wrote: > > For anyone who cares, you can also check out various other in-progress > projects including: > > TrustedBSD mandatory access control: > p4-cvs-trustedbsd-mac > > Trustedbsd POSIX.1e capabilities: > p4-cvs-trustedbsd-cap Can we have something like a p4-self distribution? I already mirror p4-cvs-all to cvsup4.de.freebsd.org and I had to build the collection file myself, but this is the first time that I saw other collection names. > On Sun, 30 Dec 2001, Glenn Gombert wrote: > > > > > Here is an e-mail from Peter describing how to pull down the latest changes > > from cvsup10 if anyone is interested :) > > > > > > >>>>>>>> > > > > OK, what you want then is: > > > > collection=p4-cvs-kse > > release=cvs > > (tag=. if you're using checkout mode) > > > > That will pull down src/sys and a few other things. You can build that > > standalone or symlink it into a complete tree etc. You're only really > > intersted in src/sys at this point.. the libkvm, gdb etc stuff hasn't been > > updated there, but will be later. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 1:29:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 66E1B37B417 for ; Mon, 31 Dec 2001 01:29:33 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16Kyn1-0008ea-00; Mon, 31 Dec 2001 11:31:27 +0200 From: Sheldon Hearn To: Matthew Dillon Cc: current@FreeBSD.ORG Subject: Re: ntfs and sendfile problem (corrupted data) In-reply-to: Your message of "Sun, 30 Dec 2001 12:19:51 PST." <200112302019.fBUKJpZ16855@apollo.backplane.com> Date: Mon, 31 Dec 2001 11:31:27 +0200 Message-ID: <33267.1009791087@axl.seasidesoftware.co.za> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001 12:19:51 PST, Matthew Dillon wrote: > Well, we have a problem here. smbfs is allowing VOBJBUF to be set > on its vnodes. This creates a backing VM object that smbfs never > uses and makes sendfile() believe that it can do UIO_NOCOPY uio's on > smbfs vnodes. Thought you might be worth copying. :-) Thanks for the analysis, Matt. I've forwarded your message to bp and fjoe in case they're not watching freebsd-current closely (or just skipped the thread because it looked ntfs-specific). Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 3:14:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.19.129.142]) by hub.freebsd.org (Postfix) with ESMTP id BEFA837B42A; Mon, 31 Dec 2001 03:14:43 -0800 (PST) Received: by relay.butya.kz (Postfix, from userid 1000) id 08168287A3; Mon, 31 Dec 2001 17:14:37 +0600 (ALMT) Received: from localhost (localhost [127.0.0.1]) by relay.butya.kz (Postfix) with ESMTP id C131E2879E; Mon, 31 Dec 2001 17:14:37 +0600 (ALMT) Date: Mon, 31 Dec 2001 17:14:37 +0600 (ALMT) From: Boris Popov To: Matthew Dillon Cc: Sheldon Hearn , Michal Mertl , current@FreeBSD.ORG, bmilekic@FreeBSD.ORG Subject: Re: ntfs and sendfile problem (corrupted data) In-Reply-To: <200112302019.fBUKJpZ16855@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001, Matthew Dillon wrote: > Well, we have a problem here. smbfs is allowing VOBJBUF to be set > on its vnodes. This creates a backing VM object that smbfs never > uses and makes sendfile() believe that it can do UIO_NOCOPY uio's on > smbfs vnodes. Yes, smbfs pretend to support backing VM object (as nwfs do). However, this support has never been complete but nwfs definitely worked in this specific situation and I'm unsure when smbfs and, probably nwfs, wasn't updated for new VM rules to correctly support mmap'ed reads. IMO, dropping support for mmap() isn't a good idea because there is a plenty of programs which didn't work if mmap() calls is not supported (and most of those programs use mmap() for read operations). -- Boris Popov http://rbp.euro.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 3:30:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by hub.freebsd.org (Postfix) with ESMTP id CC63F37B405; Mon, 31 Dec 2001 03:30:10 -0800 (PST) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.1[KQ-CZ](1)/8.12.1/pukvis) with ESMTP id fBVBU9lk026770; Mon, 31 Dec 2001 12:30:09 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.1[KQ-CZ](1)/pukvis) with ESMTP id fBVBU90q026767; Mon, 31 Dec 2001 12:30:09 +0100 (CET) Date: Mon, 31 Dec 2001 12:30:09 +0100 (CET) From: Michal Mertl To: Terry Lambert Cc: dillon@freebsd.org, , Subject: Re: ntfs and sendfile problem (corrupted data) In-Reply-To: <3C2FD3FE.A58BFC85@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001, Terry Lambert wrote: > Michal Mertl wrote: > > > > I wrote about the issue once before but now I know more about the > > problem. > > > > I have ntfs partition mounted ro on current. I can read from it without > > problems. But I noticed I get corrupted data (the corrupted file has > > right size but contains mostly zeros) when using ftpd to read them. > > > > I'm pretty sure the problem is thus in sendfile(2) and/or ntfs fs support. > > The getpages() doesn't work like you think in NTFS. > Thanks for the info, but I wasn't thinking much about how it works. I just found there's something wrong. Matt suggested a fix to smbfs which I tweaked a bit to fit into ntfs_vnops.c source but it panics. my patch (-current&ntfs modified Matt's smbfs_vnops.c patch): --- ntfs_vnops.c.ori Mon Dec 31 11:16:04 2001 +++ ntfs_vnops.c Mon Dec 31 11:04:02 2001 @@ -85,6 +85,8 @@ static int ntfs_fsync __P((struct vop_fsync_args *ap)); static int ntfs_pathconf __P((void *)); +static int ntfs_createvobject __P((struct vop_createvobject_args *ap)); + int ntfs_prtactive = 1; /* 1 => print out reclaim of active vnodes */ static int @@ -741,6 +743,7 @@ { &vop_access_desc, (vop_t *)ntfs_access }, { &vop_close_desc, (vop_t *)ntfs_close }, + { &vop_createvobject_desc, (vop_t *)ntfs_createvobject }, { &vop_open_desc, (vop_t *)ntfs_open }, { &vop_readdir_desc, (vop_t *)ntfs_readdir }, { &vop_fsync_desc, (vop_t *)ntfs_fsync }, @@ -751,6 +754,17 @@ { NULL, NULL } }; + +static int +ntfs_createvobject(ap) + struct vop_createvobject_args /* { + struct vnode *vp; + struct ucred *cred; + struct thread *td; + } */ *ap; +{ + return(0); +} static struct vnodeopv_desc ntfs_vnodeop_opv_desc = ------------- This is backtrace : #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492 #1 0xc01c0800 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:335 #2 0xc01c0c4f in panic (fmt=0xc02a9f2a "from debugger") at /usr/src/sys/kern/kern_shutdown.c:634 #3 0xc0135af5 in db_panic (addr=-1071094807, have_addr=0, count=-1, modif=0xcace1a6c "") at /usr/src/sys/ddb/db_command.c:452 #4 0xc0135a95 in db_command (last_cmdp=0xc02f1b18, cmd_table=0xc02f1938, aux_cmd_tablep=0xc02e9b58, aux_cmd_tablep_end=0xc02e9b5c) at /usr/src/sys/ddb/db_command.c:348 #5 0xc0135b5f in db_command_loop () at /usr/src/sys/ddb/db_command.c:474 #6 0xc0137f83 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:72 #7 0xc0286178 in kdb_trap (type=3, code=0, regs=0xcace1b6c) at /usr/src/sys/i386/i386/db_interface.c:167 #8 0xc0292568 in trap (frame={tf_fs = 24, tf_es = -1070399472, tf_ds = 16, tf_edi = -898024444, tf_esi = 256, tf_ebp = -892462152, tf_isp = -892462184, tf_ebx = 514, tf_edx = -1070719377, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071094807, tf_cs = 8, tf_eflags = 70, tf_esp = -1070719393, tf_ss = -1070857413}) at /usr/src/sys/i386/i386/trap.c:585 #9 0xc02863e9 in Debugger (msg=0xc02c033b "panic") at machine/cpufunc.h:66 #10 0xc01c0c38 in panic ( fmt=0xc02c8820 "open: vmio vnode has no backing object after vn_open") at /usr/src/sys/kern/kern_shutdown.c:621 #11 0xc01fe31c in open (td=0xca793c04, uap=0xcace1d20) at /usr/src/sys/kern/vfs_syscalls.c:1203 #12 0xc0292e94 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134960050, tf_esi = 135049216, tf_ebp = -1077938904, tf_isp = -892461708, tf_ebx = 135057664, tf_edx = 135049216, tf_ecx = 135057664, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 134574035, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938964, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150 #13 0xc02870ed in syscall_with_err_pushed () -------------- I think this wasn't the right patch, after all. > -- Terry > -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 3:33: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by hub.freebsd.org (Postfix) with ESMTP id 8B51A37B41A; Mon, 31 Dec 2001 03:33:04 -0800 (PST) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.1[KQ-CZ](1)/8.12.1/pukvis) with ESMTP id fBVBX3lk026884; Mon, 31 Dec 2001 12:33:03 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.1[KQ-CZ](1)/pukvis) with ESMTP id fBVBX3dS026881; Mon, 31 Dec 2001 12:33:03 +0100 (CET) Date: Mon, 31 Dec 2001 12:33:03 +0100 (CET) From: Michal Mertl To: Terry Lambert Cc: dillon@freebsd.org, , Subject: Re: ntfs and sendfile problem (corrupted data) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 31 Dec 2001, Michal Mertl wrote: Sorry to bloat the list but I forgot to mention that the panics occur when I actually try to read from ntfs partition (after appliing pach from previous email). cd works ok but ls panics the kernel. -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 6:48:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 7317037B41F; Mon, 31 Dec 2001 06:48:50 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA02049; Tue, 1 Jan 2002 01:48:29 +1100 Date: Tue, 1 Jan 2002 01:48:20 +1100 (EST) From: Bruce Evans X-X-Sender: To: Poul-Henning Kamp Cc: Maxim Konovalov , Sheldon Hearn , , Subject: Re: Junior Kernel Hacker Task: ccdinit stack usage. In-Reply-To: <27953.1009733568@critter.freebsd.dk> Message-ID: <20020101014747.F6507-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001, Poul-Henning Kamp wrote: > In message <20011230160821.L36208-100000@news1.macomnet.ru>, Maxim Konovalov wr > ites: > > Ohh and I forgot: Thanks for the patch! Tested & Committed :-) Junior committer task: fix style bugs in submitted patches before committing. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 6:55:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.mikkeliamk.fi (smtp.mikkeliamk.fi [195.148.235.202]) by hub.freebsd.org (Postfix) with ESMTP id 0C77F37B431 for ; Mon, 31 Dec 2001 06:55:39 -0800 (PST) Received: from gw2 (gw2.mikkeliamk.fi [195.148.235.193]) by smtp.mikkeliamk.fi (8.9.3 (PHNE_22672)/8.9.3) with SMTP id QAA29011 for ; Mon, 31 Dec 2001 16:55:38 +0200 (EET) From: 9000cash@virtue.nu Received: from ([208.36.180.253]) by gw2; Mon, 31 Dec 2001 16:46:14 +0200 (EET) Message-Id: <65oxntUgLPk_9KJr@> To: freebsd-current@freebsd.org Subject: We will show you how to become self-employed Reply-To: ebook2354@yahoo.com Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" Date: Mon, 31 Dec 2001 06:50:11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG $10K in 30 Days!!

 

I'll Show YOU How To Make At Least....
$10,000 In 30 Days or Less Every Month... NO RISK!!!

 

Would you like to make at least $10,000
(in 30 days or less) every month? 
Here's how you can make that money  
(and more... ) every month, and make  
your first $10,000 in 30 days or less  
- with absolutely no risk!
Click Here For Complete Details!


If you have received this message in error and wish to be
 removed from future mailings CLICK HERE

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 7:12:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id AC05C37B423; Mon, 31 Dec 2001 07:12:03 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA02899; Tue, 1 Jan 2002 02:11:53 +1100 Date: Tue, 1 Jan 2002 02:11:44 +1100 (EST) From: Bruce Evans X-X-Sender: To: Maxim Konovalov Cc: Sheldon Hearn , Poul-Henning Kamp , , Subject: Re: Junior Kernel Hacker Task: ccdinit stack usage. In-Reply-To: <20011230160821.L36208-100000@news1.macomnet.ru> Message-ID: <20020101015003.H6507-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001, Maxim Konovalov wrote: > On 15:04+0200, Dec 30, 2001, Sheldon Hearn wrote: > > Note that you don't need to (and shouldn't as per style(9)) initialize > > tmppath to NULL. > > Do you mean: > > : Be careful to not obfuscate the code by initializing variables > : in the declarations. Use this feature only thoughtfully. DO NOT > : use function calls in initializers. > > or something else? Yes. That and the fact that the initialization has no effect. > > Also, your bzero() is unnecessary if you use the M_ZERO flag to > > MALLOC(9). > > MALLOC(9) is above on for() cycle but bzero(3) is not needed even > without M_ZERO because copyinstr(9) copies the terminating NULL too. > bzero(3) was in original code so I decided to leave it. MALLOC(9) should say: "The MALLOC(9) macro is deprecated. Do not use it except for style-bug-for-bug compatibility with code that already uses it". Note that ccd.c already uses the malloc(9) function for all malloc()-like memory allocations, and that there is another rule about using a consistent style. If the result of malloc(9) were directly assigned to tmppath, then it would be obvious that initializing it to NULL has no effect. > Index: ccd.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/ccd/ccd.c,v > retrieving revision 1.95 > diff -u -r1.95 ccd.c > --- ccd.c 17 Nov 2001 00:46:08 -0000 1.95 > +++ ccd.c 30 Dec 2001 13:42:05 -0000 > @@ -394,7 +394,7 @@ > int maxsecsize; > struct partinfo dpart; > struct ccdgeom *ccg = &cs->sc_geom; > - char tmppath[MAXPATHLEN]; > + char *tmppath = NULL; > int error = 0; > > #ifdef DEBUG See above. > @@ -414,6 +414,7 @@ > */ > maxsecsize = 0; > minsize = 0; > + tmppath = malloc(MAXPATHLEN, M_DEVBUF, M_WAITOK); I think the malloc type should be M_TEMP here. M_TEMP is certainly not wrong for anything that could be a local variable if there were enough space. Some device buffers could go on the stack if there were enough space, since they don't need to live after the function returns, but temppath is not a device buffer. > @@ -422,7 +423,6 @@ > /* > * Copy in the pathname of the component. > */ > - bzero(tmppath, sizeof(tmppath)); /* sanity */ > if ((error = copyinstr(cpaths[ix], tmppath, > MAXPATHLEN, &ci->ci_pathlen)) != 0) { > #ifdef DEBUG OK. > @@ -488,6 +488,9 @@ > cs->sc_size += size; > } > > + free(tmppath, M_DEVBUF); > + tmppath = NULL; > + > /* > * Don't allow the interleave to be smaller than > * the biggest component sector. This is not necessary, because the buffer has to be freed later in all of the goto cases, and probably not very useful, because the allocation won't live much longer. Removing it would fix the following style bugs: - extra blank line before free(). - free() is not style-bug-for-bug compatible with MALLOC(). Code that obfuscates malloc() using MALLOC() should also obfuscate free() using FREE(). > @@ -577,6 +580,8 @@ > ci--; > free(ci->ci_path, M_DEVBUF); > } > + if (tmppath != NULL) > + free(tmppath, M_DEVBUF); > free(cs->sc_cinfo, M_DEVBUF); > return (error); > } OK Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 7:50: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 650A837B42C; Mon, 31 Dec 2001 07:49:59 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA04467; Tue, 1 Jan 2002 02:49:49 +1100 Date: Tue, 1 Jan 2002 02:49:39 +1100 (EST) From: Bruce Evans X-X-Sender: To: David Taylor Cc: , Subject: Re: msdosfs_lookup returns EINVAL, not ENOENT In-Reply-To: <20011230161108.A76653@gattaca.yadt.co.uk> Message-ID: <20020101021821.J6835-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Dec 2001, David Taylor wrote: > Whilst poking around on my msdosfs (trying to find an MP3 I thought I had), > I discovered that, if there are no files matching "foo*", ls foo* will > return the wrong error. > > msdosfs: > > $ ls foo* > ls: foo*: Invalid argument > ... > I _think_ I've tracked down the source of the error to the point where > unix2dosfn is called in msdosfs_lookup, which would be expected, since '*' > is an invalid character in msdos filenames, but is fine for ufs. This is the correct diagnosis. > OTOH, I'm not sure what syscalls are supposed to return in the case of an > invalid character in a filename. Me too :-). > e.g. touch foo\\ fails with EINVAL currently, yet open(2) states EINVAL > means you have used an invalid combination of O_RDONLY, O_WRONLY, and > O_RDWR. But no error is listed in the manpage for an invalid filename, > other than ENAMETOOLONG, which is clearly inappropriate. > > Perhaps the correct fix would just be to document the use of EINVAL? I slightly prefer this, but it would have to be limited to non-POSIX filesystems (there are no invalid characters for POSIX filenames except '\0', and '\0' is not really part of a filename; the POSIX error for the completely invalid filename "" is ENOENT). I just remembered some history: most of the manpages for syscalls that deal with pathames used to document setting errno to EINVAL if "The pathname contains a character with the high-order bit set". They did this long after the syscalls stopped actually doing this (e.g., in 4.4BSD-Lite). I find msdosfs's handling of attributes that have no meaning for msdosfs much more inconvenient than this. E.g., "cp -p" usually fails to preserve ownerships (because msdosfs's fake ownerships are usually different), and it fails to preserves file mtimes unless run by root (because utimes()'s permissions checks depend on ownwerships in a slightly different way than creat()'s permissions checks). OTOH, failure to set nonexistent file atimes and ctimes are silently ignored. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 10:56:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 464AA37B430 for ; Mon, 31 Dec 2001 10:56:48 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id fBVIueq76510; Mon, 31 Dec 2001 10:56:40 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id fBVIudX00535; Mon, 31 Dec 2001 10:56:39 -0800 (PST) (envelope-from jdp) Date: Mon, 31 Dec 2001 10:56:39 -0800 (PST) Message-Id: <200112311856.fBVIudX00535@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: julian@elischer.org Subject: Re: KSE changes available In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article , Julian Elischer wrote: > > As someone mentionned, the up-to-date KSE tree is available > through cvsup10 but I don't know the collection. > maybe peter can remind us how to get it. The collections are named: p4-cvs-all p4-cvs-kse p4-cvs-trustedbsd p4-cvs-trustedbsd-audit p4-cvs-trustedbsd-base p4-cvs-trustedbsd-cap p4-cvs-trustedbsd-mac John "Peter" Polstra -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 11: 8:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id A1A1A37B435 for ; Mon, 31 Dec 2001 11:08:31 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBVJ8NF21534; Mon, 31 Dec 2001 11:08:23 -0800 (PST) (envelope-from dillon) Date: Mon, 31 Dec 2001 11:08:23 -0800 (PST) From: Matthew Dillon Message-Id: <200112311908.fBVJ8NF21534@apollo.backplane.com> To: Michal Mertl Cc: Terry Lambert , , Subject: Re: ntfs and sendfile problem (corrupted data) References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :On Mon, 31 Dec 2001, Michal Mertl wrote: : :Sorry to bloat the list but I forgot to mention that the panics occur when :I actually try to read from ntfs partition (after appliing pach from :previous email). cd works ok but ls panics the kernel. : : :-- :Michal Mertl :mime@traveller.cz Yah. Obviously my patch is not complete if VMIO is still getting set. I'd have to investigate further to figure out the right patch. I don't know if I have the time to do this this week though, I have my hands full with a number of other bugs. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 11: 9:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 3F58637B428; Mon, 31 Dec 2001 11:09:49 -0800 (PST) Received: from pool0439.cvx21-bradley.dialup.earthlink.net ([209.179.193.184] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16L7oZ-00017c-00; Mon, 31 Dec 2001 11:09:40 -0800 Message-ID: <3C30B7F6.C01CECCF@mindspring.com> Date: Mon, 31 Dec 2001 11:09:42 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michal Mertl Cc: dillon@freebsd.org, sheldonh@starjuice.net, current@freebsd.org Subject: Re: ntfs and sendfile problem (corrupted data) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michal Mertl wrote: > Sorry to bloat the list but I forgot to mention that the panics occur when > I actually try to read from ntfs partition (after appliing pach from > previous email). cd works ok but ls panics the kernel. You can't use the patch provided on NTFS. It's doesn't make fake backing objects. The problem is that you are going to need an NTFS specific "getpages" for reading. If you do a write, you are also going to need a "putpages"; for executables, this will not be necessary, since the copy-on-write will assign anonymous pages to the dirtied ones, and they will get swap assigned, if they need to be swapped out. As I said, the easiest thing to do would be to not use "external" mbufs in the sendfile case on NTFS. Whether this ends up being a check for an FS specific getpages, or you have an attribute bit for use in all FS's that can tell the sendfile code to use the old approach (non-external mbufs) for FS's implementing only transient backing ubjects, is up to you. A third approach, which I don't recommend, would be to make the sendfile() code FS specific, so that it can use block-sized mbufs, whatever they happen to be (this would hold a reference to the block rather than the backing page, which would also "fix" the problem). I don't recommend the approach, since it would make the mmap() and sendfile code rather slow, even if functional, and doing page gathering could result in a significant speedup. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 11:40:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id C469337B426 for ; Mon, 31 Dec 2001 11:40:16 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011231194011.LXII6450.rwcrmhc52.attbi.com@InterJet.elischer.org> for ; Mon, 31 Dec 2001 19:40:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA09783 for ; Mon, 31 Dec 2001 11:22:19 -0800 (PST) Date: Mon, 31 Dec 2001 11:22:17 -0800 (PST) From: Julian Elischer To: current@freebsd.org Subject: anyone seen this? Makes system unbooable. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I upgraded by cvs on saturday night, Sunday I didn't use it. Monday I tried to boot it. but the loader says: ASSERT and the system reboots I'd LOVE to know wha the assert is but really My opical neurons take at least 20mSecs to fire and by the time I've found the Asssert line I'm already running on afterimage. How about adding a sleep after the Assert write so that it can actually be read? In the meanwhile does anyone know what the problem might be.. I'm recvsuping (I had to boot off a cdrom) and will recompile the bootblocks, but some idea of the problem might be nice.. Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 12:39:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 42DFF37B43C for ; Mon, 31 Dec 2001 12:39:29 -0800 (PST) Received: (qmail 26624 invoked from network); 31 Dec 2001 20:39:27 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Dec 2001 20:39:27 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 31 Dec 2001 12:39:17 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: RE: anyone seen this? Makes system unbooable. Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 31-Dec-01 Julian Elischer wrote: > I upgraded by cvs on saturday night, > Sunday I didn't use it. > Monday I tried to boot it. but the loader says: > ASSERT > and the system reboots Hmm, the string "ASSERT" doesn't appear as a text string anywhere under /sys/boot. Hmm, libstand does have it, and the ficl library seems to use it. A serial console would save the message so you had time to read it. :) If you want to introduce a sleep, then sys/boot/i386/loader/main.c has an exit() function you could put a while(1) or some such in. Are you sure you don't have your loader and 4th scripts out of sync? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 12:40:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 987C937B50C for ; Mon, 31 Dec 2001 12:40:08 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011231204007.QNIU1920.rwcrmhc51.attbi.com@InterJet.elischer.org> for ; Mon, 31 Dec 2001 20:40:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA10050 for ; Mon, 31 Dec 2001 12:22:31 -0800 (PST) Date: Mon, 31 Dec 2001 12:22:29 -0800 (PST) From: Julian Elischer To: current@freebsd.org Subject: Re: anyone seen this? Makes system unbooable. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 31 Dec 2001, Julian Elischer wrote: > I upgraded by cvs on saturday night, > Sunday I didn't use it. > Monday I tried to boot it. but the loader says: > ASSERT > and the system reboots > > I'd LOVE to know wha the assert is but really My opical neurons take at > least 20mSecs to fire and by the time I've found the Asssert line > I'm already running on afterimage. > > How about adding a sleep after the Assert write so that it can actually > be read? > > In the meanwhile does anyone know what the problem might be.. > I'm recvsuping (I had to boot off a cdrom) and will recompile the > bootblocks, but some idea of the problem might be nice.. new: After re cvsupping and re compiling, no files changed any loader guru's know how to add the delay in the loader? > > Julian > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 14: 0:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 0D7EC37B427; Mon, 31 Dec 2001 14:00:14 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011231220013.SOKL1920.rwcrmhc51.attbi.com@InterJet.elischer.org>; Mon, 31 Dec 2001 22:00:13 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA10378; Mon, 31 Dec 2001 13:45:26 -0800 (PST) Date: Mon, 31 Dec 2001 13:45:26 -0800 (PST) From: Julian Elischer To: John Baldwin Cc: current@freebsd.org Subject: RE: anyone seen this? Makes system unbooable. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just did a "make buildworld; make installworld; mergemaster" I am not at home at teh moment and the laptop is the only machine there so the serial; cable wouldn't help much.. I will re-install it and try it again with your suggested hack As for what's there I'm not kidding when I say "too fast for my neurons". It flashes past so quickly I;m not completely sure at all what I'm seeing. CDROM bootblocks worked fine :-) On Mon, 31 Dec 2001, John Baldwin wrote: > > On 31-Dec-01 Julian Elischer wrote: > > I upgraded by cvs on saturday night, > > Sunday I didn't use it. > > Monday I tried to boot it. but the loader says: > > ASSERT > > and the system reboots > > Hmm, the string "ASSERT" doesn't appear as a text string anywhere under > /sys/boot. Hmm, libstand does have it, and the ficl library seems to use it. > A serial console would save the message so you had time to read it. :) If you > want to introduce a sleep, then sys/boot/i386/loader/main.c has an exit() > function you could put a while(1) or some such in. Are you sure you don't have > your loader and 4th scripts out of sync? > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 14:23:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 5180137B417 for ; Mon, 31 Dec 2001 14:23:26 -0800 (PST) Received: (qmail 12393 invoked from network); 31 Dec 2001 22:23:25 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Dec 2001 22:23:25 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 31 Dec 2001 14:23:15 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: RE: anyone seen this? Makes system unbooable. Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 31-Dec-01 Julian Elischer wrote: > I just did a "make buildworld; make installworld; mergemaster" > > I am not at home at teh moment and the laptop is the only machine there > so the serial; cable wouldn't help much.. > I will re-install it and try it again with your suggested hack > > As for what's there I'm not kidding when I say "too fast for my neurons". > It flashes past so quickly I;m not completely sure at all what I'm seeing. > CDROM bootblocks worked fine :-) Yeah, when it reboots, it is fast. Introducing some sort of delay in exit() on i386 might not be that bad of an idea. > On Mon, 31 Dec 2001, John Baldwin wrote: > >> >> On 31-Dec-01 Julian Elischer wrote: >> > I upgraded by cvs on saturday night, >> > Sunday I didn't use it. >> > Monday I tried to boot it. but the loader says: >> > ASSERT >> > and the system reboots >> >> Hmm, the string "ASSERT" doesn't appear as a text string anywhere under >> /sys/boot. Hmm, libstand does have it, and the ficl library seems to use >> it. >> A serial console would save the message so you had time to read it. :) If >> you >> want to introduce a sleep, then sys/boot/i386/loader/main.c has an exit() >> function you could put a while(1) or some such in. Are you sure you don't >> have >> your loader and 4th scripts out of sync? >> >> -- >> >> John Baldwin <>< http://www.FreeBSD.org/~jhb/ >> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ >> > -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 15:42:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id ECA4137B41B for ; Mon, 31 Dec 2001 15:42:05 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id fBVNoZj02969; Mon, 31 Dec 2001 15:50:35 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200112312350.fBVNoZj02969@mass.dis.org> To: Julian Elischer Cc: current@freebsd.org, msmith@mass.dis.org Subject: Re: anyone seen this? Makes system unbooable. In-Reply-To: Message from Julian Elischer of "Mon, 31 Dec 2001 11:22:17 PST." Date: Mon, 31 Dec 2001 15:50:35 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I upgraded by cvs on saturday night, > Sunday I didn't use it. > Monday I tried to boot it. but the loader says: > ASSERT > and the system reboots > > I'd LOVE to know wha the assert is but really My opical neurons take at > least 20mSecs to fire and by the time I've found the Asssert line > I'm already running on afterimage. > > How about adding a sleep after the Assert write so that it can actually > be read? Is it printing "ASSERT ", or "Assertion failed:"? The string "ASSERT" doesn't exist anywhere in the loader or libstand. If you want to add a pause after an assertion failure (not a bad idea really), do it in src/lib/libstand/assert.c. > In the meanwhile does anyone know what the problem might be.. > I'm recvsuping (I had to boot off a cdrom) and will recompile the > bootblocks, but some idea of the problem might be nice.. You *are* aware that you can boot loader.old by hitting a key while the spinner is paused, before the loader starts, right? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 16: 0:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id DB5B037B425; Mon, 31 Dec 2001 16:00:14 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020101000014.VRGM1920.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 1 Jan 2002 00:00:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA10860; Mon, 31 Dec 2001 15:46:24 -0800 (PST) Date: Mon, 31 Dec 2001 15:46:23 -0800 (PST) From: Julian Elischer To: Mike Smith Cc: current@freebsd.org, msmith@mass.dis.org Subject: Re: anyone seen this? Makes system unbooable. In-Reply-To: <200112312350.fBVNoZj02969@mass.dis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 31 Dec 2001, Mike Smith wrote: > > You *are* aware that you can boot loader.old by hitting a key while the > spinner is paused, before the loader starts, right? well I am now, but with no running system to look at I didn't know there was a loader.old. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 18: 1:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from ex-sj-5.digisle.com (ex-sj-5.digisle.com [167.216.153.103]) by hub.freebsd.org (Postfix) with ESMTP id 5C2EB37B41F for ; Mon, 31 Dec 2001 18:01:16 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: anyone seen this? Makes system unbooable. Date: Mon, 31 Dec 2001 18:01:16 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: anyone seen this? Makes system unbooable. Thread-Index: AcGSMwsGY/BegAsNTGei+np44KyolwAMymE1 From: "Maksim Yevmenkin" To: "Julian Elischer" , Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian, > I upgraded by cvs on saturday night, > Sunday I didn't use it. > Monday I tried to boot it. but the loader says: > ASSERT > and the system reboots had _exactly_ the same poblem :( the string says, something like name not found ASSERT(FALSE) ficlCompileSoftCore in softcore.c line 291 i had to turn off CPU cache to catch the message and hit "pause" so i could read it :) > I'd LOVE to know wha the assert is but really My opical neurons take at > least 20mSecs to fire and by the time I've found the Asssert line > I'm already running on afterimage. in my case it was an "awk" problem. at some point perl script was replaced by awk script. i did not upgrade my awk, so i got bad softcore.c file. as far as i can tell several forth modiules get pre-processed by softcore.awk to produce softcore.c. if you have old "awk" then this will produce bad softcore.c (mosty because of escaping and removing comments=20 from forth code). the result is broken forth code inside softcore.c i had to use "holy trinity" (kern.flp, mfsfoot.flp and fixit.flp :), mount harddisk and re-build/re-install loader.=20 > In the meanwhile does anyone know what the problem might be.. > I'm recvsuping (I had to boot off a cdrom) and will recompile the > bootblocks, but some idea of the problem might be nice.. well, you've got my 2 cents, i had several _very_ unplesant hours before i recovered my laptop from the upgrade :) but now everything is fine :) thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 21:40: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 5EB4C37B42B for ; Mon, 31 Dec 2001 21:40:07 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020101054006.CGFC1920.rwcrmhc51.attbi.com@InterJet.elischer.org> for ; Tue, 1 Jan 2002 05:40:06 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA12104 for ; Mon, 31 Dec 2001 21:32:18 -0800 (PST) Date: Mon, 31 Dec 2001 21:32:17 -0800 (PST) From: Julian Elischer To: current@freebsd.org Subject: CVSup vs inttypes.h,v Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG CVSup is refusing to give me a inttypes.h,v in sys/sys I sup from cvsup14 as it's very close. How do I work out where the problem is? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Dec 31 22: 6:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id A058237B426 for ; Mon, 31 Dec 2001 22:06:33 -0800 (PST) Received: from blackbox.pacbell.net ([64.166.84.241]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GP800BL7WYXLJ@mta6.snfc21.pbi.net> for current@freebsd.org; Mon, 31 Dec 2001 22:06:33 -0800 (PST) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.6/8.11.6) id g016IdL42975; Mon, 31 Dec 2001 22:18:39 -0800 (PST envelope-from mikem) Date: Mon, 31 Dec 2001 22:18:38 -0800 From: Mike Makonnen Subject: Re: CVSup vs inttypes.h,v In-reply-to: To: Julian Elischer Cc: current@freebsd.org Message-id: <200201010618.g016IdL42975@blackbox.pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386--freebsd4.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It's been moved to the Attic. From what I can gather most of what was in there was moved to sys/sys/stdint.h and whatever files *it* includes. Cheers, mikem On Mon, 31 Dec 2001 21:32:17 -0800 (PST) Julian Elischer wrote: > > CVSup is refusing to give me a inttypes.h,v in sys/sys > > I sup from cvsup14 as it's very close. > How do I work out where the problem is? > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message