Re: noflushd: making/having drives spin down.
On Tue, 2004-01-06 at 18:03, Mike Mestnik wrote: > > I think I am using journalling, as it's a laptop it's more likely to > suddenly loose power. What! My laptop comes with a _built-in_ _UPS_ - only _one_ of the guys in the office with a _desktop_ machine can boast that one, _his_ UPS only runs for 40 minutes or so anyway. And it doesn't come with that handy taskbar monitor applet to warn him it's running low on juice. If you are running low on battery you get plenty of warning to shut down, and you _certainly_ are a lot more resilient to the "toddler yanks plug" problem that my youngest is only recently growing out of. My personal record uptime for my laptop is 79 days (not including time suspended to RAM). That's three months elapsed, and included two international trips, several national ones, and the endless daily back and forth to the office. That also includes plenty of hotplugging of mice, network cards, cameras and hard drives. It stopped when my son pressed the off button. Of course I still do have journalling enabled, but I'm lucky that the Travelstar drives seem to be a lot quieter than whatever it is you have in that Dell. :-) Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Powering the .NZ namespace with Open Source Software - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > If you are running low on battery you get plenty of warning to shut > down, and you _certainly_ are a lot more resilient to the "toddler yanks > plug" problem that my youngest is only recently growing out of. Normally you should also be able to set up so that the laptop goes automatically to sleep when running out of power. With this setting, the only way to actually kill the computer is to let the battery run out, then let the laptop alone for a couple of months until the battery runs so low even "hibernate" dies (it does eventually, on my T420). /Y -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Acer TM 803 and fan noise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > However, I'd be interested to know why you chose cpufreqd over > cpudynd. I use cpudynd but for no particular reason. Is there > anything that makes cpufreqd actually superior? I looked at cpufreqd, cpudyn and powernowd. Powernowd is intentionally limited in its scope, as stated in its README file. Cpudyn only sets the CPU state (powersave or performance), but not the frequency. Also, it does not take into account whether the machine is on mains or on battery. Cpufreqd is very versatile, and at first its configuration looks complex. It really makes sense, though, with its clean separation of profiles and rules. Maybe the fact that Mattia Dongili seems to be Italian helps, too. :^) Thanks for a well done job, Mattia! - -- Nicola Larosa - [EMAIL PROTECTED] "Conventional currencies are built to create competition, and complementary currencies are built to create cooperation and community, and it's important to be aware that both can be available to make our exchanges." -- Bernard Lietaer -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/+p9mXv0hgDImBm4RAmbAAJ9dVtis42yPqDbTLFQC2WRjLkEp8wCgm0oc 33jhrL2NsjRtajxLzrX8a5M= =d7Lh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian, 2.6 kernel and WIFI card on laptop ?
Hi, > Here I have an ACER TM803 laptop running perfectly except one thing: > PCMCIA. > I use a Debian SID GNU/Linux with a vanilla 2.6.0 kernel. All has been > done accordingly to advice I receive here and there. It has support for > PCMCIA devices, Wireless and orinoco support. So I am using a wireless > driver from the kernel since it worked pretty well under 2.4.x for me. > Problem is that when inserting the card, first I don't ear any 'bip' > sound as it used to do. Then the card is no longer able to connect to > the AP (also by linksys). > Have anyone any clue I could follow to (at last) have this working ? Well... I think something is broken. I have a similar setup and my orinoco card doesnt work with 2.6.0 AND acpi. When I insert the card I get the error "Unknow Method: RequestIRQ" on syslog. My "wired" pcmcia 8139 wotks fine. I try the mm2 patch and it works but since it broken other things I give it up. > > P.S: my /etc/init.d/pcmcia script file contains now a 'exit 0' at the > top since I was told that PCMCIA and kernel 2.6.0 was no good. I only > now use hotplug stuff as recommended. Hm... I´m not aware of that. -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br http://wecanstopspam.org Thus spake the master programmer: ``You can demonstrate a program for a corporate executive, but you can't make him computer literate.'' The Tao Of Programing -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Vaio Can't reboot after kernel upgrade
This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 to 2.4.22. Everything went very smoothly, until I rebooted the machine -- at which point it seemed to begin fine, then tried the fsck on /dev/hda4 which holds / . fsck says "bad superblock" and drops into single-user mode with an instruction to fix the problem manually and reboot. Oddly enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so the block device itself isn't visible, even though that's the device that was booted from. My top candidate right now is that the driver for the disk (IDE, I assume) was accidentally left out of the new kernel, or was loaded as a model. Any other suggestions for what the problem might be are welcome. Finally, short of reloading the OS from scratch, any advice on how I might rescue it? Thanks. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 02:44:01PM +1100, Tim Connors wrote: > On Tue, 6 Jan 2004, Micha Feigin wrote: > > > On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote: > > > I have a dell8900 and I can't seam to get the drive to spin down on 2.6.0-test9. > > > The drive makes > > > a noticeable whine that can be heard across the room. I'd like the noise to go > > > away, that is more > > > important than saving battery power for me. > > > > > > I'm using noflushd but it has no effect, I also tried hdtune. > > > > > > > Look at the -M option of hdparm: > > -M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL) > > That'll do no good. > > -M just makes seeks slower. The OP is complaining about the constant whine > of the HD spinning. I would agree with him - my I4000 is really quite > disturbingly loud -- in a room full of computers. > It makes seeks slower in order to make the hard disk quieter (I think it spins slower). > noflushd is the best solution, as long as you don't use journalling > filesystems - although there is currently work in that area (seek google > for "laptop-mode" kernel patches) > I am using laptop mode and its quite good for saving battery power. As for what would prove better for you is a question of your hard disk access habits. laptop-mode (and probably noflushd) delay writes to disk so that it can completely spin down, thus if you only occasionally access the disk for short whiles the -M flag will give you better performance since the hard disk won't have to spin up again each time you access the disk. If you do a lot of short reads then laptop-mode and noflushd will do no good anyway. If you do long reads every once in a while then laptop-mode and noflushd will be a better solution. > Having said that, noflushd induces a bug in the kernel that is a killer > for me - threads become zombied after 43 minutes, eventually filling the > process table: > http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904 > > (gee, that mailing list has a lot of spam) > > > -- > TimC -- http://astronomy.swin.edu.au/staff/tconnors/ > The Klein-Gordon equation was derived by Schroedinger. > Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Mon, Jan 05, 2004 at 09:03:54PM -0800, Mike Mestnik wrote: > I had not yet upgraded to test11. > 2.6.1-rc2 is already out. > , s/hdtune/hdparm/g > > I think I am using journalling, as it's a laptop it's more likely to suddenly loose > power. What > dose this mean for noflushd? Are there any links or bug reports to track? > ext3 writes to disk every 5 sec iirc, reiserfs writes every 30 seconds, and they are bypassing the kernels buffering mechanism so noflushd has no effect on that timing. laptop-mode (present in kernel 2.4.23 btw) patches ext3 to use the bdflush timings. For reiserfs you need to patch it yourself (I wrote a patch for that if you are interested). laptop-mode is not available for 2.6 kernels yet. > --- Tim Connors <[EMAIL PROTECTED]> wrote: > > On Tue, 6 Jan 2004, Micha Feigin wrote: > > > > > On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote: > > > > I have a dell8900 and I can't seam to get the drive to spin down on > > > > 2.6.0-test9. The drive > > makes > > > > a noticeable whine that can be heard across the room. I'd like the noise to > > > > go away, that > > is more > > > > important than saving battery power for me. > > > > > > > > I'm using noflushd but it has no effect, I also tried hdtune. > > > > > > > > > > Look at the -M option of hdparm: > > > -M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL) > > > > That'll do no good. > > > > -M just makes seeks slower. The OP is complaining about the constant whine > > of the HD spinning. I would agree with him - my I4000 is really quite > > disturbingly loud -- in a room full of computers. > > > > noflushd is the best solution, as long as you don't use journalling > > filesystems - although there is currently work in that area (seek google > > for "laptop-mode" kernel patches) > > > > Having said that, noflushd induces a bug in the kernel that is a killer > > for me - threads become zombied after 43 minutes, eventually filling the > > process table: > > http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904 > > > > (gee, that mailing list has a lot of spam) > > > > > > -- > > TimC -- http://astronomy.swin.edu.au/staff/tconnors/ > > The Klein-Gordon equation was derived by Schroedinger. > > Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer. > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > __ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 11:07:35AM +, Yves Rutschle wrote: > On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > > If you are running low on battery you get plenty of warning to shut > > down, and you _certainly_ are a lot more resilient to the "toddler yanks > > plug" problem that my youngest is only recently growing out of. > > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). > That depends on what kind of hibernation you are using. I am using swsusp which means that the laptop is actually completely off when suspended so I can take the power and the battery out, press the power button for 60 secs to empty all capacitors and whatever else you want and then still resume the system (including nfs mounts if there were any) ;-) > /Y > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
subscribe
Re: noflushd: making/having drives spin down.
--- Yves Rutschle <[EMAIL PROTECTED]> wrote: > On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > > If you are running low on battery you get plenty of warning to shut > > down, and you _certainly_ are a lot more resilient to the "toddler yanks > > plug" problem that my youngest is only recently growing out of. > > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). > > /Y > Runn Awayy! I hated laptops thinking for them selves and going to sleep when I wanted to work, this happened in windows. Fact is the solution is sound and has been in use for ages as a so called screen saver. Where the use input devices where monitored for inactivity, not if NSP was going to cut the power due to lack of payments or some other god like force(including small children). Firstly laptops are more likely to loose power due to spending most of there 'useful' lives unplugged. It's much more likely for a battery to die than any of the events mention in my first paragraph. YES, I'd like my laptop to be useful up until the vary moment that electron movement cannot sustain it any longer. It should be as if it where to be used in times of war %199 availability. DISCLAIMER It's unclear however whether some small children do act under the influence of god. It is important to mention that these view points are not shared by all or any one for that matter. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
Hi, On Tuesday 06 January 2004 12:07, Yves Rutschle wrote: > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). uhm .. just to be clear about terminology: are you talking about "suspend-to-ram" or "suspend-to-disk"? Concerning the former, it will take only days at best until your notebook batteries are completely empty, and even this presumes their power level is fairly high when suspending to ram and pulling the plug. At least in my experience.. If you meant "hibernation" as in suspend-to-disk this means roughly that your working memory gets written to disk. Upon resuming the BIOS reads from a special hibernation partition or a hibernation file, writes its contents back to the memory and returns control back to the operating system. There's no way that "hibernate dies" unless you use a hammer to awaken your lappy or Magneto from X-Men is mad about you - because the memory contents are physically manifested on your harddisk. This method's advantage is _exactly_ its independence from having power available or not. Sorry if this is too OT by now. ;) Regards, Frank -- Frank Trenkamp frank at trenkamp dot org GPG fprt: FF9E 9A3A CACB D840 6866 8485 DCB1 98FA 7162 4D9C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Vaio Can't reboot after kernel upgrade
Quoting Andrew Perrin <[EMAIL PROTECTED]>: > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > which holds / . fsck says "bad superblock" and drops into single-user > mode with an instruction to fix the problem manually and reboot. Oddly > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > the block device itself isn't visible, even though that's the device that > was booted from. > try "fsck /dev/hda4". hda is a drive. You can't fsck a drive, only a partition with a filesystem. hda4 is a partition, hopefully with a filesystem still on it. HTH, Jeffrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Vaio Can't reboot after kernel upgrade
Yes, I know - but unfortunately what I was trying to do was "fdisk /dev/hda" -- that is, view the partition table. The fact that /dev/hda was unreadable even at that point is what made me question the drivers. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Tue, 6 Jan 2004, Jeffrey Taylor wrote: > Quoting Andrew Perrin <[EMAIL PROTECTED]>: > > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > > which holds / . fsck says "bad superblock" and drops into single-user > > mode with an instruction to fix the problem manually and reboot. Oddly > > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > > the block device itself isn't visible, even though that's the device that > > was booted from. > > > > try "fsck /dev/hda4". hda is a drive. You can't fsck a drive, only a > partition with a filesystem. hda4 is a partition, hopefully with a > filesystem still on it. > > HTH, > Jeffrey > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 11:57:35AM -0800, Mike Mestnik wrote: > > Normally you should also be able to set up so that the > > laptop goes automatically to sleep when running out of > > power. With this setting, the only way to actually kill > > the computer is to let the battery run out, then let the > > laptop alone for a couple of months until the battery > > runs so low even "hibernate" dies (it does eventually, > > on my T420). > > > Runn Awayy! I hated laptops thinking for them selves and > going to sleep when I wanted to work, this happened in > windows. Fact is the solution is sound and has been in > use for ages as a so called screen saver. Where the use > input devices where monitored for inactivity, not if NSP > was going to cut the power due to lack of payments or some > other god like force(including small children). That's not what I am talking about; I am talking about running _out_ of power, which means your laptop will stop being useful in the next 5 seconds. What is smarter, the laptop shutting down properly and/or hibernating, or just switching off to the risk of losing data? Apparently you prefer the second, I don't. > Firstly laptops are more likely to loose power due to > spending most of there 'useful' lives unplugged. It's > much more likely for a battery to die than any of the > events mention in my first paragraph. You didn't read what I wrote. > YES, I'd like my laptop to be useful up until the vary > moment that electron movement cannot sustain it any > longer. It should be as if it where to be used in times > of war %199 availability. I agree. I don't want my laptop to go to sleep just because I stop typing either. /Y -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cursor Problems, again
Try setting the Software-based Cursor option in /etc/X11/XF86Config-4 . On my laptop, the hardware cursor starts out fine but gets fritzed when the BIOS displays its "LOW BAT" warning. Example: Section "Device" Identifier "Generic Video Card" Driver "ati" Option "SWCursor" EndSection On Sunday 04 January 2004 21:44, Robert C. Thyberg wrote: > I put this on the list at Christmas but got no response. Have tried > the Debian support pages but found no help there. Here goes again! > ;^] > > What: > SONY VAIO F490 > 650Mhz Intel, 18GB HDD > Debian 3.0 rev2 "woody", new install > > Problem: > Can't get arrow shaped cursor in GUI or block in console. > Cursor is a three quarter inch square of vertical lines or hash in > both GUI and in console. . Top left corner of square is the point > which works but is very hard on the eyes. "gpm" is installed > > Square cursor in KDE and GNOME and Konqueror and all GUI stuff. > Same kind of cursor on the console > The GUI desktop peripheral setup is of no help > Computer has built in mouse and I use an external PS/2 mouse. > Either/or both work identically bad!! > Don't think it is a hardware problem. > Have not had this problem with RH 9 or Mandrake 9.0 > > Question: > How to set up mouse with small arrow cursor on either/or both mice?? > How get "gpmconfig" if necessary? Searched not found! > How to get the standard block cursor on the console? > > -- > RCT > W3SR > Annapolis, MD -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: subscribe
You apparently meant to write to '[EMAIL PROTECTED]' but you wrote to '[EMAIL PROTECTED]' instead. According to Bjarne Ursin, > > > -- -- Tony -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Dell 8600 WUXGA (1920x1200, 15.4", NVidia chipset)
Hi, all. [ sorry if you got this twice- I sent it to debian-user first, by mistake :-( ] Just got a good deal on a Dell 8600 with a WUXGA display (1920x1200). Got it running at 1600x1200 with Xandros 1.0 (Debian-based, the former Corel Linux, and apparently what LindowsOS is based on), but trying to get it to the full width. lspci says it has an unknown NVidia chipset... 01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0324 (rev a1) Does anyone know if this chip is handled in the newer kernels (I ran 2.6.0 on my last laptop for a while, but can't seem to get xandros to come up off a customized kernel) or a newer version of XFree86. I've poked around tuxmobil etc, and there's supposed to be a NVidia driver, but it's not clear that it would work with this model, plus I'd rather avoid a proprietary driver (I've not been able to back out installs of proprietary software very well in the past). Any help (experience or speculation) appreciated, especially combos and configs (XF86Config-4 and kernel) known to work on this (a bit too proprietary in retrospect) beast. Oh, I'm running Xandros 1.0 but with a lot of stuff upgraded to debian testing. Any tips for vanilla Debian are also welcome, as I wouldn't mind switching back to that (I'm not getting that much use out of the Xandros added-value stuff, except for eye-candy, which is readily available elsewhere). By the way, Xandros' X startup seems to have a pretty good try-and-fallback startup system for X; I'm trying to figure out how it works. -- Tony -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Vaio Can't reboot after kernel upgrade
Indeed I did - and that was the problem. Thanks - for others who may have rushed headlong into upgrading into devfs, what I did to fix it was to boot to a rescue disk, type "linux root=/dev/hda4" (insert your / partition there), and edit /etc/fstab to use the devfs style devices (e.g., /dev/discs/disc0/part4). ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Tue, 6 Jan 2004, Philip Stubbs wrote: > * Andrew Perrin ([EMAIL PROTECTED]) wrote: > > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > > which holds / . fsck says "bad superblock" and drops into single-user > > mode with an instruction to fix the problem manually and reboot. Oddly > > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > > the block device itself isn't visible, even though that's the device that > > was booted from. > > > > My top candidate right now is that the driver for the disk (IDE, I > > assume) was accidentally left out of the new kernel, or was loaded as a > > model. Any other suggestions for what the problem might be are welcome. > > Finally, short of reloading the OS from scratch, any advice on how I might > > rescue it? > > Have you enabled Devfs in the new kernel? I did this, and I had to > reboot with an old kernel, and recompile, with devfs turned off. > > -- > ,''`. Philip Stubbs > : :' ; > `. `' > `- > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: noflushd: making/having drives spin down.
On Tue, 2004-01-06 at 18:03, Mike Mestnik wrote: > > I think I am using journalling, as it's a laptop it's more likely to > suddenly loose power. What! My laptop comes with a _built-in_ _UPS_ - only _one_ of the guys in the office with a _desktop_ machine can boast that one, _his_ UPS only runs for 40 minutes or so anyway. And it doesn't come with that handy taskbar monitor applet to warn him it's running low on juice. If you are running low on battery you get plenty of warning to shut down, and you _certainly_ are a lot more resilient to the "toddler yanks plug" problem that my youngest is only recently growing out of. My personal record uptime for my laptop is 79 days (not including time suspended to RAM). That's three months elapsed, and included two international trips, several national ones, and the endless daily back and forth to the office. That also includes plenty of hotplugging of mice, network cards, cameras and hard drives. It stopped when my son pressed the off button. Of course I still do have journalling enabled, but I'm lucky that the Travelstar drives seem to be a lot quieter than whatever it is you have in that Dell. :-) Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Powering the .NZ namespace with Open Source Software -
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > If you are running low on battery you get plenty of warning to shut > down, and you _certainly_ are a lot more resilient to the "toddler yanks > plug" problem that my youngest is only recently growing out of. Normally you should also be able to set up so that the laptop goes automatically to sleep when running out of power. With this setting, the only way to actually kill the computer is to let the battery run out, then let the laptop alone for a couple of months until the battery runs so low even "hibernate" dies (it does eventually, on my T420). /Y
Re: Acer TM 803 and fan noise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > However, I'd be interested to know why you chose cpufreqd over > cpudynd. I use cpudynd but for no particular reason. Is there > anything that makes cpufreqd actually superior? I looked at cpufreqd, cpudyn and powernowd. Powernowd is intentionally limited in its scope, as stated in its README file. Cpudyn only sets the CPU state (powersave or performance), but not the frequency. Also, it does not take into account whether the machine is on mains or on battery. Cpufreqd is very versatile, and at first its configuration looks complex. It really makes sense, though, with its clean separation of profiles and rules. Maybe the fact that Mattia Dongili seems to be Italian helps, too. :^) Thanks for a well done job, Mattia! - -- Nicola Larosa - [EMAIL PROTECTED] "Conventional currencies are built to create competition, and complementary currencies are built to create cooperation and community, and it's important to be aware that both can be available to make our exchanges." -- Bernard Lietaer -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/+p9mXv0hgDImBm4RAmbAAJ9dVtis42yPqDbTLFQC2WRjLkEp8wCgm0oc 33jhrL2NsjRtajxLzrX8a5M= =d7Lh -END PGP SIGNATURE-
Re: Debian, 2.6 kernel and WIFI card on laptop ?
Hi, > Here I have an ACER TM803 laptop running perfectly except one thing: > PCMCIA. > I use a Debian SID GNU/Linux with a vanilla 2.6.0 kernel. All has been > done accordingly to advice I receive here and there. It has support for > PCMCIA devices, Wireless and orinoco support. So I am using a wireless > driver from the kernel since it worked pretty well under 2.4.x for me. > Problem is that when inserting the card, first I don't ear any 'bip' > sound as it used to do. Then the card is no longer able to connect to > the AP (also by linksys). > Have anyone any clue I could follow to (at last) have this working ? Well... I think something is broken. I have a similar setup and my orinoco card doesnt work with 2.6.0 AND acpi. When I insert the card I get the error "Unknow Method: RequestIRQ" on syslog. My "wired" pcmcia 8139 wotks fine. I try the mm2 patch and it works but since it broken other things I give it up. > > P.S: my /etc/init.d/pcmcia script file contains now a 'exit 0' at the > top since I was told that PCMCIA and kernel 2.6.0 was no good. I only > now use hotplug stuff as recommended. Hm... I´m not aware of that. -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br http://wecanstopspam.org Thus spake the master programmer: ``You can demonstrate a program for a corporate executive, but you can't make him computer literate.'' The Tao Of Programing
Vaio Can't reboot after kernel upgrade
This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 to 2.4.22. Everything went very smoothly, until I rebooted the machine -- at which point it seemed to begin fine, then tried the fsck on /dev/hda4 which holds / . fsck says "bad superblock" and drops into single-user mode with an instruction to fix the problem manually and reboot. Oddly enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so the block device itself isn't visible, even though that's the device that was booted from. My top candidate right now is that the driver for the disk (IDE, I assume) was accidentally left out of the new kernel, or was loaded as a model. Any other suggestions for what the problem might be are welcome. Finally, short of reloading the OS from scratch, any advice on how I might rescue it? Thanks. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 02:44:01PM +1100, Tim Connors wrote: > On Tue, 6 Jan 2004, Micha Feigin wrote: > > > On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote: > > > I have a dell8900 and I can't seam to get the drive to spin down on > > > 2.6.0-test9. The drive makes > > > a noticeable whine that can be heard across the room. I'd like the noise > > > to go away, that is more > > > important than saving battery power for me. > > > > > > I'm using noflushd but it has no effect, I also tried hdtune. > > > > > > > Look at the -M option of hdparm: > > -M get/set acoustic management (0-254, 128: quiet, 254: fast) > > (EXPERIMENTAL) > > That'll do no good. > > -M just makes seeks slower. The OP is complaining about the constant whine > of the HD spinning. I would agree with him - my I4000 is really quite > disturbingly loud -- in a room full of computers. > It makes seeks slower in order to make the hard disk quieter (I think it spins slower). > noflushd is the best solution, as long as you don't use journalling > filesystems - although there is currently work in that area (seek google > for "laptop-mode" kernel patches) > I am using laptop mode and its quite good for saving battery power. As for what would prove better for you is a question of your hard disk access habits. laptop-mode (and probably noflushd) delay writes to disk so that it can completely spin down, thus if you only occasionally access the disk for short whiles the -M flag will give you better performance since the hard disk won't have to spin up again each time you access the disk. If you do a lot of short reads then laptop-mode and noflushd will do no good anyway. If you do long reads every once in a while then laptop-mode and noflushd will be a better solution. > Having said that, noflushd induces a bug in the kernel that is a killer > for me - threads become zombied after 43 minutes, eventually filling the > process table: > http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904 > > (gee, that mailing list has a lot of spam) > > > -- > TimC -- http://astronomy.swin.edu.au/staff/tconnors/ > The Klein-Gordon equation was derived by Schroedinger. > Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: noflushd: making/having drives spin down.
On Mon, Jan 05, 2004 at 09:03:54PM -0800, Mike Mestnik wrote: > I had not yet upgraded to test11. > 2.6.1-rc2 is already out. > , s/hdtune/hdparm/g > > I think I am using journalling, as it's a laptop it's more likely to suddenly > loose power. What > dose this mean for noflushd? Are there any links or bug reports to track? > ext3 writes to disk every 5 sec iirc, reiserfs writes every 30 seconds, and they are bypassing the kernels buffering mechanism so noflushd has no effect on that timing. laptop-mode (present in kernel 2.4.23 btw) patches ext3 to use the bdflush timings. For reiserfs you need to patch it yourself (I wrote a patch for that if you are interested). laptop-mode is not available for 2.6 kernels yet. > --- Tim Connors <[EMAIL PROTECTED]> wrote: > > On Tue, 6 Jan 2004, Micha Feigin wrote: > > > > > On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote: > > > > I have a dell8900 and I can't seam to get the drive to spin down on > > > > 2.6.0-test9. The drive > > makes > > > > a noticeable whine that can be heard across the room. I'd like the > > > > noise to go away, that > > is more > > > > important than saving battery power for me. > > > > > > > > I'm using noflushd but it has no effect, I also tried hdtune. > > > > > > > > > > Look at the -M option of hdparm: > > > -M get/set acoustic management (0-254, 128: quiet, 254: fast) > > > (EXPERIMENTAL) > > > > That'll do no good. > > > > -M just makes seeks slower. The OP is complaining about the constant whine > > of the HD spinning. I would agree with him - my I4000 is really quite > > disturbingly loud -- in a room full of computers. > > > > noflushd is the best solution, as long as you don't use journalling > > filesystems - although there is currently work in that area (seek google > > for "laptop-mode" kernel patches) > > > > Having said that, noflushd induces a bug in the kernel that is a killer > > for me - threads become zombied after 43 minutes, eventually filling the > > process table: > > http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904 > > > > (gee, that mailing list has a lot of spam) > > > > > > -- > > TimC -- http://astronomy.swin.edu.au/staff/tconnors/ > > The Klein-Gordon equation was derived by Schroedinger. > > Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer. > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > __ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 11:07:35AM +, Yves Rutschle wrote: > On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > > If you are running low on battery you get plenty of warning to shut > > down, and you _certainly_ are a lot more resilient to the "toddler yanks > > plug" problem that my youngest is only recently growing out of. > > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). > That depends on what kind of hibernation you are using. I am using swsusp which means that the laptop is actually completely off when suspended so I can take the power and the battery out, press the power button for 60 secs to empty all capacitors and whatever else you want and then still resume the system (including nfs mounts if there were any) ;-) > /Y > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: noflushd: making/having drives spin down.
--- Yves Rutschle <[EMAIL PROTECTED]> wrote: > On Tue, Jan 06, 2004 at 10:40:08PM +1300, Andrew McMillan wrote: > > If you are running low on battery you get plenty of warning to shut > > down, and you _certainly_ are a lot more resilient to the "toddler yanks > > plug" problem that my youngest is only recently growing out of. > > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). > > /Y > Runn Awayy! I hated laptops thinking for them selves and going to sleep when I wanted to work, this happened in windows. Fact is the solution is sound and has been in use for ages as a so called screen saver. Where the use input devices where monitored for inactivity, not if NSP was going to cut the power due to lack of payments or some other god like force(including small children). Firstly laptops are more likely to loose power due to spending most of there 'useful' lives unplugged. It's much more likely for a battery to die than any of the events mention in my first paragraph. YES, I'd like my laptop to be useful up until the vary moment that electron movement cannot sustain it any longer. It should be as if it where to be used in times of war %199 availability. DISCLAIMER It's unclear however whether some small children do act under the influence of god. It is important to mention that these view points are not shared by all or any one for that matter. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
Re: Vaio Can't reboot after kernel upgrade
Quoting Andrew Perrin <[EMAIL PROTECTED]>: > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > which holds / . fsck says "bad superblock" and drops into single-user > mode with an instruction to fix the problem manually and reboot. Oddly > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > the block device itself isn't visible, even though that's the device that > was booted from. > try "fsck /dev/hda4". hda is a drive. You can't fsck a drive, only a partition with a filesystem. hda4 is a partition, hopefully with a filesystem still on it. HTH, Jeffrey
subscribe
Re: Vaio Can't reboot after kernel upgrade
Yes, I know - but unfortunately what I was trying to do was "fdisk /dev/hda" -- that is, view the partition table. The fact that /dev/hda was unreadable even at that point is what made me question the drivers. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Tue, 6 Jan 2004, Jeffrey Taylor wrote: > Quoting Andrew Perrin <[EMAIL PROTECTED]>: > > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > > which holds / . fsck says "bad superblock" and drops into single-user > > mode with an instruction to fix the problem manually and reboot. Oddly > > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > > the block device itself isn't visible, even though that's the device that > > was booted from. > > > > try "fsck /dev/hda4". hda is a drive. You can't fsck a drive, only a > partition with a filesystem. hda4 is a partition, hopefully with a > filesystem still on it. > > HTH, > Jeffrey > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Re: noflushd: making/having drives spin down.
Hi, On Tuesday 06 January 2004 12:07, Yves Rutschle wrote: > Normally you should also be able to set up so that the > laptop goes automatically to sleep when running out of > power. With this setting, the only way to actually kill the > computer is to let the battery run out, then let the laptop > alone for a couple of months until the battery runs so low > even "hibernate" dies (it does eventually, on my T420). uhm .. just to be clear about terminology: are you talking about "suspend-to-ram" or "suspend-to-disk"? Concerning the former, it will take only days at best until your notebook batteries are completely empty, and even this presumes their power level is fairly high when suspending to ram and pulling the plug. At least in my experience.. If you meant "hibernation" as in suspend-to-disk this means roughly that your working memory gets written to disk. Upon resuming the BIOS reads from a special hibernation partition or a hibernation file, writes its contents back to the memory and returns control back to the operating system. There's no way that "hibernate dies" unless you use a hammer to awaken your lappy or Magneto from X-Men is mad about you - because the memory contents are physically manifested on your harddisk. This method's advantage is _exactly_ its independence from having power available or not. Sorry if this is too OT by now. ;) Regards, Frank -- Frank Trenkamp frank at trenkamp dot org GPG fprt: FF9E 9A3A CACB D840 6866 8485 DCB1 98FA 7162 4D9C
Re: noflushd: making/having drives spin down.
On Tue, Jan 06, 2004 at 11:57:35AM -0800, Mike Mestnik wrote: > > Normally you should also be able to set up so that the > > laptop goes automatically to sleep when running out of > > power. With this setting, the only way to actually kill > > the computer is to let the battery run out, then let the > > laptop alone for a couple of months until the battery > > runs so low even "hibernate" dies (it does eventually, > > on my T420). > > > Runn Awayy! I hated laptops thinking for them selves and > going to sleep when I wanted to work, this happened in > windows. Fact is the solution is sound and has been in > use for ages as a so called screen saver. Where the use > input devices where monitored for inactivity, not if NSP > was going to cut the power due to lack of payments or some > other god like force(including small children). That's not what I am talking about; I am talking about running _out_ of power, which means your laptop will stop being useful in the next 5 seconds. What is smarter, the laptop shutting down properly and/or hibernating, or just switching off to the risk of losing data? Apparently you prefer the second, I don't. > Firstly laptops are more likely to loose power due to > spending most of there 'useful' lives unplugged. It's > much more likely for a battery to die than any of the > events mention in my first paragraph. You didn't read what I wrote. > YES, I'd like my laptop to be useful up until the vary > moment that electron movement cannot sustain it any > longer. It should be as if it where to be used in times > of war %199 availability. I agree. I don't want my laptop to go to sleep just because I stop typing either. /Y
Re: Cursor Problems, again
Try setting the Software-based Cursor option in /etc/X11/XF86Config-4 . On my laptop, the hardware cursor starts out fine but gets fritzed when the BIOS displays its "LOW BAT" warning. Example: Section "Device" Identifier "Generic Video Card" Driver "ati" Option "SWCursor" EndSection On Sunday 04 January 2004 21:44, Robert C. Thyberg wrote: > I put this on the list at Christmas but got no response. Have tried > the Debian support pages but found no help there. Here goes again! > ;^] > > What: > SONY VAIO F490 > 650Mhz Intel, 18GB HDD > Debian 3.0 rev2 "woody", new install > > Problem: > Can't get arrow shaped cursor in GUI or block in console. > Cursor is a three quarter inch square of vertical lines or hash in > both GUI and in console. . Top left corner of square is the point > which works but is very hard on the eyes. "gpm" is installed > > Square cursor in KDE and GNOME and Konqueror and all GUI stuff. > Same kind of cursor on the console > The GUI desktop peripheral setup is of no help > Computer has built in mouse and I use an external PS/2 mouse. > Either/or both work identically bad!! > Don't think it is a hardware problem. > Have not had this problem with RH 9 or Mandrake 9.0 > > Question: > How to set up mouse with small arrow cursor on either/or both mice?? > How get "gpmconfig" if necessary? Searched not found! > How to get the standard block cursor on the console? > > -- > RCT > W3SR > Annapolis, MD
Re: subscribe
You apparently meant to write to '[EMAIL PROTECTED]' but you wrote to 'debian-laptop@lists.debian.org' instead. According to Bjarne Ursin, > > > -- -- Tony
Dell 8600 WUXGA (1920x1200, 15.4", NVidia chipset)
Hi, all. [ sorry if you got this twice- I sent it to debian-user first, by mistake :-( ] Just got a good deal on a Dell 8600 with a WUXGA display (1920x1200). Got it running at 1600x1200 with Xandros 1.0 (Debian-based, the former Corel Linux, and apparently what LindowsOS is based on), but trying to get it to the full width. lspci says it has an unknown NVidia chipset... 01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0324 (rev a1) Does anyone know if this chip is handled in the newer kernels (I ran 2.6.0 on my last laptop for a while, but can't seem to get xandros to come up off a customized kernel) or a newer version of XFree86. I've poked around tuxmobil etc, and there's supposed to be a NVidia driver, but it's not clear that it would work with this model, plus I'd rather avoid a proprietary driver (I've not been able to back out installs of proprietary software very well in the past). Any help (experience or speculation) appreciated, especially combos and configs (XF86Config-4 and kernel) known to work on this (a bit too proprietary in retrospect) beast. Oh, I'm running Xandros 1.0 but with a lot of stuff upgraded to debian testing. Any tips for vanilla Debian are also welcome, as I wouldn't mind switching back to that (I'm not getting that much use out of the Xandros added-value stuff, except for eye-candy, which is readily available elsewhere). By the way, Xandros' X startup seems to have a pretty good try-and-fallback startup system for X; I'm trying to figure out how it works. -- Tony
Re: Vaio Can't reboot after kernel upgrade
Indeed I did - and that was the problem. Thanks - for others who may have rushed headlong into upgrading into devfs, what I did to fix it was to boot to a rescue disk, type "linux root=/dev/hda4" (insert your / partition there), and edit /etc/fstab to use the devfs style devices (e.g., /dev/discs/disc0/part4). ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Tue, 6 Jan 2004, Philip Stubbs wrote: > * Andrew Perrin ([EMAIL PROTECTED]) wrote: > > This morning I upgraded the kernel on my Sony Vaio PCG-Z505HS from 2.4.20 > > to 2.4.22. Everything went very smoothly, until I rebooted the machine -- > > at which point it seemed to begin fine, then tried the fsck on /dev/hda4 > > which holds / . fsck says "bad superblock" and drops into single-user > > mode with an instruction to fix the problem manually and reboot. Oddly > > enough, though, even fdisk /dev/hda says "Unable to open /dev/hda" -- so > > the block device itself isn't visible, even though that's the device that > > was booted from. > > > > My top candidate right now is that the driver for the disk (IDE, I > > assume) was accidentally left out of the new kernel, or was loaded as a > > model. Any other suggestions for what the problem might be are welcome. > > Finally, short of reloading the OS from scratch, any advice on how I might > > rescue it? > > Have you enabled Devfs in the new kernel? I did this, and I had to > reboot with an old kernel, and recompile, with devfs turned off. > > -- > ,''`. Philip Stubbs > : :' ; > `. `' > `- >