#7332 LOW Never A: Kernel panic if usb memory can't be mounted

Zarro Boogs per Child bugtracker at laptop.org
Mon Jun 23 06:21:00 EDT 2008


#7332: Kernel panic if usb memory can't be mounted
-------------------------+--------------------------------------------------
 Reporter:  danielfuhry  |       Owner:  dilinger      
     Type:  defect       |      Status:  new           
 Priority:  low          |   Milestone:  Never Assigned
Component:  kernel       |     Version:  Q2D16         
 Keywords:               |    Verified:  0             
 Blocking:               |   Blockedby:                
-------------------------+--------------------------------------------------
 build: 708[[BR]]
 Kernel 2.6.22-20080523.1.olpc.28f4cb6e780db07[[BR]]
 firmware version: CL1 Q2D16 Q2D[[BR]]
 no developer key, wp on, ak[[BR]]

 USB memory stick:
 Vendorid: 0ea0 Ours Technology, Inc
 Productid: 2168 Transcend JetFlash 2.0 / Astone USB Drive
 Revison: 0200


 [ 11.403399] scsi0 : SCSI emulation for USB Mass Storage devices[[BR]]
 [ 11.433667] usbcore : registered new interface driver usb-storage[[BR]]
 [ 11.451410] serio: i8042 KBD port at 0x60,0x64 irq 1[[BR]]
 [ 11.559878] serio: i8042 AUX port at 0x60,0x64 irq 12[[BR]]
 [ 11.682650] input: AT Translated Set 2 keyboard as
 /class/input/input3[[BR]]
 [ 11.734853] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as
 rtc0[[BR]]
 [ 11.751760] rtc0: alarms up to one year, y3k[[BR]]
 [ 12.244982] drivers/input/mouse/olpc.c: OLPC touchpad revision
 0x50.[[BR]]
 [ 12.761471] drivers/input/mouse/olpc.c: OLPC touchpad revision
 0x50.[[BR]]
 [ 12.899594] input: OLPC ALPS GlideSensor as /class/input/input4[[BR]]
 [ 12.976375] input: OLPC ALPS PenTablet as /class/input/input5[[BR]]
 [ 13.010825] olpc-dcon: Discovered DCON version 2[[BR]]
 [ 13.027175] Set IRQ for 2[[BR]]
 [ 13.352326] sdhci: Secure Digital Host Controller Interface driver[[BR]]
 [ 13.368739] sdhci: Copyright(c) Pierre Ossman[[BR]]
 [ 13.401069] sdhci: SDHCI controller found at 0000:00:0c.1[[BR]]
 [11ab:4101] (rev 10)[[BR]]
 [ 13.417647] PCI: Enabling device 0000:00:0c.1 (0000 -> 0002)[[BR]]
 [ 13.434046] sdhci: Invalid iomem size, You may experience problems.
 [[BR]]
 [ 13.464391] mmc0: SDHCI at 0xfe024000 irq 11 DMA[[BR]]
 [ 13.491335] usbcore: registered new interface driver hiddev[[BR]]
 [ 13.518044] usbcore: registered new interface driver usbhid[[BR]]
 [ 13.535982] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
 [[BR]]
 [ 13.552372] Using IPI Shortcut mode[[BR]]
 [ 13.571668] Freeing unused kernel memory: 2368k freed[[BR]]
 [ 13.589125] Write protecting the kernel text: 1460k[[BR]]
 [ 13.606243] Write protecting the kernel read-only data: 388k[[BR]]
 Hello, (deployment people of the) world![[BR]]
 [ 14.741484] olpc-dcon: The CPU has control[[BR]]
 [ 16.428620] scsi 0:0:0:0: Direct-Access VMAX 512MB 2.00 PQ: 0 ANSI:
 2[[BR]]
 [ 16.458057] sd 0:0:0:0: [sda] 1024000 512-byte hardware sectors (524
 MB)[[BR]]
 [ 16.478360] sd 0:0:0:0: [sda] Write Protect is off[[BR]]
 [ 16.493901] sd 0:0:0:0: [sda] Assuming drive cache: write through[[BR]]
 [ 16.512161] sd 0:0:0:0: [sda] 1024000 512-byte hardware sectors (524
 MB)[[BR]]
 [ 16.544132] sd 0:0:0:0: [sda] Write Protect is off[[BR]]
 [ 16.559655] sd 0:0:0:0: [sda] Assuming drive cache: write through[[BR]]
 [ 16.559655] sda: unknown partition table[[BR]]
 [ 16.577087] sd 0:0:0:0: [sda] Attached SCSI removable disk[[BR]]
 Traceback (most recent call last):
  File "/init", line 104, in <module>
      if __name__ == 'main' : main()
  File "/init", line 90, in main
      with Mounted(path='/mnt/usb', opts='-t vfat -o ro /dev/sda1'):
  File "/init", line 22, in __enter__
      lout(['/bin/mount'] + tokensize(self.opts) + [self.path])
  File "/process.py", line 118, in lout
      raise CalledProcessError(ret, cmd)
  subprocess.CalledProcessError: Command '[' /bin/mount' , '-t', 'vfat',
 '-o' , 'ro' , '/dev/sda1' , '/mnt/usb', '/mnt/usb']' returned non-zero
 exit status 255
 [ 19.922106] Kernel panic - not syncing: Attempted to kill init!

-- 
Ticket URL: <http://dev.laptop.org/ticket/7332>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list