public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mount hfs on SCSI cdrom = segfault
@ 2003-03-30 19:37 Nehal
  2003-04-02 18:15 ` Nehal
  0 siblings, 1 reply; 12+ messages in thread
From: Nehal @ 2003-03-30 19:37 UTC (permalink / raw)
  To: linux-kernel

i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
on an advansys cfg-510 ISA scsi card

when i try to mount on IDE using hfs with:

    mount -v -r -t hfs /dev/hdc /cdrom

it works fine, yet when i try on scsi with:

    mount -v -r -t hfs /dev/scd0 /cdrom

i get a "Segmentation fault" error, no more output given,
it also locks the drive, and sometimes i can use the
'eject' command to eject it, sometimes i cant and i gotta reboot

once though i did get a memory dump, unfortunately i didnt get
all the info, i do remember it saying this (and im sure of 2555):

    kernel bug in buffer.c:2555

im using kernel 2.4.20 with no patches

note: when i try to mount the cd using regular iso9660 fs, it
works perfectly on both cd drives,
also i have tried 2 hybrid cd's, both times i have trouble mounting
hfs on the scsi drive only

Nehal



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 18:15 ` Nehal
@ 2003-04-02 10:49   ` Randy.Dunlap
  2003-04-02 19:01     ` Oliver Feiler
  2003-04-02 19:05     ` Nehal
  0 siblings, 2 replies; 12+ messages in thread
From: Randy.Dunlap @ 2003-04-02 10:49 UTC (permalink / raw)
  To: Nehal; +Cc: linux-kernel


First post said Linux 2.4.20... that's good info.
That info has been deleted from subsequent postings.

Would it make sense for the BUG() message to include a kernel
version number???  I'm wondering since people do omit that data.

~Randy


On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:

| > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
| > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
| > on an advansys cfg-510 ISA scsi card
| >
| > when i try to mount on IDE using hfs with:
| >
| >    mount -v -r -t hfs /dev/hdc /cdrom
| >
| > it works fine, yet when i try on scsi with:
| >
| >    mount -v -r -t hfs /dev/scd0 /cdrom
| >
| > i get a "Segmentation fault" error, no more output given,
| > it also locks the drive, and sometimes i can use the
| > 'eject' command to eject it, sometimes i cant and i gotta reboot
| >
| > note: when i try to mount the cd using regular iso9660 fs, it
| > works perfectly on both cd drives,
| > also i have tried 2 hybrid cd's, both times i have trouble mounting
| > hfs on the scsi drive only
| >
| > Nehal 
| 
| ok i updated firmware of writer from 1.0c to 1.0d with no help,
| but i found when i do 'dmesg' after mounting i get this error:
| ========
| kernel BUG at buffer.c:2518!
| invalid operand: 0000
| CPU:    0
| EIP:    0010:[<c013c329>]    Not tainted
| EFLAGS: 00013206
| eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
| esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
| ds: 0018   es: 0018   ss: 0018
| Process mount (pid: 514, stackpage=c3425000)
| Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200 
| 00000000
|        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400 
| 00000000
|        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00 
| 00000000
| Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>] 
| [<c019188a>]
|   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>] 
| [<c013cd3c>]
|   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>] 
| [<c01090ff>]
| 
| Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
|  
| root@Nehal:~#
| ========
| then when i try it again it doesnt give this message, it locks up my drive
| 
| can someone please help debug this problem,
| thx, Nehal

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

* Re: mount hfs on SCSI cdrom = segfault
  2003-03-30 19:37 mount hfs on SCSI cdrom = segfault Nehal
@ 2003-04-02 18:15 ` Nehal
  2003-04-02 10:49   ` Randy.Dunlap
  0 siblings, 1 reply; 12+ messages in thread
From: Nehal @ 2003-04-02 18:15 UTC (permalink / raw)
  To: linux-kernel

> i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
> one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
> on an advansys cfg-510 ISA scsi card
>
> when i try to mount on IDE using hfs with:
>
>    mount -v -r -t hfs /dev/hdc /cdrom
>
> it works fine, yet when i try on scsi with:
>
>    mount -v -r -t hfs /dev/scd0 /cdrom
>
> i get a "Segmentation fault" error, no more output given,
> it also locks the drive, and sometimes i can use the
> 'eject' command to eject it, sometimes i cant and i gotta reboot
>
> note: when i try to mount the cd using regular iso9660 fs, it
> works perfectly on both cd drives,
> also i have tried 2 hybrid cd's, both times i have trouble mounting
> hfs on the scsi drive only
>
> Nehal 

ok i updated firmware of writer from 1.0c to 1.0d with no help,
but i found when i do 'dmesg' after mounting i get this error:
========
kernel BUG at buffer.c:2518!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c013c329>]    Not tainted
EFLAGS: 00013206
eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
ds: 0018   es: 0018   ss: 0018
Process mount (pid: 514, stackpage=c3425000)
Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200 
00000000
       c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400 
00000000
       c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00 
00000000
Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>] 
[<c019188a>]
  [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>] 
[<c013cd3c>]
  [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>] 
[<c01090ff>]

Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
 
root@Nehal:~#
========
then when i try it again it doesnt give this message, it locks up my drive

can someone please help debug this problem,
thx, Nehal



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 10:49   ` Randy.Dunlap
@ 2003-04-02 19:01     ` Oliver Feiler
  2003-04-02 19:14       ` Nehal
  2003-04-02 19:05     ` Nehal
  1 sibling, 1 reply; 12+ messages in thread
From: Oliver Feiler @ 2003-04-02 19:01 UTC (permalink / raw)
  To: Randy.Dunlap, Nehal; +Cc: linux-kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 3166 bytes --]

Hi,

is this the same problem as this one?
http://marc.theaimsgroup.com/?l=linux-kernel&m=102890250915062&w=2

Nobody ever answered on that, though.


On Wednesday 02 April 2003 12:49, Randy.Dunlap wrote:
> First post said Linux 2.4.20... that's good info.
> That info has been deleted from subsequent postings.
>
> Would it make sense for the BUG() message to include a kernel
> version number???  I'm wondering since people do omit that data.
>
> ~Randy
>
> On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:
> | > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
> | > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
> | > on an advansys cfg-510 ISA scsi card
> | >
> | > when i try to mount on IDE using hfs with:
> | >
> | >    mount -v -r -t hfs /dev/hdc /cdrom
> | >
> | > it works fine, yet when i try on scsi with:
> | >
> | >    mount -v -r -t hfs /dev/scd0 /cdrom
> | >
> | > i get a "Segmentation fault" error, no more output given,
> | > it also locks the drive, and sometimes i can use the
> | > 'eject' command to eject it, sometimes i cant and i gotta reboot
> | >
> | > note: when i try to mount the cd using regular iso9660 fs, it
> | > works perfectly on both cd drives,
> | > also i have tried 2 hybrid cd's, both times i have trouble mounting
> | > hfs on the scsi drive only
> | >
> | > Nehal
> |
> | ok i updated firmware of writer from 1.0c to 1.0d with no help,
> | but i found when i do 'dmesg' after mounting i get this error:
> | ========
> | kernel BUG at buffer.c:2518!
> | invalid operand: 0000
> | CPU:    0
> | EIP:    0010:[<c013c329>]    Not tainted
> | EFLAGS: 00013206
> | eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
> | esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
> | ds: 0018   es: 0018   ss: 0018
> | Process mount (pid: 514, stackpage=c3425000)
> | Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200
> | 00000000
> |        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400
> | 00000000
> |        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00
> | 00000000
> | Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>]
> | [<c019188a>]
> |   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>]
> | [<c013cd3c>]
> |   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>]
> | [<c01090ff>]
> |
> | Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
> |
> | root@Nehal:~#
> | ========
> | then when i try it again it doesnt give this message, it locks up my
> | drive
> |
> | can someone please help debug this problem,
> | thx, Nehal
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Oliver Feiler  <kiza@(kcore.de|lionking.org|gmx[pro].net)>
http://kiza.kcore.de/    <--    homepage
PGP-key      -->    /pgpkey.shtml
http://kiza.kcore.de/journal/

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 10:49   ` Randy.Dunlap
  2003-04-02 19:01     ` Oliver Feiler
@ 2003-04-02 19:05     ` Nehal
  1 sibling, 0 replies; 12+ messages in thread
From: Nehal @ 2003-04-02 19:05 UTC (permalink / raw)
  To: linux-kernel

Hello Randy,

thx for responding, yes i took out 2.4.20 this
was unintented, sorry (sometimes i clip, ill be more
careful now).... but yes 2.4.20 unmodified

the message i pasted is unmodified, its a middle-click
paste from 'dmesg' output so what u c is what i c :)

Nehal

>First post said Linux 2.4.20... that's good info.
>That info has been deleted from subsequent postings.
>
>Would it make sense for the BUG() message to include a kernel
>version number???  I'm wondering since people do omit that data.
>
>~Randy
>
>
>On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:
>
>| > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
>| > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
>| > on an advansys cfg-510 ISA scsi card
>| >
>| > when i try to mount on IDE using hfs with:
>| >
>| >    mount -v -r -t hfs /dev/hdc /cdrom
>| >
>| > it works fine, yet when i try on scsi with:
>| >
>| >    mount -v -r -t hfs /dev/scd0 /cdrom
>| >
>| > i get a "Segmentation fault" error, no more output given,
>| > it also locks the drive, and sometimes i can use the
>| > 'eject' command to eject it, sometimes i cant and i gotta reboot
>| >
>| > note: when i try to mount the cd using regular iso9660 fs, it
>| > works perfectly on both cd drives,
>| > also i have tried 2 hybrid cd's, both times i have trouble mounting
>| > hfs on the scsi drive only
>| >
>| > Nehal 
>| 
>| ok i updated firmware of writer from 1.0c to 1.0d with no help,
>| but i found when i do 'dmesg' after mounting i get this error:
>| ========
>| kernel BUG at buffer.c:2518!
>| invalid operand: 0000
>| CPU:    0
>| EIP:    0010:[<c013c329>]    Not tainted
>| EFLAGS: 00013206
>| eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
>| esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
>| ds: 0018   es: 0018   ss: 0018
>| Process mount (pid: 514, stackpage=c3425000)
>| Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200 
>| 00000000
>|        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400 
>| 00000000
>|        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00 
>| 00000000
>| Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>] 
>| [<c019188a>]
>|   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>] 
>| [<c013cd3c>]
>|   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>] 
>| [<c01090ff>]
>| 
>| Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
>|  
>| root@Nehal:~#
>| ========
>| then when i try it again it doesnt give this message, it locks up my drive
>| 
>| can someone please help debug this problem,
>| thx, Nehal
>
>
>  
>



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 19:01     ` Oliver Feiler
@ 2003-04-02 19:14       ` Nehal
  2003-04-02 20:37         ` Oliver Feiler
  0 siblings, 1 reply; 12+ messages in thread
From: Nehal @ 2003-04-02 19:14 UTC (permalink / raw)
  To: Oliver Feiler; +Cc: Randy.Dunlap, linux-kernel


yes, that's the one! its in grow_buffers ... there are 3 BUG() 's in
this function, but my guess he is getting the same BUG()

hmm, he didnt specify his cd-rom drive... but could it be
part of the problem?

Nehal

>Hi,
>
>is this the same problem as this one?
>http://marc.theaimsgroup.com/?l=linux-kernel&m=102890250915062&w=2
>
>Nobody ever answered on that, though.
>
>
>On Wednesday 02 April 2003 12:49, Randy.Dunlap wrote:
>  
>
>>First post said Linux 2.4.20... that's good info.
>>That info has been deleted from subsequent postings.
>>
>>Would it make sense for the BUG() message to include a kernel
>>version number???  I'm wondering since people do omit that data.
>>
>>~Randy
>>
>>On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:
>>| > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
>>| > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
>>| > on an advansys cfg-510 ISA scsi card
>>| >
>>| > when i try to mount on IDE using hfs with:
>>| >
>>| >    mount -v -r -t hfs /dev/hdc /cdrom
>>| >
>>| > it works fine, yet when i try on scsi with:
>>| >
>>| >    mount -v -r -t hfs /dev/scd0 /cdrom
>>| >
>>| > i get a "Segmentation fault" error, no more output given,
>>| > it also locks the drive, and sometimes i can use the
>>| > 'eject' command to eject it, sometimes i cant and i gotta reboot
>>| >
>>| > note: when i try to mount the cd using regular iso9660 fs, it
>>| > works perfectly on both cd drives,
>>| > also i have tried 2 hybrid cd's, both times i have trouble mounting
>>| > hfs on the scsi drive only
>>| >
>>| > Nehal
>>|
>>| ok i updated firmware of writer from 1.0c to 1.0d with no help,
>>| but i found when i do 'dmesg' after mounting i get this error:
>>| ========
>>| kernel BUG at buffer.c:2518!
>>| invalid operand: 0000
>>| CPU:    0
>>| EIP:    0010:[<c013c329>]    Not tainted
>>| EFLAGS: 00013206
>>| eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
>>| esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
>>| ds: 0018   es: 0018   ss: 0018
>>| Process mount (pid: 514, stackpage=c3425000)
>>| Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200
>>| 00000000
>>|        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400
>>| 00000000
>>|        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00
>>| 00000000
>>| Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>]
>>| [<c019188a>]
>>|   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>]
>>| [<c013cd3c>]
>>|   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>]
>>| [<c01090ff>]
>>|
>>| Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
>>|
>>| root@Nehal:~#
>>| ========
>>| then when i try it again it doesnt give this message, it locks up my
>>| drive
>>|
>>| can someone please help debug this problem,
>>| thx, Nehal
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>Please read the FAQ at  http://www.tux.org/lkml/
>>    
>>
>
>  
>



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 19:14       ` Nehal
@ 2003-04-02 20:37         ` Oliver Feiler
  2003-04-02 21:12           ` Nehal
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Feiler @ 2003-04-02 20:37 UTC (permalink / raw)
  To: Nehal; +Cc: Randy.Dunlap, linux-kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 6897 bytes --]

On Wednesday 02 April 2003 21:14, Nehal wrote:
> yes, that's the one! its in grow_buffers ... there are 3 BUG() 's in
> this function, but my guess he is getting the same BUG()
>
> hmm, he didnt specify his cd-rom drive... but could it be
> part of the problem?

It was me who posted this previous message. :)

I don't think it is drive dependent. But it may have something to do with SCSI 
since it works for you with IDE and oopses with SCSI. I just reproduced the 
oops with a
hdc: HL-DT-ST RW/DVD GCC-4120B, ATAPI CD/DVD-ROM drive
IDE drive running via ide-scsi. Same oops again, see below. Yes I know with 
NVdriver, but the oops is the same with and without. Now the disc isn't 
mounted, the drive door is locked and 'eject /dev/cdrom' gives

eject: CDROMEJECT ioctl failed for `/dev/scsi/host1/bus0/target0/lun0/cd': 
Device or resource busy



kernel BUG at buffer.c:2497!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c0136e5e>]    Tainted: P 
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 000007ff   ebx: 0000000b   ecx: 00000800   edx: c15dd700
esi: 00000002   edi: 00000b02   ebp: 00000000   esp: ccf01dbc
ds: 0018   es: 0018   ss: 0018
Process mount (pid: 4975, stackpage=ccf01000)
Stack: 00000b02 00000200 00000000 00000001 00004480 c0134fb7 00000b02 00000000 
       00000200 00000b02 d01cac00 00000000 c01351d8 00000b02 00000000 00000200 
       00000000 e1cb45c3 00000b02 00000000 00000200 00000b02 00000001 00000000 
Call Trace:    [<c0134fb7>] [<c01351d8>] [<e1cb45c3>] [<e1cb3839>] 
[<e1cb4443>]
  [<c01ef6ed>] [<c01380e0>] [<e1cb7fe4>] [<e1cb7fe4>] [<c01382bb>] 
[<e1cb7fe4>]
  [<c0148059>] [<c0148332>] [<c014817d>] [<c01486b4>] [<c010870b>]
Code: 0f 0b c1 09 00 e2 25 c0 8b 44 24 20 05 00 fe ff ff 3d 00 0e 


>>EIP; c0136e5e <grow_buffers+3e/110>   <=====

>>eax; 000007ff Before first symbol
>>ecx; 00000800 Before first symbol
>>edx; c15dd700 <_end+12b4ae4/2051c3e4>
>>edi; 00000b02 Before first symbol
>>esp; ccf01dbc <_end+cbd91a0/2051c3e4>

Trace; c0134fb7 <getblk+27/40>
Trace; c01351d8 <bread+18/70>
Trace; e1cb45c3 <[hfs]hfs_buffer_get+23/80>
Trace; e1cb3839 <[hfs]hfs_part_find+19/170>
Trace; e1cb4443 <[hfs]hfs_read_super+73/190>
Trace; c01ef6ed <media_changed+3d/70>
Trace; c01380e0 <get_sb_bdev+210/280>
Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
Trace; c01382bb <do_kern_mount+5b/110>
Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
Trace; c0148059 <do_add_mount+69/140>
Trace; c0148332 <do_mount+162/180>
Trace; c014817d <copy_mount_options+4d/a0>
Trace; c01486b4 <sys_mount+84/d0>
Trace; c010870b <system_call+33/38>

Code;  c0136e5e <grow_buffers+3e/110>
00000000 <_EIP>:
Code;  c0136e5e <grow_buffers+3e/110>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c0136e60 <grow_buffers+40/110>
   2:   c1 09 00                  rorl   $0x0,(%ecx)
Code;  c0136e63 <grow_buffers+43/110>
   5:   e2 25                     loop   2c <_EIP+0x2c> c0136e8a 
<grow_buffers+6a/110>
Code;  c0136e65 <grow_buffers+45/110>
   7:   c0 8b 44 24 20 05 00      rorb   $0x0,0x5202444(%ebx)
Code;  c0136e6c <grow_buffers+4c/110>
   e:   fe                        (bad)  
Code;  c0136e6d <grow_buffers+4d/110>
   f:   ff                        (bad)  
Code;  c0136e6e <grow_buffers+4e/110>
  10:   ff                        (bad)  
Code;  c0136e6f <grow_buffers+4f/110>
  11:   3d 00 0e 00 00            cmp    $0xe00,%eax


2 warnings issued.  Results may not be reliable.


>
> Nehal
>
> >Hi,
> >
> >is this the same problem as this one?
> >http://marc.theaimsgroup.com/?l=linux-kernel&m=102890250915062&w=2
> >
> >Nobody ever answered on that, though.
> >
> >On Wednesday 02 April 2003 12:49, Randy.Dunlap wrote:
> >>First post said Linux 2.4.20... that's good info.
> >>That info has been deleted from subsequent postings.
> >>
> >>Would it make sense for the BUG() message to include a kernel
> >>version number???  I'm wondering since people do omit that data.
> >>
> >>~Randy
> >>
> >>On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:
> >>| > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
> >>| > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
> >>| > on an advansys cfg-510 ISA scsi card
> >>| >
> >>| > when i try to mount on IDE using hfs with:
> >>| >
> >>| >    mount -v -r -t hfs /dev/hdc /cdrom
> >>| >
> >>| > it works fine, yet when i try on scsi with:
> >>| >
> >>| >    mount -v -r -t hfs /dev/scd0 /cdrom
> >>| >
> >>| > i get a "Segmentation fault" error, no more output given,
> >>| > it also locks the drive, and sometimes i can use the
> >>| > 'eject' command to eject it, sometimes i cant and i gotta reboot
> >>| >
> >>| > note: when i try to mount the cd using regular iso9660 fs, it
> >>| > works perfectly on both cd drives,
> >>| > also i have tried 2 hybrid cd's, both times i have trouble mounting
> >>| > hfs on the scsi drive only
> >>| >
> >>| > Nehal
> >>|
> >>| ok i updated firmware of writer from 1.0c to 1.0d with no help,
> >>| but i found when i do 'dmesg' after mounting i get this error:
> >>| ========
> >>| kernel BUG at buffer.c:2518!
> >>| invalid operand: 0000
> >>| CPU:    0
> >>| EIP:    0010:[<c013c329>]    Not tainted
> >>| EFLAGS: 00013206
> >>| eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
> >>| esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
> >>| ds: 0018   es: 0018   ss: 0018
> >>| Process mount (pid: 514, stackpage=c3425000)
> >>| Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200
> >>| 00000000
> >>|        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400
> >>| 00000000
> >>|        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00
> >>| 00000000
> >>| Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>]
> >>| [<c019188a>]
> >>|   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>]
> >>| [<c013cd3c>]
> >>|   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>]
> >>| [<c01090ff>]
> >>|
> >>| Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
> >>|
> >>| root@Nehal:~#
> >>| ========
> >>| then when i try it again it doesnt give this message, it locks up my
> >>| drive
> >>|
> >>| can someone please help debug this problem,
> >>| thx, Nehal
> >>
> >>-
> >>To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> >> in the body of a message to majordomo@vger.kernel.org
> >>More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >>Please read the FAQ at  http://www.tux.org/lkml/

-- 
Oliver Feiler  <kiza@(kcore.de|lionking.org|gmx[pro].net)>
http://kiza.kcore.de/    <--    homepage
PGP-key      -->    /pgpkey.shtml
http://kiza.kcore.de/journal/

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 20:37         ` Oliver Feiler
@ 2003-04-02 21:12           ` Nehal
  2003-04-03  8:06             ` Giuliano Pochini
  0 siblings, 1 reply; 12+ messages in thread
From: Nehal @ 2003-04-02 21:12 UTC (permalink / raw)
  To: Oliver Feiler; +Cc: Randy.Dunlap, linux-kernel

ok you are right! i set hdc=scsi, reboot, and mounted my
ide cdrom drive (device /dev/scd1) as hfs, and boom
it crashed with same message :)  this is good, at least
i know its not my scsi drive/controller at fault

so definitely a bug in scsi somehow or somewhere,
so i guess anyone with a hfs cd can reproduce, so
somebody please fix :)

btw Oliver, once u type eject, if it fails, u can just
press the eject button on your drive and it should
open.... although the drive is still unusable
until u reboot

thx, Nehal

>On Wednesday 02 April 2003 21:14, Nehal wrote:
>  
>
>>yes, that's the one! its in grow_buffers ... there are 3 BUG() 's in
>>this function, but my guess he is getting the same BUG()
>>
>>hmm, he didnt specify his cd-rom drive... but could it be
>>part of the problem?
>>    
>>
>
>It was me who posted this previous message. :)
>
>I don't think it is drive dependent. But it may have something to do with SCSI 
>since it works for you with IDE and oopses with SCSI. I just reproduced the 
>oops with a
>hdc: HL-DT-ST RW/DVD GCC-4120B, ATAPI CD/DVD-ROM drive
>IDE drive running via ide-scsi. Same oops again, see below. Yes I know with 
>NVdriver, but the oops is the same with and without. Now the disc isn't 
>mounted, the drive door is locked and 'eject /dev/cdrom' gives
>
>eject: CDROMEJECT ioctl failed for `/dev/scsi/host1/bus0/target0/lun0/cd': 
>Device or resource busy
>
>
>
>kernel BUG at buffer.c:2497!
>invalid operand: 0000
>CPU:    0
>EIP:    0010:[<c0136e5e>]    Tainted: P 
>Using defaults from ksymoops -t elf32-i386 -a i386
>EFLAGS: 00010206
>eax: 000007ff   ebx: 0000000b   ecx: 00000800   edx: c15dd700
>esi: 00000002   edi: 00000b02   ebp: 00000000   esp: ccf01dbc
>ds: 0018   es: 0018   ss: 0018
>Process mount (pid: 4975, stackpage=ccf01000)
>Stack: 00000b02 00000200 00000000 00000001 00004480 c0134fb7 00000b02 00000000 
>       00000200 00000b02 d01cac00 00000000 c01351d8 00000b02 00000000 00000200 
>       00000000 e1cb45c3 00000b02 00000000 00000200 00000b02 00000001 00000000 
>Call Trace:    [<c0134fb7>] [<c01351d8>] [<e1cb45c3>] [<e1cb3839>] 
>[<e1cb4443>]
>  [<c01ef6ed>] [<c01380e0>] [<e1cb7fe4>] [<e1cb7fe4>] [<c01382bb>] 
>[<e1cb7fe4>]
>  [<c0148059>] [<c0148332>] [<c014817d>] [<c01486b4>] [<c010870b>]
>Code: 0f 0b c1 09 00 e2 25 c0 8b 44 24 20 05 00 fe ff ff 3d 00 0e 
>
>
>  
>
>>>EIP; c0136e5e <grow_buffers+3e/110>   <=====
>>>      
>>>
>
>  
>
>>>eax; 000007ff Before first symbol
>>>ecx; 00000800 Before first symbol
>>>edx; c15dd700 <_end+12b4ae4/2051c3e4>
>>>edi; 00000b02 Before first symbol
>>>esp; ccf01dbc <_end+cbd91a0/2051c3e4>
>>>      
>>>
>
>Trace; c0134fb7 <getblk+27/40>
>Trace; c01351d8 <bread+18/70>
>Trace; e1cb45c3 <[hfs]hfs_buffer_get+23/80>
>Trace; e1cb3839 <[hfs]hfs_part_find+19/170>
>Trace; e1cb4443 <[hfs]hfs_read_super+73/190>
>Trace; c01ef6ed <media_changed+3d/70>
>Trace; c01380e0 <get_sb_bdev+210/280>
>Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
>Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
>Trace; c01382bb <do_kern_mount+5b/110>
>Trace; e1cb7fe4 <[hfs]hfs_fs+0/1c>
>Trace; c0148059 <do_add_mount+69/140>
>Trace; c0148332 <do_mount+162/180>
>Trace; c014817d <copy_mount_options+4d/a0>
>Trace; c01486b4 <sys_mount+84/d0>
>Trace; c010870b <system_call+33/38>
>
>Code;  c0136e5e <grow_buffers+3e/110>
>00000000 <_EIP>:
>Code;  c0136e5e <grow_buffers+3e/110>   <=====
>   0:   0f 0b                     ud2a      <=====
>Code;  c0136e60 <grow_buffers+40/110>
>   2:   c1 09 00                  rorl   $0x0,(%ecx)
>Code;  c0136e63 <grow_buffers+43/110>
>   5:   e2 25                     loop   2c <_EIP+0x2c> c0136e8a 
><grow_buffers+6a/110>
>Code;  c0136e65 <grow_buffers+45/110>
>   7:   c0 8b 44 24 20 05 00      rorb   $0x0,0x5202444(%ebx)
>Code;  c0136e6c <grow_buffers+4c/110>
>   e:   fe                        (bad)  
>Code;  c0136e6d <grow_buffers+4d/110>
>   f:   ff                        (bad)  
>Code;  c0136e6e <grow_buffers+4e/110>
>  10:   ff                        (bad)  
>Code;  c0136e6f <grow_buffers+4f/110>
>  11:   3d 00 0e 00 00            cmp    $0xe00,%eax
>
>
>2 warnings issued.  Results may not be reliable.
>
>
>  
>
>>Nehal
>>
>>    
>>
>>>Hi,
>>>
>>>is this the same problem as this one?
>>>http://marc.theaimsgroup.com/?l=linux-kernel&m=102890250915062&w=2
>>>
>>>Nobody ever answered on that, though.
>>>
>>>On Wednesday 02 April 2003 12:49, Randy.Dunlap wrote:
>>>      
>>>
>>>>First post said Linux 2.4.20... that's good info.
>>>>That info has been deleted from subsequent postings.
>>>>
>>>>Would it make sense for the BUG() message to include a kernel
>>>>version number???  I'm wondering since people do omit that data.
>>>>
>>>>~Randy
>>>>
>>>>On Wed, 02 Apr 2003 10:15:21 -0800 Nehal <nehal@canada.com> wrote:
>>>>| > i have a hybrid cd (both HFS, ISO9660) , i have two CD drives,
>>>>| > one IDE CD-Rom (actima 32x), and one SCSI CD-burner (yamaha 6416)
>>>>| > on an advansys cfg-510 ISA scsi card
>>>>| >
>>>>| > when i try to mount on IDE using hfs with:
>>>>| >
>>>>| >    mount -v -r -t hfs /dev/hdc /cdrom
>>>>| >
>>>>| > it works fine, yet when i try on scsi with:
>>>>| >
>>>>| >    mount -v -r -t hfs /dev/scd0 /cdrom
>>>>| >
>>>>| > i get a "Segmentation fault" error, no more output given,
>>>>| > it also locks the drive, and sometimes i can use the
>>>>| > 'eject' command to eject it, sometimes i cant and i gotta reboot
>>>>| >
>>>>| > note: when i try to mount the cd using regular iso9660 fs, it
>>>>| > works perfectly on both cd drives,
>>>>| > also i have tried 2 hybrid cd's, both times i have trouble mounting
>>>>| > hfs on the scsi drive only
>>>>| >
>>>>| > Nehal
>>>>|
>>>>| ok i updated firmware of writer from 1.0c to 1.0d with no help,
>>>>| but i found when i do 'dmesg' after mounting i get this error:
>>>>| ========
>>>>| kernel BUG at buffer.c:2518!
>>>>| invalid operand: 0000
>>>>| CPU:    0
>>>>| EIP:    0010:[<c013c329>]    Not tainted
>>>>| EFLAGS: 00013206
>>>>| eax: 000007ff   ebx: 00000b00   ecx: 00000800   edx: c11ee640
>>>>| esi: 00000b00   edi: 00000200   ebp: 00000b00   esp: c3425db4
>>>>| ds: 0018   es: 0018   ss: 0018
>>>>| Process mount (pid: 514, stackpage=c3425000)
>>>>| Stack: c6d0d760 c3425e48 c0257a59 c7f1c574 00000000 00000b00 00000200
>>>>| 00000000
>>>>|        c0139f66 00000b00 00000000 00000200 00000000 00000001 c7568400
>>>>| 00000000
>>>>|        c013a1e0 00000b00 00000000 00000200 00000000 c019280a 00000b00
>>>>| 00000000
>>>>| Call Trace:    [<c0257a59>] [<c0139f66>] [<c013a1e0>] [<c019280a>]
>>>>| [<c019188a>]
>>>>|   [<c01925ff>] [<c0285c30>] [<c013cdca>] [<c013e908>] [<c013d64b>]
>>>>| [<c013cd3c>]
>>>>|   [<c013d9a1>] [<c014fcf3>] [<c0150020>] [<c014fe69>] [<c0150441>]
>>>>| [<c01090ff>]
>>>>|
>>>>| Code: 0f 0b d6 09 9a 2b 33 c0 8d 87 00 fe ff ff 3d 00 0e 00 00 76
>>>>|
>>>>| root@Nehal:~#
>>>>| ========
>>>>| then when i try it again it doesnt give this message, it locks up my
>>>>| drive
>>>>|
>>>>| can someone please help debug this problem,
>>>>| thx, Nehal
>>>>
>>>>-
>>>>To unsubscribe from this list: send the line "unsubscribe linux-kernel"
>>>>in the body of a message to majordomo@vger.kernel.org
>>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>Please read the FAQ at  http://www.tux.org/lkml/
>>>>        
>>>>
>
>  
>



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-02 21:12           ` Nehal
@ 2003-04-03  8:06             ` Giuliano Pochini
  2003-04-03  9:10               ` Nehal
  0 siblings, 1 reply; 12+ messages in thread
From: Giuliano Pochini @ 2003-04-03  8:06 UTC (permalink / raw)
  To: Nehal; +Cc: linux-kernel, Randy.Dunlap, Oliver Feiler


On 02-Apr-2003 Nehal wrote:
> ok you are right! i set hdc=scsi, reboot, and mounted my
> ide cdrom drive (device /dev/scd1) as hfs, and boom
> it crashed with same message :)  this is good, at least
> i know its not my scsi drive/controller at fault
>
> so definitely a bug in scsi somehow or somewhere,
> so i guess anyone with a hfs cd can reproduce, so
> somebody please fix :)

Once upon a time it worked just fine. Then someone removed
support for !=512 bytes sectors...
To workaround, use loopback.


Bye.


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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-03  8:06             ` Giuliano Pochini
@ 2003-04-03  9:10               ` Nehal
  2003-04-03 16:30                 ` Giuliano Pochini
  0 siblings, 1 reply; 12+ messages in thread
From: Nehal @ 2003-04-03  9:10 UTC (permalink / raw)
  To: linux-kernel

Giuliano Pochini wrote:

>On 02-Apr-2003 Nehal wrote:
>  
>
>>ok you are right! i set hdc=scsi, reboot, and mounted my
>>ide cdrom drive (device /dev/scd1) as hfs, and boom
>>it crashed with same message :)  this is good, at least
>>i know its not my scsi drive/controller at fault
>>
>>so definitely a bug in scsi somehow or somewhere,
>>so i guess anyone with a hfs cd can reproduce, so
>>somebody please fix :)
>>    
>>
>
>Once upon a time it worked just fine. Then someone removed
>support for !=512 bytes sectors...
>To workaround, use loopback.
>
(yes Oliver has told me about this workaround)

1. do u know why it was removed?
2. is there a reason why can't support for it be put back?

thx, Nehal



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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-03  9:10               ` Nehal
@ 2003-04-03 16:30                 ` Giuliano Pochini
  2003-04-03 18:34                   ` Nehal
  0 siblings, 1 reply; 12+ messages in thread
From: Giuliano Pochini @ 2003-04-03 16:30 UTC (permalink / raw)
  To: Nehal; +Cc: linux-kernel


>>Once upon a time it worked just fine. Then someone removed
>>support for !=512 bytes sectors...
>>To workaround, use loopback.
>>
> (yes Oliver has told me about this workaround)
> 
> 1. do u know why it was removed?
> 2. is there a reason why can't support for it be put back?

I don't know why, and I don't know if it was removed from the
hfs code or if hfs relied on some features of a lower layer
that has been modified.


Bye.


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

* Re: mount hfs on SCSI cdrom = segfault
  2003-04-03 16:30                 ` Giuliano Pochini
@ 2003-04-03 18:34                   ` Nehal
  0 siblings, 0 replies; 12+ messages in thread
From: Nehal @ 2003-04-03 18:34 UTC (permalink / raw)
  To: linux-kernel

Giuliano Pochini wrote:

>>>Once upon a time it worked just fine. Then someone removed
>>>support for !=512 bytes sectors...
>>>To workaround, use loopback.
>>>
>>>      
>>>
>>(yes Oliver has told me about this workaround)
>>
>>1. do u know why it was removed?
>>2. is there a reason why can't support for it be put back?
>>    
>>
>
>I don't know why, and I don't know if it was removed from the
>hfs code or if hfs relied on some features of a lower layer
>that has been modified.
>  
>
i did some searching around and only found that this
problem started during 2.3.x because of a scsi rewrite

anyways, i did try the loop method, it did not work,
i got a segmentation fault when i did the following:

    losetup /dev/loop0 /dev/scd0
    mount -r -t hfs /dev/loop0 /cdrom

oh well, i'll just use my IDE drive for now..

thx anyways, Nehal



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

end of thread, other threads:[~2003-04-03 18:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-30 19:37 mount hfs on SCSI cdrom = segfault Nehal
2003-04-02 18:15 ` Nehal
2003-04-02 10:49   ` Randy.Dunlap
2003-04-02 19:01     ` Oliver Feiler
2003-04-02 19:14       ` Nehal
2003-04-02 20:37         ` Oliver Feiler
2003-04-02 21:12           ` Nehal
2003-04-03  8:06             ` Giuliano Pochini
2003-04-03  9:10               ` Nehal
2003-04-03 16:30                 ` Giuliano Pochini
2003-04-03 18:34                   ` Nehal
2003-04-02 19:05     ` Nehal

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