Andrew Ball | 1 Apr 2009 03:35

PLIP


Hello,

    I have two machines hooked together via a PLIP cable and
have built kernels for them that include plip(4) support. On
one machine I type...

      ifconfig plip0 192.168.3.1 192.168.3.2 -link0 up

               ...and on the other, I type...

      ifconfig plip0 192.168.3.2 192.168.3.1 -link0 up

        ...I'm not sure what (if any) route incantations are
required, but if I try from either end of the link to ping
the other, I get...

          plip0: Too many errors, going off-line.

    I've tried a couple of different PLIP cables with the
same result.  How can I diagnose the nature of the errors
that are mentioned?

Thanks,
  - Andy Ball

Rafal Boni | 1 Apr 2009 15:38
Picon
Favicon

Microsoft Wireless Laser Mouse 6000 v2.0 vs. NetBSD

Folks:
	I picked up one of the above rodents cheap, and while it works fine
	on my XP laptop and on my desktop when booted to Vista, I can't get
	it to work under NetBSD... it attaches fine, but no data appears on
	the /dev/wsmouseN device associated with it.

	Here's what the kernel messages for the attachment look like:
uhidev0: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver V2.0, rev 2.00/2.70, addr 2, iclass 3/1
uhidev0: 23 report ids
ums0 at uhidev0 reportid 17: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0
uhid3 at uhidev0 reportid 21: input=3, output=0, feature=0
uhid4 at uhidev0 reportid 23: input=0, output=0, feature=1

	Attempting to read data from the device shows nothing, but there
	are no errors of any kind reported either.  I have not debugged
	further, but thought I'd at least send a note here in case anyone
	has fallen afoul of this device and figured out what the problem
	is.

Thanks!
--rafal

--

-- 
  Time is an illusion; lunchtime, doubly so.     |/\/\|           Rafal Boni
                   -- Ford Prefect               |\/\/|      rafal <at> pobox.com

(Continue reading)

Rafal Boni | 1 Apr 2009 16:48
Picon
Favicon

Xorg hangs on Radeon HD 4650 with xf86-video-{ati,radeonhd}

Folks:
	I have a (relatively) new machine running NetBSD 5.0_RC3 with an
	ATI RadeonHD 4650 PCIe card.  Xorg works relatively well with the
	vesa driver (I think it had issues getting the right panel size
	of the LCD monitor and picked sub-optimal resolution), but I'd
	really like to get it running the radeon ati sub-driver and/or
	radeonhd driver.

	I've tried both the in-tree radeon / radeonhd as well as latest
	released versions and latest git versions, however, all versions
	of *both* drivers have the same fatal flaw: X will start once,
	but once I exit X and attempt to re-start it, the machine locks
	hard with a corrupted display... (hard enough that I have to force
	it to turn off by holding the power switch for 5sec).

	Note that the first invocation of X is generally problem-free,
	with the exception of specific issues with certain versions of
	the drivers (e.g. some radeon driver versions have VT-switching
	problems and don't restore the X screen right), but the second
	X invocation either hangs the box hard or (rarely) causes it to
	reboot itself... 

	Before the hang/reboot, the screen comes up corrupted with the
	stock X grey-stiple background offset from the beginning of the
	screen by some amount and random junk on a black background in
	the first few lines of the display.  The cursor also generally
	is some corrupted blob; the rest of the screen generally looks
	like a picture from a bad video tape with vertical hold problems
	(ie, spikes of gray-stipple background interspersed with black
	 b/g across the screen)
(Continue reading)

Steve Blinkhorn | 1 Apr 2009 19:23
Picon
Favicon

tcpdump

Having recently moved to 4.01 from 3.x, I find that tcpdump doesn't
work for me: the error message is

tcpdump: no suitable device found

I am at a loss.   Enlightenment please?

--

-- 
Steve Blinkhorn <steve <at> prd.co.uk>

Greg Troxel | 1 Apr 2009 19:31
Picon

Re: tcpdump


  Having recently moved to 4.01 from 3.x, I find that tcpdump doesn't
  work for me: the error message is

  tcpdump: no suitable device found

  I am at a loss.   Enlightenment please?

It's probably looking for /dev/bpf and rejecting it due to permissions.

Try:

  sudo tcpdump

instead.
Mark Davies | 6 Apr 2009 06:20
Picon
Picon

problem accessing cd writer on Optiplex 760

Hi,
   If I run k3b (kde cd/dvd burning software) on a Dell Optiplex 760 
with no disk in the optical drive I get this:

 cd0(ahcisata0:1:0): passthrough: adapter inconsistency

printed on the console and the k3b process hangs.

On an equivalently configured Optiplex 755 or 745 no message is 
printed, process doesn't hang and k3b reports "no medium present".

If I have a disk in the drive when k3b is run then all three report 
the correct info for the drive.  This is with 5.0_RC3.

Any suggestions how to track down/fix  what's going wrong with the 
760?

dmesg for the 3 machines follow:

760
cd0 at atapibus0 drive 0: <TSSTcorp DVD+/-RW TS-L633A, , D300> cdrom 
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 
(Ultra/100)
cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 
(Ultra/100) (using DMA)

755
cd0 at atapibus0 drive 0: <PBDS DVD+/-RW DH-16W1S, , 2D14> cdrom 
removable
(Continue reading)

der Mouse | 6 Apr 2009 07:53

PCI internal SATA cards?

There's a NetBSD/i386 machine at work (currently 4.0.1 - for those of
you on tech-kern, it's the one I've been doing RAIDframe hacking-about
on recently).  It's got a 3ware RAID card in it, twe0, which is being
used JBOD, as just a 12-port SATA interface.

If this card dies, we'll have problems.  It occurs to me that there
surely are PCI cards providing internal SATA connections, and that the
twe could in principle be replaced with a collection of such cards
providing a total of at least 12 SATA ports.  There are (at least) two
spare PCI slots, so, after removing the twe, we'd need only 4 ports per
card, which strikes me as plausible.  Might not need even 4 ports per
card, if my memory of spare slot count is low.

But it is by no means clear to me that I can expect "just any"
off-the-shelf SATA card to play nice with NetBSD.  So, recommendations,
for or against?  It'd be nice to get support for disks >2T (ie, if the
card<->host interface supported sector numbers over 2^32), since that's
a limitation the twe imposes that could bite us in the reasonably
foreseeable future, but that's not essential.

I'm not sure if the machine supports anything other than PCI.  I can
send a dmesg.boot file to anyone interested if that would help; I don't
see anything there I recognize as being non-PCI, but that doesn't mean
all that much.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse <at> rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

(Continue reading)

George Michaelson | 6 Apr 2009 08:18
Picon

Re: PCI internal SATA cards?


I'd like to glom a request onto der Mouse's query: Two in fact.

specifically, can people speak to the *current* generation of Dell  
perc/SAS cards and their RAID-nicissity. Dell now have a SAS6i, a  
PERC5i and a PERC6i listed as options in their normal 1u/2u rackmounts.

and, secondly, and COMPLETELY DIFFERENTLY

is GPT mature enough, that software raid on GPT is viable? Because I  
am very very very scared of being exposed to 'you are locked to this  
raid card, this physical order of disk' problems, and GPT sounds like  
in principle, it avoids that

-G

Giles Lean | 6 Apr 2009 14:08
Picon
Favicon

Re: PCI internal SATA cards?


der Mouse <mouse <at> Rodents-Montreal.ORG> wrote:

> If this card dies, we'll have problems.  It occurs to me that there
> surely are PCI cards providing internal SATA connections, and that the
> twe could in principle be replaced with a collection of such cards
> providing a total of at least 12 SATA ports.

One option that should work if you can still buy them are the four port
versions of the Silicon Image cards.  Here is dmesg excerpt from a
NetBSD-4.0/i386 system with a two port card:

satalink0 at pci1 dev 9 function 0
satalink0: Silicon Image SATALink 3512 (rev. 0x01)
satalink0: SATALink BA5 register space disabled
satalink0: bus-master DMA support present
satalink0: primary channel wired to native-PCI mode
satalink0: using irq 9 for native-PCI interrupt
atabus0 at satalink0 channel 0
satalink0: secondary channel wired to native-PCI mode
atabus1 at satalink0 channel 1
satalink0: port 0: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0satalink0: port 1: device present, speed: 1.5Gb/s
wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)

Caveats:

o the four port cards were rare, and are probably rarer now
o the last two port card I bought was clearly old stock and DOA :-(
(Continue reading)

Tom Spindler | 6 Apr 2009 15:49
Favicon

Re: PCI internal SATA cards?

> o I've no idea about 2TB support: I run a couple of 500GB disks

I'm running 2x 1.5TB drives with raidframe on a cardbus satalink (!)
and haven't had any problems.

FWIW, newegg has a bunch of PCI satalink 3112/3114-based cards with
4 internal SATA 150 connectors for around $30-$40 each.


Gmane