public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sr: unaligned transfer
@ 2001-12-21 12:24 Bob_Tracy
  2001-12-21 13:21 ` Jens Axboe
  0 siblings, 1 reply; 10+ messages in thread
From: Bob_Tracy @ 2001-12-21 12:24 UTC (permalink / raw)
  To: linux-kernel

Anyone else seeing this?  With kernel version 2.5.1, I get several
instances of 

	sr: unaligned transfer

followed by

	Unable to identify CD-ROM format.

whenever I try to mount a CD-ROM.  This is something new with 2.5.1
(probably the new bio code), as all prior kernel versions (non-pre)
work fine.  SCSI driver is aic7xxx.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sr: unaligned transfer
  2001-12-21 12:24 sr: unaligned transfer Bob_Tracy
@ 2001-12-21 13:21 ` Jens Axboe
  2001-12-21 13:43   ` conclusion: arp.c *must* be (still) defective Alex
  2001-12-21 20:06   ` sr: unaligned transfer Bob_Tracy
  0 siblings, 2 replies; 10+ messages in thread
From: Jens Axboe @ 2001-12-21 13:21 UTC (permalink / raw)
  To: Bob_Tracy; +Cc: linux-kernel

On Fri, Dec 21 2001, Bob_Tracy wrote:
> Anyone else seeing this?  With kernel version 2.5.1, I get several
> instances of 
> 
> 	sr: unaligned transfer
> 
> followed by
> 
> 	Unable to identify CD-ROM format.
> 
> whenever I try to mount a CD-ROM.  This is something new with 2.5.1
> (probably the new bio code), as all prior kernel versions (non-pre)
> work fine.  SCSI driver is aic7xxx.

What fs? Older sr padded front and back of request to correctly align
it, but I removed that code. Please try and mount with -o loop instead.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 10+ messages in thread

* conclusion: arp.c *must* be (still) defective
  2001-12-21 13:21 ` Jens Axboe
@ 2001-12-21 13:43   ` Alex
  2001-12-21 16:27     ` Alan Cox
  2001-12-21 20:06   ` sr: unaligned transfer Bob_Tracy
  1 sibling, 1 reply; 10+ messages in thread
From: Alex @ 2001-12-21 13:43 UTC (permalink / raw)
  To: linux-kernel


Dear Mailing List,

I'm having great problems with ARP. Frankly, kernel 2.4.16 never gets the
proper arp address of the next-hop-router, no matter what I try.

My equipment: 

Suse 7.3 , kernel upgraded to 2.4.16
3com 3c509-b tx isapnp ethcard eth0
msi-something geforce2mx 200
sb16 isapnp
thunderbird 1.2 ghz
gigabyte 7ixe4 motherboard
512 mb ram @ 100 mhz fsb

I can only ping the IP of the network card itself.

Whenever I ping my nexthop router (ip: x.x.x.1) i get a pause of a few
seconds, then a whole sequence of "Destination unreachable".
Looking at the arp cache using "arp -a", I see that the arp cache is
always incomplete (always KEEPS being incomplete). 

Any clue is greatly appreciated, but I do suspect that the kernel 2.4.16's
ARP code is buggy since Win98 , win2k etc works flawlessly.

Yours

Alex



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: conclusion: arp.c *must* be (still) defective
  2001-12-21 13:43   ` conclusion: arp.c *must* be (still) defective Alex
@ 2001-12-21 16:27     ` Alan Cox
  2001-12-21 18:52       ` Alex
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-12-21 16:27 UTC (permalink / raw)
  To: Alex; +Cc: linux-kernel

> Whenever I ping my nexthop router (ip: x.x.x.1) i get a pause of a few
> seconds, then a whole sequence of "Destination unreachable".
> Looking at the arp cache using "arp -a", I see that the arp cache is
> always incomplete (always KEEPS being incomplete). 

Sounds like you have the card on the wrong port or the IRQ not set in the
BIOS to be routed to ISA

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: conclusion: arp.c *must* be (still) defective
  2001-12-21 16:27     ` Alan Cox
@ 2001-12-21 18:52       ` Alex
  2001-12-22  0:29         ` Alan Cox
  0 siblings, 1 reply; 10+ messages in thread
From: Alex @ 2001-12-21 18:52 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel



On Fri, 21 Dec 2001, Alan Cox wrote:

> > Whenever I ping my nexthop router (ip: x.x.x.1) i get a pause of a few
> > seconds, then a whole sequence of "Destination unreachable".
> > Looking at the arp cache using "arp -a", I see that the arp cache is
> > always incomplete (always KEEPS being incomplete). 
> 
> Sounds like you have the card on the wrong port or the IRQ not set in the
> BIOS to be routed to ISA
> 

Sir! It's PLUG AND PLAY! Isapnp! I ought not to care about IRQ or Bios?

Yours

Alex



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sr: unaligned transfer
  2001-12-21 13:21 ` Jens Axboe
  2001-12-21 13:43   ` conclusion: arp.c *must* be (still) defective Alex
@ 2001-12-21 20:06   ` Bob_Tracy
  2001-12-21 21:14     ` Svein Ove Aas
  2001-12-21 22:07     ` Jens Axboe
  1 sibling, 2 replies; 10+ messages in thread
From: Bob_Tracy @ 2001-12-21 20:06 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

Jens Axboe wrote:
> On Fri, Dec 21 2001, Bob_Tracy wrote:
> > 	sr: unaligned transfer
> > 	Unable to identify CD-ROM format.
> 
> What fs?

iso9660.

> Please try and mount with -o loop instead.

???  Sorry if I'm being dense, but the file system is on a physical
CD: it isn't an image file.  The mount command that has worked for me
in the past is

	mount -t iso9660 /dev/sr1 /mnt -r

The sr1 device isn't a typo: it's my cd writer.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sr: unaligned transfer
  2001-12-21 20:06   ` sr: unaligned transfer Bob_Tracy
@ 2001-12-21 21:14     ` Svein Ove Aas
  2001-12-21 22:07     ` Jens Axboe
  1 sibling, 0 replies; 10+ messages in thread
From: Svein Ove Aas @ 2001-12-21 21:14 UTC (permalink / raw)
  To: linux-kernel

On Friday 21. December 2001 21:06, Bob_Tracy wrote:
> Jens Axboe wrote:
> > Please try and mount with -o loop instead.
>
> ???  Sorry if I'm being dense, but the file system is on a physical
> CD: it isn't an image file.  The mount command that has worked for me
> in the past is
>
> 	mount -t iso9660 /dev/sr1 /mnt -r
>
> The sr1 device isn't a typo: it's my cd writer.

I wouldn't presume to think I know the details here, but as far as I can tell 
the plain mount command treats it like a device, while using the loop device 
treats it like a file.

It should still be possible to read from the CD like normal, but any 
CD-specific fucntions will likely be disabled, although those are probably 
implemented as ioctls anyway.

So.. try it, and see what you get.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sr: unaligned transfer
  2001-12-21 20:06   ` sr: unaligned transfer Bob_Tracy
  2001-12-21 21:14     ` Svein Ove Aas
@ 2001-12-21 22:07     ` Jens Axboe
  2001-12-22  0:11       ` Bob_Tracy
  1 sibling, 1 reply; 10+ messages in thread
From: Jens Axboe @ 2001-12-21 22:07 UTC (permalink / raw)
  To: Bob_Tracy; +Cc: linux-kernel

On Fri, Dec 21 2001, Bob_Tracy wrote:
> Jens Axboe wrote:
> > On Fri, Dec 21 2001, Bob_Tracy wrote:
> > > 	sr: unaligned transfer
> > > 	Unable to identify CD-ROM format.
> > 
> > What fs?
> 
> iso9660.
> 
> > Please try and mount with -o loop instead.
> 
> ???  Sorry if I'm being dense, but the file system is on a physical
> CD: it isn't an image file.  The mount command that has worked for me
> in the past is
> 
> 	mount -t iso9660 /dev/sr1 /mnt -r
> 
> The sr1 device isn't a typo: it's my cd writer.

mount -o loop -t iso9660 /dev/scd1 /mnt

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sr: unaligned transfer
  2001-12-21 22:07     ` Jens Axboe
@ 2001-12-22  0:11       ` Bob_Tracy
  0 siblings, 0 replies; 10+ messages in thread
From: Bob_Tracy @ 2001-12-22  0:11 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

Jens Axboe wrote:
> On Fri, Dec 21 2001, Bob_Tracy wrote:
> > Jens Axboe wrote:
> > > On Fri, Dec 21 2001, Bob_Tracy wrote:
> > > > 	sr: unaligned transfer
> > > > 	Unable to identify CD-ROM format.
> >
> > > Please try and mount with -o loop instead.
> 
> mount -o loop -t iso9660 /dev/scd1 /mnt

I still get the "sr: unaligned transfer" message, and as an added bonus,
the mount hangs...  Can't interrupt it, can't kill it :-(.

Next? :-)

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: conclusion: arp.c *must* be (still) defective
  2001-12-21 18:52       ` Alex
@ 2001-12-22  0:29         ` Alan Cox
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2001-12-22  0:29 UTC (permalink / raw)
  To: Alex; +Cc: Alan Cox, linux-kernel

> > Sounds like you have the card on the wrong port or the IRQ not set in the
> > BIOS to be routed to ISA
> 
> Sir! It's PLUG AND PLAY! Isapnp! I ought not to care about IRQ or Bios?

IMHO you have an overdeveloped faith in technology 8)

Things to check

1.	Does tcpdump show anything if you ping the box from another machine
2.	Is the link light on
3.	Does the irq count in /proc/interrupts for the card rise
	appropriately ?
4.	What does the 3c5x9 diagnostic tool say (http://www.scyld.com)

The reason I ask is that Linux 2.2 and on some platforms 2.4 will be relying
on BIOS IRQ routing where Windows 9x will do the work itself. So I've seen
precisely these symptoms before

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-12-22  0:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 12:24 sr: unaligned transfer Bob_Tracy
2001-12-21 13:21 ` Jens Axboe
2001-12-21 13:43   ` conclusion: arp.c *must* be (still) defective Alex
2001-12-21 16:27     ` Alan Cox
2001-12-21 18:52       ` Alex
2001-12-22  0:29         ` Alan Cox
2001-12-21 20:06   ` sr: unaligned transfer Bob_Tracy
2001-12-21 21:14     ` Svein Ove Aas
2001-12-21 22:07     ` Jens Axboe
2001-12-22  0:11       ` Bob_Tracy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox