From owner-freebsd-stable Sun Dec 29 2:22:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5264837B401; Sun, 29 Dec 2002 02:22:27 -0800 (PST) Received: from fep2.012.net.il (fep2.goldenlines.net.il [212.117.129.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561C443E4A; Sun, 29 Dec 2002 02:22:25 -0800 (PST) (envelope-from roman@xpert.com) Received: from cerberus.oven.org ([80.178.65.86]) by fep2.012.net.il with ESMTP id <20021229102213.YSBE6190.fep2@cerberus.oven.org>; Sun, 29 Dec 2002 12:22:13 +0200 Received: from alchemy.oven.org (alchemy.oven.org [10.0.1.2]) by cerberus.oven.org (8.12.6/8.12.6) with ESMTP id gBTAQrtn072914; Sun, 29 Dec 2002 12:26:54 +0200 (IST) (envelope-from roman@xpert.com) Received: from alchemy.oven.org (localhost [127.0.0.1]) by alchemy.oven.org (8.12.6/8.12.6) with ESMTP id gBTAM3SB076348; Sun, 29 Dec 2002 12:22:04 +0200 (IST) (envelope-from roman@xpert.com) Received: from localhost (mapc@localhost) by alchemy.oven.org (8.12.6/8.12.6/Submit) with ESMTP id gBTALhZI076343; Sun, 29 Dec 2002 12:21:54 +0200 (IST) X-Authentication-Warning: alchemy.oven.org: mapc owned process doing -bs Date: Sun, 29 Dec 2002 12:21:42 +0200 (IST) From: Roman Shterenzon X-X-Sender: mapc@alchemy.oven.org To: Soeren Schmidt Cc: freebsd-stable@freebsd.org, "" , "" Subject: Re: cdda2wav hangs ATAPI CDR Message-ID: <20021229121403.X76286@alchemy.oven.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello again, How can I help investigate this bug in atapicam? Something interesting happened. I wasn't home for a while, and I didn't reboot the computer since the last time this hang happened. Now, I noticed this in syslog: Dec 29 08:48:10 alchemy /kernel: atapicam0: READ_CD command timeout - resetting Dec 29 08:48:10 alchemy /kernel: ata1: resetting devices .. ad3: DMA limited to UDMA33, non-ATA66 cable or device Dec 29 08:48:10 alchemy /kernel: done Now, the CDR is alive again. So, at least as a workaround, is it possible to trigger atapicam reset manually? Like atacontrol or camcontrol command? Thank you very much in advance, --Roman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Dec 29 3:37:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D478437B401; Sun, 29 Dec 2002 03:37:53 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [62.212.105.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B72243E4A; Sun, 29 Dec 2002 03:37:53 -0800 (PST) (envelope-from thomas@FreeBSD.ORG) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 56BBE2C3D1; Sun, 29 Dec 2002 12:37:46 +0100 (CET) Date: Sun, 29 Dec 2002 12:37:46 +0100 From: Thomas Quinot To: Roman Shterenzon Cc: freebsd-stable@freebsd.org, sos@freebsd.org Subject: Re: cdda2wav hangs ATAPI CDR Message-ID: <20021229113745.GA90892@melusine.cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <20021225212947.O15796@alchemy.oven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021225212947.O15796@alchemy.oven.org> User-Agent: Mutt/1.4i X-message-flag: WARNING! Using Outlook can damage your computer. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le 2002-12-25, Roman Shterenzon écrivait : > 1001 15780 15044 0 -6 0 1528 872 cbwait DL+ p6 0:00.00 cdda2wav -x Hum that looks awfully like a race condition between the CAM layer and the ATAPI code. As a work-around you can try to reinitialize both using 'atacontrol reinit'. If you have no other SCSI devices, it would also be interesting if you could try whether the enclosed patch works around this problem. Thomas. Index: cam_periph.c =================================================================== RCS file: /home/ncvs/src/sys/cam/cam_periph.c,v retrieving revision 1.24.2.2 diff -u -r1.24.2.2 cam_periph.c --- cam_periph.c 22 Sep 2002 07:15:32 -0000 1.24.2.2 +++ cam_periph.c 29 Dec 2002 11:36:36 -0000 @@ -717,7 +717,7 @@ { int s; - s = splsoftcam(); + s = splbio(); if ((ccb->ccb_h.pinfo.index != CAM_UNQUEUED_INDEX) || ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_INPROG)) tsleep(&ccb->ccb_h.cbfcnp, PRIBIO, "cbwait", 0); -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Dec 29 6:37:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E98BA37B401 for ; Sun, 29 Dec 2002 06:37:09 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB2243EC2 for ; Sun, 29 Dec 2002 06:37:08 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id gBTEb5TJ043160; Sun, 29 Dec 2002 17:37:06 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 29 Dec 2002 17:37:05 +0300 (MSK) From: Dmitry Morozovsky To: Scott Penno Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Problems starting init In-Reply-To: <000501c2aef7$aa3636b0$519f31d2@jupiter> Message-ID: <20021229172935.O41406@woozle.rinet.ru> References: <000501c2aef7$aa3636b0$519f31d2@jupiter> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 29 Dec 2002, Scott Penno wrote: SP> Yesterday I grabbed the latest source for -stable, compiled and installed as SP> I've done on a number of occasions in the past. Unfortunately this time SP> things didn't go quite so smoothly. After building world and the kernel, I SP> installed the new kernel and rebooted without a problem, then installed SP> world and ran mergemaster. After rebooting the kernel appears to load OK, SP> but when attempting to start init appears to be stuck in a loop. What I see SP> is: SP> SP> Mounting root from ufs:/dev/ad0s1a SP> ad0s1: type 0xa5, start 63, end = 39102335, size = 39102273 : OK SP> start_init: trying /sbin/init SP> SP> The cursor then changes from high intensity to normal and just sits there. SP> If I press Ctrl-Alt-Del, I see a couple of lines with waiting, syncing disks SP> and the box reboots Any chance you've used wrong CPUTYPE setting? If you have another FreeBSD machine, you may copy /sbin/init from there to floppy, then boot to loader prompt, do set init_path="/bin/sh" and boot (maybe `boot -s' also works, but I'm not sure it does not try to execute init) then do your usual recovery. However, I'm afraid in case of wrong CPUTYPE setting, you'll stuck with the same problem with /bin/sh also... In that case, I'm afraid fixit floppy (or reattaching the drive somewhere else) would be the only solution. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Dec 30 1: 3:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F368B37B401; Mon, 30 Dec 2002 01:03:42 -0800 (PST) Received: from mail.hal-pc.org (mail.hal-pc.org [206.180.145.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E6E543EB2; Mon, 30 Dec 2002 01:03:42 -0800 (PST) (envelope-from anne@geekhome.net) Received: from [206.180.139.236] (HELO geekhome.net) by mail.hal-pc.org (CommuniGate Pro SMTP 3.5.9) with ESMTP id 31060601; Mon, 30 Dec 2002 03:03:31 -0600 Message-ID: <3E100BE3.8070001@geekhome.net> Date: Mon, 30 Dec 2002 03:03:31 -0600 From: Anne Sipes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021107 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vidor Demeter Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Palm 515 setup References: <000b01c28ea9$9b434710$1ba8a8c0@gddsn.eqgd.ac.cn> <20021118100346.GA28529@happy-idiot-talk.infracaninophi> <008801c28f0b$3c111580$0200a8c0@amd1800> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just got mine syncing. I put together this howto: http://www.geekhome.net/palm.html Let me know if you have any problems with it. Vidor Demeter wrote: > Hi all, > > Now I have the next question which is about setting up > a Palm M515... > I have the USBD running but what is the next step, to > get Palm synchronizing with the FreeBSD?? > I need some help... > > TIA > Vidor > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > -- Anne Sipes -- "For an adequate time call 555-3321" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Dec 30 2:50:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C49137B401 for ; Mon, 30 Dec 2002 02:50:25 -0800 (PST) Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A0CB43E4A for ; Mon, 30 Dec 2002 02:50:25 -0800 (PST) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id ED9892029A; Mon, 30 Dec 2002 11:50:47 +0100 (CET) Date: Mon, 30 Dec 2002 11:50:47 +0100 From: Anders Nordby To: stable@FreeBSD.org Subject: Ipcrm cannot remove certain shared memory segments Message-ID: <20021230105047.GA86200@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It seems we still have problems with ipcrm not being able to remove shared memory segments. On a 4.7-STABLE system: # ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME m 29622272 0 --rwarwarwa anders users anders users 2 393216 41265 4112411:25:34 11:25:57 11:25:34 m 30539777 0 --rw-r--r-- root wheel root wheel 1 110592 41124 4126511:32:25 11:32:25 11:32:25 m 7864322 0 --rwarwarwa anders users anders users 1 393216 2372 27122:18:09 23:04:03 22:18:09 m 2949123 0 --rwarwarwa anders users anders users 1 460800 2372 27123:02:21 23:04:03 23:02:21 m 1114116 0 --rwarwarwa anders users anders users 1 112320 2372 27123:02:21 23:04:03 23:02:21 m 655365 0 --rwarwarwa anders users anders users 1 78400 2372 27122:59:51 23:04:03 22:59:51 m 1572870 0 --rwarwarwa anders users anders users 1 37600 2372 27122:59:51 23:04:03 22:59:51 m 393223 0 --rwarwarwa anders users anders users 1 36000 2372 27122:59:51 23:04:03 22:59:51 m 2752520 0 --rwarwarwa anders users anders users 1 112320 2372 27122:59:51 23:04:03 22:59:51 m 131085 0 --rwarwarwa anders users anders users 1 748800 2372 27122:58:59 23:04:03 22:58:59 m 8192015 0 --rwarwarwa anders users anders users 1 748800 2372 27122:58:49 23:04:03 22:58:49 m 8060944 0 --rwarwarwa anders users anders users 1 748800 2372 27122:59:02 23:04:03 22:59:02 (..) Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME # ipcrm -m 1114116 ipcrm: shmid(1114116): : Invalid argument The creating process (CPID = 2372) does of course not exist: # ps axjww -p 2372 USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND The creating process may have been programs running the Linuxulator I suppose, I run a couple of Linux programs. Is anyone with kernel-foo thinking about fixing or looking into this? Cheers, -- Anders. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Dec 30 8: 4: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A433937B401; Mon, 30 Dec 2002 08:03:59 -0800 (PST) Received: from mail.uninterruptible.net (mail.uninterruptible.net [64.146.146.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92F5D43ED1; Mon, 30 Dec 2002 08:03:55 -0800 (PST) (envelope-from kris@catonic.net) Received: from Spaz.Catonic.NET (tnt6-216-180-4-183.dialup.hiwaay.net [216.180.4.183]) by mail.uninterruptible.net (Postfix) with ESMTP id 228D050030; Mon, 30 Dec 2002 16:03:36 +0000 (GMT) Received: by Spaz.Catonic.NET (Postfix, from userid 1002) id 73F773260; Mon, 30 Dec 2002 16:03:33 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by Spaz.Catonic.NET (Postfix) with ESMTP id 6BD574C5D; Mon, 30 Dec 2002 16:03:33 +0000 (GMT) Date: Mon, 30 Dec 2002 16:03:33 +0000 (GMT) From: Kris Kirby To: "Robin P. Blanchard" Cc: stable@freebsd.org, Subject: Re: amr woes In-Reply-To: <1041106124.3e0e04ccebcc2@www.gactr.uga.edu> Message-ID: X-Mailer: !/bin/sh MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 28 Dec 2002, Robin P. Blanchard wrote: > happy christmas... > using kernel sources from christmas day, -STABLE kernel freezes (not > panic) whilst attempting to initialize amr arrays on the following > systems: > > 1) dell 1550 (uni), A07, perc3/DCL ( bios 3.27, fw 1.7[2,4] ) > 2) dell 1550 (smp), A07, perc3/DCL ( bios 3.27, fw 1.7[2,4] ) > 3) dell 2450 (smp), A07, perc2/DC ( bios1p00, fw 1.06 ) > > reverting back to kernel built on 09 november allows system to boot. > > i'd hoped it was a firmware issue when the 1550's didn't come up; but > the flash didn't help. then to find the 2450 also not working... I'm seeing an issue as well -- Abit BP6 [Dual Celeron] and an AMI MegaRAID 466. An older kernel works, but the latest doesn't. I'm cvsuped to sometime last night... I've got an older BIOS. My machine doesn't lock, it just pauses for a moment at the end of the boot sequence and then shows the busy error shown below. Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #0: Sun Dec 29 10:11:09 CST 2002 kris@monster.catonic.net:/usr/src/sys/compile/BEAST Timecounter "i8254" frequency 1193250 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 402653184 (393216K bytes) config> dis pcm config> dis ppc0 config> q avail memory = 385519616 (376484K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 9 IOAPIC #0 intpin 17 -> irq 11 IOAPIC #0 intpin 18 -> irq 10 IOAPIC #0 intpin 19 -> irq 7 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc05e4000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc05e409c. Preloaded elf module "linux.ko" at 0xc05e40ec. Preloaded elf module "agp.ko" at 0xc05e418c. ccd0-3: Concatenated disk drivers VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc0470862 (1000022) VESA: ATI RAGE128 Pentium Pro MTRR support enabled md1: Malloc disk Using $PIR table, 8 entries at 0xc00fdef0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xdfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc000-0xc01f irq 7 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Timecounter "PIIX" frequency 3579545 Hz chip0: port 0x5000-0x500f at device 7.3 on pci0 bktr0: mem 0xed500000-0xed500fff irq 10 at device 11.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 iicbus1: on iicbb0 master-only iicsmb1: on iicbus1 smbus1: on iicsmb1 smb1: on smbus1 iic1: on iicbus1 smbus2: on bti2c0 smb2: on smbus2 bktr0: Hauppauge Model 61381 D123 bktr0: Detected a MSP3430G-A1 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. pci0: (vendor=0x109e, dev=0x0878) at 11.1 irq 10 pcib2: at device 13.0 on pci0 pci2: on pcib2 amr0: mem 0xed000000-0xed3fffff irq 11 at device 13.1 on pci0 amr0: Firmware F.01.03, BIOS B.01.04, 128MB RAM fxp0: port 0xc400-0xc41f mem 0xed400000-0xed4fffff,0xed502000-0xed502fff irq 9 at device 15.0 on pci0 fxp0: Ethernet address 00:20:35:68:79:86 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xc800-0xc83f irq 7 at device 17.0 on pci0 atapci1: port 0xd400-0xd4ff,0xd000-0xd003,0xcc00-0xcc07 irq 10 at device 19.0 on pci0 ata2: at 0xcc00 on atapci1 atapci2: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 10 at device 19.1 on pci0 ata3: at 0xd800 on atapci2 orm0: