Re: Thinkpad t61p

2008-02-06 Thread Jon Leonard
On Wed, Feb 06, 2008 at 06:48:56PM -0800, Baz wrote:
> Anyone have Debian (Etch, Lenny, Sid) running on this relatively new
> Thinkpad?  Sebastian

That's what I'm using right now now (Stable on my T61p).

It took me a while to build up the courage to replace the bootloader,
since GRUB will break the windows reinstall stuff.  Well, it still
works, but as a GRUB menu item instead of with the ThinkVantage button.

Getting the wireless working required some extra stuff:
apt-get install firmware-ipw3945
apt-get install ipw3945d
I had to rebuild the modules (ipw3945-modules-2.6.18-5-686) because they
don't seem to be updated for the most recent security-patched kernel.
Not a big deal, though.

I don't have sound working, mostly because I haven't bothered yet.

The standard reference for such things is ThinkWiki:
http://thinkwiki.org/wiki/ThinkWiki

I'm pretty happy with it;  It's a worthy replacement for my trusty old A21p.

Jon Leonard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Linksys EtherFast 10/100 CardBus PC Card (PCMCIA)

2001-03-03 Thread Jon Leonard
On Sat, Mar 03, 2001 at 09:45:44AM +, Paul Clark wrote:
> Can anyone tell me if the Potato tulip.c driver should work with
> this card?

Depends:  I have two of these.  One works, the other doesn't.

The v2 version of the card (it should say on the back) works with the last
several versions of pcmcia-cs, and possibly older than that.  The v3 card
presumably needs a newer tulip.c, which I haven't found/tried yet.  (One
of the other replies has a pointer.  I'll be downloading it shortly.)

> The Linksys support site seems to suggest I need to compile a new
> driver. Then points to detailed instructions for RPM.

Back when the v2 card was newer, I just copied the new tulip.c into the
pcmcia-cs source and built it.  The v3 build may be as easy.

Jon Leonard



Re: Rage Mobility

2001-05-11 Thread Jon Leonard
On Thu, May 10, 2001 at 06:27:48PM -0400, Alan Shutko wrote:
> "Matt Reynolds" <[EMAIL PROTECTED]> writes:
> 
> > I have a IBM Laptop (A21P) with an ATI Mobility M3 (rev2, agp 2x, 16MB)
> > card, and I'm having trouble with X.
> 
> Start by looking at Linux on IBM ThinkPad A20p
> http://www.zhlive.ch/zhl_contents_linux.html>.  It's the same
> video chipset, though I think a different screen.  After that, check
> out Linux on Laptops
> http://www.cs.utexas.edu/users/kharker/linux-laptop/>.  See if
> anyone has posted anything for the A21p.
> 
> You will need to use XF 4.0.2 or 4.0.3, btw.  But check out the above
> sites for detailed information.

I'm running XF 4.0.2 on my A21p (right now!), and it (about 99%) works.
I got my configuration from http://www.slimy.com/~pixel/a21p.html
(A friend's page).  My very similar notes are at:
http://slimy.com/~jleonard/config/index.html

Getting the FB console working was an important first step, complicated by the
fact that vga=ask doesn't accept the 885 mode, but that vga=885 in lilo.conf
does work.

Jon Leonard



Re: laptop freeze [siemens nixdorf - mobile 500]

2001-05-12 Thread Jon Leonard
On Sat, May 12, 2001 at 12:53:37PM +0200, Joachim Schiele wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> when i plug the powercable into the laptop and start it it's running quite 
> nice but when i use the batteries only it freezes up very short after boot-up.
> for example while it's starting samba. i'm only able then to turn off power 
> and reboot and i never got it completely running with batteries :P
> i only can use it under linux with the powercalbe plugged.
> 
> does someone have the same problem?

I have a laptop that's prone to freezing, but I'm pretty sure mine's a
hardware problem -- It's better if I refrigerate it before booting it, which
would imply a loose connection somewhere.

But it's more likely that your kernel & bios disagree about power settings.
You might try compiling the kernel with APM support (or turn it off if it's
on), and also try turning off power-saving features in the BIOS.

Jon Leonard



Re: Compact Flash card problem

2001-06-12 Thread Jon Leonard
On Tue, Jun 12, 2001 at 04:38:34PM +0800, Alex Kwan wrote:
> Hi!
> 
> I am using a 64MB CF card  with a PCMCIA adapter
> in my notebook, the read and write is o.k., but when
> insert this card will have following error message:
> hdc: SanDisk SDCFB-64, ATA DISK DRIVE
> ide1 at 0x100-0x107,0x10e on irq 9
> hdc: drive_cmd:status=0x51 {DriveReady Seek Complete Error}
> hdc: drive_cmd:error=0x04

Mine does the same thing, and it's harmless.

As I understand it, the device claims to be an IDE drive.
Linux assumes that a removable IDE drive will be a CDROM drive, and
tells it to close/lock the drive door.  Not having a drive door, it
complains. 

> What is the reason and how to fix it?

Presumably the appropriate code (I'm not sure if it's pcmcia-cs or kernel)
needs to be told how to distinguish between devices with & without doors,
and not try if the door isn't there.

A side note:  I've had some trouble after unmounting and ejecting my CF
card, in that Linux complains about a lost interrupt.  This tends to cause
filesystem corruption as well, so I recommend the workaround of only
removing the card when the laptop is powered off.

Jon Leonard



Re: Compact Flash card problem

2001-06-12 Thread Jon Leonard
On Tue, Jun 12, 2001 at 03:57:16PM -0700, Heather wrote:
[snip]
> > A side note:  I've had some trouble after unmounting and ejecting my CF
> > card, in that Linux complains about a lost interrupt.  This tends to cause
> > filesystem corruption as well, so I recommend the workaround of only
> > removing the card when the laptop is powered off.
> 
> If you have any hot-swappable item with a filesystem, you should always
> sync and umount it before powering it off, and eject it only when powered
> off.  The card, that is - powering down the whole laptop is overkill.

I'd think so, yes.  But I had the following sequence once:
do stuff with mounted CF card
sync
umount CF filesystem
cardctl eject (here Linux complains about interrupt loss)
remove card
halt
on reboot, main ("/") FS is corrupted.

My best guess is that some kernel data structures are/were shared between
the ide of the main HD and the ide of the CF card, and removing the CF
card confused the drivers in a way that looked like a hardware failure.

The reason I power off the laptop is that that guarantees that Linux isn't
doing anything with it right then.  :-)  That, and my usage habits are such
that waiting until the next powerdown to remove the card isn't a big deal.

I may have buggy hardware too, for that matter.

> In theory, umount syncs the filesystem.  And also in theory powering off
> a card (by means of 'cardctl eject') would umount whatever filesystem is
> on it.  But in practice I once saw a PCMCIA connected drive (was it a 
> type III? I forget) wedge when it was powered off, because it didn't want
> to umount fast enough.  I hope pcmcia code has gotten better since those
> bad ol' days, but direct experience like that makes me nervous.  So I
> understand why Jon is nervous about getting an fs mangled.

It wasn't so bad in this particular case, since all I needed to do was
rebuild some config files that were eaten on fsck.  But it was repeatable,
and I don't particularly enjoy running fsck.  That, and I've had some bad
fsck experiences.  Once I got the "this doesn't look like an ext2 fs"
message, and a long time ago (on Amiga SVR4 1.1 - not Linux) had to
reinstall, because fsck ate /etc/passwd (and recovery wasn't implemented).

Jon Leonard



Re: Linksys EtherFast 10/100 CardBus PC Card (PCMCIA)

2001-03-03 Thread Jon Leonard

On Sat, Mar 03, 2001 at 09:45:44AM +, Paul Clark wrote:
> Can anyone tell me if the Potato tulip.c driver should work with
> this card?

Depends:  I have two of these.  One works, the other doesn't.

The v2 version of the card (it should say on the back) works with the last
several versions of pcmcia-cs, and possibly older than that.  The v3 card
presumably needs a newer tulip.c, which I haven't found/tried yet.  (One
of the other replies has a pointer.  I'll be downloading it shortly.)

> The Linksys support site seems to suggest I need to compile a new
> driver. Then points to detailed instructions for RPM.

Back when the v2 card was newer, I just copied the new tulip.c into the
pcmcia-cs source and built it.  The v3 build may be as easy.

Jon Leonard


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Rage Mobility

2001-05-10 Thread Jon Leonard

On Thu, May 10, 2001 at 06:27:48PM -0400, Alan Shutko wrote:
> "Matt Reynolds" <[EMAIL PROTECTED]> writes:
> 
> > I have a IBM Laptop (A21P) with an ATI Mobility M3 (rev2, agp 2x, 16MB)
> > card, and I'm having trouble with X.
> 
> Start by looking at Linux on IBM ThinkPad A20p
> http://www.zhlive.ch/zhl_contents_linux.html>.  It's the same
> video chipset, though I think a different screen.  After that, check
> out Linux on Laptops
> http://www.cs.utexas.edu/users/kharker/linux-laptop/>.  See if
> anyone has posted anything for the A21p.
> 
> You will need to use XF 4.0.2 or 4.0.3, btw.  But check out the above
> sites for detailed information.

I'm running XF 4.0.2 on my A21p (right now!), and it (about 99%) works.
I got my configuration from http://www.slimy.com/~pixel/a21p.html
(A friend's page).  My very similar notes are at:
http://slimy.com/~jleonard/config/index.html

Getting the FB console working was an important first step, complicated by the
fact that vga=ask doesn't accept the 885 mode, but that vga=885 in lilo.conf
does work.

Jon Leonard


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: laptop freeze [siemens nixdorf - mobile 500]

2001-05-12 Thread Jon Leonard

On Sat, May 12, 2001 at 12:53:37PM +0200, Joachim Schiele wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> when i plug the powercable into the laptop and start it it's running quite 
> nice but when i use the batteries only it freezes up very short after boot-up.
> for example while it's starting samba. i'm only able then to turn off power 
> and reboot and i never got it completely running with batteries :P
> i only can use it under linux with the powercalbe plugged.
> 
> does someone have the same problem?

I have a laptop that's prone to freezing, but I'm pretty sure mine's a
hardware problem -- It's better if I refrigerate it before booting it, which
would imply a loose connection somewhere.

But it's more likely that your kernel & bios disagree about power settings.
You might try compiling the kernel with APM support (or turn it off if it's
on), and also try turning off power-saving features in the BIOS.

Jon Leonard


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Compact Flash card problem

2001-06-12 Thread Jon Leonard

On Tue, Jun 12, 2001 at 04:38:34PM +0800, Alex Kwan wrote:
> Hi!
> 
> I am using a 64MB CF card  with a PCMCIA adapter
> in my notebook, the read and write is o.k., but when
> insert this card will have following error message:
> hdc: SanDisk SDCFB-64, ATA DISK DRIVE
> ide1 at 0x100-0x107,0x10e on irq 9
> hdc: drive_cmd:status=0x51 {DriveReady Seek Complete Error}
> hdc: drive_cmd:error=0x04

Mine does the same thing, and it's harmless.

As I understand it, the device claims to be an IDE drive.
Linux assumes that a removable IDE drive will be a CDROM drive, and
tells it to close/lock the drive door.  Not having a drive door, it
complains. 

> What is the reason and how to fix it?

Presumably the appropriate code (I'm not sure if it's pcmcia-cs or kernel)
needs to be told how to distinguish between devices with & without doors,
and not try if the door isn't there.

A side note:  I've had some trouble after unmounting and ejecting my CF
card, in that Linux complains about a lost interrupt.  This tends to cause
filesystem corruption as well, so I recommend the workaround of only
removing the card when the laptop is powered off.

Jon Leonard


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Compact Flash card problem

2001-06-12 Thread Jon Leonard

On Tue, Jun 12, 2001 at 03:57:16PM -0700, Heather wrote:
[snip]
> > A side note:  I've had some trouble after unmounting and ejecting my CF
> > card, in that Linux complains about a lost interrupt.  This tends to cause
> > filesystem corruption as well, so I recommend the workaround of only
> > removing the card when the laptop is powered off.
> 
> If you have any hot-swappable item with a filesystem, you should always
> sync and umount it before powering it off, and eject it only when powered
> off.  The card, that is - powering down the whole laptop is overkill.

I'd think so, yes.  But I had the following sequence once:
do stuff with mounted CF card
sync
umount CF filesystem
cardctl eject (here Linux complains about interrupt loss)
remove card
halt
on reboot, main ("/") FS is corrupted.

My best guess is that some kernel data structures are/were shared between
the ide of the main HD and the ide of the CF card, and removing the CF
card confused the drivers in a way that looked like a hardware failure.

The reason I power off the laptop is that that guarantees that Linux isn't
doing anything with it right then.  :-)  That, and my usage habits are such
that waiting until the next powerdown to remove the card isn't a big deal.

I may have buggy hardware too, for that matter.

> In theory, umount syncs the filesystem.  And also in theory powering off
> a card (by means of 'cardctl eject') would umount whatever filesystem is
> on it.  But in practice I once saw a PCMCIA connected drive (was it a 
> type III? I forget) wedge when it was powered off, because it didn't want
> to umount fast enough.  I hope pcmcia code has gotten better since those
> bad ol' days, but direct experience like that makes me nervous.  So I
> understand why Jon is nervous about getting an fs mangled.

It wasn't so bad in this particular case, since all I needed to do was
rebuild some config files that were eaten on fsck.  But it was repeatable,
and I don't particularly enjoy running fsck.  That, and I've had some bad
fsck experiences.  Once I got the "this doesn't look like an ext2 fs"
message, and a long time ago (on Amiga SVR4 1.1 - not Linux) had to
reinstall, because fsck ate /etc/passwd (and recovery wasn't implemented).

Jon Leonard


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: LAN help requested

2002-06-10 Thread Jon Leonard
On Mon, Jun 10, 2002 at 03:51:17PM -0700, Mail User wrote:
> I'm having trouble setting up an ethernet, I have two
> laptop comuters that i would like to network with the
> help of an older desktop computer that would act as a
> file server and gateway/firewall to the internet.  I
> understand the theory of how this works pretty well,
> but in practice i don't get very far.  My main problem
> now is getting the
> network itself setup so that the hosts can ping each
> other. I can't even ping between the two little
> computers with just the ethernet cable between them, so
> the server isn't really a part of this problem.

Are you using a crossover cable or a hub?  An ordinary straight-through
ethernet cable won't work for that.

[ sensible net 10 network settings ]
> Now according to the network administrators guide, I
> should add a route entry; so i do this "route add -host
> 10.0.0.3" to which i get the error code:
> SIOCADDRT: No such device.

You shouldn't need to add a route for a host that's on the same network
anyway.

Jon Leonard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LAN help requested

2002-06-10 Thread Jon Leonard

On Mon, Jun 10, 2002 at 03:51:17PM -0700, Mail User wrote:
> I'm having trouble setting up an ethernet, I have two
> laptop comuters that i would like to network with the
> help of an older desktop computer that would act as a
> file server and gateway/firewall to the internet.  I
> understand the theory of how this works pretty well,
> but in practice i don't get very far.  My main problem
> now is getting the
> network itself setup so that the hosts can ping each
> other. I can't even ping between the two little
> computers with just the ethernet cable between them, so
> the server isn't really a part of this problem.

Are you using a crossover cable or a hub?  An ordinary straight-through
ethernet cable won't work for that.

[ sensible net 10 network settings ]
> Now according to the network administrators guide, I
> should add a route entry; so i do this "route add -host
> 10.0.0.3" to which i get the error code:
> SIOCADDRT: No such device.

You shouldn't need to add a route for a host that's on the same network
anyway.

Jon Leonard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Very basic multiple-interface configuration

2004-01-27 Thread Jon Leonard
On Tue, Jan 27, 2004 at 03:30:01PM -0500, David Z Maze wrote:
> My laptop has both on-board wired Ethernet and 802.11a/b wireless.
> Both of these work fine; I'm using them with ifplugd and it behaves
> mostly as I expect.  But the thing is, I recently took the CVS version
> of the madwifi Atheros 802.11 driver, and so now ifplugd actually
> tries to start the wireless...
> 
> Is there a good tool for setting up the networking "properly"?  In
> particular, I'd like the system to:
> 
> (1) Prefer the wired Ethernet if it's available, and not put a default
> route via ath0 [wireless] if there's already a default route via
> eth0 [wired].

I use
if test "`/sbin/mii-tool`" = "eth0: no link";
as a very simple test in a similar situation.  There's probably some tool
with does it better, though.  (That's from my .xinitrc:  I start a power
monitor if there's no wired ethernet, and a web browser if there is.)

Jon Leonard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Very basic multiple-interface configuration

2004-01-27 Thread Jon Leonard
On Tue, Jan 27, 2004 at 03:30:01PM -0500, David Z Maze wrote:
> My laptop has both on-board wired Ethernet and 802.11a/b wireless.
> Both of these work fine; I'm using them with ifplugd and it behaves
> mostly as I expect.  But the thing is, I recently took the CVS version
> of the madwifi Atheros 802.11 driver, and so now ifplugd actually
> tries to start the wireless...
> 
> Is there a good tool for setting up the networking "properly"?  In
> particular, I'd like the system to:
> 
> (1) Prefer the wired Ethernet if it's available, and not put a default
> route via ath0 [wireless] if there's already a default route via
> eth0 [wired].

I use
if test "`/sbin/mii-tool`" = "eth0: no link";
as a very simple test in a similar situation.  There's probably some tool
with does it better, though.  (That's from my .xinitrc:  I start a power
monitor if there's no wired ethernet, and a web browser if there is.)

Jon Leonard